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.
25 AUTOMAKE_OPTIONS = 1.5 foreign
35 check_LIBRARIES = libtests.a
39 MOSTLYCLEANFILES = core *.stackdump
43 MAINTAINERCLEANFILES =
46 -D@gltests_WITNESS@=1 \
49 -I../gl -I$(srcdir)/../gl
51 LDADD = libtests.a ../gl/libgnu.la libtests.a $(LIBTESTS_LIBDEPS)
54 libtests_a_LIBADD = $(gltests_LIBOBJS)
55 libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
56 EXTRA_libtests_a_SOURCES =
57 AM_LIBTOOLFLAGS = --preserve-dup-deps
59 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
61 ## begin gnulib module alloca-opt
63 BUILT_SOURCES += $(ALLOCA_H)
65 # We need the following in order to create <alloca.h> when the system
66 # doesn't have one that works with the given compiler.
67 if GL_GENERATE_ALLOCA_H
68 alloca.h: alloca.in.h $(top_builddir)/config.status
69 $(AM_V_GEN)rm -f $@-t $@ && \
70 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
71 cat $(srcdir)/alloca.in.h; \
75 alloca.h: $(top_builddir)/config.status
78 MOSTLYCLEANFILES += alloca.h alloca.h-t
80 EXTRA_DIST += alloca.in.h
82 ## end gnulib module alloca-opt
84 ## begin gnulib module alloca-opt-tests
86 TESTS += test-alloca-opt
87 check_PROGRAMS += test-alloca-opt
89 EXTRA_DIST += test-alloca-opt.c
91 ## end gnulib module alloca-opt-tests
93 ## begin gnulib module binary-io
95 libtests_a_SOURCES += binary-io.h
97 ## end gnulib module binary-io
99 ## begin gnulib module binary-io-tests
101 TESTS += test-binary-io.sh
102 check_PROGRAMS += test-binary-io
104 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
106 ## end gnulib module binary-io-tests
108 ## begin gnulib module close
111 EXTRA_DIST += close.c
113 EXTRA_libtests_a_SOURCES += close.c
115 ## end gnulib module close
117 ## begin gnulib module close-tests
120 check_PROGRAMS += test-close
121 EXTRA_DIST += test-close.c signature.h macros.h
123 ## end gnulib module close-tests
125 ## begin gnulib module dosname
128 EXTRA_DIST += dosname.h
130 ## end gnulib module dosname
132 ## begin gnulib module dup2
137 EXTRA_libtests_a_SOURCES += dup2.c
139 ## end gnulib module dup2
141 ## begin gnulib module dup2-tests
144 check_PROGRAMS += test-dup2
145 EXTRA_DIST += test-dup2.c signature.h macros.h
147 ## end gnulib module dup2-tests
149 ## begin gnulib module environ-tests
151 TESTS += test-environ
152 check_PROGRAMS += test-environ
154 EXTRA_DIST += test-environ.c
156 ## end gnulib module environ-tests
158 ## begin gnulib module errno-tests
161 check_PROGRAMS += test-errno
163 EXTRA_DIST += test-errno.c
165 ## end gnulib module errno-tests
167 ## begin gnulib module fcntl-h
169 BUILT_SOURCES += fcntl.h
171 # We need the following in order to create <fcntl.h> when the system
172 # doesn't have one that works with the given compiler.
173 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
174 $(AM_V_GEN)rm -f $@-t $@ && \
175 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
176 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
177 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
178 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
179 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
180 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
181 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
182 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
183 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
184 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
185 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
186 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
187 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
188 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
189 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
190 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
191 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
192 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
193 < $(srcdir)/fcntl.in.h; \
196 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
198 EXTRA_DIST += fcntl.in.h
200 ## end gnulib module fcntl-h
202 ## begin gnulib module fd-hook
204 libtests_a_SOURCES += fd-hook.c
206 EXTRA_DIST += fd-hook.h
208 ## end gnulib module fd-hook
210 ## begin gnulib module fdopen
213 EXTRA_DIST += fdopen.c
215 EXTRA_libtests_a_SOURCES += fdopen.c
217 ## end gnulib module fdopen
219 ## begin gnulib module fdopen-tests
222 check_PROGRAMS += test-fdopen
223 EXTRA_DIST += test-fdopen.c signature.h macros.h
225 ## end gnulib module fdopen-tests
227 ## begin gnulib module fgetc-tests
230 check_PROGRAMS += test-fgetc
231 EXTRA_DIST += test-fgetc.c signature.h macros.h
233 ## end gnulib module fgetc-tests
235 ## begin gnulib module fputc-tests
238 check_PROGRAMS += test-fputc
239 EXTRA_DIST += test-fputc.c signature.h macros.h
241 ## end gnulib module fputc-tests
243 ## begin gnulib module fread-tests
246 check_PROGRAMS += test-fread
247 EXTRA_DIST += test-fread.c signature.h macros.h
249 ## end gnulib module fread-tests
251 ## begin gnulib module fstat
254 EXTRA_DIST += fstat.c
256 EXTRA_libtests_a_SOURCES += fstat.c
258 ## end gnulib module fstat
260 ## begin gnulib module fstat-tests
263 check_PROGRAMS += test-fstat
264 EXTRA_DIST += test-fstat.c signature.h macros.h
266 ## end gnulib module fstat-tests
268 ## begin gnulib module fwrite-tests
271 check_PROGRAMS += test-fwrite
272 EXTRA_DIST += test-fwrite.c signature.h macros.h
274 ## end gnulib module fwrite-tests
276 ## begin gnulib module getcwd-lgpl
279 EXTRA_DIST += getcwd-lgpl.c
281 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
283 ## end gnulib module getcwd-lgpl
285 ## begin gnulib module getcwd-lgpl-tests
287 TESTS += test-getcwd-lgpl
288 check_PROGRAMS += test-getcwd-lgpl
289 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
290 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
292 ## end gnulib module getcwd-lgpl-tests
294 ## begin gnulib module getopt-posix-tests
297 check_PROGRAMS += test-getopt
298 test_getopt_LDADD = $(LDADD) $(LIBINTL)
299 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
301 ## end gnulib module getopt-posix-tests
303 ## begin gnulib module ignore-value
306 EXTRA_DIST += ignore-value.h
308 ## end gnulib module ignore-value
310 ## begin gnulib module ignore-value-tests
312 TESTS += test-ignore-value
313 check_PROGRAMS += test-ignore-value
314 EXTRA_DIST += test-ignore-value.c
316 ## end gnulib module ignore-value-tests
318 ## begin gnulib module intprops-tests
320 TESTS += test-intprops
321 check_PROGRAMS += test-intprops
322 EXTRA_DIST += test-intprops.c macros.h
324 ## end gnulib module intprops-tests
326 ## begin gnulib module inttypes-incomplete
328 BUILT_SOURCES += inttypes.h
330 # We need the following in order to create <inttypes.h> when the system
331 # doesn't have one that works with the given compiler.
332 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
333 $(AM_V_GEN)rm -f $@-t $@ && \
334 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
335 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
336 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
337 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
338 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
339 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
340 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
341 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
342 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
343 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
344 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
345 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
346 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
347 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
348 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
349 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
350 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
351 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
352 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
353 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
354 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
355 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
356 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
357 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
358 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
359 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
360 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
361 < $(srcdir)/inttypes.in.h; \
364 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
366 EXTRA_DIST += inttypes.in.h
368 ## end gnulib module inttypes-incomplete
370 ## begin gnulib module inttypes-tests
372 TESTS += test-inttypes
373 check_PROGRAMS += test-inttypes
374 EXTRA_DIST += test-inttypes.c
376 ## end gnulib module inttypes-tests
378 ## begin gnulib module lstat
381 EXTRA_DIST += lstat.c
383 EXTRA_libtests_a_SOURCES += lstat.c
385 ## end gnulib module lstat
387 ## begin gnulib module lstat-tests
390 check_PROGRAMS += test-lstat
391 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
393 ## end gnulib module lstat-tests
395 ## begin gnulib module malloc-posix
398 EXTRA_DIST += malloc.c
400 EXTRA_libtests_a_SOURCES += malloc.c
402 ## end gnulib module malloc-posix
404 ## begin gnulib module malloca
406 libtests_a_SOURCES += malloca.c
408 EXTRA_DIST += malloca.h malloca.valgrind
410 ## end gnulib module malloca
412 ## begin gnulib module malloca-tests
414 TESTS += test-malloca
415 check_PROGRAMS += test-malloca
417 EXTRA_DIST += test-malloca.c
419 ## end gnulib module malloca-tests
421 ## begin gnulib module open
426 EXTRA_libtests_a_SOURCES += open.c
428 ## end gnulib module open
430 ## begin gnulib module open-tests
433 check_PROGRAMS += test-open
434 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
436 ## end gnulib module open-tests
438 ## begin gnulib module pathmax
441 EXTRA_DIST += pathmax.h
443 ## end gnulib module pathmax
445 ## begin gnulib module pathmax-tests
447 TESTS += test-pathmax
448 check_PROGRAMS += test-pathmax
449 EXTRA_DIST += test-pathmax.c
451 ## end gnulib module pathmax-tests
453 ## begin gnulib module putenv
456 EXTRA_DIST += putenv.c
458 EXTRA_libtests_a_SOURCES += putenv.c
460 ## end gnulib module putenv
462 ## begin gnulib module same-inode
465 EXTRA_DIST += same-inode.h
467 ## end gnulib module same-inode
469 ## begin gnulib module setenv
472 EXTRA_DIST += setenv.c
474 EXTRA_libtests_a_SOURCES += setenv.c
476 ## end gnulib module setenv
478 ## begin gnulib module setenv-tests
481 check_PROGRAMS += test-setenv
482 EXTRA_DIST += test-setenv.c signature.h macros.h
484 ## end gnulib module setenv-tests
486 ## begin gnulib module snippet/_Noreturn
488 # Because this Makefile snippet defines a variable used by other
489 # gnulib Makefile snippets, it must be present in all Makefile.am that
490 # need it. This is ensured by the applicability 'all' defined above.
492 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
494 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
496 ## end gnulib module snippet/_Noreturn
498 ## begin gnulib module snippet/arg-nonnull
500 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
501 # statements but through direct file reference. Therefore this snippet must be
502 # present in all Makefile.am that need it. This is ensured by the applicability
503 # 'all' defined above.
505 BUILT_SOURCES += arg-nonnull.h
506 # The arg-nonnull.h that gets inserted into generated .h files is the same as
507 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
509 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
510 $(AM_V_GEN)rm -f $@-t $@ && \
511 sed -n -e '/GL_ARG_NONNULL/,$$p' \
512 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
515 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
517 ARG_NONNULL_H=arg-nonnull.h
519 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
521 ## end gnulib module snippet/arg-nonnull
523 ## begin gnulib module snippet/c++defs
525 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
526 # statements but through direct file reference. Therefore this snippet must be
527 # present in all Makefile.am that need it. This is ensured by the applicability
528 # 'all' defined above.
530 BUILT_SOURCES += c++defs.h
531 # The c++defs.h that gets inserted into generated .h files is the same as
532 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
533 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
534 $(AM_V_GEN)rm -f $@-t $@ && \
535 sed -n -e '/_GL_CXXDEFS/,$$p' \
536 < $(top_srcdir)/build-aux/snippet/c++defs.h \
539 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
543 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
545 ## end gnulib module snippet/c++defs
547 ## begin gnulib module snippet/warn-on-use
549 BUILT_SOURCES += warn-on-use.h
550 # The warn-on-use.h that gets inserted into generated .h files is the same as
551 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
553 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
554 $(AM_V_GEN)rm -f $@-t $@ && \
555 sed -n -e '/^.ifndef/,$$p' \
556 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
559 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
561 WARN_ON_USE_H=warn-on-use.h
563 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
565 ## end gnulib module snippet/warn-on-use
567 ## begin gnulib module stat
572 EXTRA_libtests_a_SOURCES += stat.c
574 ## end gnulib module stat
576 ## begin gnulib module stat-tests
579 check_PROGRAMS += test-stat
580 test_stat_LDADD = $(LDADD) $(LIBINTL)
581 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
583 ## end gnulib module stat-tests
585 ## begin gnulib module stdbool
587 BUILT_SOURCES += $(STDBOOL_H)
589 # We need the following in order to create <stdbool.h> when the system
590 # doesn't have one that works.
591 if GL_GENERATE_STDBOOL_H
592 stdbool.h: stdbool.in.h $(top_builddir)/config.status
593 $(AM_V_GEN)rm -f $@-t $@ && \
594 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
595 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
599 stdbool.h: $(top_builddir)/config.status
602 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
604 EXTRA_DIST += stdbool.in.h
606 ## end gnulib module stdbool
608 ## begin gnulib module stdbool-tests
610 TESTS += test-stdbool
611 check_PROGRAMS += test-stdbool
612 EXTRA_DIST += test-stdbool.c
614 ## end gnulib module stdbool-tests
616 ## begin gnulib module stddef-tests
619 check_PROGRAMS += test-stddef
620 EXTRA_DIST += test-stddef.c
622 ## end gnulib module stddef-tests
624 ## begin gnulib module stdint
626 BUILT_SOURCES += $(STDINT_H)
628 # We need the following in order to create <stdint.h> when the system
629 # doesn't have one that works with the given compiler.
630 if GL_GENERATE_STDINT_H
631 stdint.h: stdint.in.h $(top_builddir)/config.status
632 $(AM_V_GEN)rm -f $@-t $@ && \
633 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
634 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
635 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
636 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
637 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
638 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
639 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
640 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
641 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
642 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
643 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
644 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
645 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
646 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
647 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
648 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
649 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
650 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
651 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
652 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
653 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
654 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
655 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
656 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
657 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
658 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
659 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
660 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
661 < $(srcdir)/stdint.in.h; \
665 stdint.h: $(top_builddir)/config.status
668 MOSTLYCLEANFILES += stdint.h stdint.h-t
670 EXTRA_DIST += stdint.in.h
672 ## end gnulib module stdint
674 ## begin gnulib module stdint-tests
677 check_PROGRAMS += test-stdint
678 EXTRA_DIST += test-stdint.c
680 ## end gnulib module stdint-tests
682 ## begin gnulib module stdio
684 BUILT_SOURCES += stdio.h
686 # We need the following in order to create <stdio.h> when the system
687 # doesn't have one that works with the given compiler.
688 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
689 $(AM_V_GEN)rm -f $@-t $@ && \
690 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
691 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
692 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
693 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
694 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
695 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
696 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
697 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
698 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
699 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
700 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
701 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
702 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
703 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
704 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
705 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
706 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
707 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
708 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
709 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
710 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
711 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
712 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
713 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
714 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
715 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
716 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
717 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
718 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
719 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
720 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
721 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
722 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
723 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
724 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
725 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
726 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
727 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
728 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
729 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
730 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
731 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
732 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
733 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
734 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
735 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
736 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
737 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
738 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
739 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
740 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
741 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
742 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
743 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
744 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
745 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
746 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
747 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
748 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
749 < $(srcdir)/stdio.in.h | \
750 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
751 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
752 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
753 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
754 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
755 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
756 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
757 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
758 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
759 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
760 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
761 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
762 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
763 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
764 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
765 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
766 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
767 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
768 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
769 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
770 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
771 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
772 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
773 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
774 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
775 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
776 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
777 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
778 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
779 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
780 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
781 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
782 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
783 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
784 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
785 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
786 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
787 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
788 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
789 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
790 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
791 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
792 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
793 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
794 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
795 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
796 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
797 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
798 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
799 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
800 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
801 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
804 MOSTLYCLEANFILES += stdio.h stdio.h-t
806 EXTRA_DIST += stdio.in.h
808 ## end gnulib module stdio
810 ## begin gnulib module stdio-tests
813 check_PROGRAMS += test-stdio
814 EXTRA_DIST += test-stdio.c
816 ## end gnulib module stdio-tests
818 ## begin gnulib module stdlib
820 BUILT_SOURCES += stdlib.h
822 # We need the following in order to create <stdlib.h> when the system
823 # doesn't have one that works with the given compiler.
824 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
825 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
826 $(AM_V_GEN)rm -f $@-t $@ && \
827 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
828 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
829 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
830 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
831 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
832 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
833 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
834 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
835 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
836 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
837 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
838 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
839 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
840 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
841 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
842 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
843 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
844 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
845 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
846 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
847 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
848 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
849 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
850 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
851 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
852 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
853 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
854 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
855 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
856 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
857 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
858 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
859 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
860 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
861 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
862 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
863 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
864 < $(srcdir)/stdlib.in.h | \
865 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
866 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
867 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
868 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
869 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
870 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
871 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
872 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
873 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
874 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
875 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
876 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
877 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
878 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
879 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
880 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
881 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
882 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
883 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
884 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
885 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
886 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
887 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
888 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
889 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
890 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
891 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
892 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
893 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
894 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
895 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
896 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
897 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
898 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
899 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
900 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
901 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
902 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
903 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
904 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
905 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
906 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
907 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
908 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
909 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
912 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
914 EXTRA_DIST += stdlib.in.h
916 ## end gnulib module stdlib
918 ## begin gnulib module strerror-tests
920 TESTS += test-strerror
921 check_PROGRAMS += test-strerror
922 EXTRA_DIST += test-strerror.c signature.h macros.h
924 ## end gnulib module strerror-tests
926 ## begin gnulib module symlink
929 EXTRA_DIST += symlink.c
931 EXTRA_libtests_a_SOURCES += symlink.c
933 ## end gnulib module symlink
935 ## begin gnulib module symlink-tests
937 TESTS += test-symlink
938 check_PROGRAMS += test-symlink
939 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
941 ## end gnulib module symlink-tests
943 ## begin gnulib module sys_stat
945 BUILT_SOURCES += sys/stat.h
947 # We need the following in order to create <sys/stat.h> when the system
948 # has one that is incomplete.
949 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
950 $(AM_V_at)$(MKDIR_P) sys
951 $(AM_V_GEN)rm -f $@-t $@ && \
952 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
953 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
954 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
955 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
956 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
957 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
958 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
959 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
960 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
961 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
962 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
963 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
964 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
965 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
966 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
967 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
968 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
969 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
970 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
971 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
972 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
973 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
974 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
975 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
976 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
977 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
978 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
979 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
980 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
981 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
982 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
983 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
984 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
985 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
986 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
987 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
988 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
989 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
990 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
991 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
992 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
993 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
994 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
995 < $(srcdir)/sys_stat.in.h; \
998 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
999 MOSTLYCLEANDIRS += sys
1001 EXTRA_DIST += sys_stat.in.h
1003 ## end gnulib module sys_stat
1005 ## begin gnulib module sys_types-tests
1007 TESTS += test-sys_types
1008 check_PROGRAMS += test-sys_types
1009 EXTRA_DIST += test-sys_types.c
1011 ## end gnulib module sys_types-tests
1013 ## begin gnulib module test-framework-sh-tests
1015 TESTS += test-init.sh
1016 EXTRA_DIST += init.sh
1017 EXTRA_DIST += test-init.sh
1019 ## end gnulib module test-framework-sh-tests
1021 ## begin gnulib module time
1023 BUILT_SOURCES += time.h
1025 # We need the following in order to create <time.h> when the system
1026 # doesn't have one that works with the given compiler.
1027 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1028 $(AM_V_GEN)rm -f $@-t $@ && \
1029 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1030 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1031 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1032 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1033 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1034 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1035 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1036 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1037 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1038 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1039 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1040 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1041 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1042 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1043 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1044 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1045 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1046 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1047 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1048 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1049 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1050 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1051 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1052 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1053 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1054 < $(srcdir)/time.in.h; \
1057 MOSTLYCLEANFILES += time.h time.h-t
1059 EXTRA_DIST += time.in.h
1061 ## end gnulib module time
1063 ## begin gnulib module unsetenv
1066 EXTRA_DIST += unsetenv.c
1068 EXTRA_libtests_a_SOURCES += unsetenv.c
1070 ## end gnulib module unsetenv
1072 ## begin gnulib module unsetenv-tests
1074 TESTS += test-unsetenv
1075 check_PROGRAMS += test-unsetenv
1076 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1078 ## end gnulib module unsetenv-tests
1080 ## begin gnulib module vc-list-files-tests
1082 TESTS += test-vc-list-files-git.sh
1083 TESTS += test-vc-list-files-cvs.sh
1084 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1085 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
1087 ## end gnulib module vc-list-files-tests
1089 ## begin gnulib module verify-tests
1091 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1092 TESTS += test-verify test-verify.sh
1093 check_PROGRAMS += test-verify
1094 EXTRA_DIST += test-verify.c test-verify.sh
1096 ## end gnulib module verify-tests
1098 ## begin gnulib module version-etc-fsf
1100 libtests_a_SOURCES += version-etc-fsf.c
1102 ## end gnulib module version-etc-fsf
1104 ## begin gnulib module version-etc-tests
1106 TESTS += test-version-etc.sh
1107 check_PROGRAMS += test-version-etc
1108 test_version_etc_LDADD = $(LDADD) @LIBINTL@
1109 EXTRA_DIST += test-version-etc.c test-version-etc.sh
1111 ## end gnulib module version-etc-tests
1113 ## begin gnulib module wchar
1115 BUILT_SOURCES += wchar.h
1117 # We need the following in order to create <wchar.h> when the system
1118 # version does not work standalone.
1119 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1120 $(AM_V_GEN)rm -f $@-t $@ && \
1121 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1122 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1123 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1124 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1125 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1126 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1127 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1128 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1129 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1130 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1131 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1132 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1133 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1134 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1135 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1136 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1137 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1138 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1139 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1140 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1141 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1142 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1143 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1144 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1145 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1146 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1147 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1148 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1149 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1150 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1151 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1152 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1153 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1154 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1155 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1156 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1157 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1158 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1159 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1160 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1161 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1162 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1163 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1164 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1165 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1166 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1167 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1168 < $(srcdir)/wchar.in.h | \
1169 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1170 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1171 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1172 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1173 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1174 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1175 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1176 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1177 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1178 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1179 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1180 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1181 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1182 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1183 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1184 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1185 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1186 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1187 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1188 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1189 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1190 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1191 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1192 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1193 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1194 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1195 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1196 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1197 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1198 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1199 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1200 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1201 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1202 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1203 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1204 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1205 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1206 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1207 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1208 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1210 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1211 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1212 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1213 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1214 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1215 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1216 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1217 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1218 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1219 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1220 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1221 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1222 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1223 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1224 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1225 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1228 MOSTLYCLEANFILES += wchar.h wchar.h-t
1230 EXTRA_DIST += wchar.in.h
1232 ## end gnulib module wchar
1234 # Clean up after Solaris cc.
1238 mostlyclean-local: mostlyclean-generic
1239 @for dir in '' $(MOSTLYCLEANDIRS); do \
1240 if test -n "$$dir" && test -d $$dir; then \
1241 echo "rmdir $$dir"; rmdir $$dir; \