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