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