merge trunk
[bpt/emacs.git] / lib / gnulib.mk
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.
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 --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdarg stdio strftime strtoumax symlink sys_stat
13
14
15 MOSTLYCLEANFILES += core *.stackdump
16
17 noinst_LIBRARIES += libgnu.a
18
19 libgnu_a_SOURCES =
20 libgnu_a_LIBADD = $(gl_LIBOBJS)
21 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
22 EXTRA_libgnu_a_SOURCES =
23
24 ## begin gnulib module alloca-opt
25
26 BUILT_SOURCES += $(ALLOCA_H)
27
28 # We need the following in order to create <alloca.h> when the system
29 # doesn't have one that works with the given compiler.
30 if GL_GENERATE_ALLOCA_H
31 alloca.h: alloca.in.h $(top_builddir)/config.status
32 $(AM_V_GEN)rm -f $@-t $@ && \
33 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
34 cat $(srcdir)/alloca.in.h; \
35 } > $@-t && \
36 mv -f $@-t $@
37 else
38 alloca.h: $(top_builddir)/config.status
39 rm -f $@
40 endif
41 MOSTLYCLEANFILES += alloca.h alloca.h-t
42
43 EXTRA_DIST += alloca.in.h
44
45 ## end gnulib module alloca-opt
46
47 ## begin gnulib module allocator
48
49 libgnu_a_SOURCES += allocator.c
50
51 EXTRA_DIST += allocator.h
52
53 ## end gnulib module allocator
54
55 ## begin gnulib module arg-nonnull
56
57 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
58 # statements but through direct file reference. Therefore this snippet must be
59 # present in all Makefile.am that need it. This is ensured by the applicability
60 # 'all' defined above.
61
62 BUILT_SOURCES += arg-nonnull.h
63 # The arg-nonnull.h that gets inserted into generated .h files is the same as
64 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
65 arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
66 $(AM_V_GEN)rm -f $@-t $@ && \
67 sed -n -e '/GL_ARG_NONNULL/,$$p' \
68 < $(top_srcdir)/./arg-nonnull.h \
69 > $@-t && \
70 mv $@-t $@
71 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
72
73 ARG_NONNULL_H=arg-nonnull.h
74
75 EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
76
77 ## end gnulib module arg-nonnull
78
79 ## begin gnulib module c++defs
80
81 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
82 # statements but through direct file reference. Therefore this snippet must be
83 # present in all Makefile.am that need it. This is ensured by the applicability
84 # 'all' defined above.
85
86 BUILT_SOURCES += c++defs.h
87 # The c++defs.h that gets inserted into generated .h files is the same as
88 # build-aux/c++defs.h, except that it has the copyright header cut off.
89 c++defs.h: $(top_srcdir)/./c++defs.h
90 $(AM_V_GEN)rm -f $@-t $@ && \
91 sed -n -e '/_GL_CXXDEFS/,$$p' \
92 < $(top_srcdir)/./c++defs.h \
93 > $@-t && \
94 mv $@-t $@
95 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
96
97 CXXDEFS_H=c++defs.h
98
99 EXTRA_DIST += $(top_srcdir)/./c++defs.h
100
101 ## end gnulib module c++defs
102
103 ## begin gnulib module careadlinkat
104
105 libgnu_a_SOURCES += careadlinkat.c
106
107 EXTRA_DIST += careadlinkat.h
108
109 ## end gnulib module careadlinkat
110
111 ## begin gnulib module crypto/md5
112
113 libgnu_a_SOURCES += md5.c
114
115 EXTRA_DIST += md5.h
116
117 ## end gnulib module crypto/md5
118
119 ## begin gnulib module crypto/sha1
120
121 libgnu_a_SOURCES += sha1.c
122
123 EXTRA_DIST += sha1.h
124
125 ## end gnulib module crypto/sha1
126
127 ## begin gnulib module crypto/sha256
128
129 libgnu_a_SOURCES += sha256.c
130
131 EXTRA_DIST += sha256.h
132
133 ## end gnulib module crypto/sha256
134
135 ## begin gnulib module crypto/sha512
136
137 libgnu_a_SOURCES += sha512.c
138
139 EXTRA_DIST += sha512.h
140
141 ## end gnulib module crypto/sha512
142
143 ## begin gnulib module dosname
144
145 if gl_GNULIB_ENABLED_dosname
146
147 endif
148 EXTRA_DIST += dosname.h
149
150 ## end gnulib module dosname
151
152 ## begin gnulib module dtoastr
153
154 libgnu_a_SOURCES += dtoastr.c
155
156 EXTRA_DIST += ftoastr.c ftoastr.h
157
158 EXTRA_libgnu_a_SOURCES += ftoastr.c
159
160 ## end gnulib module dtoastr
161
162 ## begin gnulib module dup2
163
164
165 EXTRA_DIST += dup2.c
166
167 EXTRA_libgnu_a_SOURCES += dup2.c
168
169 ## end gnulib module dup2
170
171 ## begin gnulib module filemode
172
173 libgnu_a_SOURCES += filemode.c
174
175 EXTRA_DIST += filemode.h
176
177 ## end gnulib module filemode
178
179 ## begin gnulib module getloadavg
180
181
182 EXTRA_DIST += getloadavg.c
183
184 EXTRA_libgnu_a_SOURCES += getloadavg.c
185
186 ## end gnulib module getloadavg
187
188 ## begin gnulib module getopt-posix
189
190 BUILT_SOURCES += $(GETOPT_H)
191
192 # We need the following in order to create <getopt.h> when the system
193 # doesn't have one that works with the given compiler.
194 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
195 $(AM_V_GEN)rm -f $@-t $@ && \
196 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
197 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
198 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
199 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
200 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
201 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
202 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
203 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
204 < $(srcdir)/getopt.in.h; \
205 } > $@-t && \
206 mv -f $@-t $@
207 MOSTLYCLEANFILES += getopt.h getopt.h-t
208
209 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
210
211 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
212
213 ## end gnulib module getopt-posix
214
215 ## begin gnulib module gettext-h
216
217 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
218 libgnu_a_SOURCES += gettext.h
219
220 endif
221 ## end gnulib module gettext-h
222
223 ## begin gnulib module ignore-value
224
225
226 EXTRA_DIST += ignore-value.h
227
228 ## end gnulib module ignore-value
229
230 ## begin gnulib module intprops
231
232
233 EXTRA_DIST += intprops.h
234
235 ## end gnulib module intprops
236
237 ## begin gnulib module inttypes-incomplete
238
239 BUILT_SOURCES += inttypes.h
240
241 # We need the following in order to create <inttypes.h> when the system
242 # doesn't have one that works with the given compiler.
243 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
244 $(AM_V_GEN)rm -f $@-t $@ && \
245 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
246 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
247 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
249 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
250 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
251 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
252 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
253 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
254 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
255 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
256 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
257 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
258 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
259 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
260 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
261 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
262 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
263 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
264 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
265 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
266 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
267 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
268 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
269 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
270 < $(srcdir)/inttypes.in.h; \
271 } > $@-t && \
272 mv $@-t $@
273 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
274
275 EXTRA_DIST += inttypes.in.h
276
277 ## end gnulib module inttypes-incomplete
278
279 ## begin gnulib module lstat
280
281
282 EXTRA_DIST += lstat.c
283
284 EXTRA_libgnu_a_SOURCES += lstat.c
285
286 ## end gnulib module lstat
287
288 ## begin gnulib module mktime
289
290
291 EXTRA_DIST += mktime-internal.h mktime.c
292
293 EXTRA_libgnu_a_SOURCES += mktime.c
294
295 ## end gnulib module mktime
296
297 ## begin gnulib module readlink
298
299
300 EXTRA_DIST += readlink.c
301
302 EXTRA_libgnu_a_SOURCES += readlink.c
303
304 ## end gnulib module readlink
305
306 ## begin gnulib module stat
307
308 if gl_GNULIB_ENABLED_stat
309
310 endif
311 EXTRA_DIST += stat.c
312
313 EXTRA_libgnu_a_SOURCES += stat.c
314
315 ## end gnulib module stat
316
317 ## begin gnulib module stdarg
318
319 BUILT_SOURCES += $(STDARG_H)
320
321 # We need the following in order to create <stdarg.h> when the system
322 # doesn't have one that works with the given compiler.
323 if GL_GENERATE_STDARG_H
324 stdarg.h: stdarg.in.h $(top_builddir)/config.status
325 $(AM_V_GEN)rm -f $@-t $@ && \
326 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
327 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
328 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
329 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
330 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
331 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
332 < $(srcdir)/stdarg.in.h; \
333 } > $@-t && \
334 mv $@-t $@
335 else
336 stdarg.h: $(top_builddir)/config.status
337 rm -f $@
338 endif
339 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
340
341 EXTRA_DIST += stdarg.in.h
342
343 ## end gnulib module stdarg
344
345 ## begin gnulib module stdbool
346
347 BUILT_SOURCES += $(STDBOOL_H)
348
349 # We need the following in order to create <stdbool.h> when the system
350 # doesn't have one that works.
351 if GL_GENERATE_STDBOOL_H
352 stdbool.h: stdbool.in.h $(top_builddir)/config.status
353 $(AM_V_GEN)rm -f $@-t $@ && \
354 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
355 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
356 } > $@-t && \
357 mv $@-t $@
358 else
359 stdbool.h: $(top_builddir)/config.status
360 rm -f $@
361 endif
362 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
363
364 EXTRA_DIST += stdbool.in.h
365
366 ## end gnulib module stdbool
367
368 ## begin gnulib module stddef
369
370 BUILT_SOURCES += $(STDDEF_H)
371
372 # We need the following in order to create <stddef.h> when the system
373 # doesn't have one that works with the given compiler.
374 if GL_GENERATE_STDDEF_H
375 stddef.h: stddef.in.h $(top_builddir)/config.status
376 $(AM_V_GEN)rm -f $@-t $@ && \
377 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
378 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
379 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
380 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
381 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
382 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
383 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
384 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
385 < $(srcdir)/stddef.in.h; \
386 } > $@-t && \
387 mv $@-t $@
388 else
389 stddef.h: $(top_builddir)/config.status
390 rm -f $@
391 endif
392 MOSTLYCLEANFILES += stddef.h stddef.h-t
393
394 EXTRA_DIST += stddef.in.h
395
396 ## end gnulib module stddef
397
398 ## begin gnulib module stdint
399
400 BUILT_SOURCES += $(STDINT_H)
401
402 # We need the following in order to create <stdint.h> when the system
403 # doesn't have one that works with the given compiler.
404 if GL_GENERATE_STDINT_H
405 stdint.h: stdint.in.h $(top_builddir)/config.status
406 $(AM_V_GEN)rm -f $@-t $@ && \
407 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
408 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
409 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
410 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
411 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
412 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
413 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
414 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
415 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
416 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
417 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
418 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
419 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
420 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
421 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
422 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
423 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
424 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
425 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
426 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
427 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
428 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
429 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
430 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
431 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
432 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
433 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
434 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
435 < $(srcdir)/stdint.in.h; \
436 } > $@-t && \
437 mv $@-t $@
438 else
439 stdint.h: $(top_builddir)/config.status
440 rm -f $@
441 endif
442 MOSTLYCLEANFILES += stdint.h stdint.h-t
443
444 EXTRA_DIST += stdint.in.h
445
446 ## end gnulib module stdint
447
448 ## begin gnulib module stdio
449
450 BUILT_SOURCES += stdio.h
451
452 # We need the following in order to create <stdio.h> when the system
453 # doesn't have one that works with the given compiler.
454 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
455 $(AM_V_GEN)rm -f $@-t $@ && \
456 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
457 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
458 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
459 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
460 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
461 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
462 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
463 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
464 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
465 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
466 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
467 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
468 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
469 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
470 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
471 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
472 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
473 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
474 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
475 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
476 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
477 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
478 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
479 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
480 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
481 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
482 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
483 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
484 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
485 -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
486 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
487 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
488 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
489 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
490 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
491 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
492 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
493 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
494 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
495 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
496 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
497 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
498 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
499 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
500 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
501 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
502 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
503 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
504 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
505 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
506 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
507 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
508 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
509 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
510 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
511 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
512 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
513 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
514 < $(srcdir)/stdio.in.h | \
515 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
516 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
517 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
518 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
519 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
520 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
521 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
522 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
523 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
524 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
525 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
526 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
527 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
528 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
529 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
530 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
531 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
532 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
533 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
534 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
535 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
536 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
537 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
538 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
539 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
540 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
541 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
542 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
543 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
544 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
545 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
546 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
547 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
548 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
549 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
550 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
551 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
552 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
553 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
554 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
555 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
556 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
557 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
558 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
559 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
560 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
561 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
562 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
563 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
564 } > $@-t && \
565 mv $@-t $@
566 MOSTLYCLEANFILES += stdio.h stdio.h-t
567
568 EXTRA_DIST += stdio.in.h
569
570 ## end gnulib module stdio
571
572 ## begin gnulib module stdlib
573
574 BUILT_SOURCES += stdlib.h
575
576 # We need the following in order to create <stdlib.h> when the system
577 # doesn't have one that works with the given compiler.
578 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
579 $(AM_V_GEN)rm -f $@-t $@ && \
580 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
581 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
582 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
583 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
584 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
585 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
586 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
587 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
588 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
589 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
590 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
591 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
592 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
593 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
594 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
595 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
596 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
597 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
598 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
599 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
600 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
601 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
602 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
603 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
604 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
605 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
606 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
607 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
608 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
609 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
610 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
611 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
612 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
613 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
614 < $(srcdir)/stdlib.in.h | \
615 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
616 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
617 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
618 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
619 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
620 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
621 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
622 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
623 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
624 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
625 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
626 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
627 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
628 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
629 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
630 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
631 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
632 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
633 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
634 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
635 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
636 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
637 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
638 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
639 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
640 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
641 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
642 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
643 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
644 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
645 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
646 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
647 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
648 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
649 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
650 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
651 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
652 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
653 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
654 } > $@-t && \
655 mv $@-t $@
656 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
657
658 EXTRA_DIST += stdlib.in.h
659
660 ## end gnulib module stdlib
661
662 ## begin gnulib module strftime
663
664 libgnu_a_SOURCES += strftime.c
665
666 EXTRA_DIST += strftime.h
667
668 ## end gnulib module strftime
669
670 ## begin gnulib module strtoull
671
672 if gl_GNULIB_ENABLED_strtoull
673
674 endif
675 EXTRA_DIST += strtol.c strtoul.c strtoull.c
676
677 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
678
679 ## end gnulib module strtoull
680
681 ## begin gnulib module strtoumax
682
683
684 EXTRA_DIST += strtoimax.c strtoumax.c
685
686 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
687
688 ## end gnulib module strtoumax
689
690 ## begin gnulib module symlink
691
692
693 EXTRA_DIST += symlink.c
694
695 EXTRA_libgnu_a_SOURCES += symlink.c
696
697 ## end gnulib module symlink
698
699 ## begin gnulib module sys_stat
700
701 BUILT_SOURCES += sys/stat.h
702
703 # We need the following in order to create <sys/stat.h> when the system
704 # has one that is incomplete.
705 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
706 $(AM_V_at)$(MKDIR_P) sys
707 $(AM_V_GEN)rm -f $@-t $@ && \
708 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
709 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
710 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
711 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
712 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
713 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
714 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
715 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
716 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
717 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
718 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
719 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
720 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
721 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
722 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
723 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
724 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
725 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
726 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
727 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
728 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
729 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
730 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
731 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
732 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
733 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
734 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
735 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
736 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
737 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
738 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
739 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
740 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
741 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
742 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
743 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
744 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
745 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
746 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
747 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
748 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
749 < $(srcdir)/sys_stat.in.h; \
750 } > $@-t && \
751 mv $@-t $@
752 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
753 MOSTLYCLEANDIRS += sys
754
755 EXTRA_DIST += sys_stat.in.h
756
757 ## end gnulib module sys_stat
758
759 ## begin gnulib module time
760
761 BUILT_SOURCES += time.h
762
763 # We need the following in order to create <time.h> when the system
764 # doesn't have one that works with the given compiler.
765 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
766 $(AM_V_GEN)rm -f $@-t $@ && \
767 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
768 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
769 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
770 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
771 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
772 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
773 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
774 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
775 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
776 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
777 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
778 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
779 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
780 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
781 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
782 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
783 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
784 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
785 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
786 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
787 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
788 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
789 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
790 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
791 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
792 < $(srcdir)/time.in.h; \
793 } > $@-t && \
794 mv $@-t $@
795 MOSTLYCLEANFILES += time.h time.h-t
796
797 EXTRA_DIST += time.in.h
798
799 ## end gnulib module time
800
801 ## begin gnulib module time_r
802
803
804 EXTRA_DIST += time_r.c
805
806 EXTRA_libgnu_a_SOURCES += time_r.c
807
808 ## end gnulib module time_r
809
810 ## begin gnulib module u64
811
812
813 EXTRA_DIST += u64.h
814
815 ## end gnulib module u64
816
817 ## begin gnulib module unistd
818
819 BUILT_SOURCES += unistd.h
820
821 # We need the following in order to create an empty placeholder for
822 # <unistd.h> when the system doesn't have one.
823 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
824 $(AM_V_GEN)rm -f $@-t $@ && \
825 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
826 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
827 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
828 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
829 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
830 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
831 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
832 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
833 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
834 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
835 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
836 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
837 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
838 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
839 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
840 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
841 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
842 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
843 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
844 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
845 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
846 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
847 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
848 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
849 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
850 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
851 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
852 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
853 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
854 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
855 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
856 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
857 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
858 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
859 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
860 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
861 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
862 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
863 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
864 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
865 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
866 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
867 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
868 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
869 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/$(GNULIB_UNISTD_H_GETOPT)/g' \
870 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
871 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
872 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
873 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
874 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
875 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
876 < $(srcdir)/unistd.in.h | \
877 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
878 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
879 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
880 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
881 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
882 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
883 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
884 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
885 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
886 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
887 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
888 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
889 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
890 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
891 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
892 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
893 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
894 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
895 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
896 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
897 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
898 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
899 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
900 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
901 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
902 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
903 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
904 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
905 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
906 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
907 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
908 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
909 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
910 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
911 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
912 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
913 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
914 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
915 | \
916 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
917 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
918 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
919 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
920 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
921 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
922 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
923 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
924 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
925 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
926 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
927 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
928 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
929 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
930 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
931 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
932 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
933 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
934 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
935 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
936 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
937 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
938 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
939 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
940 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
941 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
942 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
943 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
944 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
945 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
946 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
947 } > $@-t && \
948 mv $@-t $@
949 MOSTLYCLEANFILES += unistd.h unistd.h-t
950
951 EXTRA_DIST += unistd.in.h
952
953 ## end gnulib module unistd
954
955 ## begin gnulib module verify
956
957 if gl_GNULIB_ENABLED_verify
958
959 endif
960 EXTRA_DIST += verify.h
961
962 ## end gnulib module verify
963
964 ## begin gnulib module warn-on-use
965
966 BUILT_SOURCES += warn-on-use.h
967 # The warn-on-use.h that gets inserted into generated .h files is the same as
968 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
969 warn-on-use.h: $(top_srcdir)/./warn-on-use.h
970 $(AM_V_GEN)rm -f $@-t $@ && \
971 sed -n -e '/^.ifndef/,$$p' \
972 < $(top_srcdir)/./warn-on-use.h \
973 > $@-t && \
974 mv $@-t $@
975 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
976
977 WARN_ON_USE_H=warn-on-use.h
978
979 EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
980
981 ## end gnulib module warn-on-use
982
983
984 mostlyclean-local: mostlyclean-generic
985 @for dir in '' $(MOSTLYCLEANDIRS); do \
986 if test -n "$$dir" && test -d $$dir; then \
987 echo "rmdir $$dir"; rmdir $$dir; \
988 fi; \
989 done; \
990 :