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