Fix more problems found by GCC 4.6.0's static checks.
[bpt/emacs.git] / lib / gnulib.mk
CommitLineData
743c80a7
PE
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2011 Free Software Foundation, Inc.
4#
5# This file is free software, distributed under the terms of the GNU
6# General Public License. As a special exception to the GNU General
7# Public License, this file may be distributed as part of a program
8# that contains a configuration script generated by Autoconf, under
9# the same distribution terms as the rest of that program.
10#
11# Generated by gnulib-tool.
d1fdcab7 12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files careadlinkat crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime symlink sys_stat
743c80a7
PE
13
14
15MOSTLYCLEANFILES += core *.stackdump
16
17noinst_LIBRARIES += libgnu.a
18
19libgnu_a_SOURCES =
20libgnu_a_LIBADD = $(gl_LIBOBJS)
21libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
22EXTRA_libgnu_a_SOURCES =
23
1fd182f0
PE
24## begin gnulib module arg-nonnull
25
26# The BUILT_SOURCES created by this Makefile snippet are not used via #include
27# statements but through direct file reference. Therefore this snippet must be
28# present in all Makefile.am that need it. This is ensured by the applicability
29# 'all' defined above.
30
31BUILT_SOURCES += arg-nonnull.h
32# The arg-nonnull.h that gets inserted into generated .h files is the same as
33# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
34arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
35 $(AM_V_GEN)rm -f $@-t $@ && \
36 sed -n -e '/GL_ARG_NONNULL/,$$p' \
37 < $(top_srcdir)/./arg-nonnull.h \
38 > $@-t && \
39 mv $@-t $@
40MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
41
42ARG_NONNULL_H=arg-nonnull.h
43
44EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
45
46## end gnulib module arg-nonnull
47
48## begin gnulib module c++defs
49
50# The BUILT_SOURCES created by this Makefile snippet are not used via #include
51# statements but through direct file reference. Therefore this snippet must be
52# present in all Makefile.am that need it. This is ensured by the applicability
53# 'all' defined above.
54
55BUILT_SOURCES += c++defs.h
56# The c++defs.h that gets inserted into generated .h files is the same as
57# build-aux/c++defs.h, except that it has the copyright header cut off.
58c++defs.h: $(top_srcdir)/./c++defs.h
59 $(AM_V_GEN)rm -f $@-t $@ && \
60 sed -n -e '/_GL_CXXDEFS/,$$p' \
61 < $(top_srcdir)/./c++defs.h \
62 > $@-t && \
63 mv $@-t $@
64MOSTLYCLEANFILES += c++defs.h c++defs.h-t
65
66CXXDEFS_H=c++defs.h
67
68EXTRA_DIST += $(top_srcdir)/./c++defs.h
69
70## end gnulib module c++defs
71
d1fdcab7
PE
72## begin gnulib module careadlinkat
73
74libgnu_a_SOURCES += careadlinkat.c
75
76EXTRA_DIST += allocator.h careadlinkat.h
77
78## end gnulib module careadlinkat
79
942f733f
PE
80## begin gnulib module crypto/md5
81
82
83EXTRA_DIST += md5.c md5.h
84
85EXTRA_libgnu_a_SOURCES += md5.c
86
87## end gnulib module crypto/md5
88
36f13e16
PE
89## begin gnulib module dosname
90
91
92EXTRA_DIST += dosname.h
93
94## end gnulib module dosname
95
f737437b 96## begin gnulib module dtoastr
743c80a7 97
f737437b 98libgnu_a_SOURCES += dtoastr.c
743c80a7 99
f737437b
PE
100EXTRA_DIST += ftoastr.c ftoastr.h
101
102EXTRA_libgnu_a_SOURCES += ftoastr.c
103
104## end gnulib module dtoastr
a451f14b 105
5fa4ac76
PE
106## begin gnulib module filemode
107
108
109EXTRA_DIST += filemode.c filemode.h
110
111EXTRA_libgnu_a_SOURCES += filemode.c
112
113## end gnulib module filemode
114
79ab4b7f
PE
115## begin gnulib module getloadavg
116
117
118EXTRA_DIST += getloadavg.c
119
120EXTRA_libgnu_a_SOURCES += getloadavg.c
121
122## end gnulib module getloadavg
123
e275c824
PE
124## begin gnulib module getopt-posix
125
126BUILT_SOURCES += $(GETOPT_H)
127
128# We need the following in order to create <getopt.h> when the system
129# doesn't have one that works with the given compiler.
130getopt.h: getopt.in.h $(ARG_NONNULL_H)
131 $(AM_V_GEN)rm -f $@-t $@ && \
132 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
133 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
134 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
135 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
136 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
137 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
138 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
139 < $(srcdir)/getopt.in.h; \
140 } > $@-t && \
141 mv -f $@-t $@
142MOSTLYCLEANFILES += getopt.h getopt.h-t
143
144EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
145
146EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
147
148## end gnulib module getopt-posix
149
150## begin gnulib module gettext-h
151
152libgnu_a_SOURCES += gettext.h
153
154## end gnulib module gettext-h
155
67342916
PE
156## begin gnulib module ignore-value
157
158libgnu_a_SOURCES += ignore-value.h
159
160## end gnulib module ignore-value
161
a451f14b
PE
162## begin gnulib module intprops
163
164
165EXTRA_DIST += intprops.h
166
167## end gnulib module intprops
743c80a7 168
ae0d7250
PE
169## begin gnulib module lstat
170
171
172EXTRA_DIST += lstat.c
173
174EXTRA_libgnu_a_SOURCES += lstat.c
175
176## end gnulib module lstat
177
1fd182f0
PE
178## begin gnulib module mktime
179
180
181EXTRA_DIST += mktime-internal.h mktime.c
182
183EXTRA_libgnu_a_SOURCES += mktime.c
184
185## end gnulib module mktime
186
ae0d7250
PE
187## begin gnulib module readlink
188
189
190EXTRA_DIST += readlink.c
191
192EXTRA_libgnu_a_SOURCES += readlink.c
193
194## end gnulib module readlink
195
196## begin gnulib module stat
197
198
199EXTRA_DIST += stat.c
200
201EXTRA_libgnu_a_SOURCES += stat.c
202
203## end gnulib module stat
204
16c3e636
PE
205## begin gnulib module stdbool
206
207BUILT_SOURCES += $(STDBOOL_H)
208
209# We need the following in order to create <stdbool.h> when the system
210# doesn't have one that works.
211stdbool.h: stdbool.in.h
212 $(AM_V_GEN)rm -f $@-t $@ && \
213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
214 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
215 } > $@-t && \
216 mv $@-t $@
217MOSTLYCLEANFILES += stdbool.h stdbool.h-t
218
219EXTRA_DIST += stdbool.in.h
220
221## end gnulib module stdbool
222
1fd182f0
PE
223## begin gnulib module stddef
224
225BUILT_SOURCES += $(STDDEF_H)
226
227# We need the following in order to create <stddef.h> when the system
228# doesn't have one that works with the given compiler.
229stddef.h: stddef.in.h
230 $(AM_V_GEN)rm -f $@-t $@ && \
231 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
232 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
233 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
234 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
235 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
236 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
237 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
238 < $(srcdir)/stddef.in.h; \
239 } > $@-t && \
240 mv $@-t $@
241MOSTLYCLEANFILES += stddef.h stddef.h-t
242
243EXTRA_DIST += stddef.in.h
244
245## end gnulib module stddef
246
5f90be1b
PE
247## begin gnulib module stdint
248
249BUILT_SOURCES += $(STDINT_H)
250
251# We need the following in order to create <stdint.h> when the system
252# doesn't have one that works with the given compiler.
253stdint.h: stdint.in.h
254 $(AM_V_GEN)rm -f $@-t $@ && \
255 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
256 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
257 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
258 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
259 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
260 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
261 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
262 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
263 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
264 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
265 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
266 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
267 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
268 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
269 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
270 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
271 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
272 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
273 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
274 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
275 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
276 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
277 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
278 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
279 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
280 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
281 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
282 < $(srcdir)/stdint.in.h; \
283 } > $@-t && \
284 mv $@-t $@
285MOSTLYCLEANFILES += stdint.h stdint.h-t
286
287EXTRA_DIST += stdint.in.h
288
289## end gnulib module stdint
290
77185bdf
PE
291## begin gnulib module stdio
292
293BUILT_SOURCES += stdio.h
294
295# We need the following in order to create <stdio.h> when the system
296# doesn't have one that works with the given compiler.
297stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
298 $(AM_V_GEN)rm -f $@-t $@ && \
299 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
300 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
301 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
302 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
303 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
304 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
305 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
306 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
307 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
308 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
309 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
310 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
311 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
312 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
313 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
314 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
315 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
316 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
317 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
318 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
319 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
320 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
321 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
322 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
323 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
324 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
325 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
326 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
327 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
328 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
329 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
330 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
331 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
332 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
333 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
334 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
335 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
336 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
337 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
338 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
339 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
340 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
341 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
342 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
343 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
344 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
345 < $(srcdir)/stdio.in.h | \
346 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
347 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
348 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
349 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
350 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
351 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
352 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
353 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
354 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
355 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
356 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
357 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
358 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
359 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
360 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
361 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
362 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
363 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
364 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
365 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
366 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
367 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
368 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
369 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
370 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
371 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
372 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
373 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
374 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
375 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
376 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
377 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
378 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
379 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
380 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
381 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
382 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
383 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
384 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
385 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
386 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
387 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
388 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
389 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
390 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
391 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
392 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
393 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
394 } > $@-t && \
395 mv $@-t $@
396MOSTLYCLEANFILES += stdio.h stdio.h-t
397
398EXTRA_DIST += stdio.in.h
399
400## end gnulib module stdio
401
79ab4b7f
PE
402## begin gnulib module stdlib
403
404BUILT_SOURCES += stdlib.h
405
406# We need the following in order to create <stdlib.h> when the system
407# doesn't have one that works with the given compiler.
408stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
409 $(AM_V_GEN)rm -f $@-t $@ && \
410 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
411 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
412 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
413 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
415 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
416 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
417 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
418 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
419 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
420 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
421 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
422 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
ae0d7250 423 -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \
79ab4b7f
PE
424 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
425 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
426 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
427 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
428 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
429 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
430 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
431 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
432 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
433 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
434 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
435 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
436 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
437 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
438 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
439 -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \
440 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
441 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
ae0d7250 442 -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \
dd463884
PE
443 < $(srcdir)/stdlib.in.h | \
444 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
79ab4b7f
PE
445 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
446 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
447 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
448 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
449 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
450 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
451 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
452 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
453 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
454 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
455 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
456 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
457 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
458 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
459 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
460 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
461 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
462 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
463 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
464 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
465 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
466 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
467 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
468 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
469 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
470 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
ae0d7250 471 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
79ab4b7f
PE
472 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
473 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
474 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
475 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
476 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
477 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
478 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
ae0d7250 479 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
79ab4b7f
PE
480 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
481 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
dd463884 482 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79ab4b7f
PE
483 } > $@-t && \
484 mv $@-t $@
485MOSTLYCLEANFILES += stdlib.h stdlib.h-t
486
487EXTRA_DIST += stdlib.in.h
488
489## end gnulib module stdlib
490
16c3e636
PE
491## begin gnulib module strftime
492
493
494EXTRA_DIST += strftime.c strftime.h
495
496EXTRA_libgnu_a_SOURCES += strftime.c
497
498## end gnulib module strftime
499
ae0d7250
PE
500## begin gnulib module symlink
501
502
503EXTRA_DIST += symlink.c
504
505EXTRA_libgnu_a_SOURCES += symlink.c
506
507## end gnulib module symlink
508
5fa4ac76
PE
509## begin gnulib module sys_stat
510
511BUILT_SOURCES += sys/stat.h
512
513# We need the following in order to create <sys/stat.h> when the system
514# has one that is incomplete.
515sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
516 $(AM_V_at)$(MKDIR_P) sys
517 $(AM_V_GEN)rm -f $@-t $@ && \
518 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
519 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
520 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
521 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
522 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
523 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
524 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
525 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
526 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
527 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
528 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
529 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
530 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
531 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
532 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
533 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
534 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
535 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
536 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
537 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
538 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
539 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
540 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
541 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
542 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
543 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
544 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
545 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
546 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
547 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
548 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
549 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
550 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
551 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
552 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
553 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
554 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
555 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
556 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
557 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
558 < $(srcdir)/sys_stat.in.h; \
559 } > $@-t && \
560 mv $@-t $@
561MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
562MOSTLYCLEANDIRS += sys
563
564EXTRA_DIST += sys_stat.in.h
565
566## end gnulib module sys_stat
567
1fd182f0
PE
568## begin gnulib module time
569
570BUILT_SOURCES += time.h
571
572# We need the following in order to create <time.h> when the system
573# doesn't have one that works with the given compiler.
574time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
575 $(AM_V_GEN)rm -f $@-t $@ && \
576 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
577 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
578 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
579 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
580 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
581 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
582 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
583 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
584 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
585 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
586 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
587 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
588 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
589 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
590 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
591 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
592 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
593 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
594 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
595 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
596 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
597 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
598 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
599 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
600 < $(srcdir)/time.in.h; \
601 } > $@-t && \
602 mv $@-t $@
603MOSTLYCLEANFILES += time.h time.h-t
604
605EXTRA_DIST += time.in.h
606
607## end gnulib module time
608
609## begin gnulib module time_r
610
611
612EXTRA_DIST += time_r.c
613
614EXTRA_libgnu_a_SOURCES += time_r.c
615
616## end gnulib module time_r
617
e275c824
PE
618## begin gnulib module unistd
619
620BUILT_SOURCES += unistd.h
621
622# We need the following in order to create an empty placeholder for
623# <unistd.h> when the system doesn't have one.
624unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
625 $(AM_V_GEN)rm -f $@-t $@ && \
626 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
627 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
628 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
629 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
630 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
631 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
632 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
633 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
634 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
635 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
636 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
637 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
638 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
639 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
640 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
641 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
642 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
643 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
644 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
645 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
646 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
647 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
648 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
649 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
650 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
651 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
652 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
653 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
654 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
655 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
656 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
657 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
658 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
659 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
660 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
661 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
662 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
663 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
664 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
665 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
666 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
667 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
668 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
669 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
670 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
671 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
672 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
673 < $(srcdir)/unistd.in.h | \
674 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
675 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
676 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
677 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
678 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
679 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
680 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
681 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
682 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
683 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
684 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
685 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
686 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
687 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
688 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
689 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
690 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
691 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
692 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
693 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
694 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
695 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
696 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
697 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
698 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
699 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
700 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
701 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
702 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
703 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
704 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
705 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
706 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
707 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
708 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
709 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
710 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
dd463884
PE
711 | \
712 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
e275c824
PE
713 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
714 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
715 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
716 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
717 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
718 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
719 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
720 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
721 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
722 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
723 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
724 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
725 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
726 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
727 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
728 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
729 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
730 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
731 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
732 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
733 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
734 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
735 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
736 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
737 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
738 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
739 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
740 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
741 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
742 } > $@-t && \
743 mv $@-t $@
744MOSTLYCLEANFILES += unistd.h unistd.h-t
745
746EXTRA_DIST += unistd.in.h
747
748## end gnulib module unistd
749
1fd182f0
PE
750## begin gnulib module warn-on-use
751
752BUILT_SOURCES += warn-on-use.h
753# The warn-on-use.h that gets inserted into generated .h files is the same as
754# build-aux/warn-on-use.h, except that it has the copyright header cut off.
755warn-on-use.h: $(top_srcdir)/./warn-on-use.h
756 $(AM_V_GEN)rm -f $@-t $@ && \
757 sed -n -e '/^.ifndef/,$$p' \
758 < $(top_srcdir)/./warn-on-use.h \
759 > $@-t && \
760 mv $@-t $@
761MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
762
763WARN_ON_USE_H=warn-on-use.h
764
765EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
766
767## end gnulib module warn-on-use
768
743c80a7
PE
769
770mostlyclean-local: mostlyclean-generic
771 @for dir in '' $(MOSTLYCLEANDIRS); do \
772 if test -n "$$dir" && test -d $$dir; then \
773 echo "rmdir $$dir"; rmdir $$dir; \
774 fi; \
775 done; \
776 :