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