Buffer Menu doc fixes.
[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.
caf8a9b2 3# Copyright (C) 2002-2012 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.
a615a3ae 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=errno --avoid=fcntl --avoid=fcntl-h --avoid=fstat --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --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 crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub 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
fee5959d
PE
67## begin gnulib module c-ctype
68
69libgnu_a_SOURCES += c-ctype.h c-ctype.c
70
71## end gnulib module c-ctype
72
73## begin gnulib module c-strcase
74
75libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
76
77## end gnulib module c-strcase
78
d1fdcab7
PE
79## begin gnulib module careadlinkat
80
81libgnu_a_SOURCES += careadlinkat.c
82
7ec98caf 83EXTRA_DIST += careadlinkat.h
d1fdcab7
PE
84
85## end gnulib module careadlinkat
86
942f733f
PE
87## begin gnulib module crypto/md5
88
8aeb5be9 89libgnu_a_SOURCES += md5.c
942f733f 90
8aeb5be9 91EXTRA_DIST += md5.h
942f733f
PE
92
93## end gnulib module crypto/md5
94
13c3daa4
LL
95## begin gnulib module crypto/sha1
96
8aeb5be9 97libgnu_a_SOURCES += sha1.c
13c3daa4 98
8aeb5be9 99EXTRA_DIST += sha1.h
13c3daa4
LL
100
101## end gnulib module crypto/sha1
102
3ce9d0d4
LL
103## begin gnulib module crypto/sha256
104
105libgnu_a_SOURCES += sha256.c
106
107EXTRA_DIST += sha256.h
108
109## end gnulib module crypto/sha256
110
111## begin gnulib module crypto/sha512
112
113libgnu_a_SOURCES += sha512.c
114
115EXTRA_DIST += sha512.h
116
117## end gnulib module crypto/sha512
118
36f13e16
PE
119## begin gnulib module dosname
120
19548d08 121if gl_GNULIB_ENABLED_dosname
36f13e16 122
19548d08 123endif
36f13e16
PE
124EXTRA_DIST += dosname.h
125
126## end gnulib module dosname
127
f737437b 128## begin gnulib module dtoastr
743c80a7 129
f737437b 130libgnu_a_SOURCES += dtoastr.c
743c80a7 131
f737437b
PE
132EXTRA_DIST += ftoastr.c ftoastr.h
133
134EXTRA_libgnu_a_SOURCES += ftoastr.c
135
136## end gnulib module dtoastr
a451f14b 137
d35af63c
PE
138## begin gnulib module dtotimespec
139
140libgnu_a_SOURCES += dtotimespec.c
141
142## end gnulib module dtotimespec
143
7a7ef429
PE
144## begin gnulib module dup2
145
146
147EXTRA_DIST += dup2.c
148
149EXTRA_libgnu_a_SOURCES += dup2.c
150
151## end gnulib module dup2
152
f4a681b0
PE
153## begin gnulib module execinfo
154
155BUILT_SOURCES += $(EXECINFO_H)
156
157# We need the following in order to create <execinfo.h> when the system
158# doesn't have one that works.
159if GL_GENERATE_EXECINFO_H
160execinfo.h: execinfo.in.h $(top_builddir)/config.status
161 $(AM_V_GEN)rm -f $@-t $@ && \
162 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
163 cat $(srcdir)/execinfo.in.h; \
164 } > $@-t && \
165 mv $@-t $@
166else
167execinfo.h: $(top_builddir)/config.status
168 rm -f $@
169endif
170MOSTLYCLEANFILES += execinfo.h execinfo.h-t
171
172EXTRA_DIST += execinfo.c execinfo.in.h
173
174EXTRA_libgnu_a_SOURCES += execinfo.c
175
176## end gnulib module execinfo
177
5fa4ac76
PE
178## begin gnulib module filemode
179
8aeb5be9 180libgnu_a_SOURCES += filemode.c
5fa4ac76 181
8aeb5be9 182EXTRA_DIST += filemode.h
5fa4ac76
PE
183
184## end gnulib module filemode
185
79ab4b7f
PE
186## begin gnulib module getloadavg
187
188
189EXTRA_DIST += getloadavg.c
190
191EXTRA_libgnu_a_SOURCES += getloadavg.c
192
193## end gnulib module getloadavg
194
e275c824
PE
195## begin gnulib module getopt-posix
196
197BUILT_SOURCES += $(GETOPT_H)
198
199# We need the following in order to create <getopt.h> when the system
200# doesn't have one that works with the given compiler.
54fc1789 201getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
e275c824
PE
202 $(AM_V_GEN)rm -f $@-t $@ && \
203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
204 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
205 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
e275c824
PE
206 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
207 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
208 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
209 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
210 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
211 < $(srcdir)/getopt.in.h; \
212 } > $@-t && \
213 mv -f $@-t $@
214MOSTLYCLEANFILES += getopt.h getopt.h-t
215
216EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
217
218EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
219
220## end gnulib module getopt-posix
221
222## begin gnulib module gettext-h
223
19548d08 224if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
e275c824
PE
225libgnu_a_SOURCES += gettext.h
226
19548d08 227endif
e275c824
PE
228## end gnulib module gettext-h
229
d35af63c
PE
230## begin gnulib module gettime
231
232libgnu_a_SOURCES += gettime.c
233
234## end gnulib module gettime
235
236## begin gnulib module gettimeofday
237
238
239EXTRA_DIST += gettimeofday.c
240
241EXTRA_libgnu_a_SOURCES += gettimeofday.c
242
243## end gnulib module gettimeofday
244
67342916
PE
245## begin gnulib module ignore-value
246
1fc5f204
PE
247
248EXTRA_DIST += ignore-value.h
67342916
PE
249
250## end gnulib module ignore-value
251
a451f14b
PE
252## begin gnulib module intprops
253
254
255EXTRA_DIST += intprops.h
256
257## end gnulib module intprops
743c80a7 258
b6f5355a 259## begin gnulib module inttypes-incomplete
a8a2bb29
PE
260
261BUILT_SOURCES += inttypes.h
262
263# We need the following in order to create <inttypes.h> when the system
264# doesn't have one that works with the given compiler.
caf8a9b2 265inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
a8a2bb29
PE
266 $(AM_V_GEN)rm -f $@-t $@ && \
267 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
268 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
269 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
270 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
271 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
272 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
273 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
274 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
275 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
276 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
277 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
278 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
279 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
280 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
281 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
282 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
283 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
284 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
285 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
caf8a9b2 286 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
a8a2bb29
PE
287 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
288 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
289 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
290 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
caf8a9b2 291 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
a8a2bb29
PE
292 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
293 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
294 < $(srcdir)/inttypes.in.h; \
295 } > $@-t && \
296 mv $@-t $@
297MOSTLYCLEANFILES += inttypes.h inttypes.h-t
298
299EXTRA_DIST += inttypes.in.h
300
b6f5355a 301## end gnulib module inttypes-incomplete
a8a2bb29 302
ae0d7250
PE
303## begin gnulib module lstat
304
305
306EXTRA_DIST += lstat.c
307
308EXTRA_libgnu_a_SOURCES += lstat.c
309
310## end gnulib module lstat
311
1fd182f0
PE
312## begin gnulib module mktime
313
314
315EXTRA_DIST += mktime-internal.h mktime.c
316
317EXTRA_libgnu_a_SOURCES += mktime.c
318
319## end gnulib module mktime
320
6df37268
PE
321## begin gnulib module pathmax
322
323if gl_GNULIB_ENABLED_pathmax
324
325endif
326EXTRA_DIST += pathmax.h
327
328## end gnulib module pathmax
329
d35af63c
PE
330## begin gnulib module pselect
331
332
333EXTRA_DIST += pselect.c
334
335EXTRA_libgnu_a_SOURCES += pselect.c
336
337## end gnulib module pselect
338
2a84b02d
PE
339## begin gnulib module pthread_sigmask
340
341
342EXTRA_DIST += pthread_sigmask.c
343
344EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
345
346## end gnulib module pthread_sigmask
347
ae0d7250
PE
348## begin gnulib module readlink
349
350
351EXTRA_DIST += readlink.c
352
353EXTRA_libgnu_a_SOURCES += readlink.c
354
355## end gnulib module readlink
356
316f8af0 357## begin gnulib module signal-h
6db30f83
PE
358
359BUILT_SOURCES += signal.h
360
361# We need the following in order to create <signal.h> when the system
362# doesn't have a complete one.
363signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
364 $(AM_V_GEN)rm -f $@-t $@ && \
365 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
366 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
367 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
368 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
369 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
370 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
371 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
316f8af0 372 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
6db30f83
PE
373 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
374 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
375 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
376 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
2a84b02d 377 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
316f8af0 378 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
6db30f83
PE
379 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
380 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
381 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
382 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
383 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
384 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
385 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
316f8af0 386 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
6db30f83
PE
387 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
388 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
389 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
390 < $(srcdir)/signal.in.h; \
391 } > $@-t && \
392 mv $@-t $@
393MOSTLYCLEANFILES += signal.h signal.h-t
394
395EXTRA_DIST += signal.in.h
396
316f8af0 397## end gnulib module signal-h
6db30f83 398
24e0f6b1
PE
399## begin gnulib module snippet/_Noreturn
400
401# Because this Makefile snippet defines a variable used by other
402# gnulib Makefile snippets, it must be present in all Makefile.am that
403# need it. This is ensured by the applicability 'all' defined above.
404
405_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
406
407EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
408
409## end gnulib module snippet/_Noreturn
410
411## begin gnulib module snippet/arg-nonnull
412
413# The BUILT_SOURCES created by this Makefile snippet are not used via #include
414# statements but through direct file reference. Therefore this snippet must be
415# present in all Makefile.am that need it. This is ensured by the applicability
416# 'all' defined above.
417
418BUILT_SOURCES += arg-nonnull.h
419# The arg-nonnull.h that gets inserted into generated .h files is the same as
420# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
421# off.
422arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
423 $(AM_V_GEN)rm -f $@-t $@ && \
424 sed -n -e '/GL_ARG_NONNULL/,$$p' \
425 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
426 > $@-t && \
427 mv $@-t $@
428MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
429
430ARG_NONNULL_H=arg-nonnull.h
431
432EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
433
434## end gnulib module snippet/arg-nonnull
435
436## begin gnulib module snippet/c++defs
437
438# The BUILT_SOURCES created by this Makefile snippet are not used via #include
439# statements but through direct file reference. Therefore this snippet must be
440# present in all Makefile.am that need it. This is ensured by the applicability
441# 'all' defined above.
442
443BUILT_SOURCES += c++defs.h
444# The c++defs.h that gets inserted into generated .h files is the same as
445# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
446c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
447 $(AM_V_GEN)rm -f $@-t $@ && \
448 sed -n -e '/_GL_CXXDEFS/,$$p' \
449 < $(top_srcdir)/build-aux/snippet/c++defs.h \
450 > $@-t && \
451 mv $@-t $@
452MOSTLYCLEANFILES += c++defs.h c++defs.h-t
453
454CXXDEFS_H=c++defs.h
455
456EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
457
458## end gnulib module snippet/c++defs
459
460## begin gnulib module snippet/warn-on-use
461
462BUILT_SOURCES += warn-on-use.h
463# The warn-on-use.h that gets inserted into generated .h files is the same as
464# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
465# off.
466warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
467 $(AM_V_GEN)rm -f $@-t $@ && \
468 sed -n -e '/^.ifndef/,$$p' \
469 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
470 > $@-t && \
471 mv $@-t $@
472MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
473
474WARN_ON_USE_H=warn-on-use.h
475
476EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
477
478## end gnulib module snippet/warn-on-use
479
ae0d7250
PE
480## begin gnulib module stat
481
19548d08 482if gl_GNULIB_ENABLED_stat
ae0d7250 483
19548d08 484endif
ae0d7250
PE
485EXTRA_DIST += stat.c
486
487EXTRA_libgnu_a_SOURCES += stat.c
488
489## end gnulib module stat
490
d35af63c
PE
491## begin gnulib module stat-time
492
a0d4efe9 493libgnu_a_SOURCES += stat-time.c
d35af63c
PE
494
495EXTRA_DIST += stat-time.h
496
497## end gnulib module stat-time
498
caf8a9b2
PE
499## begin gnulib module stdalign
500
501BUILT_SOURCES += $(STDALIGN_H)
502
503# We need the following in order to create <stdalign.h> when the system
504# doesn't have one that works.
505if GL_GENERATE_STDALIGN_H
506stdalign.h: stdalign.in.h $(top_builddir)/config.status
507 $(AM_V_GEN)rm -f $@-t $@ && \
508 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
509 cat $(srcdir)/stdalign.in.h; \
510 } > $@-t && \
511 mv $@-t $@
512else
513stdalign.h: $(top_builddir)/config.status
514 rm -f $@
515endif
516MOSTLYCLEANFILES += stdalign.h stdalign.h-t
517
518EXTRA_DIST += stdalign.in.h
519
520## end gnulib module stdalign
521
c378da0b
PE
522## begin gnulib module stdarg
523
524BUILT_SOURCES += $(STDARG_H)
525
526# We need the following in order to create <stdarg.h> when the system
527# doesn't have one that works with the given compiler.
528if GL_GENERATE_STDARG_H
529stdarg.h: stdarg.in.h $(top_builddir)/config.status
530 $(AM_V_GEN)rm -f $@-t $@ && \
531 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
532 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
533 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c378da0b
PE
534 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
535 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
536 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
537 < $(srcdir)/stdarg.in.h; \
538 } > $@-t && \
539 mv $@-t $@
540else
541stdarg.h: $(top_builddir)/config.status
542 rm -f $@
543endif
544MOSTLYCLEANFILES += stdarg.h stdarg.h-t
545
546EXTRA_DIST += stdarg.in.h
547
548## end gnulib module stdarg
549
16c3e636
PE
550## begin gnulib module stdbool
551
552BUILT_SOURCES += $(STDBOOL_H)
553
554# We need the following in order to create <stdbool.h> when the system
555# doesn't have one that works.
54fc1789
PE
556if GL_GENERATE_STDBOOL_H
557stdbool.h: stdbool.in.h $(top_builddir)/config.status
16c3e636
PE
558 $(AM_V_GEN)rm -f $@-t $@ && \
559 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
560 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
561 } > $@-t && \
562 mv $@-t $@
54fc1789
PE
563else
564stdbool.h: $(top_builddir)/config.status
565 rm -f $@
566endif
16c3e636
PE
567MOSTLYCLEANFILES += stdbool.h stdbool.h-t
568
569EXTRA_DIST += stdbool.in.h
570
571## end gnulib module stdbool
572
1fd182f0
PE
573## begin gnulib module stddef
574
575BUILT_SOURCES += $(STDDEF_H)
576
577# We need the following in order to create <stddef.h> when the system
578# doesn't have one that works with the given compiler.
54fc1789
PE
579if GL_GENERATE_STDDEF_H
580stddef.h: stddef.in.h $(top_builddir)/config.status
1fd182f0
PE
581 $(AM_V_GEN)rm -f $@-t $@ && \
582 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
583 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
584 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
585 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
586 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
587 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
588 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
589 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
590 < $(srcdir)/stddef.in.h; \
591 } > $@-t && \
592 mv $@-t $@
54fc1789
PE
593else
594stddef.h: $(top_builddir)/config.status
595 rm -f $@
596endif
1fd182f0
PE
597MOSTLYCLEANFILES += stddef.h stddef.h-t
598
599EXTRA_DIST += stddef.in.h
600
601## end gnulib module stddef
602
5f90be1b
PE
603## begin gnulib module stdint
604
605BUILT_SOURCES += $(STDINT_H)
606
607# We need the following in order to create <stdint.h> when the system
608# doesn't have one that works with the given compiler.
54fc1789
PE
609if GL_GENERATE_STDINT_H
610stdint.h: stdint.in.h $(top_builddir)/config.status
5f90be1b
PE
611 $(AM_V_GEN)rm -f $@-t $@ && \
612 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
613 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
614 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
5f90be1b
PE
615 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
616 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
617 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
618 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
619 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
620 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
621 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
622 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
623 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
624 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
625 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
626 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
627 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
628 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
629 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
630 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
631 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
632 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
633 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
634 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
635 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
636 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
637 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
638 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
639 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
640 < $(srcdir)/stdint.in.h; \
641 } > $@-t && \
642 mv $@-t $@
54fc1789
PE
643else
644stdint.h: $(top_builddir)/config.status
645 rm -f $@
646endif
5f90be1b
PE
647MOSTLYCLEANFILES += stdint.h stdint.h-t
648
649EXTRA_DIST += stdint.in.h
650
651## end gnulib module stdint
652
77185bdf
PE
653## begin gnulib module stdio
654
655BUILT_SOURCES += stdio.h
656
657# We need the following in order to create <stdio.h> when the system
658# doesn't have one that works with the given compiler.
54fc1789 659stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
77185bdf
PE
660 $(AM_V_GEN)rm -f $@-t $@ && \
661 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
662 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
663 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
77185bdf
PE
664 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
665 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
666 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
7e2aa385
PE
667 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
668 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
316f8af0 669 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
7e2aa385
PE
670 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
671 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
672 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
673 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
674 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
675 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
676 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
677 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
678 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
679 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
680 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
681 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
682 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
683 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
684 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
685 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
686 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
687 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
688 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
689 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
690 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
7e2aa385
PE
691 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
692 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
316f8af0 693 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
7e2aa385
PE
694 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
695 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
696 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
697 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
698 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
699 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
700 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
701 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
702 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
703 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
704 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
705 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
706 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
707 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
708 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
709 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
710 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
711 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
712 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
713 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
714 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
715 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
716 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
717 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
718 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
719 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
77185bdf
PE
720 < $(srcdir)/stdio.in.h | \
721 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
722 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
723 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
724 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
725 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
726 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
727 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
728 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
729 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
730 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
731 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
316f8af0
PE
732 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
733 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
77185bdf
PE
734 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
735 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
736 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
737 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
738 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
316f8af0 739 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
77185bdf
PE
740 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
741 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
742 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
743 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
744 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
745 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
746 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
747 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
748 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
749 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
750 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
751 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
752 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
753 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
754 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
755 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
756 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
757 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
758 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
759 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
cc2e7b46 760 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
77185bdf
PE
761 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
762 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
763 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
764 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
765 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
766 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
767 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
768 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
769 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
770 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
771 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
772 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
773 } > $@-t && \
774 mv $@-t $@
775MOSTLYCLEANFILES += stdio.h stdio.h-t
776
777EXTRA_DIST += stdio.in.h
778
779## end gnulib module stdio
780
79ab4b7f
PE
781## begin gnulib module stdlib
782
783BUILT_SOURCES += stdlib.h
784
785# We need the following in order to create <stdlib.h> when the system
786# doesn't have one that works with the given compiler.
24e0f6b1
PE
787stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
788 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
79ab4b7f
PE
789 $(AM_V_GEN)rm -f $@-t $@ && \
790 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
791 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
792 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
79ab4b7f
PE
793 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
794 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
795 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
7e2aa385
PE
796 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
797 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
798 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
799 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
800 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
801 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
802 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
803 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
804 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
805 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
806 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
807 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
808 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
809 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
caf8a9b2 810 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
7e2aa385 811 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
caf8a9b2 812 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
7e2aa385 813 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
caf8a9b2 814 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
7e2aa385
PE
815 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
816 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
817 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
818 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
819 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
820 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
821 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
822 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
823 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
824 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
825 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
826 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
dd463884
PE
827 < $(srcdir)/stdlib.in.h | \
828 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
79ab4b7f
PE
829 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
830 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
831 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
832 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
833 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
834 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
835 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
836 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
837 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
838 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
caf8a9b2 839 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
79ab4b7f 840 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
caf8a9b2
PE
841 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
842 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
79ab4b7f
PE
843 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
844 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
845 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
846 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
847 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
848 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
849 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
850 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
851 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
852 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
853 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
854 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
855 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
856 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
857 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
ae0d7250 858 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
79ab4b7f 859 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
bb1dfdad 860 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
caf8a9b2 861 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
79ab4b7f 862 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
caf8a9b2 863 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
79ab4b7f
PE
864 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
865 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
866 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
867 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
868 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
ae0d7250 869 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
79ab4b7f 870 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
24e0f6b1 871 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
79ab4b7f 872 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
dd463884 873 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79ab4b7f
PE
874 } > $@-t && \
875 mv $@-t $@
876MOSTLYCLEANFILES += stdlib.h stdlib.h-t
877
878EXTRA_DIST += stdlib.in.h
879
880## end gnulib module stdlib
881
16c3e636
PE
882## begin gnulib module strftime
883
8aeb5be9 884libgnu_a_SOURCES += strftime.c
16c3e636 885
8aeb5be9 886EXTRA_DIST += strftime.h
16c3e636
PE
887
888## end gnulib module strftime
889
f6ce9b9a
PE
890## begin gnulib module strtoimax
891
892
893EXTRA_DIST += strtoimax.c
894
895EXTRA_libgnu_a_SOURCES += strtoimax.c
896
897## end gnulib module strtoimax
898
899## begin gnulib module strtoll
900
901if gl_GNULIB_ENABLED_strtoll
902
903endif
904EXTRA_DIST += strtol.c strtoll.c
905
906EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
907
908## end gnulib module strtoll
909
b6f5355a
PE
910## begin gnulib module strtoull
911
19548d08 912if gl_GNULIB_ENABLED_strtoull
b6f5355a 913
19548d08 914endif
b6f5355a
PE
915EXTRA_DIST += strtol.c strtoul.c strtoull.c
916
917EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
918
919## end gnulib module strtoull
920
a8a2bb29
PE
921## begin gnulib module strtoumax
922
923
b6f5355a 924EXTRA_DIST += strtoimax.c strtoumax.c
a8a2bb29 925
b6f5355a 926EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
a8a2bb29
PE
927
928## end gnulib module strtoumax
929
ae0d7250
PE
930## begin gnulib module symlink
931
932
933EXTRA_DIST += symlink.c
934
935EXTRA_libgnu_a_SOURCES += symlink.c
936
937## end gnulib module symlink
938
d35af63c
PE
939## begin gnulib module sys_select
940
941BUILT_SOURCES += sys/select.h
942
943# We need the following in order to create <sys/select.h> when the system
944# doesn't have one that works with the given compiler.
945sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
946 $(AM_V_at)$(MKDIR_P) sys
947 $(AM_V_GEN)rm -f $@-t $@ && \
948 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
949 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
950 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
951 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
952 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
953 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
954 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
955 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
956 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
957 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
958 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
959 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
960 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
961 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
962 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
963 < $(srcdir)/sys_select.in.h; \
964 } > $@-t && \
965 mv $@-t $@
966MOSTLYCLEANFILES += sys/select.h sys/select.h-t
967MOSTLYCLEANDIRS += sys
968
969EXTRA_DIST += sys_select.in.h
970
971## end gnulib module sys_select
972
5fa4ac76
PE
973## begin gnulib module sys_stat
974
975BUILT_SOURCES += sys/stat.h
976
977# We need the following in order to create <sys/stat.h> when the system
978# has one that is incomplete.
54fc1789 979sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
5fa4ac76
PE
980 $(AM_V_at)$(MKDIR_P) sys
981 $(AM_V_GEN)rm -f $@-t $@ && \
982 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
983 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
984 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
5fa4ac76
PE
985 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
986 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
987 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
caf8a9b2 988 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
7e2aa385 989 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
316f8af0 990 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
7e2aa385
PE
991 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
992 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
993 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
994 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
995 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
996 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
997 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
998 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
999 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1000 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1001 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
5fa4ac76
PE
1002 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1003 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1004 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1005 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1006 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1007 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1008 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1009 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1010 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1011 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1012 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1013 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1014 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1015 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1016 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1017 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1018 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1019 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1020 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1021 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1022 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1023 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1024 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1025 < $(srcdir)/sys_stat.in.h; \
1026 } > $@-t && \
1027 mv $@-t $@
1028MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1029MOSTLYCLEANDIRS += sys
1030
1031EXTRA_DIST += sys_stat.in.h
1032
1033## end gnulib module sys_stat
1034
d35af63c 1035## begin gnulib module sys_time
caf8a9b2 1036
d35af63c 1037BUILT_SOURCES += sys/time.h
caf8a9b2 1038
d35af63c 1039# We need the following in order to create <sys/time.h> when the system
caf8a9b2 1040# doesn't have one that works with the given compiler.
d35af63c 1041sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
caf8a9b2
PE
1042 $(AM_V_at)$(MKDIR_P) sys
1043 $(AM_V_GEN)rm -f $@-t $@ && \
1044 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1045 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
d35af63c 1046 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
caf8a9b2
PE
1047 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1048 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1049 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
d35af63c
PE
1050 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1051 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1052 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1053 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1054 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1055 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1056 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1057 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1058 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1059 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1060 < $(srcdir)/sys_time.in.h; \
caf8a9b2
PE
1061 } > $@-t && \
1062 mv $@-t $@
d35af63c 1063MOSTLYCLEANFILES += sys/time.h sys/time.h-t
caf8a9b2 1064
d35af63c 1065EXTRA_DIST += sys_time.in.h
caf8a9b2 1066
d35af63c 1067## end gnulib module sys_time
caf8a9b2 1068
1fd182f0
PE
1069## begin gnulib module time
1070
1071BUILT_SOURCES += time.h
1072
1073# We need the following in order to create <time.h> when the system
1074# doesn't have one that works with the given compiler.
54fc1789 1075time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1fd182f0
PE
1076 $(AM_V_GEN)rm -f $@-t $@ && \
1077 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
6a3e57bb
PE
1078 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1079 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1fd182f0
PE
1080 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1081 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1082 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
7e2aa385
PE
1083 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1084 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1085 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1086 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1087 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1fd182f0
PE
1088 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1089 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1090 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1091 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1092 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1093 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1094 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1095 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1096 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1097 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1098 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1099 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1100 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1101 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1102 < $(srcdir)/time.in.h; \
1103 } > $@-t && \
1104 mv $@-t $@
1105MOSTLYCLEANFILES += time.h time.h-t
1106
1107EXTRA_DIST += time.in.h
1108
1109## end gnulib module time
1110
1111## begin gnulib module time_r
1112
1113
1114EXTRA_DIST += time_r.c
1115
1116EXTRA_libgnu_a_SOURCES += time_r.c
1117
1118## end gnulib module time_r
1119
d35af63c
PE
1120## begin gnulib module timespec
1121
a0d4efe9 1122libgnu_a_SOURCES += timespec.c
d35af63c
PE
1123
1124EXTRA_DIST += timespec.h
1125
1126## end gnulib module timespec
1127
1128## begin gnulib module timespec-add
1129
1130libgnu_a_SOURCES += timespec-add.c
1131
1132## end gnulib module timespec-add
1133
1134## begin gnulib module timespec-sub
1135
1136libgnu_a_SOURCES += timespec-sub.c
1137
1138## end gnulib module timespec-sub
1139
3ce9d0d4
LL
1140## begin gnulib module u64
1141
a0d4efe9 1142libgnu_a_SOURCES += u64.c
3ce9d0d4
LL
1143
1144EXTRA_DIST += u64.h
1145
1146## end gnulib module u64
1147
e275c824
PE
1148## begin gnulib module unistd
1149
1150BUILT_SOURCES += unistd.h
1151
1152# We need the following in order to create an empty placeholder for
1153# <unistd.h> when the system doesn't have one.
54fc1789 1154unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
e275c824
PE
1155 $(AM_V_GEN)rm -f $@-t $@ && \
1156 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
6a3e57bb
PE
1157 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1158 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
e275c824
PE
1159 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1160 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1161 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1162 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
caf8a9b2 1163 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
316f8af0 1164 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
7e2aa385
PE
1165 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1166 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
316f8af0 1167 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
7e2aa385
PE
1168 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1169 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1170 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1171 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1172 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1173 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1174 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
316f8af0 1175 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
7e2aa385
PE
1176 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1177 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1178 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1179 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1180 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1181 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1182 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1183 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1184 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1185 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1186 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1187 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
caf8a9b2 1188 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
7e2aa385
PE
1189 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1190 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1191 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1192 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1193 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1194 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1195 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1196 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1197 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1198 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1199 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1200 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
caf8a9b2 1201 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
7e2aa385
PE
1202 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1203 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1204 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1205 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
caf8a9b2 1206 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
7e2aa385
PE
1207 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1208 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1209 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1210 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1211 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1212 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
e275c824
PE
1213 < $(srcdir)/unistd.in.h | \
1214 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1215 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1216 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1217 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1218 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1219 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1220 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
316f8af0 1221 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
e275c824
PE
1222 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1223 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1224 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1225 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1226 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1227 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1228 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1fc5f204 1229 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
e275c824
PE
1230 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1231 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1232 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1233 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1234 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1235 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1236 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1237 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1238 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
caf8a9b2 1239 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
e275c824
PE
1240 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1241 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1242 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1243 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1244 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1245 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1246 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
316f8af0 1247 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
e275c824
PE
1248 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1249 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1250 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1251 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
caf8a9b2 1252 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
e275c824
PE
1253 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1254 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1255 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
dd463884
PE
1256 | \
1257 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
e275c824
PE
1258 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1259 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1260 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1261 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
caf8a9b2 1262 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
e275c824
PE
1263 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1264 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1265 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1266 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1267 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
caf8a9b2 1268 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
e275c824
PE
1269 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1270 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1271 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1272 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1273 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1274 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
cc2e7b46 1275 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
e275c824
PE
1276 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1277 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1278 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1279 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1280 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1281 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1282 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1283 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1284 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1285 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1286 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1287 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1288 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1289 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1290 } > $@-t && \
1291 mv $@-t $@
1292MOSTLYCLEANFILES += unistd.h unistd.h-t
1293
1294EXTRA_DIST += unistd.in.h
1295
1296## end gnulib module unistd
1297
d35af63c
PE
1298## begin gnulib module utimens
1299
1300libgnu_a_SOURCES += utimens.c
1301
1302EXTRA_DIST += utimens.h
1303
1304## end gnulib module utimens
1305
a8a2bb29
PE
1306## begin gnulib module verify
1307
19548d08 1308if gl_GNULIB_ENABLED_verify
a8a2bb29 1309
19548d08 1310endif
1fc5f204
PE
1311EXTRA_DIST += verify.h
1312
a8a2bb29
PE
1313## end gnulib module verify
1314
743c80a7
PE
1315
1316mostlyclean-local: mostlyclean-generic
1317 @for dir in '' $(MOSTLYCLEANDIRS); do \
1318 if test -n "$$dir" && test -d $$dir; then \
1319 echo "rmdir $$dir"; rmdir $$dir; \
1320 fi; \
1321 done; \
1322 :