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