Improve support for popcount and counting trailing zeros.
[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.
9ff99d22 3# Copyright (C) 2002-2013 Free Software Foundation, Inc.
743c80a7 4#
316f8af0
PE
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This file is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this file. If not, see <http://www.gnu.org/licenses/>.
17#
18# As a special exception to the GNU General Public License,
19# this file may be distributed as part of a program that
20# contains a configuration script generated by Autoconf, under
743c80a7
PE
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
595e113b 24# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt byteswap c-ctype c-strcase careadlinkat close-stream count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday intprops largefile lstat manywarnings memrchr mkostemp mktime pipe2 pselect pthread_sigmask putenv qacl readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings
743c80a7
PE
25
26
27MOSTLYCLEANFILES += core *.stackdump
28
29noinst_LIBRARIES += libgnu.a
30
31libgnu_a_SOURCES =
32libgnu_a_LIBADD = $(gl_LIBOBJS)
33libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
34EXTRA_libgnu_a_SOURCES =
35
fa23e171
PE
36## begin gnulib module alloca-opt
37
38BUILT_SOURCES += $(ALLOCA_H)
39
40# We need the following in order to create <alloca.h> when the system
41# doesn't have one that works with the given compiler.
42if GL_GENERATE_ALLOCA_H
43alloca.h: alloca.in.h $(top_builddir)/config.status
44 $(AM_V_GEN)rm -f $@-t $@ && \
45 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
46 cat $(srcdir)/alloca.in.h; \
47 } > $@-t && \
48 mv -f $@-t $@
49else
50alloca.h: $(top_builddir)/config.status
51 rm -f $@
52endif
53MOSTLYCLEANFILES += alloca.h alloca.h-t
54
55EXTRA_DIST += alloca.in.h
56
57## end gnulib module alloca-opt
58
7ec98caf
PE
59## begin gnulib module allocator
60
61libgnu_a_SOURCES += allocator.c
62
63EXTRA_DIST += allocator.h
64
65## end gnulib module allocator
66
8654f9d7
PE
67## begin gnulib module at-internal
68
69if gl_GNULIB_ENABLED_260941c0e5dc67ec9e87d1fb321c300b
70
71endif
72EXTRA_DIST += openat-priv.h openat-proc.c
73
74EXTRA_libgnu_a_SOURCES += openat-proc.c
75
76## end gnulib module at-internal
77
7b154def
PE
78## begin gnulib module binary-io
79
80libgnu_a_SOURCES += binary-io.h binary-io.c
81
82## end gnulib module binary-io
83
4eed3157
PE
84## begin gnulib module byteswap
85
86BUILT_SOURCES += $(BYTESWAP_H)
87
88# We need the following in order to create <byteswap.h> when the system
89# doesn't have one.
90if GL_GENERATE_BYTESWAP_H
91byteswap.h: byteswap.in.h $(top_builddir)/config.status
92 $(AM_V_GEN)rm -f $@-t $@ && \
93 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
94 cat $(srcdir)/byteswap.in.h; \
95 } > $@-t && \
96 mv -f $@-t $@
97else
98byteswap.h: $(top_builddir)/config.status
99 rm -f $@
100endif
101MOSTLYCLEANFILES += byteswap.h byteswap.h-t
102
103EXTRA_DIST += byteswap.in.h
104
105## end gnulib module byteswap
106
fee5959d
PE
107## begin gnulib module c-ctype
108
109libgnu_a_SOURCES += c-ctype.h c-ctype.c
110
111## end gnulib module c-ctype
112
113## begin gnulib module c-strcase
114
115libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
116
117## end gnulib module c-strcase
118
d1fdcab7
PE
119## begin gnulib module careadlinkat
120
121libgnu_a_SOURCES += careadlinkat.c
122
7ec98caf 123EXTRA_DIST += careadlinkat.h
d1fdcab7
PE
124
125## end gnulib module careadlinkat
126
7ccfb720
PE
127## begin gnulib module close-stream
128
129libgnu_a_SOURCES += close-stream.c
130
131EXTRA_DIST += close-stream.h
132
133## end gnulib module close-stream
134
595e113b
PE
135## begin gnulib module count-one-bits
136
137libgnu_a_SOURCES += count-one-bits.c
138
139EXTRA_DIST += count-one-bits.h
140
141## end gnulib module count-one-bits
142
143## begin gnulib module count-trailing-zeros
144
145libgnu_a_SOURCES += count-trailing-zeros.c
146
147EXTRA_DIST += count-trailing-zeros.h
148
149## end gnulib module count-trailing-zeros
150
942f733f
PE
151## begin gnulib module crypto/md5
152
8aeb5be9 153libgnu_a_SOURCES += md5.c
942f733f 154
8aeb5be9 155EXTRA_DIST += md5.h
942f733f
PE
156
157## end gnulib module crypto/md5
158
13c3daa4
LL
159## begin gnulib module crypto/sha1
160
8aeb5be9 161libgnu_a_SOURCES += sha1.c
13c3daa4 162
8aeb5be9 163EXTRA_DIST += sha1.h
13c3daa4
LL
164
165## end gnulib module crypto/sha1
166
3ce9d0d4
LL
167## begin gnulib module crypto/sha256
168
169libgnu_a_SOURCES += sha256.c
170
171EXTRA_DIST += sha256.h
172
173## end gnulib module crypto/sha256
174
175## begin gnulib module crypto/sha512
176
177libgnu_a_SOURCES += sha512.c
178
179EXTRA_DIST += sha512.h
180
181## end gnulib module crypto/sha512
182
8654f9d7
PE
183## begin gnulib module dirent
184
185BUILT_SOURCES += dirent.h
186
187# We need the following in order to create <dirent.h> when the system
188# doesn't have one that works with the given compiler.
189dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
190 $(AM_V_GEN)rm -f $@-t $@ && \
191 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
192 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
193 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
194 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
195 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
196 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
197 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
198 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
199 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
200 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
201 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
202 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
203 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
204 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
205 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
206 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
207 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
208 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
209 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
210 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
211 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
212 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
213 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
214 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
215 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
216 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
217 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
218 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
219 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
220 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
221 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
222 < $(srcdir)/dirent.in.h; \
223 } > $@-t && \
224 mv $@-t $@
225MOSTLYCLEANFILES += dirent.h dirent.h-t
226
227EXTRA_DIST += dirent.in.h
228
229## end gnulib module dirent
230
36f13e16
PE
231## begin gnulib module dosname
232
19548d08 233if gl_GNULIB_ENABLED_dosname
36f13e16 234
19548d08 235endif
36f13e16
PE
236EXTRA_DIST += dosname.h
237
238## end gnulib module dosname
239
f737437b 240## begin gnulib module dtoastr
743c80a7 241
f737437b 242libgnu_a_SOURCES += dtoastr.c
743c80a7 243
f737437b
PE
244EXTRA_DIST += ftoastr.c ftoastr.h
245
246EXTRA_libgnu_a_SOURCES += ftoastr.c
247
248## end gnulib module dtoastr
a451f14b 249
d35af63c
PE
250## begin gnulib module dtotimespec
251
252libgnu_a_SOURCES += dtotimespec.c
253
254## end gnulib module dtotimespec
255
7a7ef429
PE
256## begin gnulib module dup2
257
258
259EXTRA_DIST += dup2.c
260
261EXTRA_libgnu_a_SOURCES += dup2.c
262
263## end gnulib module dup2
264
ffdc270a
PE
265## begin gnulib module errno
266
267BUILT_SOURCES += $(ERRNO_H)
268
269# We need the following in order to create <errno.h> when the system
270# doesn't have one that is POSIX compliant.
271if GL_GENERATE_ERRNO_H
272errno.h: errno.in.h $(top_builddir)/config.status
273 $(AM_V_GEN)rm -f $@-t $@ && \
274 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
275 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
276 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
277 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
278 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
279 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
280 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
281 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
282 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
283 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
284 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
285 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
286 < $(srcdir)/errno.in.h; \
287 } > $@-t && \
288 mv $@-t $@
289else
290errno.h: $(top_builddir)/config.status
291 rm -f $@
292endif
293MOSTLYCLEANFILES += errno.h errno.h-t
294
295EXTRA_DIST += errno.in.h
296
297## end gnulib module errno
298
73dcdb9f
PE
299## begin gnulib module euidaccess
300
301if gl_GNULIB_ENABLED_euidaccess
302
303endif
304EXTRA_DIST += euidaccess.c
305
306EXTRA_libgnu_a_SOURCES += euidaccess.c
307
308## end gnulib module euidaccess
309
f4a681b0
PE
310## begin gnulib module execinfo
311
312BUILT_SOURCES += $(EXECINFO_H)
313
314# We need the following in order to create <execinfo.h> when the system
315# doesn't have one that works.
316if GL_GENERATE_EXECINFO_H
317execinfo.h: execinfo.in.h $(top_builddir)/config.status
318 $(AM_V_GEN)rm -f $@-t $@ && \
319 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
320 cat $(srcdir)/execinfo.in.h; \
321 } > $@-t && \
322 mv $@-t $@
323else
324execinfo.h: $(top_builddir)/config.status
325 rm -f $@
326endif
327MOSTLYCLEANFILES += execinfo.h execinfo.h-t
328
329EXTRA_DIST += execinfo.c execinfo.in.h
330
331EXTRA_libgnu_a_SOURCES += execinfo.c
332
333## end gnulib module execinfo
334
73dcdb9f
PE
335## begin gnulib module faccessat
336
337
338EXTRA_DIST += at-func.c faccessat.c
339
340EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c
341
342## end gnulib module faccessat
343
067428c1
PE
344## begin gnulib module fcntl
345
346
347EXTRA_DIST += fcntl.c
348
349EXTRA_libgnu_a_SOURCES += fcntl.c
350
351## end gnulib module fcntl
352
73dcdb9f
PE
353## begin gnulib module fcntl-h
354
355BUILT_SOURCES += fcntl.h
356
357# We need the following in order to create <fcntl.h> when the system
358# doesn't have one that works with the given compiler.
359fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
360 $(AM_V_GEN)rm -f $@-t $@ && \
361 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
362 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
363 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
364 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
365 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
366 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
367 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
368 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
369 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
370 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
371 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
372 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
373 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
374 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
375 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
376 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
377 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
378 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
379 < $(srcdir)/fcntl.in.h; \
380 } > $@-t && \
381 mv $@-t $@
382MOSTLYCLEANFILES += fcntl.h fcntl.h-t
383
384EXTRA_DIST += fcntl.in.h
385
386## end gnulib module fcntl-h
387
47d7532e
PE
388## begin gnulib module fdatasync
389
390
391EXTRA_DIST += fdatasync.c
392
393EXTRA_libgnu_a_SOURCES += fdatasync.c
394
395## end gnulib module fdatasync
396
8654f9d7
PE
397## begin gnulib module fdopendir
398
399
400EXTRA_DIST += fdopendir.c
401
402EXTRA_libgnu_a_SOURCES += fdopendir.c
403
404## end gnulib module fdopendir
405
5fa4ac76
PE
406## begin gnulib module filemode
407
8aeb5be9 408libgnu_a_SOURCES += filemode.c
5fa4ac76 409
8aeb5be9 410EXTRA_DIST += filemode.h
5fa4ac76
PE
411
412## end gnulib module filemode
413
7ccfb720
PE
414## begin gnulib module fpending
415
416
417EXTRA_DIST += fpending.c fpending.h
418
419EXTRA_libgnu_a_SOURCES += fpending.c
420
421## end gnulib module fpending
422
8654f9d7
PE
423## begin gnulib module fstatat
424
425
426EXTRA_DIST += at-func.c fstatat.c
427
428EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c
429
430## end gnulib module fstatat
431
47d7532e
PE
432## begin gnulib module fsync
433
434
435EXTRA_DIST += fsync.c
436
437EXTRA_libgnu_a_SOURCES += fsync.c
438
439## end gnulib module fsync
440
067428c1
PE
441## begin gnulib module getdtablesize
442
443if gl_GNULIB_ENABLED_getdtablesize
444
445endif
446EXTRA_DIST += getdtablesize.c
447
448EXTRA_libgnu_a_SOURCES += getdtablesize.c
449
450## end gnulib module getdtablesize
451
73dcdb9f
PE
452## begin gnulib module getgroups
453
454if gl_GNULIB_ENABLED_getgroups
455
456endif
457EXTRA_DIST += getgroups.c
458
459EXTRA_libgnu_a_SOURCES += getgroups.c
460
461## end gnulib module getgroups
462
79ab4b7f
PE
463## begin gnulib module getloadavg
464
465
466EXTRA_DIST += getloadavg.c
467
468EXTRA_libgnu_a_SOURCES += getloadavg.c
469
470## end gnulib module getloadavg
471
e275c824
PE
472## begin gnulib module getopt-posix
473
474BUILT_SOURCES += $(GETOPT_H)
475
476# We need the following in order to create <getopt.h> when the system
477# doesn't have one that works with the given compiler.
54fc1789 478getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
e275c824
PE
479 $(AM_V_GEN)rm -f $@-t $@ && \
480 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
481 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
482 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
e275c824
PE
483 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
484 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
485 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
486 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
487 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
488 < $(srcdir)/getopt.in.h; \
489 } > $@-t && \
490 mv -f $@-t $@
491MOSTLYCLEANFILES += getopt.h getopt.h-t
492
493EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
494
495EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
496
497## end gnulib module getopt-posix
498
499## begin gnulib module gettext-h
500
19548d08 501if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
e275c824
PE
502libgnu_a_SOURCES += gettext.h
503
19548d08 504endif
e275c824
PE
505## end gnulib module gettext-h
506
d35af63c
PE
507## begin gnulib module gettime
508
509libgnu_a_SOURCES += gettime.c
510
511## end gnulib module gettime
512
513## begin gnulib module gettimeofday
514
515
516EXTRA_DIST += gettimeofday.c
517
518EXTRA_libgnu_a_SOURCES += gettimeofday.c
519
520## end gnulib module gettimeofday
521
73dcdb9f
PE
522## begin gnulib module group-member
523
524if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1
525
526endif
527EXTRA_DIST += group-member.c
528
529EXTRA_libgnu_a_SOURCES += group-member.c
530
531## end gnulib module group-member
532
a451f14b
PE
533## begin gnulib module intprops
534
535
536EXTRA_DIST += intprops.h
537
538## end gnulib module intprops
743c80a7 539
b6f5355a 540## begin gnulib module inttypes-incomplete
a8a2bb29
PE
541
542BUILT_SOURCES += inttypes.h
543
544# We need the following in order to create <inttypes.h> when the system
545# doesn't have one that works with the given compiler.
caf8a9b2 546inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
a8a2bb29
PE
547 $(AM_V_GEN)rm -f $@-t $@ && \
548 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
549 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/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_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
554 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
555 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
556 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
557 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
558 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
559 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
560 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
561 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
562 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
563 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
564 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
565 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
566 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
caf8a9b2 567 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
a8a2bb29
PE
568 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
569 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
570 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
571 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
caf8a9b2 572 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
a8a2bb29
PE
573 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
574 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
575 < $(srcdir)/inttypes.in.h; \
576 } > $@-t && \
577 mv $@-t $@
578MOSTLYCLEANFILES += inttypes.h inttypes.h-t
579
580EXTRA_DIST += inttypes.in.h
581
b6f5355a 582## end gnulib module inttypes-incomplete
a8a2bb29 583
ae0d7250
PE
584## begin gnulib module lstat
585
586
587EXTRA_DIST += lstat.c
588
589EXTRA_libgnu_a_SOURCES += lstat.c
590
591## end gnulib module lstat
592
a84b7c53
PE
593## begin gnulib module memrchr
594
595
596EXTRA_DIST += memrchr.c
597
598EXTRA_libgnu_a_SOURCES += memrchr.c
599
600## end gnulib module memrchr
601
e0fdb694
PE
602## begin gnulib module mkostemp
603
604
605EXTRA_DIST += mkostemp.c
606
607EXTRA_libgnu_a_SOURCES += mkostemp.c
608
609## end gnulib module mkostemp
610
1fd182f0
PE
611## begin gnulib module mktime
612
613
614EXTRA_DIST += mktime-internal.h mktime.c
615
616EXTRA_libgnu_a_SOURCES += mktime.c
617
618## end gnulib module mktime
619
8654f9d7
PE
620## begin gnulib module openat-h
621
622if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
623
624endif
625EXTRA_DIST += openat.h
626
627## end gnulib module openat-h
628
6df37268
PE
629## begin gnulib module pathmax
630
631if gl_GNULIB_ENABLED_pathmax
632
633endif
634EXTRA_DIST += pathmax.h
635
636## end gnulib module pathmax
637
067428c1
PE
638## begin gnulib module pipe2
639
640libgnu_a_SOURCES += pipe2.c
641
642## end gnulib module pipe2
643
d35af63c
PE
644## begin gnulib module pselect
645
646
647EXTRA_DIST += pselect.c
648
649EXTRA_libgnu_a_SOURCES += pselect.c
650
651## end gnulib module pselect
652
2a84b02d
PE
653## begin gnulib module pthread_sigmask
654
655
656EXTRA_DIST += pthread_sigmask.c
657
658EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
659
660## end gnulib module pthread_sigmask
661
5745a7df
PE
662## begin gnulib module putenv
663
664
665EXTRA_DIST += putenv.c
666
667EXTRA_libgnu_a_SOURCES += putenv.c
668
669## end gnulib module putenv
670
ffdc270a
PE
671## begin gnulib module qacl
672
673libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c qset-acl.c
674
675EXTRA_DIST += acl-internal.h acl.h acl_entries.c
676
677EXTRA_libgnu_a_SOURCES += acl_entries.c
678
679## end gnulib module qacl
680
ae0d7250
PE
681## begin gnulib module readlink
682
683
684EXTRA_DIST += readlink.c
685
686EXTRA_libgnu_a_SOURCES += readlink.c
687
688## end gnulib module readlink
689
8654f9d7
PE
690## begin gnulib module readlinkat
691
692
693EXTRA_DIST += at-func.c readlinkat.c
694
695EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
696
697## end gnulib module readlinkat
698
73dcdb9f
PE
699## begin gnulib module root-uid
700
701if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
702
703endif
704EXTRA_DIST += root-uid.h
705
706## end gnulib module root-uid
707
e0fdb694
PE
708## begin gnulib module secure_getenv
709
710if gl_GNULIB_ENABLED_secure_getenv
711
712endif
713EXTRA_DIST += secure_getenv.c
714
715EXTRA_libgnu_a_SOURCES += secure_getenv.c
716
717## end gnulib module secure_getenv
718
d983a10b
PE
719## begin gnulib module sig2str
720
721
722EXTRA_DIST += sig2str.c sig2str.h
723
724EXTRA_libgnu_a_SOURCES += sig2str.c
725
726## end gnulib module sig2str
727
316f8af0 728## begin gnulib module signal-h
6db30f83
PE
729
730BUILT_SOURCES += signal.h
731
732# We need the following in order to create <signal.h> when the system
733# doesn't have a complete one.
734signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
735 $(AM_V_GEN)rm -f $@-t $@ && \
736 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
737 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
738 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
739 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
740 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
741 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
742 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
316f8af0 743 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
6db30f83
PE
744 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
745 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
746 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
747 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
2a84b02d 748 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
316f8af0 749 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
6db30f83
PE
750 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
751 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
752 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
753 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
754 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
755 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
756 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
316f8af0 757 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
6db30f83
PE
758 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
759 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
760 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
761 < $(srcdir)/signal.in.h; \
762 } > $@-t && \
763 mv $@-t $@
764MOSTLYCLEANFILES += signal.h signal.h-t
765
766EXTRA_DIST += signal.in.h
767
316f8af0 768## end gnulib module signal-h
6db30f83 769
24e0f6b1
PE
770## begin gnulib module snippet/_Noreturn
771
772# Because this Makefile snippet defines a variable used by other
773# gnulib Makefile snippets, it must be present in all Makefile.am that
774# need it. This is ensured by the applicability 'all' defined above.
775
776_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
777
778EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
779
780## end gnulib module snippet/_Noreturn
781
782## begin gnulib module snippet/arg-nonnull
783
784# The BUILT_SOURCES created by this Makefile snippet are not used via #include
785# statements but through direct file reference. Therefore this snippet must be
786# present in all Makefile.am that need it. This is ensured by the applicability
787# 'all' defined above.
788
789BUILT_SOURCES += arg-nonnull.h
790# The arg-nonnull.h that gets inserted into generated .h files is the same as
791# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
792# off.
793arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
794 $(AM_V_GEN)rm -f $@-t $@ && \
795 sed -n -e '/GL_ARG_NONNULL/,$$p' \
796 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
797 > $@-t && \
798 mv $@-t $@
799MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
800
801ARG_NONNULL_H=arg-nonnull.h
802
803EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
804
805## end gnulib module snippet/arg-nonnull
806
807## begin gnulib module snippet/c++defs
808
809# The BUILT_SOURCES created by this Makefile snippet are not used via #include
810# statements but through direct file reference. Therefore this snippet must be
811# present in all Makefile.am that need it. This is ensured by the applicability
812# 'all' defined above.
813
814BUILT_SOURCES += c++defs.h
815# The c++defs.h that gets inserted into generated .h files is the same as
816# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
817c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
818 $(AM_V_GEN)rm -f $@-t $@ && \
819 sed -n -e '/_GL_CXXDEFS/,$$p' \
820 < $(top_srcdir)/build-aux/snippet/c++defs.h \
821 > $@-t && \
822 mv $@-t $@
823MOSTLYCLEANFILES += c++defs.h c++defs.h-t
824
825CXXDEFS_H=c++defs.h
826
827EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
828
829## end gnulib module snippet/c++defs
830
831## begin gnulib module snippet/warn-on-use
832
833BUILT_SOURCES += warn-on-use.h
834# The warn-on-use.h that gets inserted into generated .h files is the same as
835# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
836# off.
837warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
838 $(AM_V_GEN)rm -f $@-t $@ && \
839 sed -n -e '/^.ifndef/,$$p' \
840 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
841 > $@-t && \
842 mv $@-t $@
843MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
844
845WARN_ON_USE_H=warn-on-use.h
846
847EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
848
849## end gnulib module snippet/warn-on-use
850
ae0d7250
PE
851## begin gnulib module stat
852
19548d08 853if gl_GNULIB_ENABLED_stat
ae0d7250 854
19548d08 855endif
ae0d7250
PE
856EXTRA_DIST += stat.c
857
858EXTRA_libgnu_a_SOURCES += stat.c
859
860## end gnulib module stat
861
d35af63c
PE
862## begin gnulib module stat-time
863
a0d4efe9 864libgnu_a_SOURCES += stat-time.c
d35af63c
PE
865
866EXTRA_DIST += stat-time.h
867
868## end gnulib module stat-time
869
caf8a9b2
PE
870## begin gnulib module stdalign
871
872BUILT_SOURCES += $(STDALIGN_H)
873
874# We need the following in order to create <stdalign.h> when the system
875# doesn't have one that works.
876if GL_GENERATE_STDALIGN_H
877stdalign.h: stdalign.in.h $(top_builddir)/config.status
878 $(AM_V_GEN)rm -f $@-t $@ && \
879 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
880 cat $(srcdir)/stdalign.in.h; \
881 } > $@-t && \
882 mv $@-t $@
883else
884stdalign.h: $(top_builddir)/config.status
885 rm -f $@
886endif
887MOSTLYCLEANFILES += stdalign.h stdalign.h-t
888
889EXTRA_DIST += stdalign.in.h
890
891## end gnulib module stdalign
892
c378da0b
PE
893## begin gnulib module stdarg
894
895BUILT_SOURCES += $(STDARG_H)
896
897# We need the following in order to create <stdarg.h> when the system
898# doesn't have one that works with the given compiler.
899if GL_GENERATE_STDARG_H
900stdarg.h: stdarg.in.h $(top_builddir)/config.status
901 $(AM_V_GEN)rm -f $@-t $@ && \
902 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
903 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
904 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c378da0b
PE
905 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
906 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
907 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
908 < $(srcdir)/stdarg.in.h; \
909 } > $@-t && \
910 mv $@-t $@
911else
912stdarg.h: $(top_builddir)/config.status
913 rm -f $@
914endif
915MOSTLYCLEANFILES += stdarg.h stdarg.h-t
916
917EXTRA_DIST += stdarg.in.h
918
919## end gnulib module stdarg
920
16c3e636
PE
921## begin gnulib module stdbool
922
923BUILT_SOURCES += $(STDBOOL_H)
924
925# We need the following in order to create <stdbool.h> when the system
926# doesn't have one that works.
54fc1789
PE
927if GL_GENERATE_STDBOOL_H
928stdbool.h: stdbool.in.h $(top_builddir)/config.status
16c3e636
PE
929 $(AM_V_GEN)rm -f $@-t $@ && \
930 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
931 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
932 } > $@-t && \
933 mv $@-t $@
54fc1789
PE
934else
935stdbool.h: $(top_builddir)/config.status
936 rm -f $@
937endif
16c3e636
PE
938MOSTLYCLEANFILES += stdbool.h stdbool.h-t
939
940EXTRA_DIST += stdbool.in.h
941
942## end gnulib module stdbool
943
1fd182f0
PE
944## begin gnulib module stddef
945
946BUILT_SOURCES += $(STDDEF_H)
947
948# We need the following in order to create <stddef.h> when the system
949# doesn't have one that works with the given compiler.
54fc1789
PE
950if GL_GENERATE_STDDEF_H
951stddef.h: stddef.in.h $(top_builddir)/config.status
1fd182f0
PE
952 $(AM_V_GEN)rm -f $@-t $@ && \
953 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
954 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
955 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
956 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
957 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
958 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
959 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
960 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
961 < $(srcdir)/stddef.in.h; \
962 } > $@-t && \
963 mv $@-t $@
54fc1789
PE
964else
965stddef.h: $(top_builddir)/config.status
966 rm -f $@
967endif
1fd182f0
PE
968MOSTLYCLEANFILES += stddef.h stddef.h-t
969
970EXTRA_DIST += stddef.in.h
971
972## end gnulib module stddef
973
5f90be1b
PE
974## begin gnulib module stdint
975
976BUILT_SOURCES += $(STDINT_H)
977
978# We need the following in order to create <stdint.h> when the system
979# doesn't have one that works with the given compiler.
54fc1789
PE
980if GL_GENERATE_STDINT_H
981stdint.h: stdint.in.h $(top_builddir)/config.status
5f90be1b
PE
982 $(AM_V_GEN)rm -f $@-t $@ && \
983 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
984 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
985 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
5f90be1b
PE
986 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
987 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
988 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
989 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
990 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
991 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
992 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
993 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
994 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
995 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
996 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
997 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
998 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
999 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1000 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1001 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1002 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1003 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1004 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1005 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1006 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1007 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1008 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1009 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1010 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1011 < $(srcdir)/stdint.in.h; \
1012 } > $@-t && \
1013 mv $@-t $@
54fc1789
PE
1014else
1015stdint.h: $(top_builddir)/config.status
1016 rm -f $@
1017endif
5f90be1b
PE
1018MOSTLYCLEANFILES += stdint.h stdint.h-t
1019
1020EXTRA_DIST += stdint.in.h
1021
1022## end gnulib module stdint
1023
77185bdf
PE
1024## begin gnulib module stdio
1025
1026BUILT_SOURCES += stdio.h
1027
1028# We need the following in order to create <stdio.h> when the system
1029# doesn't have one that works with the given compiler.
54fc1789 1030stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
77185bdf
PE
1031 $(AM_V_GEN)rm -f $@-t $@ && \
1032 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1033 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1034 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77185bdf
PE
1035 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1036 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1037 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
7e2aa385
PE
1038 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1039 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
316f8af0 1040 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
7e2aa385
PE
1041 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1042 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1043 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1044 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1045 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1046 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1047 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1048 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1049 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1050 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1051 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1052 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1053 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1054 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1055 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1056 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1057 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1058 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1059 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1060 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1061 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
7e2aa385
PE
1062 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1063 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
316f8af0 1064 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
7e2aa385
PE
1065 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1066 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1067 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1068 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1069 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1070 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1071 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1072 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1073 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1074 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1075 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1076 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1077 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1078 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1079 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1080 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1081 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1082 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1083 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1084 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1085 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1086 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1087 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1088 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1089 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1090 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
77185bdf
PE
1091 < $(srcdir)/stdio.in.h | \
1092 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1093 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1094 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1095 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1096 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1097 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1098 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1099 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1100 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1101 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1102 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
316f8af0
PE
1103 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1104 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
77185bdf
PE
1105 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1106 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1107 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1108 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1109 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
316f8af0 1110 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
77185bdf
PE
1111 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1112 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1113 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1114 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1115 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1116 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1117 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1118 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1119 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1120 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1121 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1122 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1123 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1124 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1125 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1126 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1127 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1128 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1129 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1130 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
cc2e7b46 1131 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
77185bdf
PE
1132 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1133 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1134 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1135 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1136 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1137 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1138 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1139 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1140 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1141 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1142 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1143 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1144 } > $@-t && \
1145 mv $@-t $@
1146MOSTLYCLEANFILES += stdio.h stdio.h-t
1147
1148EXTRA_DIST += stdio.in.h
1149
1150## end gnulib module stdio
1151
79ab4b7f
PE
1152## begin gnulib module stdlib
1153
1154BUILT_SOURCES += stdlib.h
1155
1156# We need the following in order to create <stdlib.h> when the system
1157# doesn't have one that works with the given compiler.
24e0f6b1
PE
1158stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1159 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
79ab4b7f
PE
1160 $(AM_V_GEN)rm -f $@-t $@ && \
1161 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1162 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1163 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
79ab4b7f
PE
1164 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1165 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1166 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
7e2aa385
PE
1167 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1168 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1169 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1170 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1171 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1172 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1173 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1174 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1175 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1176 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1177 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1178 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1179 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1180 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
caf8a9b2 1181 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
7e2aa385 1182 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
caf8a9b2 1183 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
7e2aa385 1184 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
caf8a9b2 1185 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
7e2aa385
PE
1186 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1187 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1188 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1189 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
8376d87e 1190 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
7e2aa385
PE
1191 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1192 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1193 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1194 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1195 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1196 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1197 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1198 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
dd463884
PE
1199 < $(srcdir)/stdlib.in.h | \
1200 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
79ab4b7f
PE
1201 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1202 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1203 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1204 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1205 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1206 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1207 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1208 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1209 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1210 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
caf8a9b2 1211 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
79ab4b7f 1212 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
caf8a9b2
PE
1213 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1214 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
79ab4b7f
PE
1215 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1216 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1217 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1218 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
8376d87e 1219 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
79ab4b7f
PE
1220 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1221 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1222 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1223 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1224 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1225 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1226 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1227 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1228 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1229 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1230 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
ae0d7250 1231 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
79ab4b7f 1232 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
bb1dfdad 1233 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
caf8a9b2 1234 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
79ab4b7f 1235 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
caf8a9b2 1236 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
79ab4b7f
PE
1237 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1238 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1239 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1240 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1241 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
ae0d7250 1242 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
79ab4b7f 1243 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
24e0f6b1 1244 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
79ab4b7f 1245 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
dd463884 1246 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79ab4b7f
PE
1247 } > $@-t && \
1248 mv $@-t $@
1249MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1250
1251EXTRA_DIST += stdlib.in.h
1252
1253## end gnulib module stdlib
1254
16c3e636
PE
1255## begin gnulib module strftime
1256
8aeb5be9 1257libgnu_a_SOURCES += strftime.c
16c3e636 1258
8aeb5be9 1259EXTRA_DIST += strftime.h
16c3e636
PE
1260
1261## end gnulib module strftime
1262
a84b7c53
PE
1263## begin gnulib module string
1264
1265BUILT_SOURCES += string.h
1266
1267# We need the following in order to create <string.h> when the system
1268# doesn't have one that works with the given compiler.
1269string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1270 $(AM_V_GEN)rm -f $@-t $@ && \
1271 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1272 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1273 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1274 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1275 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1276 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1277 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1278 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1279 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1280 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1281 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1282 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1283 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1284 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1285 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1286 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1287 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1288 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1289 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1290 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1291 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1292 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1293 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1294 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1295 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1296 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1297 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1298 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1299 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1300 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1301 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1302 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1303 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1304 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1305 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1306 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1307 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1308 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1309 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1310 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1311 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1312 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1313 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1314 < $(srcdir)/string.in.h | \
1315 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1316 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1317 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1318 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1319 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1320 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1321 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1322 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1323 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1324 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1325 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1326 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1327 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1328 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1329 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1330 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1331 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1332 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1333 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1334 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1335 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1336 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1337 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1338 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1339 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1340 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1341 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1342 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1343 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1344 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1345 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1346 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1347 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1348 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1349 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1350 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1351 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1352 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1353 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1354 < $(srcdir)/string.in.h; \
1355 } > $@-t && \
1356 mv $@-t $@
1357MOSTLYCLEANFILES += string.h string.h-t
1358
1359EXTRA_DIST += string.in.h
1360
1361## end gnulib module string
1362
f6ce9b9a
PE
1363## begin gnulib module strtoimax
1364
1365
1366EXTRA_DIST += strtoimax.c
1367
1368EXTRA_libgnu_a_SOURCES += strtoimax.c
1369
1370## end gnulib module strtoimax
1371
1372## begin gnulib module strtoll
1373
1374if gl_GNULIB_ENABLED_strtoll
1375
1376endif
1377EXTRA_DIST += strtol.c strtoll.c
1378
1379EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
1380
1381## end gnulib module strtoll
1382
b6f5355a
PE
1383## begin gnulib module strtoull
1384
19548d08 1385if gl_GNULIB_ENABLED_strtoull
b6f5355a 1386
19548d08 1387endif
b6f5355a
PE
1388EXTRA_DIST += strtol.c strtoul.c strtoull.c
1389
1390EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
1391
1392## end gnulib module strtoull
1393
a8a2bb29
PE
1394## begin gnulib module strtoumax
1395
1396
b6f5355a 1397EXTRA_DIST += strtoimax.c strtoumax.c
a8a2bb29 1398
b6f5355a 1399EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
a8a2bb29
PE
1400
1401## end gnulib module strtoumax
1402
ae0d7250
PE
1403## begin gnulib module symlink
1404
1405
1406EXTRA_DIST += symlink.c
1407
1408EXTRA_libgnu_a_SOURCES += symlink.c
1409
1410## end gnulib module symlink
1411
d35af63c
PE
1412## begin gnulib module sys_select
1413
1414BUILT_SOURCES += sys/select.h
1415
1416# We need the following in order to create <sys/select.h> when the system
1417# doesn't have one that works with the given compiler.
1418sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1419 $(AM_V_at)$(MKDIR_P) sys
1420 $(AM_V_GEN)rm -f $@-t $@ && \
1421 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1422 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1423 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1424 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1425 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1426 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
1427 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
1428 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
1429 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
1430 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1431 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
1432 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
1433 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
1434 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1435 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1436 < $(srcdir)/sys_select.in.h; \
1437 } > $@-t && \
1438 mv $@-t $@
1439MOSTLYCLEANFILES += sys/select.h sys/select.h-t
1440MOSTLYCLEANDIRS += sys
1441
1442EXTRA_DIST += sys_select.in.h
1443
1444## end gnulib module sys_select
1445
5fa4ac76
PE
1446## begin gnulib module sys_stat
1447
1448BUILT_SOURCES += sys/stat.h
1449
1450# We need the following in order to create <sys/stat.h> when the system
1451# has one that is incomplete.
54fc1789 1452sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
5fa4ac76
PE
1453 $(AM_V_at)$(MKDIR_P) sys
1454 $(AM_V_GEN)rm -f $@-t $@ && \
1455 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1456 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1457 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
5fa4ac76
PE
1458 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1459 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1460 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
caf8a9b2 1461 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
7e2aa385 1462 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
316f8af0 1463 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
7e2aa385
PE
1464 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1465 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1466 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1467 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1468 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1469 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1470 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1471 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1472 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1473 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1474 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
5fa4ac76
PE
1475 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1476 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1477 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1478 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1479 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1480 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1481 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1482 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1483 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1484 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1485 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1486 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1487 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1488 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1489 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1490 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1491 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1492 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1493 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1494 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1495 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1496 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1497 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1498 < $(srcdir)/sys_stat.in.h; \
1499 } > $@-t && \
1500 mv $@-t $@
1501MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1502MOSTLYCLEANDIRS += sys
1503
1504EXTRA_DIST += sys_stat.in.h
1505
1506## end gnulib module sys_stat
1507
d35af63c 1508## begin gnulib module sys_time
caf8a9b2 1509
d35af63c 1510BUILT_SOURCES += sys/time.h
caf8a9b2 1511
d35af63c 1512# We need the following in order to create <sys/time.h> when the system
caf8a9b2 1513# doesn't have one that works with the given compiler.
d35af63c 1514sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
caf8a9b2
PE
1515 $(AM_V_at)$(MKDIR_P) sys
1516 $(AM_V_GEN)rm -f $@-t $@ && \
1517 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1518 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
d35af63c 1519 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
caf8a9b2
PE
1520 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1521 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1522 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
d35af63c
PE
1523 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1524 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1525 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1526 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1527 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1528 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1529 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1530 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1531 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1532 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1533 < $(srcdir)/sys_time.in.h; \
caf8a9b2
PE
1534 } > $@-t && \
1535 mv $@-t $@
d35af63c 1536MOSTLYCLEANFILES += sys/time.h sys/time.h-t
caf8a9b2 1537
d35af63c 1538EXTRA_DIST += sys_time.in.h
caf8a9b2 1539
d35af63c 1540## end gnulib module sys_time
caf8a9b2 1541
e0fdb694
PE
1542## begin gnulib module tempname
1543
1544if gl_GNULIB_ENABLED_tempname
1545libgnu_a_SOURCES += tempname.c
1546
1547endif
1548EXTRA_DIST += tempname.h
1549
1550## end gnulib module tempname
1551
1fd182f0
PE
1552## begin gnulib module time
1553
1554BUILT_SOURCES += time.h
1555
1556# We need the following in order to create <time.h> when the system
1557# doesn't have one that works with the given compiler.
54fc1789 1558time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1fd182f0
PE
1559 $(AM_V_GEN)rm -f $@-t $@ && \
1560 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1561 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1562 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
1563 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1564 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1565 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
7e2aa385
PE
1566 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1567 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1568 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1569 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1570 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1fd182f0
PE
1571 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1572 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1573 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1574 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1575 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1576 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1577 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1578 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1579 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1580 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1581 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1582 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1583 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1584 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1585 < $(srcdir)/time.in.h; \
1586 } > $@-t && \
1587 mv $@-t $@
1588MOSTLYCLEANFILES += time.h time.h-t
1589
1590EXTRA_DIST += time.in.h
1591
1592## end gnulib module time
1593
1594## begin gnulib module time_r
1595
1596
1597EXTRA_DIST += time_r.c
1598
1599EXTRA_libgnu_a_SOURCES += time_r.c
1600
1601## end gnulib module time_r
1602
d35af63c
PE
1603## begin gnulib module timespec
1604
a0d4efe9 1605libgnu_a_SOURCES += timespec.c
d35af63c
PE
1606
1607EXTRA_DIST += timespec.h
1608
1609## end gnulib module timespec
1610
1611## begin gnulib module timespec-add
1612
1613libgnu_a_SOURCES += timespec-add.c
1614
1615## end gnulib module timespec-add
1616
1617## begin gnulib module timespec-sub
1618
1619libgnu_a_SOURCES += timespec-sub.c
1620
1621## end gnulib module timespec-sub
1622
3ce9d0d4
LL
1623## begin gnulib module u64
1624
a0d4efe9 1625libgnu_a_SOURCES += u64.c
3ce9d0d4
LL
1626
1627EXTRA_DIST += u64.h
1628
1629## end gnulib module u64
1630
e275c824
PE
1631## begin gnulib module unistd
1632
1633BUILT_SOURCES += unistd.h
f64898ab 1634libgnu_a_SOURCES += unistd.c
e275c824
PE
1635
1636# We need the following in order to create an empty placeholder for
1637# <unistd.h> when the system doesn't have one.
54fc1789 1638unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
e275c824
PE
1639 $(AM_V_GEN)rm -f $@-t $@ && \
1640 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1641 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1642 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
e275c824
PE
1643 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1644 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1645 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1646 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
caf8a9b2 1647 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
316f8af0 1648 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
7e2aa385
PE
1649 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1650 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
316f8af0 1651 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
7e2aa385
PE
1652 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1653 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1654 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1655 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1656 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1657 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1658 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
316f8af0 1659 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
7e2aa385
PE
1660 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1661 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1662 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1663 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1664 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1665 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1666 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1667 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1668 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1669 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1670 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1671 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
caf8a9b2 1672 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
7e2aa385
PE
1673 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1674 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1675 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1676 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1677 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1678 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1679 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1680 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1681 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1682 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1683 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1684 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
caf8a9b2 1685 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
7e2aa385
PE
1686 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1687 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1688 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1689 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
caf8a9b2 1690 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
7e2aa385
PE
1691 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1692 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1693 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1694 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1695 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1696 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
e275c824
PE
1697 < $(srcdir)/unistd.in.h | \
1698 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1699 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1700 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1701 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1702 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1703 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1704 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
316f8af0 1705 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
e275c824
PE
1706 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1707 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1708 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1709 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1710 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1711 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1712 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1fc5f204 1713 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
e275c824
PE
1714 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1715 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1716 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1717 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1718 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1719 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1720 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1721 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1722 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
caf8a9b2 1723 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
e275c824
PE
1724 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1725 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1726 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1727 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1728 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1729 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1730 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
316f8af0 1731 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
e275c824
PE
1732 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1733 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1734 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1735 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
caf8a9b2 1736 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
e275c824
PE
1737 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1738 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1739 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
dd463884
PE
1740 | \
1741 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
e275c824
PE
1742 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1743 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1744 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1745 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
caf8a9b2 1746 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
e275c824
PE
1747 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1748 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
0a858ebf 1749 -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
e275c824
PE
1750 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1751 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1752 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
caf8a9b2 1753 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
e275c824
PE
1754 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1755 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1756 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1757 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1758 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1759 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
cc2e7b46 1760 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
e275c824
PE
1761 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1762 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1763 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1764 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1765 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1766 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1767 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1768 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1769 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1770 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1771 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1772 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1773 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1774 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1775 } > $@-t && \
1776 mv $@-t $@
1777MOSTLYCLEANFILES += unistd.h unistd.h-t
1778
1779EXTRA_DIST += unistd.in.h
1780
1781## end gnulib module unistd
1782
5745a7df
PE
1783## begin gnulib module unsetenv
1784
1785
1786EXTRA_DIST += unsetenv.c
1787
1788EXTRA_libgnu_a_SOURCES += unsetenv.c
1789
1790## end gnulib module unsetenv
1791
d35af63c
PE
1792## begin gnulib module utimens
1793
1794libgnu_a_SOURCES += utimens.c
1795
1796EXTRA_DIST += utimens.h
1797
1798## end gnulib module utimens
1799
a8a2bb29
PE
1800## begin gnulib module verify
1801
a8a2bb29 1802
1fc5f204
PE
1803EXTRA_DIST += verify.h
1804
a8a2bb29
PE
1805## end gnulib module verify
1806
73dcdb9f
PE
1807## begin gnulib module xalloc-oversized
1808
1809if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
1810
1811endif
1812EXTRA_DIST += xalloc-oversized.h
1813
1814## end gnulib module xalloc-oversized
1815
743c80a7
PE
1816
1817mostlyclean-local: mostlyclean-generic
1818 @for dir in '' $(MOSTLYCLEANDIRS); do \
1819 if test -n "$$dir" && test -d $$dir; then \
1820 echo "rmdir $$dir"; rmdir $$dir; \
1821 fi; \
1822 done; \
1823 :