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