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