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