* movemail.c (getenv): Remove decl (unused since 1994).
[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.
8654f9d7 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 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
1fd182f0
PE
483## begin gnulib module mktime
484
485
486EXTRA_DIST += mktime-internal.h mktime.c
487
488EXTRA_libgnu_a_SOURCES += mktime.c
489
490## end gnulib module mktime
491
8654f9d7
PE
492## begin gnulib module openat-h
493
494if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7
495
496endif
497EXTRA_DIST += openat.h
498
499## end gnulib module openat-h
500
6df37268
PE
501## begin gnulib module pathmax
502
503if gl_GNULIB_ENABLED_pathmax
504
505endif
506EXTRA_DIST += pathmax.h
507
508## end gnulib module pathmax
509
d35af63c
PE
510## begin gnulib module pselect
511
512
513EXTRA_DIST += pselect.c
514
515EXTRA_libgnu_a_SOURCES += pselect.c
516
517## end gnulib module pselect
518
2a84b02d
PE
519## begin gnulib module pthread_sigmask
520
521
522EXTRA_DIST += pthread_sigmask.c
523
524EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
525
526## end gnulib module pthread_sigmask
527
5745a7df
PE
528## begin gnulib module putenv
529
530
531EXTRA_DIST += putenv.c
532
533EXTRA_libgnu_a_SOURCES += putenv.c
534
535## end gnulib module putenv
536
ae0d7250
PE
537## begin gnulib module readlink
538
539
540EXTRA_DIST += readlink.c
541
542EXTRA_libgnu_a_SOURCES += readlink.c
543
544## end gnulib module readlink
545
8654f9d7
PE
546## begin gnulib module readlinkat
547
548
549EXTRA_DIST += at-func.c readlinkat.c
550
551EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c
552
553## end gnulib module readlinkat
554
73dcdb9f
PE
555## begin gnulib module root-uid
556
557if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c
558
559endif
560EXTRA_DIST += root-uid.h
561
562## end gnulib module root-uid
563
d983a10b
PE
564## begin gnulib module sig2str
565
566
567EXTRA_DIST += sig2str.c sig2str.h
568
569EXTRA_libgnu_a_SOURCES += sig2str.c
570
571## end gnulib module sig2str
572
316f8af0 573## begin gnulib module signal-h
6db30f83
PE
574
575BUILT_SOURCES += signal.h
576
577# We need the following in order to create <signal.h> when the system
578# doesn't have a complete one.
579signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
580 $(AM_V_GEN)rm -f $@-t $@ && \
581 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
582 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
583 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
584 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
585 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
586 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
587 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
316f8af0 588 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
6db30f83
PE
589 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
590 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
591 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
592 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
2a84b02d 593 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
316f8af0 594 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
6db30f83
PE
595 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
596 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
597 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
598 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
599 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
600 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
601 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
316f8af0 602 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
6db30f83
PE
603 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
604 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
605 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
606 < $(srcdir)/signal.in.h; \
607 } > $@-t && \
608 mv $@-t $@
609MOSTLYCLEANFILES += signal.h signal.h-t
610
611EXTRA_DIST += signal.in.h
612
316f8af0 613## end gnulib module signal-h
6db30f83 614
24e0f6b1
PE
615## begin gnulib module snippet/_Noreturn
616
617# Because this Makefile snippet defines a variable used by other
618# gnulib Makefile snippets, it must be present in all Makefile.am that
619# need it. This is ensured by the applicability 'all' defined above.
620
621_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
622
623EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
624
625## end gnulib module snippet/_Noreturn
626
627## begin gnulib module snippet/arg-nonnull
628
629# The BUILT_SOURCES created by this Makefile snippet are not used via #include
630# statements but through direct file reference. Therefore this snippet must be
631# present in all Makefile.am that need it. This is ensured by the applicability
632# 'all' defined above.
633
634BUILT_SOURCES += arg-nonnull.h
635# The arg-nonnull.h that gets inserted into generated .h files is the same as
636# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
637# off.
638arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
639 $(AM_V_GEN)rm -f $@-t $@ && \
640 sed -n -e '/GL_ARG_NONNULL/,$$p' \
641 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
642 > $@-t && \
643 mv $@-t $@
644MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
645
646ARG_NONNULL_H=arg-nonnull.h
647
648EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
649
650## end gnulib module snippet/arg-nonnull
651
652## begin gnulib module snippet/c++defs
653
654# The BUILT_SOURCES created by this Makefile snippet are not used via #include
655# statements but through direct file reference. Therefore this snippet must be
656# present in all Makefile.am that need it. This is ensured by the applicability
657# 'all' defined above.
658
659BUILT_SOURCES += c++defs.h
660# The c++defs.h that gets inserted into generated .h files is the same as
661# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
662c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
663 $(AM_V_GEN)rm -f $@-t $@ && \
664 sed -n -e '/_GL_CXXDEFS/,$$p' \
665 < $(top_srcdir)/build-aux/snippet/c++defs.h \
666 > $@-t && \
667 mv $@-t $@
668MOSTLYCLEANFILES += c++defs.h c++defs.h-t
669
670CXXDEFS_H=c++defs.h
671
672EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
673
674## end gnulib module snippet/c++defs
675
676## begin gnulib module snippet/warn-on-use
677
678BUILT_SOURCES += warn-on-use.h
679# The warn-on-use.h that gets inserted into generated .h files is the same as
680# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
681# off.
682warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
683 $(AM_V_GEN)rm -f $@-t $@ && \
684 sed -n -e '/^.ifndef/,$$p' \
685 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
686 > $@-t && \
687 mv $@-t $@
688MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
689
690WARN_ON_USE_H=warn-on-use.h
691
692EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
693
694## end gnulib module snippet/warn-on-use
695
ae0d7250
PE
696## begin gnulib module stat
697
19548d08 698if gl_GNULIB_ENABLED_stat
ae0d7250 699
19548d08 700endif
ae0d7250
PE
701EXTRA_DIST += stat.c
702
703EXTRA_libgnu_a_SOURCES += stat.c
704
705## end gnulib module stat
706
d35af63c
PE
707## begin gnulib module stat-time
708
a0d4efe9 709libgnu_a_SOURCES += stat-time.c
d35af63c
PE
710
711EXTRA_DIST += stat-time.h
712
713## end gnulib module stat-time
714
caf8a9b2
PE
715## begin gnulib module stdalign
716
717BUILT_SOURCES += $(STDALIGN_H)
718
719# We need the following in order to create <stdalign.h> when the system
720# doesn't have one that works.
721if GL_GENERATE_STDALIGN_H
722stdalign.h: stdalign.in.h $(top_builddir)/config.status
723 $(AM_V_GEN)rm -f $@-t $@ && \
724 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
725 cat $(srcdir)/stdalign.in.h; \
726 } > $@-t && \
727 mv $@-t $@
728else
729stdalign.h: $(top_builddir)/config.status
730 rm -f $@
731endif
732MOSTLYCLEANFILES += stdalign.h stdalign.h-t
733
734EXTRA_DIST += stdalign.in.h
735
736## end gnulib module stdalign
737
c378da0b
PE
738## begin gnulib module stdarg
739
740BUILT_SOURCES += $(STDARG_H)
741
742# We need the following in order to create <stdarg.h> when the system
743# doesn't have one that works with the given compiler.
744if GL_GENERATE_STDARG_H
745stdarg.h: stdarg.in.h $(top_builddir)/config.status
746 $(AM_V_GEN)rm -f $@-t $@ && \
747 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
748 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
749 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c378da0b
PE
750 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
751 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
752 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
753 < $(srcdir)/stdarg.in.h; \
754 } > $@-t && \
755 mv $@-t $@
756else
757stdarg.h: $(top_builddir)/config.status
758 rm -f $@
759endif
760MOSTLYCLEANFILES += stdarg.h stdarg.h-t
761
762EXTRA_DIST += stdarg.in.h
763
764## end gnulib module stdarg
765
16c3e636
PE
766## begin gnulib module stdbool
767
768BUILT_SOURCES += $(STDBOOL_H)
769
770# We need the following in order to create <stdbool.h> when the system
771# doesn't have one that works.
54fc1789
PE
772if GL_GENERATE_STDBOOL_H
773stdbool.h: stdbool.in.h $(top_builddir)/config.status
16c3e636
PE
774 $(AM_V_GEN)rm -f $@-t $@ && \
775 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
776 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
777 } > $@-t && \
778 mv $@-t $@
54fc1789
PE
779else
780stdbool.h: $(top_builddir)/config.status
781 rm -f $@
782endif
16c3e636
PE
783MOSTLYCLEANFILES += stdbool.h stdbool.h-t
784
785EXTRA_DIST += stdbool.in.h
786
787## end gnulib module stdbool
788
1fd182f0
PE
789## begin gnulib module stddef
790
791BUILT_SOURCES += $(STDDEF_H)
792
793# We need the following in order to create <stddef.h> when the system
794# doesn't have one that works with the given compiler.
54fc1789
PE
795if GL_GENERATE_STDDEF_H
796stddef.h: stddef.in.h $(top_builddir)/config.status
1fd182f0
PE
797 $(AM_V_GEN)rm -f $@-t $@ && \
798 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
799 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
800 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
801 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
802 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
803 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
804 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
805 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
806 < $(srcdir)/stddef.in.h; \
807 } > $@-t && \
808 mv $@-t $@
54fc1789
PE
809else
810stddef.h: $(top_builddir)/config.status
811 rm -f $@
812endif
1fd182f0
PE
813MOSTLYCLEANFILES += stddef.h stddef.h-t
814
815EXTRA_DIST += stddef.in.h
816
817## end gnulib module stddef
818
5f90be1b
PE
819## begin gnulib module stdint
820
821BUILT_SOURCES += $(STDINT_H)
822
823# We need the following in order to create <stdint.h> when the system
824# doesn't have one that works with the given compiler.
54fc1789
PE
825if GL_GENERATE_STDINT_H
826stdint.h: stdint.in.h $(top_builddir)/config.status
5f90be1b
PE
827 $(AM_V_GEN)rm -f $@-t $@ && \
828 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
829 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
830 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
5f90be1b
PE
831 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
832 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
833 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
834 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
835 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
836 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
837 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
838 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
839 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
840 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
841 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
842 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
843 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
844 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
845 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
846 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
847 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
848 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
849 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
850 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
851 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
852 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
853 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
854 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
855 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
856 < $(srcdir)/stdint.in.h; \
857 } > $@-t && \
858 mv $@-t $@
54fc1789
PE
859else
860stdint.h: $(top_builddir)/config.status
861 rm -f $@
862endif
5f90be1b
PE
863MOSTLYCLEANFILES += stdint.h stdint.h-t
864
865EXTRA_DIST += stdint.in.h
866
867## end gnulib module stdint
868
77185bdf
PE
869## begin gnulib module stdio
870
871BUILT_SOURCES += stdio.h
872
873# We need the following in order to create <stdio.h> when the system
874# doesn't have one that works with the given compiler.
54fc1789 875stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
77185bdf
PE
876 $(AM_V_GEN)rm -f $@-t $@ && \
877 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
878 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
879 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77185bdf
PE
880 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
881 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
882 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
7e2aa385
PE
883 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
884 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
316f8af0 885 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
7e2aa385
PE
886 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
887 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
888 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
889 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
890 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
891 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
892 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
893 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
894 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
895 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
896 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
897 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
898 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
899 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
900 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
901 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
902 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
903 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
904 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
905 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
906 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
7e2aa385
PE
907 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
908 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
316f8af0 909 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
7e2aa385
PE
910 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
911 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
912 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
913 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
914 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
915 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
916 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
917 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
918 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
919 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
920 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
921 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
922 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
923 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
924 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
925 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
926 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
927 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
928 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
929 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
930 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
931 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
932 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
933 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
934 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
935 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
77185bdf
PE
936 < $(srcdir)/stdio.in.h | \
937 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
938 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
939 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
940 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
941 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
942 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
943 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
944 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
945 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
946 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
947 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
316f8af0
PE
948 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
949 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
77185bdf
PE
950 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
951 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
952 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
953 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
954 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
316f8af0 955 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
77185bdf
PE
956 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
957 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
958 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
959 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
960 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
961 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
962 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
963 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
964 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
965 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
966 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
967 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
968 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
969 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
970 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
971 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
972 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
973 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
974 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
975 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
cc2e7b46 976 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
77185bdf
PE
977 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
978 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
979 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
980 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
981 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
982 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
983 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
984 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
985 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
986 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
987 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
988 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
989 } > $@-t && \
990 mv $@-t $@
991MOSTLYCLEANFILES += stdio.h stdio.h-t
992
993EXTRA_DIST += stdio.in.h
994
995## end gnulib module stdio
996
79ab4b7f
PE
997## begin gnulib module stdlib
998
999BUILT_SOURCES += stdlib.h
1000
1001# We need the following in order to create <stdlib.h> when the system
1002# doesn't have one that works with the given compiler.
24e0f6b1
PE
1003stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1004 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
79ab4b7f
PE
1005 $(AM_V_GEN)rm -f $@-t $@ && \
1006 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1007 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1008 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
79ab4b7f
PE
1009 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1010 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1011 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
7e2aa385
PE
1012 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1013 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1014 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1015 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1016 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1017 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1018 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1019 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1020 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1021 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1022 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1023 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1024 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1025 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
caf8a9b2 1026 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
7e2aa385 1027 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
caf8a9b2 1028 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
7e2aa385 1029 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
caf8a9b2 1030 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
7e2aa385
PE
1031 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1032 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1033 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1034 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1035 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1036 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1037 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1038 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1039 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1040 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1041 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1042 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
dd463884
PE
1043 < $(srcdir)/stdlib.in.h | \
1044 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
79ab4b7f
PE
1045 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1046 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1047 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1048 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1049 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1050 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1051 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1052 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1053 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1054 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
caf8a9b2 1055 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
79ab4b7f 1056 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
caf8a9b2
PE
1057 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1058 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
79ab4b7f
PE
1059 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1060 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1061 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1062 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1063 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1064 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1065 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1066 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1067 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1068 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1069 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1070 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1071 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1072 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1073 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
ae0d7250 1074 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
79ab4b7f 1075 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
bb1dfdad 1076 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
caf8a9b2 1077 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
79ab4b7f 1078 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
caf8a9b2 1079 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
79ab4b7f
PE
1080 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1081 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1082 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1083 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1084 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
ae0d7250 1085 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
79ab4b7f 1086 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
24e0f6b1 1087 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
79ab4b7f 1088 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
dd463884 1089 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79ab4b7f
PE
1090 } > $@-t && \
1091 mv $@-t $@
1092MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1093
1094EXTRA_DIST += stdlib.in.h
1095
1096## end gnulib module stdlib
1097
16c3e636
PE
1098## begin gnulib module strftime
1099
8aeb5be9 1100libgnu_a_SOURCES += strftime.c
16c3e636 1101
8aeb5be9 1102EXTRA_DIST += strftime.h
16c3e636
PE
1103
1104## end gnulib module strftime
1105
f6ce9b9a
PE
1106## begin gnulib module strtoimax
1107
1108
1109EXTRA_DIST += strtoimax.c
1110
1111EXTRA_libgnu_a_SOURCES += strtoimax.c
1112
1113## end gnulib module strtoimax
1114
1115## begin gnulib module strtoll
1116
1117if gl_GNULIB_ENABLED_strtoll
1118
1119endif
1120EXTRA_DIST += strtol.c strtoll.c
1121
1122EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
1123
1124## end gnulib module strtoll
1125
b6f5355a
PE
1126## begin gnulib module strtoull
1127
19548d08 1128if gl_GNULIB_ENABLED_strtoull
b6f5355a 1129
19548d08 1130endif
b6f5355a
PE
1131EXTRA_DIST += strtol.c strtoul.c strtoull.c
1132
1133EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
1134
1135## end gnulib module strtoull
1136
a8a2bb29
PE
1137## begin gnulib module strtoumax
1138
1139
b6f5355a 1140EXTRA_DIST += strtoimax.c strtoumax.c
a8a2bb29 1141
b6f5355a 1142EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
a8a2bb29
PE
1143
1144## end gnulib module strtoumax
1145
ae0d7250
PE
1146## begin gnulib module symlink
1147
1148
1149EXTRA_DIST += symlink.c
1150
1151EXTRA_libgnu_a_SOURCES += symlink.c
1152
1153## end gnulib module symlink
1154
d35af63c
PE
1155## begin gnulib module sys_select
1156
1157BUILT_SOURCES += sys/select.h
1158
1159# We need the following in order to create <sys/select.h> when the system
1160# doesn't have one that works with the given compiler.
1161sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1162 $(AM_V_at)$(MKDIR_P) sys
1163 $(AM_V_GEN)rm -f $@-t $@ && \
1164 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1165 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1166 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1167 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1168 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1169 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
1170 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
1171 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
1172 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
1173 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1174 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
1175 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
1176 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
1177 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1178 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1179 < $(srcdir)/sys_select.in.h; \
1180 } > $@-t && \
1181 mv $@-t $@
1182MOSTLYCLEANFILES += sys/select.h sys/select.h-t
1183MOSTLYCLEANDIRS += sys
1184
1185EXTRA_DIST += sys_select.in.h
1186
1187## end gnulib module sys_select
1188
5fa4ac76
PE
1189## begin gnulib module sys_stat
1190
1191BUILT_SOURCES += sys/stat.h
1192
1193# We need the following in order to create <sys/stat.h> when the system
1194# has one that is incomplete.
54fc1789 1195sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
5fa4ac76
PE
1196 $(AM_V_at)$(MKDIR_P) sys
1197 $(AM_V_GEN)rm -f $@-t $@ && \
1198 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1199 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1200 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
5fa4ac76
PE
1201 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1202 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1203 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
caf8a9b2 1204 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
7e2aa385 1205 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
316f8af0 1206 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
7e2aa385
PE
1207 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1208 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1209 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1210 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1211 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1212 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1213 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1214 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1215 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1216 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1217 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
5fa4ac76
PE
1218 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1219 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1220 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1221 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1222 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1223 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1224 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1225 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1226 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1227 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1228 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1229 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1230 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1231 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1232 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1233 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1234 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1235 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1236 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1237 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1238 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1239 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1240 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1241 < $(srcdir)/sys_stat.in.h; \
1242 } > $@-t && \
1243 mv $@-t $@
1244MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1245MOSTLYCLEANDIRS += sys
1246
1247EXTRA_DIST += sys_stat.in.h
1248
1249## end gnulib module sys_stat
1250
d35af63c 1251## begin gnulib module sys_time
caf8a9b2 1252
d35af63c 1253BUILT_SOURCES += sys/time.h
caf8a9b2 1254
d35af63c 1255# We need the following in order to create <sys/time.h> when the system
caf8a9b2 1256# doesn't have one that works with the given compiler.
d35af63c 1257sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
caf8a9b2
PE
1258 $(AM_V_at)$(MKDIR_P) sys
1259 $(AM_V_GEN)rm -f $@-t $@ && \
1260 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1261 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
d35af63c 1262 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
caf8a9b2
PE
1263 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1264 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1265 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
d35af63c
PE
1266 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1267 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1268 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1269 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1270 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1271 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1272 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1273 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1274 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1275 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1276 < $(srcdir)/sys_time.in.h; \
caf8a9b2
PE
1277 } > $@-t && \
1278 mv $@-t $@
d35af63c 1279MOSTLYCLEANFILES += sys/time.h sys/time.h-t
caf8a9b2 1280
d35af63c 1281EXTRA_DIST += sys_time.in.h
caf8a9b2 1282
d35af63c 1283## end gnulib module sys_time
caf8a9b2 1284
1fd182f0
PE
1285## begin gnulib module time
1286
1287BUILT_SOURCES += time.h
1288
1289# We need the following in order to create <time.h> when the system
1290# doesn't have one that works with the given compiler.
54fc1789 1291time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1fd182f0
PE
1292 $(AM_V_GEN)rm -f $@-t $@ && \
1293 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1294 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1295 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
1296 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1297 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1298 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
7e2aa385
PE
1299 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1300 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1301 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1302 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1303 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1fd182f0
PE
1304 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1305 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1306 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1307 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1308 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1309 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1310 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1311 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1312 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1313 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1314 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1315 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1316 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1317 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1318 < $(srcdir)/time.in.h; \
1319 } > $@-t && \
1320 mv $@-t $@
1321MOSTLYCLEANFILES += time.h time.h-t
1322
1323EXTRA_DIST += time.in.h
1324
1325## end gnulib module time
1326
1327## begin gnulib module time_r
1328
1329
1330EXTRA_DIST += time_r.c
1331
1332EXTRA_libgnu_a_SOURCES += time_r.c
1333
1334## end gnulib module time_r
1335
d35af63c
PE
1336## begin gnulib module timespec
1337
a0d4efe9 1338libgnu_a_SOURCES += timespec.c
d35af63c
PE
1339
1340EXTRA_DIST += timespec.h
1341
1342## end gnulib module timespec
1343
1344## begin gnulib module timespec-add
1345
1346libgnu_a_SOURCES += timespec-add.c
1347
1348## end gnulib module timespec-add
1349
1350## begin gnulib module timespec-sub
1351
1352libgnu_a_SOURCES += timespec-sub.c
1353
1354## end gnulib module timespec-sub
1355
3ce9d0d4
LL
1356## begin gnulib module u64
1357
a0d4efe9 1358libgnu_a_SOURCES += u64.c
3ce9d0d4
LL
1359
1360EXTRA_DIST += u64.h
1361
1362## end gnulib module u64
1363
e275c824
PE
1364## begin gnulib module unistd
1365
1366BUILT_SOURCES += unistd.h
f64898ab 1367libgnu_a_SOURCES += unistd.c
e275c824
PE
1368
1369# We need the following in order to create an empty placeholder for
1370# <unistd.h> when the system doesn't have one.
54fc1789 1371unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
e275c824
PE
1372 $(AM_V_GEN)rm -f $@-t $@ && \
1373 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1374 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1375 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
e275c824
PE
1376 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1377 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1378 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1379 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
caf8a9b2 1380 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
316f8af0 1381 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
7e2aa385
PE
1382 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1383 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
316f8af0 1384 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
7e2aa385
PE
1385 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1386 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1387 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1388 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1389 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1390 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1391 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
316f8af0 1392 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
7e2aa385
PE
1393 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1394 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1395 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1396 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1397 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1398 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1399 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1400 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1401 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1402 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1403 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1404 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
caf8a9b2 1405 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
7e2aa385
PE
1406 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1407 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1408 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1409 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1410 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1411 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1412 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1413 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1414 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1415 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1416 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1417 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
caf8a9b2 1418 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
7e2aa385
PE
1419 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1420 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1421 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1422 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
caf8a9b2 1423 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
7e2aa385
PE
1424 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1425 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1426 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1427 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1428 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1429 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
e275c824
PE
1430 < $(srcdir)/unistd.in.h | \
1431 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1432 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1433 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1434 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1435 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1436 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1437 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
316f8af0 1438 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
e275c824
PE
1439 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1440 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1441 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1442 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1443 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1444 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1445 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1fc5f204 1446 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
e275c824
PE
1447 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1448 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1449 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1450 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1451 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1452 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1453 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1454 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1455 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
caf8a9b2 1456 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
e275c824
PE
1457 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1458 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1459 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1460 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1461 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1462 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1463 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
316f8af0 1464 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
e275c824
PE
1465 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1466 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1467 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1468 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
caf8a9b2 1469 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
e275c824
PE
1470 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1471 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1472 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
dd463884
PE
1473 | \
1474 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
e275c824
PE
1475 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1476 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1477 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1478 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
caf8a9b2 1479 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
e275c824
PE
1480 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1481 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1482 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1483 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1484 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
caf8a9b2 1485 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
e275c824
PE
1486 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1487 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1488 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1489 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1490 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1491 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
cc2e7b46 1492 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
e275c824
PE
1493 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1494 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1495 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1496 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1497 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1498 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1499 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1500 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1501 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1502 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1503 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1504 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1505 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1506 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1507 } > $@-t && \
1508 mv $@-t $@
1509MOSTLYCLEANFILES += unistd.h unistd.h-t
1510
1511EXTRA_DIST += unistd.in.h
1512
1513## end gnulib module unistd
1514
5745a7df
PE
1515## begin gnulib module unsetenv
1516
1517
1518EXTRA_DIST += unsetenv.c
1519
1520EXTRA_libgnu_a_SOURCES += unsetenv.c
1521
1522## end gnulib module unsetenv
1523
d35af63c
PE
1524## begin gnulib module utimens
1525
1526libgnu_a_SOURCES += utimens.c
1527
1528EXTRA_DIST += utimens.h
1529
1530## end gnulib module utimens
1531
a8a2bb29
PE
1532## begin gnulib module verify
1533
19548d08 1534if gl_GNULIB_ENABLED_verify
a8a2bb29 1535
19548d08 1536endif
1fc5f204
PE
1537EXTRA_DIST += verify.h
1538
a8a2bb29
PE
1539## end gnulib module verify
1540
73dcdb9f
PE
1541## begin gnulib module xalloc-oversized
1542
1543if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec
1544
1545endif
1546EXTRA_DIST += xalloc-oversized.h
1547
1548## end gnulib module xalloc-oversized
1549
743c80a7
PE
1550
1551mostlyclean-local: mostlyclean-generic
1552 @for dir in '' $(MOSTLYCLEANDIRS); do \
1553 if test -n "$$dir" && test -d $$dir; then \
1554 echo "rmdir $$dir"; rmdir $$dir; \
1555 fi; \
1556 done; \
1557 :