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