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