* src/makefile.w32-in (OBJ2, GLOBAL_SOURCES): Add profiler.c.
[emacs.git] / lib / gnulib.mk
bloba90cc59bbde5ce60ad377c517295b0dd6b37d33a
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.
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.
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.
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/>.
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.
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-ctype c-strcase careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timespec-add timespec-sub utimens warnings
27 MOSTLYCLEANFILES += core *.stackdump
29 noinst_LIBRARIES += libgnu.a
31 libgnu_a_SOURCES =
32 libgnu_a_LIBADD = $(gl_LIBOBJS)
33 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
34 EXTRA_libgnu_a_SOURCES =
36 ## begin gnulib module alloca-opt
38 BUILT_SOURCES += $(ALLOCA_H)
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
55 EXTRA_DIST += alloca.in.h
57 ## end gnulib module alloca-opt
59 ## begin gnulib module allocator
61 libgnu_a_SOURCES += allocator.c
63 EXTRA_DIST += allocator.h
65 ## end gnulib module allocator
67 ## begin gnulib module c-ctype
69 libgnu_a_SOURCES += c-ctype.h c-ctype.c
71 ## end gnulib module c-ctype
73 ## begin gnulib module c-strcase
75 libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
77 ## end gnulib module c-strcase
79 ## begin gnulib module careadlinkat
81 libgnu_a_SOURCES += careadlinkat.c
83 EXTRA_DIST += careadlinkat.h
85 ## end gnulib module careadlinkat
87 ## begin gnulib module crypto/md5
89 libgnu_a_SOURCES += md5.c
91 EXTRA_DIST += md5.h
93 ## end gnulib module crypto/md5
95 ## begin gnulib module crypto/sha1
97 libgnu_a_SOURCES += sha1.c
99 EXTRA_DIST += sha1.h
101 ## end gnulib module crypto/sha1
103 ## begin gnulib module crypto/sha256
105 libgnu_a_SOURCES += sha256.c
107 EXTRA_DIST += sha256.h
109 ## end gnulib module crypto/sha256
111 ## begin gnulib module crypto/sha512
113 libgnu_a_SOURCES += sha512.c
115 EXTRA_DIST += sha512.h
117 ## end gnulib module crypto/sha512
119 ## begin gnulib module dosname
121 if gl_GNULIB_ENABLED_dosname
123 endif
124 EXTRA_DIST += dosname.h
126 ## end gnulib module dosname
128 ## begin gnulib module dtoastr
130 libgnu_a_SOURCES += dtoastr.c
132 EXTRA_DIST += ftoastr.c ftoastr.h
134 EXTRA_libgnu_a_SOURCES += ftoastr.c
136 ## end gnulib module dtoastr
138 ## begin gnulib module dtotimespec
140 libgnu_a_SOURCES += dtotimespec.c
142 ## end gnulib module dtotimespec
144 ## begin gnulib module dup2
147 EXTRA_DIST += dup2.c
149 EXTRA_libgnu_a_SOURCES += dup2.c
151 ## end gnulib module dup2
153 ## begin gnulib module filemode
155 libgnu_a_SOURCES += filemode.c
157 EXTRA_DIST += filemode.h
159 ## end gnulib module filemode
161 ## begin gnulib module getloadavg
164 EXTRA_DIST += getloadavg.c
166 EXTRA_libgnu_a_SOURCES += getloadavg.c
168 ## end gnulib module getloadavg
170 ## begin gnulib module getopt-posix
172 BUILT_SOURCES += $(GETOPT_H)
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
191 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
193 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
195 ## end gnulib module getopt-posix
197 ## begin gnulib module gettext-h
199 if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36
200 libgnu_a_SOURCES += gettext.h
202 endif
203 ## end gnulib module gettext-h
205 ## begin gnulib module gettime
207 libgnu_a_SOURCES += gettime.c
209 ## end gnulib module gettime
211 ## begin gnulib module gettimeofday
214 EXTRA_DIST += gettimeofday.c
216 EXTRA_libgnu_a_SOURCES += gettimeofday.c
218 ## end gnulib module gettimeofday
220 ## begin gnulib module ignore-value
223 EXTRA_DIST += ignore-value.h
225 ## end gnulib module ignore-value
227 ## begin gnulib module intprops
230 EXTRA_DIST += intprops.h
232 ## end gnulib module intprops
234 ## begin gnulib module inttypes-incomplete
236 BUILT_SOURCES += inttypes.h
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
274 EXTRA_DIST += inttypes.in.h
276 ## end gnulib module inttypes-incomplete
278 ## begin gnulib module lstat
281 EXTRA_DIST += lstat.c
283 EXTRA_libgnu_a_SOURCES += lstat.c
285 ## end gnulib module lstat
287 ## begin gnulib module mktime
290 EXTRA_DIST += mktime-internal.h mktime.c
292 EXTRA_libgnu_a_SOURCES += mktime.c
294 ## end gnulib module mktime
296 ## begin gnulib module pathmax
298 if gl_GNULIB_ENABLED_pathmax
300 endif
301 EXTRA_DIST += pathmax.h
303 ## end gnulib module pathmax
305 ## begin gnulib module pselect
308 EXTRA_DIST += pselect.c
310 EXTRA_libgnu_a_SOURCES += pselect.c
312 ## end gnulib module pselect
314 ## begin gnulib module pthread_sigmask
317 EXTRA_DIST += pthread_sigmask.c
319 EXTRA_libgnu_a_SOURCES += pthread_sigmask.c
321 ## end gnulib module pthread_sigmask
323 ## begin gnulib module readlink
326 EXTRA_DIST += readlink.c
328 EXTRA_libgnu_a_SOURCES += readlink.c
330 ## end gnulib module readlink
332 ## begin gnulib module signal-h
334 BUILT_SOURCES += signal.h
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
370 EXTRA_DIST += signal.in.h
372 ## end gnulib module signal-h
374 ## begin gnulib module snippet/_Noreturn
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.
380 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
382 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
384 ## end gnulib module snippet/_Noreturn
386 ## begin gnulib module snippet/arg-nonnull
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.
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
405 ARG_NONNULL_H=arg-nonnull.h
407 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
409 ## end gnulib module snippet/arg-nonnull
411 ## begin gnulib module snippet/c++defs
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.
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
429 CXXDEFS_H=c++defs.h
431 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
433 ## end gnulib module snippet/c++defs
435 ## begin gnulib module snippet/warn-on-use
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
449 WARN_ON_USE_H=warn-on-use.h
451 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
453 ## end gnulib module snippet/warn-on-use
455 ## begin gnulib module stat
457 if gl_GNULIB_ENABLED_stat
459 endif
460 EXTRA_DIST += stat.c
462 EXTRA_libgnu_a_SOURCES += stat.c
464 ## end gnulib module stat
466 ## begin gnulib module stat-time
468 libgnu_a_SOURCES += stat-time.c
470 EXTRA_DIST += stat-time.h
472 ## end gnulib module stat-time
474 ## begin gnulib module stdalign
476 BUILT_SOURCES += $(STDALIGN_H)
478 # We need the following in order to create <stdalign.h> when the system
479 # doesn't have one that works.
480 if GL_GENERATE_STDALIGN_H
481 stdalign.h: stdalign.in.h $(top_builddir)/config.status
482 $(AM_V_GEN)rm -f $@-t $@ && \
483 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
484 cat $(srcdir)/stdalign.in.h; \
485 } > $@-t && \
486 mv $@-t $@
487 else
488 stdalign.h: $(top_builddir)/config.status
489 rm -f $@
490 endif
491 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
493 EXTRA_DIST += stdalign.in.h
495 ## end gnulib module stdalign
497 ## begin gnulib module stdarg
499 BUILT_SOURCES += $(STDARG_H)
501 # We need the following in order to create <stdarg.h> when the system
502 # doesn't have one that works with the given compiler.
503 if GL_GENERATE_STDARG_H
504 stdarg.h: stdarg.in.h $(top_builddir)/config.status
505 $(AM_V_GEN)rm -f $@-t $@ && \
506 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
507 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
508 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
509 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
510 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
511 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
512 < $(srcdir)/stdarg.in.h; \
513 } > $@-t && \
514 mv $@-t $@
515 else
516 stdarg.h: $(top_builddir)/config.status
517 rm -f $@
518 endif
519 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
521 EXTRA_DIST += stdarg.in.h
523 ## end gnulib module stdarg
525 ## begin gnulib module stdbool
527 BUILT_SOURCES += $(STDBOOL_H)
529 # We need the following in order to create <stdbool.h> when the system
530 # doesn't have one that works.
531 if GL_GENERATE_STDBOOL_H
532 stdbool.h: stdbool.in.h $(top_builddir)/config.status
533 $(AM_V_GEN)rm -f $@-t $@ && \
534 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
535 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
536 } > $@-t && \
537 mv $@-t $@
538 else
539 stdbool.h: $(top_builddir)/config.status
540 rm -f $@
541 endif
542 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
544 EXTRA_DIST += stdbool.in.h
546 ## end gnulib module stdbool
548 ## begin gnulib module stddef
550 BUILT_SOURCES += $(STDDEF_H)
552 # We need the following in order to create <stddef.h> when the system
553 # doesn't have one that works with the given compiler.
554 if GL_GENERATE_STDDEF_H
555 stddef.h: stddef.in.h $(top_builddir)/config.status
556 $(AM_V_GEN)rm -f $@-t $@ && \
557 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
558 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
559 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
560 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
561 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
562 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
563 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
564 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
565 < $(srcdir)/stddef.in.h; \
566 } > $@-t && \
567 mv $@-t $@
568 else
569 stddef.h: $(top_builddir)/config.status
570 rm -f $@
571 endif
572 MOSTLYCLEANFILES += stddef.h stddef.h-t
574 EXTRA_DIST += stddef.in.h
576 ## end gnulib module stddef
578 ## begin gnulib module stdint
580 BUILT_SOURCES += $(STDINT_H)
582 # We need the following in order to create <stdint.h> when the system
583 # doesn't have one that works with the given compiler.
584 if GL_GENERATE_STDINT_H
585 stdint.h: stdint.in.h $(top_builddir)/config.status
586 $(AM_V_GEN)rm -f $@-t $@ && \
587 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
588 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
589 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
590 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
591 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
592 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
593 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
594 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
595 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
596 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
597 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
598 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
599 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
600 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
601 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
602 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
603 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
604 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
605 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
606 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
607 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
608 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
609 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
610 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
611 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
612 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
613 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
614 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
615 < $(srcdir)/stdint.in.h; \
616 } > $@-t && \
617 mv $@-t $@
618 else
619 stdint.h: $(top_builddir)/config.status
620 rm -f $@
621 endif
622 MOSTLYCLEANFILES += stdint.h stdint.h-t
624 EXTRA_DIST += stdint.in.h
626 ## end gnulib module stdint
628 ## begin gnulib module stdio
630 BUILT_SOURCES += stdio.h
632 # We need the following in order to create <stdio.h> when the system
633 # doesn't have one that works with the given compiler.
634 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
635 $(AM_V_GEN)rm -f $@-t $@ && \
636 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
637 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
638 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
639 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
640 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
641 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
642 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
643 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
644 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
645 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
646 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
647 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
648 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
649 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
650 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
651 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
652 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
653 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
654 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
655 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
656 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
657 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
658 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
659 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
660 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
661 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
662 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
663 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
664 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
665 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
666 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
667 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
668 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
669 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
670 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
671 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
672 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
673 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
674 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
675 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
676 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
677 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
678 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
679 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
680 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
681 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
682 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
683 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
684 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
685 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
686 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
687 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
688 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
689 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
690 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
691 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
692 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
693 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
694 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
695 < $(srcdir)/stdio.in.h | \
696 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
697 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
698 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
699 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
700 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
701 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
702 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
703 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
704 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
705 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
706 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
707 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
708 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
709 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
710 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
711 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
712 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
713 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
714 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
715 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
716 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
717 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
718 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
719 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
720 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
721 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
722 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
723 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
724 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
725 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
726 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
727 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
728 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
729 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
730 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
731 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
732 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
733 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
734 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
735 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
736 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
737 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
738 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
739 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
740 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
741 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
742 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
743 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
744 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
745 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
746 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
747 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
748 } > $@-t && \
749 mv $@-t $@
750 MOSTLYCLEANFILES += stdio.h stdio.h-t
752 EXTRA_DIST += stdio.in.h
754 ## end gnulib module stdio
756 ## begin gnulib module stdlib
758 BUILT_SOURCES += stdlib.h
760 # We need the following in order to create <stdlib.h> when the system
761 # doesn't have one that works with the given compiler.
762 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
763 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
764 $(AM_V_GEN)rm -f $@-t $@ && \
765 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
766 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
767 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
768 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
769 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
770 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
771 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
772 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
773 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
774 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
775 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
776 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
777 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
778 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
779 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
780 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
781 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
782 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
783 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
784 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
785 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
786 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
787 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
788 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
789 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
790 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
791 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
792 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
793 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
794 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
795 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
796 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
797 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
798 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
799 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
800 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
801 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
802 < $(srcdir)/stdlib.in.h | \
803 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
804 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
805 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
806 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
807 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
808 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
809 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
810 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
811 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
812 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
813 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
814 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
815 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
816 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
817 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
818 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
819 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
820 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
821 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
822 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
823 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
824 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
825 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
826 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
827 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
828 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
829 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
830 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
831 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
832 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
833 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
834 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
835 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
836 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
837 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
838 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
839 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
840 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
841 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
842 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
843 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
844 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
845 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
846 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
847 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
848 } > $@-t && \
849 mv $@-t $@
850 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
852 EXTRA_DIST += stdlib.in.h
854 ## end gnulib module stdlib
856 ## begin gnulib module strftime
858 libgnu_a_SOURCES += strftime.c
860 EXTRA_DIST += strftime.h
862 ## end gnulib module strftime
864 ## begin gnulib module strtoimax
867 EXTRA_DIST += strtoimax.c
869 EXTRA_libgnu_a_SOURCES += strtoimax.c
871 ## end gnulib module strtoimax
873 ## begin gnulib module strtoll
875 if gl_GNULIB_ENABLED_strtoll
877 endif
878 EXTRA_DIST += strtol.c strtoll.c
880 EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c
882 ## end gnulib module strtoll
884 ## begin gnulib module strtoull
886 if gl_GNULIB_ENABLED_strtoull
888 endif
889 EXTRA_DIST += strtol.c strtoul.c strtoull.c
891 EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c
893 ## end gnulib module strtoull
895 ## begin gnulib module strtoumax
898 EXTRA_DIST += strtoimax.c strtoumax.c
900 EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c
902 ## end gnulib module strtoumax
904 ## begin gnulib module symlink
907 EXTRA_DIST += symlink.c
909 EXTRA_libgnu_a_SOURCES += symlink.c
911 ## end gnulib module symlink
913 ## begin gnulib module sys_select
915 BUILT_SOURCES += sys/select.h
917 # We need the following in order to create <sys/select.h> when the system
918 # doesn't have one that works with the given compiler.
919 sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
920 $(AM_V_at)$(MKDIR_P) sys
921 $(AM_V_GEN)rm -f $@-t $@ && \
922 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
923 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
924 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
925 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
926 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
927 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
928 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
929 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
930 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
931 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
932 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
933 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
934 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
935 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
936 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
937 < $(srcdir)/sys_select.in.h; \
938 } > $@-t && \
939 mv $@-t $@
940 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
941 MOSTLYCLEANDIRS += sys
943 EXTRA_DIST += sys_select.in.h
945 ## end gnulib module sys_select
947 ## begin gnulib module sys_stat
949 BUILT_SOURCES += sys/stat.h
951 # We need the following in order to create <sys/stat.h> when the system
952 # has one that is incomplete.
953 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
954 $(AM_V_at)$(MKDIR_P) sys
955 $(AM_V_GEN)rm -f $@-t $@ && \
956 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
957 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
958 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
959 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
960 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
961 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
962 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
963 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
964 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
965 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
966 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
967 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
968 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
969 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
970 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
971 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
972 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
973 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
974 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
975 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
976 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
977 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
978 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
979 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
980 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
981 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
982 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
983 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
984 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
985 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
986 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
987 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
988 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
989 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
990 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
991 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
992 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
993 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
994 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
995 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
996 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
997 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
998 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
999 < $(srcdir)/sys_stat.in.h; \
1000 } > $@-t && \
1001 mv $@-t $@
1002 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1003 MOSTLYCLEANDIRS += sys
1005 EXTRA_DIST += sys_stat.in.h
1007 ## end gnulib module sys_stat
1009 ## begin gnulib module sys_time
1011 BUILT_SOURCES += sys/time.h
1013 # We need the following in order to create <sys/time.h> when the system
1014 # doesn't have one that works with the given compiler.
1015 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1016 $(AM_V_at)$(MKDIR_P) sys
1017 $(AM_V_GEN)rm -f $@-t $@ && \
1018 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1019 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1020 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1021 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1022 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1023 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1024 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1025 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1026 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1027 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1028 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1029 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1030 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1031 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1032 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1033 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1034 < $(srcdir)/sys_time.in.h; \
1035 } > $@-t && \
1036 mv $@-t $@
1037 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1039 EXTRA_DIST += sys_time.in.h
1041 ## end gnulib module sys_time
1043 ## begin gnulib module time
1045 BUILT_SOURCES += time.h
1047 # We need the following in order to create <time.h> when the system
1048 # doesn't have one that works with the given compiler.
1049 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1050 $(AM_V_GEN)rm -f $@-t $@ && \
1051 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1052 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1053 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1054 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1055 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1056 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1057 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1058 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1059 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1060 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1061 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1062 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1063 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1064 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1065 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1066 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1067 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1068 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1069 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1070 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1071 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1072 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1073 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1074 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1075 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1076 < $(srcdir)/time.in.h; \
1077 } > $@-t && \
1078 mv $@-t $@
1079 MOSTLYCLEANFILES += time.h time.h-t
1081 EXTRA_DIST += time.in.h
1083 ## end gnulib module time
1085 ## begin gnulib module time_r
1088 EXTRA_DIST += time_r.c
1090 EXTRA_libgnu_a_SOURCES += time_r.c
1092 ## end gnulib module time_r
1094 ## begin gnulib module timespec
1096 libgnu_a_SOURCES += timespec.c
1098 EXTRA_DIST += timespec.h
1100 ## end gnulib module timespec
1102 ## begin gnulib module timespec-add
1104 libgnu_a_SOURCES += timespec-add.c
1106 ## end gnulib module timespec-add
1108 ## begin gnulib module timespec-sub
1110 libgnu_a_SOURCES += timespec-sub.c
1112 ## end gnulib module timespec-sub
1114 ## begin gnulib module u64
1116 libgnu_a_SOURCES += u64.c
1118 EXTRA_DIST += u64.h
1120 ## end gnulib module u64
1122 ## begin gnulib module unistd
1124 BUILT_SOURCES += unistd.h
1126 # We need the following in order to create an empty placeholder for
1127 # <unistd.h> when the system doesn't have one.
1128 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1129 $(AM_V_GEN)rm -f $@-t $@ && \
1130 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1131 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1132 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1133 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1134 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1135 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1136 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1137 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1138 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1139 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1140 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1141 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1142 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1143 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1144 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1145 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1146 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1147 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1148 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1149 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1150 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1151 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1152 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1153 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1154 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1155 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1156 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1157 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1158 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1159 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1160 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1161 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1162 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1163 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1164 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1165 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1166 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1167 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1168 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1169 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1170 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1171 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1172 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1173 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1174 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1175 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1176 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1177 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1178 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1179 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1180 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1181 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1182 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1183 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1184 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1185 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1186 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1187 < $(srcdir)/unistd.in.h | \
1188 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1189 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1190 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1191 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1192 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1193 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1194 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1195 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1196 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1197 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1198 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1199 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1200 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1201 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1202 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1203 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1204 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1205 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1206 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1207 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1208 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1209 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1210 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1211 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1212 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1213 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1214 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1215 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1216 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1217 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1218 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1219 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1220 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1221 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1222 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1223 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1224 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1225 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1226 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1227 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1228 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1229 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1231 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1232 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1233 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1234 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1235 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1236 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1237 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1238 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1239 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1240 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1241 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1242 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1243 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1244 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1245 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1246 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1247 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1248 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1249 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1250 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1251 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1252 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1253 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1254 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1255 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1256 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1257 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1258 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1259 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1260 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1261 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1262 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1263 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1264 } > $@-t && \
1265 mv $@-t $@
1266 MOSTLYCLEANFILES += unistd.h unistd.h-t
1268 EXTRA_DIST += unistd.in.h
1270 ## end gnulib module unistd
1272 ## begin gnulib module utimens
1274 libgnu_a_SOURCES += utimens.c
1276 EXTRA_DIST += utimens.h
1278 ## end gnulib module utimens
1280 ## begin gnulib module verify
1282 if gl_GNULIB_ENABLED_verify
1284 endif
1285 EXTRA_DIST += verify.h
1287 ## end gnulib module verify
1290 mostlyclean-local: mostlyclean-generic
1291 @for dir in '' $(MOSTLYCLEANDIRS); do \
1292 if test -n "$$dir" && test -d $$dir; then \
1293 echo "rmdir $$dir"; rmdir $$dir; \
1294 fi; \
1295 done; \