1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
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.9.6 foreign
35 check_LIBRARIES = libtests.a
39 MOSTLYCLEANFILES = core *.stackdump
43 MAINTAINERCLEANFILES =
46 -D@M4tests_WITNESS@=1 \
49 -I../lib -I$(srcdir)/../lib
51 LDADD = libtests.a ../lib/libm4.a libtests.a $(LIBTESTS_LIBDEPS)
54 libtests_a_LIBADD = $(M4tests_LIBOBJS)
55 libtests_a_DEPENDENCIES = $(M4tests_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-tests
63 TESTS += test-alloca-opt
64 check_PROGRAMS += test-alloca-opt
66 EXTRA_DIST += test-alloca-opt.c
68 ## end gnulib module alloca-opt-tests
70 ## begin gnulib module array-list
72 libtests_a_SOURCES += gl_array_list.h gl_array_list.c
74 ## end gnulib module array-list
76 ## begin gnulib module array-list-tests
78 TESTS += test-array_list
79 check_PROGRAMS += test-array_list
81 EXTRA_DIST += test-array_list.c macros.h
83 ## end gnulib module array-list-tests
85 ## begin gnulib module array-oset
87 libtests_a_SOURCES += gl_array_oset.h gl_array_oset.c
89 ## end gnulib module array-oset
91 ## begin gnulib module array-oset-tests
93 TESTS += test-array_oset
94 check_PROGRAMS += test-array_oset
95 test_array_oset_LDADD = $(LDADD) @LIBINTL@
97 EXTRA_DIST += test-array_oset.c macros.h
99 ## end gnulib module array-oset-tests
101 ## begin gnulib module avltree-oset-tests
103 TESTS += test-avltree_oset
104 check_PROGRAMS += test-avltree_oset
105 EXTRA_DIST += test-avltree_oset.c macros.h
107 ## end gnulib module avltree-oset-tests
109 ## begin gnulib module binary-io-tests
111 TESTS += test-binary-io.sh
112 check_PROGRAMS += test-binary-io
114 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
116 ## end gnulib module binary-io-tests
118 ## begin gnulib module btowc-tests
120 TESTS += test-btowc1.sh test-btowc2.sh
121 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
122 check_PROGRAMS += test-btowc
124 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
126 ## end gnulib module btowc-tests
128 ## begin gnulib module c-ctype-tests
130 TESTS += test-c-ctype
131 check_PROGRAMS += test-c-ctype
133 EXTRA_DIST += test-c-ctype.c macros.h
135 ## end gnulib module c-ctype-tests
137 ## begin gnulib module c-stack-tests
139 TESTS += test-c-stack.sh test-c-stack2.sh
140 TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@'
141 check_PROGRAMS += test-c-stack
142 test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@
143 MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp
144 EXTRA_DIST += test-c-stack.c test-c-stack.sh test-c-stack2.sh macros.h
146 ## end gnulib module c-stack-tests
148 ## begin gnulib module c-strcase-tests
150 TESTS += test-c-strcase.sh
151 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
152 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
153 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
155 ## end gnulib module c-strcase-tests
157 ## begin gnulib module canonicalize-lgpl-tests
159 TESTS += test-canonicalize-lgpl
160 check_PROGRAMS += test-canonicalize-lgpl
161 EXTRA_DIST += test-canonicalize-lgpl.c signature.h macros.h
163 ## end gnulib module canonicalize-lgpl-tests
165 ## begin gnulib module chdir-tests
168 check_PROGRAMS += test-chdir
169 EXTRA_DIST += test-chdir.c signature.h macros.h
171 ## end gnulib module chdir-tests
173 ## begin gnulib module cloexec-tests
175 TESTS += test-cloexec
176 check_PROGRAMS += test-cloexec
177 EXTRA_DIST += test-cloexec.c macros.h
179 ## end gnulib module cloexec-tests
181 ## begin gnulib module close-tests
184 check_PROGRAMS += test-close
185 EXTRA_DIST += test-close.c signature.h macros.h
187 ## end gnulib module close-tests
189 ## begin gnulib module closedir
192 EXTRA_DIST += closedir.c dirent-private.h
194 EXTRA_libtests_a_SOURCES += closedir.c
196 ## end gnulib module closedir
198 ## begin gnulib module closein-tests
200 TESTS += test-closein.sh
201 check_PROGRAMS += test-closein
202 test_closein_LDADD = $(LDADD) @LIBINTL@
203 EXTRA_DIST += test-closein.sh test-closein.c
205 ## end gnulib module closein-tests
207 ## begin gnulib module dirent
209 BUILT_SOURCES += dirent.h
211 # We need the following in order to create <dirent.h> when the system
212 # doesn't have one that works with the given compiler.
213 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
214 $(AM_V_GEN)rm -f $@-t $@ && \
215 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
216 sed -e 's|@''GUARD_PREFIX''@|GL_M4|g' \
217 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
218 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
219 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
220 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
221 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
222 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
223 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
224 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
225 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
226 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
227 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
228 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
229 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
230 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
231 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
232 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
233 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
234 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
235 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
236 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
237 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
238 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
239 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
240 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
241 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
242 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
243 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
244 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
245 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
246 < $(srcdir)/dirent.in.h; \
249 MOSTLYCLEANFILES += dirent.h dirent.h-t
251 EXTRA_DIST += dirent.in.h
253 ## end gnulib module dirent
255 ## begin gnulib module dirent-c++-tests
258 TESTS += test-dirent-c++
259 check_PROGRAMS += test-dirent-c++
260 test_dirent_c___SOURCES = test-dirent-c++.cc
261 test_dirent_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
263 EXTRA_DIST += test-dirent-c++.cc signature.h
265 ## end gnulib module dirent-c++-tests
267 ## begin gnulib module dirent-tests
270 check_PROGRAMS += test-dirent
271 EXTRA_DIST += test-dirent.c
273 ## end gnulib module dirent-tests
275 ## begin gnulib module dirname-tests
277 TESTS += test-dirname
278 check_PROGRAMS += test-dirname
279 test_dirname_LDADD = $(LDADD) @LIBINTL@
280 EXTRA_DIST += test-dirname.c
282 ## end gnulib module dirname-tests
284 ## begin gnulib module dup
289 EXTRA_libtests_a_SOURCES += dup.c
291 ## end gnulib module dup
293 ## begin gnulib module dup-tests
296 check_PROGRAMS += test-dup
297 EXTRA_DIST += test-dup.c signature.h macros.h
299 ## end gnulib module dup-tests
301 ## begin gnulib module dup2-tests
304 check_PROGRAMS += test-dup2
305 EXTRA_DIST += test-dup2.c signature.h macros.h
307 ## end gnulib module dup2-tests
309 ## begin gnulib module environ-tests
311 TESTS += test-environ
312 check_PROGRAMS += test-environ
314 EXTRA_DIST += test-environ.c
316 ## end gnulib module environ-tests
318 ## begin gnulib module errno-tests
321 check_PROGRAMS += test-errno
323 EXTRA_DIST += test-errno.c
325 ## end gnulib module errno-tests
327 ## begin gnulib module fclose-tests
330 check_PROGRAMS += test-fclose
331 EXTRA_DIST += test-fclose.c
333 ## end gnulib module fclose-tests
335 ## begin gnulib module fcntl-h-c++-tests
338 TESTS += test-fcntl-h-c++
339 check_PROGRAMS += test-fcntl-h-c++
340 test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc
341 test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET)
343 EXTRA_DIST += test-fcntl-h-c++.cc signature.h
345 ## end gnulib module fcntl-h-c++-tests
347 ## begin gnulib module fcntl-h-tests
349 TESTS += test-fcntl-h
350 check_PROGRAMS += test-fcntl-h
351 EXTRA_DIST += test-fcntl-h.c
353 ## end gnulib module fcntl-h-tests
355 ## begin gnulib module fcntl-tests
358 check_PROGRAMS += test-fcntl
359 EXTRA_DIST += test-fcntl.c signature.h macros.h
361 ## end gnulib module fcntl-tests
363 ## begin gnulib module fdopen
366 EXTRA_DIST += fdopen.c
368 EXTRA_libtests_a_SOURCES += fdopen.c
370 ## end gnulib module fdopen
372 ## begin gnulib module fdopen-tests
375 check_PROGRAMS += test-fdopen
376 EXTRA_DIST += test-fdopen.c signature.h macros.h
378 ## end gnulib module fdopen-tests
380 ## begin gnulib module fflush-tests
382 TESTS += test-fflush test-fflush2.sh
383 check_PROGRAMS += test-fflush test-fflush2
384 MOSTLYCLEANFILES += test-fflush.txt
385 EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h
387 ## end gnulib module fflush-tests
389 ## begin gnulib module fgetc-tests
392 check_PROGRAMS += test-fgetc
393 EXTRA_DIST += test-fgetc.c signature.h macros.h
395 ## end gnulib module fgetc-tests
397 ## begin gnulib module filename
400 EXTRA_DIST += filename.h
402 ## end gnulib module filename
404 ## begin gnulib module filenamecat-tests
406 TESTS += test-filenamecat
407 check_PROGRAMS += test-filenamecat
408 test_filenamecat_LDADD = $(LDADD) @LIBINTL@
409 EXTRA_DIST += test-filenamecat.c
411 ## end gnulib module filenamecat-tests
413 ## begin gnulib module float-tests
416 check_PROGRAMS += test-float
417 EXTRA_DIST += test-float.c macros.h
419 ## end gnulib module float-tests
421 ## begin gnulib module fopen-safer-tests
423 TESTS += test-fopen-safer
424 check_PROGRAMS += test-fopen-safer
425 EXTRA_DIST += test-fopen.h test-fopen-safer.c macros.h
427 ## end gnulib module fopen-safer-tests
429 ## begin gnulib module fopen-tests
432 check_PROGRAMS += test-fopen
434 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
436 ## end gnulib module fopen-tests
438 ## begin gnulib module fpending-tests
440 TESTS += test-fpending.sh
441 check_PROGRAMS += test-fpending
442 MOSTLYCLEANFILES += test-fpending.t
443 EXTRA_DIST += test-fpending.c test-fpending.sh macros.h
445 ## end gnulib module fpending-tests
447 ## begin gnulib module fpurge-tests
450 check_PROGRAMS += test-fpurge
451 MOSTLYCLEANFILES += t-fpurge.tmp
452 EXTRA_DIST += test-fpurge.c macros.h
454 ## end gnulib module fpurge-tests
456 ## begin gnulib module fputc-tests
459 check_PROGRAMS += test-fputc
460 EXTRA_DIST += test-fputc.c signature.h macros.h
462 ## end gnulib module fputc-tests
464 ## begin gnulib module fread-tests
467 check_PROGRAMS += test-fread
468 EXTRA_DIST += test-fread.c signature.h macros.h
470 ## end gnulib module fread-tests
472 ## begin gnulib module freadahead-tests
474 TESTS += test-freadahead.sh
475 check_PROGRAMS += test-freadahead
476 EXTRA_DIST += test-freadahead.c test-freadahead.sh macros.h
478 ## end gnulib module freadahead-tests
480 ## begin gnulib module freading-tests
482 TESTS += test-freading
483 check_PROGRAMS += test-freading
484 MOSTLYCLEANFILES += t-freading.tmp
485 EXTRA_DIST += test-freading.c macros.h
487 ## end gnulib module freading-tests
489 ## begin gnulib module frexp-nolibm-tests
491 TESTS += test-frexp-nolibm
492 check_PROGRAMS += test-frexp-nolibm
493 test_frexp_nolibm_SOURCES = test-frexp.c randomd.c
494 EXTRA_DIST += test-frexp.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randomd.c
496 ## end gnulib module frexp-nolibm-tests
498 ## begin gnulib module frexpl-nolibm-tests
500 TESTS += test-frexpl-nolibm
501 check_PROGRAMS += test-frexpl-nolibm
502 test_frexpl_nolibm_SOURCES = test-frexpl.c randoml.c
503 EXTRA_DIST += test-frexpl.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randoml.c
505 ## end gnulib module frexpl-nolibm-tests
507 ## begin gnulib module fseek-tests
509 TESTS += test-fseek.sh test-fseek2.sh
510 check_PROGRAMS += test-fseek
511 EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
513 ## end gnulib module fseek-tests
515 ## begin gnulib module fseeko-tests
517 TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
518 check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
519 EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h
521 ## end gnulib module fseeko-tests
523 ## begin gnulib module fstat-tests
526 check_PROGRAMS += test-fstat
527 EXTRA_DIST += test-fstat.c signature.h macros.h
529 ## end gnulib module fstat-tests
531 ## begin gnulib module ftell-tests
533 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
534 check_PROGRAMS += test-ftell test-ftell3
535 MOSTLYCLEANFILES += t-ftell3.tmp
536 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
538 ## end gnulib module ftell-tests
540 ## begin gnulib module ftello-tests
542 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
543 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
544 MOSTLYCLEANFILES += t-ftello3.tmp
545 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
547 ## end gnulib module ftello-tests
549 ## begin gnulib module fwrite-tests
552 check_PROGRAMS += test-fwrite
553 EXTRA_DIST += test-fwrite.c signature.h macros.h
555 ## end gnulib module fwrite-tests
557 ## begin gnulib module getcwd-lgpl
560 EXTRA_DIST += getcwd-lgpl.c
562 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
564 ## end gnulib module getcwd-lgpl
566 ## begin gnulib module getcwd-lgpl-tests
568 TESTS += test-getcwd-lgpl
569 check_PROGRAMS += test-getcwd-lgpl
570 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
571 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
573 ## end gnulib module getcwd-lgpl-tests
575 ## begin gnulib module getdtablesize-tests
577 TESTS += test-getdtablesize
578 check_PROGRAMS += test-getdtablesize
579 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
581 ## end gnulib module getdtablesize-tests
583 ## begin gnulib module getopt-posix-tests
586 check_PROGRAMS += test-getopt
587 test_getopt_LDADD = $(LDADD) $(LIBINTL)
588 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
590 ## end gnulib module getopt-posix-tests
592 ## begin gnulib module getpagesize
595 EXTRA_DIST += getpagesize.c
597 EXTRA_libtests_a_SOURCES += getpagesize.c
599 ## end gnulib module getpagesize
601 ## begin gnulib module gettimeofday-tests
603 TESTS += test-gettimeofday
604 check_PROGRAMS += test-gettimeofday
606 EXTRA_DIST += signature.h test-gettimeofday.c
608 ## end gnulib module gettimeofday-tests
610 ## begin gnulib module ignore-value-tests
612 TESTS += test-ignore-value
613 check_PROGRAMS += test-ignore-value
614 EXTRA_DIST += test-ignore-value.c
616 ## end gnulib module ignore-value-tests
618 ## begin gnulib module intprops-tests
620 TESTS += test-intprops
621 check_PROGRAMS += test-intprops
622 EXTRA_DIST += test-intprops.c macros.h
624 ## end gnulib module intprops-tests
626 ## begin gnulib module inttypes-incomplete
628 BUILT_SOURCES += inttypes.h
630 # We need the following in order to create <inttypes.h> when the system
631 # doesn't have one that works with the given compiler.
632 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
633 $(AM_V_GEN)rm -f $@-t $@ && \
634 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
635 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_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_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
640 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
641 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
642 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
643 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
644 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
645 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
646 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
647 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
648 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
649 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
650 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
651 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
652 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
653 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
654 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
655 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
656 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
657 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
658 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
659 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
660 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
661 < $(srcdir)/inttypes.in.h; \
664 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
666 EXTRA_DIST += inttypes.in.h
668 ## end gnulib module inttypes-incomplete
670 ## begin gnulib module inttypes-tests
672 TESTS += test-inttypes
673 check_PROGRAMS += test-inttypes
674 EXTRA_DIST += test-inttypes.c
676 ## end gnulib module inttypes-tests
678 ## begin gnulib module isnand-nolibm-tests
680 TESTS += test-isnand-nolibm
681 check_PROGRAMS += test-isnand-nolibm
683 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
685 ## end gnulib module isnand-nolibm-tests
687 ## begin gnulib module isnanf-nolibm-tests
689 TESTS += test-isnanf-nolibm
690 check_PROGRAMS += test-isnanf-nolibm
692 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
694 ## end gnulib module isnanf-nolibm-tests
696 ## begin gnulib module isnanl-nolibm-tests
698 TESTS += test-isnanl-nolibm
699 check_PROGRAMS += test-isnanl-nolibm
701 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
703 ## end gnulib module isnanl-nolibm-tests
705 ## begin gnulib module langinfo-c++-tests
708 TESTS += test-langinfo-c++
709 check_PROGRAMS += test-langinfo-c++
710 test_langinfo_c___SOURCES = test-langinfo-c++.cc
712 EXTRA_DIST += test-langinfo-c++.cc signature.h
714 ## end gnulib module langinfo-c++-tests
716 ## begin gnulib module langinfo-tests
718 TESTS += test-langinfo
719 check_PROGRAMS += test-langinfo
720 EXTRA_DIST += test-langinfo.c
722 ## end gnulib module langinfo-tests
724 ## begin gnulib module link
729 EXTRA_libtests_a_SOURCES += link.c
731 ## end gnulib module link
733 ## begin gnulib module link-tests
736 check_PROGRAMS += test-link
737 EXTRA_DIST += test-link.h test-link.c signature.h macros.h
739 ## end gnulib module link-tests
741 ## begin gnulib module linkedhash-list-tests
743 TESTS += test-linkedhash_list
744 check_PROGRAMS += test-linkedhash_list
745 EXTRA_DIST += test-linkedhash_list.c macros.h
747 ## end gnulib module linkedhash-list-tests
749 ## begin gnulib module locale-c++-tests
752 TESTS += test-locale-c++
753 check_PROGRAMS += test-locale-c++
754 test_locale_c___SOURCES = test-locale-c++.cc test-locale-c++2.cc
756 EXTRA_DIST += test-locale-c++.cc test-locale-c++2.cc signature.h
758 ## end gnulib module locale-c++-tests
760 ## begin gnulib module locale-tests
763 check_PROGRAMS += test-locale
764 EXTRA_DIST += test-locale.c
766 ## end gnulib module locale-tests
768 ## begin gnulib module localeconv-tests
770 TESTS += test-localeconv
771 check_PROGRAMS += test-localeconv
772 EXTRA_DIST += test-localeconv.c signature.h macros.h
774 ## end gnulib module localeconv-tests
776 ## begin gnulib module localename
778 libtests_a_SOURCES += localename.c
780 EXTRA_DIST += localename.h
782 ## end gnulib module localename
784 ## begin gnulib module localename-tests
786 TESTS += test-localename
787 check_PROGRAMS += test-localename
788 test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
790 EXTRA_DIST += test-localename.c macros.h
792 ## end gnulib module localename-tests
794 ## begin gnulib module lseek-tests
796 TESTS += test-lseek.sh
797 check_PROGRAMS += test-lseek
798 EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
800 ## end gnulib module lseek-tests
802 ## begin gnulib module lstat-tests
805 check_PROGRAMS += test-lstat
806 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
808 ## end gnulib module lstat-tests
810 ## begin gnulib module malloc-gnu-tests
812 TESTS += test-malloc-gnu
813 check_PROGRAMS += test-malloc-gnu
814 EXTRA_DIST += test-malloc-gnu.c
816 ## end gnulib module malloc-gnu-tests
818 ## begin gnulib module malloca-tests
820 TESTS += test-malloca
821 check_PROGRAMS += test-malloca
823 EXTRA_DIST += test-malloca.c
825 ## end gnulib module malloca-tests
827 ## begin gnulib module math-c++-tests
830 TESTS += test-math-c++
831 check_PROGRAMS += test-math-c++
832 test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc
833 # These link dependencies are needed on IRIX 6.5 with cc.
834 test_math_c___LDADD = $(LDADD) $(COPYSIGNL_LIBM) $(RINT_LIBM) $(RINTL_LIBM)
836 EXTRA_DIST += test-math-c++.cc test-math-c++2.cc signature.h
838 ## end gnulib module math-c++-tests
840 ## begin gnulib module math-tests
843 check_PROGRAMS += test-math
844 EXTRA_DIST += test-math.c macros.h
846 ## end gnulib module math-tests
848 ## begin gnulib module mbrtowc-tests
851 test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
852 test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
853 test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
854 TESTS_ENVIRONMENT += \
855 LOCALE_FR='@LOCALE_FR@' \
856 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
857 LOCALE_JA='@LOCALE_JA@' \
858 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
859 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
861 EXTRA_DIST += test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh test-mbrtowc.c test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh test-mbrtowc-w32.c signature.h macros.h
863 ## end gnulib module mbrtowc-tests
865 ## begin gnulib module mbsinit-tests
867 TESTS += test-mbsinit.sh
868 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
869 check_PROGRAMS += test-mbsinit
871 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
873 ## end gnulib module mbsinit-tests
875 ## begin gnulib module memchr-tests
878 check_PROGRAMS += test-memchr
879 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
881 ## end gnulib module memchr-tests
883 ## begin gnulib module memchr2-tests
885 TESTS += test-memchr2
886 check_PROGRAMS += test-memchr2
887 EXTRA_DIST += test-memchr2.c zerosize-ptr.h macros.h
889 ## end gnulib module memchr2-tests
891 ## begin gnulib module nl_langinfo-tests
893 TESTS += test-nl_langinfo.sh
894 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
895 check_PROGRAMS += test-nl_langinfo
896 EXTRA_DIST += test-nl_langinfo.sh test-nl_langinfo.c signature.h macros.h
898 ## end gnulib module nl_langinfo-tests
900 ## begin gnulib module open-tests
903 check_PROGRAMS += test-open
904 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
906 ## end gnulib module open-tests
908 ## begin gnulib module opendir
911 EXTRA_DIST += dirent-private.h opendir.c
913 EXTRA_libtests_a_SOURCES += opendir.c
915 ## end gnulib module opendir
917 ## begin gnulib module pathmax-tests
919 TESTS += test-pathmax
920 check_PROGRAMS += test-pathmax
921 EXTRA_DIST += test-pathmax.c
923 ## end gnulib module pathmax-tests
925 ## begin gnulib module pipe2-tests
928 check_PROGRAMS += test-pipe2
929 test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
930 EXTRA_DIST += test-pipe2.c signature.h macros.h
932 ## end gnulib module pipe2-tests
934 ## begin gnulib module posix_spawn_file_actions_addclose-tests
936 TESTS += test-posix_spawn_file_actions_addclose
937 check_PROGRAMS += test-posix_spawn_file_actions_addclose
938 EXTRA_DIST += test-posix_spawn_file_actions_addclose.c signature.h macros.h
940 ## end gnulib module posix_spawn_file_actions_addclose-tests
942 ## begin gnulib module posix_spawn_file_actions_adddup2-tests
944 TESTS += test-posix_spawn_file_actions_adddup2
945 check_PROGRAMS += test-posix_spawn_file_actions_adddup2
946 EXTRA_DIST += test-posix_spawn_file_actions_adddup2.c signature.h macros.h
948 ## end gnulib module posix_spawn_file_actions_adddup2-tests
950 ## begin gnulib module posix_spawn_file_actions_addopen-tests
952 TESTS += test-posix_spawn_file_actions_addopen
953 check_PROGRAMS += test-posix_spawn_file_actions_addopen
954 EXTRA_DIST += test-posix_spawn_file_actions_addopen.c signature.h macros.h
956 ## end gnulib module posix_spawn_file_actions_addopen-tests
958 ## begin gnulib module posix_spawnp-tests
960 if POSIX_SPAWN_PORTED
961 TESTS += test-posix_spawn1 test-posix_spawn2
962 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
964 BUILT_SOURCES += test-posix_spawn1.sh
965 test-posix_spawn1.sh: test-posix_spawn1.in.sh
966 $(AM_V_GEN)rm -f $@-t $@ && \
967 cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
969 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
971 BUILT_SOURCES += test-posix_spawn2.sh
972 test-posix_spawn2.sh: test-posix_spawn2.in.sh
973 $(AM_V_GEN)rm -f $@-t $@ && \
974 cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
976 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
978 EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
980 ## end gnulib module posix_spawnp-tests
982 ## begin gnulib module printf-frexp-tests
984 TESTS += test-printf-frexp
985 check_PROGRAMS += test-printf-frexp
986 EXTRA_DIST += test-printf-frexp.c macros.h
988 ## end gnulib module printf-frexp-tests
990 ## begin gnulib module printf-frexpl-tests
992 TESTS += test-printf-frexpl
993 check_PROGRAMS += test-printf-frexpl
994 EXTRA_DIST += test-printf-frexpl.c macros.h
996 ## end gnulib module printf-frexpl-tests
998 ## begin gnulib module putenv
1001 EXTRA_DIST += putenv.c
1003 EXTRA_libtests_a_SOURCES += putenv.c
1005 ## end gnulib module putenv
1007 ## begin gnulib module quotearg-simple-tests
1009 TESTS += test-quotearg-simple
1010 check_PROGRAMS += test-quotearg-simple
1011 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
1012 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
1014 ## end gnulib module quotearg-simple-tests
1016 ## begin gnulib module raise-tests
1019 check_PROGRAMS += test-raise
1020 EXTRA_DIST += test-raise.c signature.h macros.h
1022 ## end gnulib module raise-tests
1024 ## begin gnulib module rawmemchr-tests
1026 TESTS += test-rawmemchr
1027 check_PROGRAMS += test-rawmemchr
1028 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
1030 ## end gnulib module rawmemchr-tests
1032 ## begin gnulib module readdir
1035 EXTRA_DIST += dirent-private.h readdir.c
1037 EXTRA_libtests_a_SOURCES += readdir.c
1039 ## end gnulib module readdir
1041 ## begin gnulib module readlink-tests
1043 TESTS += test-readlink
1044 check_PROGRAMS += test-readlink
1045 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
1047 ## end gnulib module readlink-tests
1049 ## begin gnulib module regex-tests
1052 check_PROGRAMS += test-regex
1053 test_regex_LDADD = $(LDADD) @LIBINTL@
1054 EXTRA_DIST += test-regex.c macros.h
1056 ## end gnulib module regex-tests
1058 ## begin gnulib module rename-tests
1060 TESTS += test-rename
1061 check_PROGRAMS += test-rename
1062 EXTRA_DIST += test-rename.h test-rename.c signature.h macros.h
1064 ## end gnulib module rename-tests
1066 ## begin gnulib module rmdir-tests
1069 check_PROGRAMS += test-rmdir
1070 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
1072 ## end gnulib module rmdir-tests
1074 ## begin gnulib module sched-tests
1077 check_PROGRAMS += test-sched
1078 EXTRA_DIST += test-sched.c
1080 ## end gnulib module sched-tests
1082 ## begin gnulib module setenv
1085 EXTRA_DIST += setenv.c
1087 EXTRA_libtests_a_SOURCES += setenv.c
1089 ## end gnulib module setenv
1091 ## begin gnulib module setenv-tests
1093 TESTS += test-setenv
1094 check_PROGRAMS += test-setenv
1095 EXTRA_DIST += test-setenv.c signature.h macros.h
1097 ## end gnulib module setenv-tests
1099 ## begin gnulib module setlocale
1102 EXTRA_DIST += setlocale.c
1104 EXTRA_libtests_a_SOURCES += setlocale.c
1106 ## end gnulib module setlocale
1108 ## begin gnulib module setlocale-tests
1110 TESTS += test-setlocale1.sh test-setlocale2.sh
1111 TESTS_ENVIRONMENT += \
1112 LOCALE_FR='@LOCALE_FR@' \
1113 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1114 LOCALE_JA='@LOCALE_JA@' \
1115 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1116 check_PROGRAMS += test-setlocale1 test-setlocale2
1117 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
1119 ## end gnulib module setlocale-tests
1121 ## begin gnulib module sigaction-tests
1123 TESTS += test-sigaction
1124 check_PROGRAMS += test-sigaction
1125 EXTRA_DIST += test-sigaction.c signature.h macros.h
1127 ## end gnulib module sigaction-tests
1129 ## begin gnulib module signal-h-c++-tests
1132 TESTS += test-signal-h-c++
1133 check_PROGRAMS += test-signal-h-c++
1134 test_signal_h_c___SOURCES = test-signal-h-c++.cc test-signal-h-c++2.cc
1135 test_signal_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_PTHREAD_SIGMASK)
1137 EXTRA_DIST += test-signal-h-c++.cc test-signal-h-c++2.cc signature.h
1139 ## end gnulib module signal-h-c++-tests
1141 ## begin gnulib module signal-h-tests
1143 TESTS += test-signal-h
1144 check_PROGRAMS += test-signal-h
1145 EXTRA_DIST += test-signal-h.c
1147 ## end gnulib module signal-h-tests
1149 ## begin gnulib module signbit-tests
1151 TESTS += test-signbit
1152 check_PROGRAMS += test-signbit
1154 EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
1156 ## end gnulib module signbit-tests
1158 ## begin gnulib module sigpipe-tests
1160 TESTS += test-sigpipe.sh
1161 check_PROGRAMS += test-sigpipe
1163 EXTRA_DIST += test-sigpipe.c test-sigpipe.sh
1165 ## end gnulib module sigpipe-tests
1167 ## begin gnulib module sigprocmask-tests
1169 TESTS += test-sigprocmask
1170 check_PROGRAMS += test-sigprocmask
1171 EXTRA_DIST += test-sigprocmask.c signature.h macros.h
1173 ## end gnulib module sigprocmask-tests
1175 ## begin gnulib module sleep
1178 EXTRA_DIST += sleep.c
1180 EXTRA_libtests_a_SOURCES += sleep.c
1182 ## end gnulib module sleep
1184 ## begin gnulib module sleep-tests
1187 check_PROGRAMS += test-sleep
1188 EXTRA_DIST += test-sleep.c signature.h macros.h
1190 ## end gnulib module sleep-tests
1192 ## begin gnulib module snippet/_Noreturn
1194 # Because this Makefile snippet defines a variable used by other
1195 # gnulib Makefile snippets, it must be present in all Makefile.am that
1196 # need it. This is ensured by the applicability 'all' defined above.
1198 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1200 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1202 ## end gnulib module snippet/_Noreturn
1204 ## begin gnulib module snippet/arg-nonnull
1206 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1207 # statements but through direct file reference. Therefore this snippet must be
1208 # present in all Makefile.am that need it. This is ensured by the applicability
1209 # 'all' defined above.
1211 BUILT_SOURCES += arg-nonnull.h
1212 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1213 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1215 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1216 $(AM_V_GEN)rm -f $@-t $@ && \
1217 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1218 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1221 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1223 ARG_NONNULL_H=arg-nonnull.h
1225 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1227 ## end gnulib module snippet/arg-nonnull
1229 ## begin gnulib module snippet/c++defs
1231 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1232 # statements but through direct file reference. Therefore this snippet must be
1233 # present in all Makefile.am that need it. This is ensured by the applicability
1234 # 'all' defined above.
1236 BUILT_SOURCES += c++defs.h
1237 # The c++defs.h that gets inserted into generated .h files is the same as
1238 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1239 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1240 $(AM_V_GEN)rm -f $@-t $@ && \
1241 sed -n -e '/_GL_CXXDEFS/,$$p' \
1242 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1245 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1249 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1251 ## end gnulib module snippet/c++defs
1253 ## begin gnulib module snippet/unused-parameter
1255 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1256 # statements but through direct file reference. Therefore this snippet must be
1257 # present in all Makefile.am that need it. This is ensured by the applicability
1258 # 'all' defined above.
1260 BUILT_SOURCES += unused-parameter.h
1261 # The unused-parameter.h that gets inserted into generated .h files is the same
1262 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1264 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1265 $(AM_V_GEN)rm -f $@-t $@ && \
1266 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1267 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1270 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1272 UNUSED_PARAMETER_H=unused-parameter.h
1274 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1276 ## end gnulib module snippet/unused-parameter
1278 ## begin gnulib module snippet/warn-on-use
1280 BUILT_SOURCES += warn-on-use.h
1281 # The warn-on-use.h that gets inserted into generated .h files is the same as
1282 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1284 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1285 $(AM_V_GEN)rm -f $@-t $@ && \
1286 sed -n -e '/^.ifndef/,$$p' \
1287 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1290 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1292 WARN_ON_USE_H=warn-on-use.h
1294 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1296 ## end gnulib module snippet/warn-on-use
1298 ## begin gnulib module snprintf-tests
1300 TESTS += test-snprintf
1301 check_PROGRAMS += test-snprintf
1303 EXTRA_DIST += test-snprintf.c signature.h macros.h
1305 ## end gnulib module snprintf-tests
1307 ## begin gnulib module spawn-c++-tests
1310 TESTS += test-spawn-c++
1311 check_PROGRAMS += test-spawn-c++
1312 test_spawn_c___SOURCES = test-spawn-c++.cc
1313 test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
1315 EXTRA_DIST += test-spawn-c++.cc signature.h
1317 ## end gnulib module spawn-c++-tests
1319 ## begin gnulib module spawn-pipe-tests
1321 TESTS += test-spawn-pipe.sh
1322 check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
1323 test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@
1324 # The test-spawn-pipe-child program must be a real executable, not a libtool
1325 # wrapper script, and should link against as few libraries as possible.
1326 # Therefore don't link it against any libraries other than -lc.
1327 test_spawn_pipe_child_LDADD =
1328 EXTRA_DIST += test-spawn-pipe.sh test-spawn-pipe-main.c test-spawn-pipe-child.c macros.h
1330 ## end gnulib module spawn-pipe-tests
1332 ## begin gnulib module spawn-tests
1335 check_PROGRAMS += test-spawn
1336 EXTRA_DIST += test-spawn.c
1338 ## end gnulib module spawn-tests
1340 ## begin gnulib module stat-tests
1343 check_PROGRAMS += test-stat
1344 test_stat_LDADD = $(LDADD) $(LIBINTL)
1345 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1347 ## end gnulib module stat-tests
1349 ## begin gnulib module stdbool-tests
1351 TESTS += test-stdbool
1352 check_PROGRAMS += test-stdbool
1353 EXTRA_DIST += test-stdbool.c
1355 ## end gnulib module stdbool-tests
1357 ## begin gnulib module stddef-tests
1359 TESTS += test-stddef
1360 check_PROGRAMS += test-stddef
1361 EXTRA_DIST += test-stddef.c
1363 ## end gnulib module stddef-tests
1365 ## begin gnulib module stdint-tests
1367 TESTS += test-stdint
1368 check_PROGRAMS += test-stdint
1369 EXTRA_DIST += test-stdint.c
1371 ## end gnulib module stdint-tests
1373 ## begin gnulib module stdio-c++-tests
1376 TESTS += test-stdio-c++
1377 check_PROGRAMS += test-stdio-c++
1378 test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
1379 test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
1381 EXTRA_DIST += test-stdio-c++.cc test-stdio-c++2.cc signature.h
1383 ## end gnulib module stdio-c++-tests
1385 ## begin gnulib module stdio-tests
1388 check_PROGRAMS += test-stdio
1389 EXTRA_DIST += test-stdio.c
1391 ## end gnulib module stdio-tests
1393 ## begin gnulib module stdlib-c++-tests
1396 TESTS += test-stdlib-c++
1397 check_PROGRAMS += test-stdlib-c++
1398 test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
1399 test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)
1401 EXTRA_DIST += test-stdlib-c++.cc test-stdlib-c++2.cc signature.h
1403 ## end gnulib module stdlib-c++-tests
1405 ## begin gnulib module stdlib-tests
1407 TESTS += test-stdlib
1408 check_PROGRAMS += test-stdlib
1409 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1411 ## end gnulib module stdlib-tests
1413 ## begin gnulib module strchrnul-tests
1415 TESTS += test-strchrnul
1416 check_PROGRAMS += test-strchrnul
1417 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1419 ## end gnulib module strchrnul-tests
1421 ## begin gnulib module strdup-posix
1424 EXTRA_DIST += strdup.c
1426 EXTRA_libtests_a_SOURCES += strdup.c
1428 ## end gnulib module strdup-posix
1430 ## begin gnulib module strerror-tests
1432 TESTS += test-strerror
1433 check_PROGRAMS += test-strerror
1434 EXTRA_DIST += test-strerror.c signature.h macros.h
1436 ## end gnulib module strerror-tests
1438 ## begin gnulib module string-c++-tests
1441 TESTS += test-string-c++
1442 check_PROGRAMS += test-string-c++
1443 test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc
1444 test_string_c___LDADD = $(LDADD) $(LIBINTL)
1446 EXTRA_DIST += test-string-c++.cc test-string-c++2.cc signature.h
1448 ## end gnulib module string-c++-tests
1450 ## begin gnulib module string-tests
1452 TESTS += test-string
1453 check_PROGRAMS += test-string
1454 EXTRA_DIST += test-string.c
1456 ## end gnulib module string-tests
1458 ## begin gnulib module strnlen-tests
1460 TESTS += test-strnlen
1461 check_PROGRAMS += test-strnlen
1462 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1464 ## end gnulib module strnlen-tests
1466 ## begin gnulib module strsignal-tests
1468 TESTS += test-strsignal
1469 check_PROGRAMS += test-strsignal
1470 test_strsignal_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
1471 EXTRA_DIST += test-strsignal.c signature.h macros.h
1473 ## end gnulib module strsignal-tests
1475 ## begin gnulib module strstr-tests
1477 TESTS += test-strstr
1478 check_PROGRAMS += test-strstr
1479 EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
1481 ## end gnulib module strstr-tests
1483 ## begin gnulib module strtod-tests
1485 TESTS += test-strtod
1486 check_PROGRAMS += test-strtod
1487 EXTRA_DIST += test-strtod.c signature.h minus-zero.h macros.h
1489 ## end gnulib module strtod-tests
1491 ## begin gnulib module symlink
1494 EXTRA_DIST += symlink.c
1496 EXTRA_libtests_a_SOURCES += symlink.c
1498 ## end gnulib module symlink
1500 ## begin gnulib module symlink-tests
1502 TESTS += test-symlink
1503 check_PROGRAMS += test-symlink
1504 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1506 ## end gnulib module symlink-tests
1508 ## begin gnulib module sys_stat-c++-tests
1511 TESTS += test-sys_stat-c++
1512 check_PROGRAMS += test-sys_stat-c++
1513 test_sys_stat_c___SOURCES = test-sys_stat-c++.cc
1514 test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
1516 EXTRA_DIST += test-sys_stat-c++.cc signature.h
1518 ## end gnulib module sys_stat-c++-tests
1520 ## begin gnulib module sys_stat-tests
1522 TESTS += test-sys_stat
1523 check_PROGRAMS += test-sys_stat
1524 EXTRA_DIST += test-sys_stat.c
1526 ## end gnulib module sys_stat-tests
1528 ## begin gnulib module sys_time-c++-tests
1531 TESTS += test-sys_time-c++
1532 check_PROGRAMS += test-sys_time-c++
1533 test_sys_time_c___SOURCES = test-sys_time-c++.cc
1534 test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
1536 EXTRA_DIST += test-sys_time-c++.cc signature.h
1538 ## end gnulib module sys_time-c++-tests
1540 ## begin gnulib module sys_time-tests
1542 TESTS += test-sys_time
1543 check_PROGRAMS += test-sys_time
1544 EXTRA_DIST += test-sys_time.c
1546 ## end gnulib module sys_time-tests
1548 ## begin gnulib module sys_types-c++-tests
1551 TESTS += test-sys_types-c++
1552 check_PROGRAMS += test-sys_types-c++
1553 test_sys_types_c___SOURCES = test-sys_types-c++.cc
1555 EXTRA_DIST += test-sys_types-c++.cc
1557 ## end gnulib module sys_types-c++-tests
1559 ## begin gnulib module sys_types-tests
1561 TESTS += test-sys_types
1562 check_PROGRAMS += test-sys_types
1563 EXTRA_DIST += test-sys_types.c
1565 ## end gnulib module sys_types-tests
1567 ## begin gnulib module sys_wait-c++-tests
1570 TESTS += test-sys_wait-c++
1571 check_PROGRAMS += test-sys_wait-c++
1572 test_sys_wait_c___SOURCES = test-sys_wait-c++.cc
1574 EXTRA_DIST += test-sys_wait-c++.cc signature.h
1576 ## end gnulib module sys_wait-c++-tests
1578 ## begin gnulib module sys_wait-tests
1580 TESTS += test-sys_wait
1581 check_PROGRAMS += test-sys_wait
1582 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
1584 ## end gnulib module sys_wait-tests
1586 ## begin gnulib module test-framework-sh-tests
1588 TESTS += test-init.sh
1589 EXTRA_DIST += init.sh
1590 EXTRA_DIST += test-init.sh
1592 ## end gnulib module test-framework-sh-tests
1594 ## begin gnulib module time-c++-tests
1597 TESTS += test-time-c++
1598 check_PROGRAMS += test-time-c++
1599 test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc
1600 test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
1602 EXTRA_DIST += test-time-c++.cc test-time-c++2.cc signature.h
1604 ## end gnulib module time-c++-tests
1606 ## begin gnulib module time-tests
1609 check_PROGRAMS += test-time
1610 EXTRA_DIST += test-time.c
1612 ## end gnulib module time-tests
1614 ## begin gnulib module unistd-c++-tests
1617 TESTS += test-unistd-c++
1618 check_PROGRAMS += test-unistd-c++
1619 test_unistd_c___SOURCES = test-unistd-c++.cc
1620 test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET)
1622 EXTRA_DIST += test-unistd-c++.cc signature.h
1624 ## end gnulib module unistd-c++-tests
1626 ## begin gnulib module unistd-safer-tests
1628 TESTS += test-dup-safer
1629 check_PROGRAMS += test-dup-safer
1630 EXTRA_DIST += test-dup-safer.c macros.h
1632 ## end gnulib module unistd-safer-tests
1634 ## begin gnulib module unistd-tests
1636 TESTS += test-unistd
1637 check_PROGRAMS += test-unistd
1638 EXTRA_DIST += test-unistd.c
1640 ## end gnulib module unistd-tests
1642 ## begin gnulib module unsetenv
1645 EXTRA_DIST += unsetenv.c
1647 EXTRA_libtests_a_SOURCES += unsetenv.c
1649 ## end gnulib module unsetenv
1651 ## begin gnulib module unsetenv-tests
1653 TESTS += test-unsetenv
1654 check_PROGRAMS += test-unsetenv
1655 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1657 ## end gnulib module unsetenv-tests
1659 ## begin gnulib module update-copyright-tests
1661 TESTS += test-update-copyright.sh
1662 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1663 EXTRA_DIST += test-update-copyright.sh
1665 ## end gnulib module update-copyright-tests
1667 ## begin gnulib module vasnprintf-tests
1669 TESTS += test-vasnprintf
1670 check_PROGRAMS += test-vasnprintf
1672 EXTRA_DIST += test-vasnprintf.c macros.h
1674 ## end gnulib module vasnprintf-tests
1676 ## begin gnulib module vasprintf-posix-tests
1678 TESTS += test-vasprintf-posix
1679 check_PROGRAMS += test-vasprintf-posix
1681 EXTRA_DIST += test-vasprintf-posix.c minus-zero.h infinity.h nan.h macros.h
1683 ## end gnulib module vasprintf-posix-tests
1685 ## begin gnulib module vasprintf-tests
1687 TESTS += test-vasprintf
1688 check_PROGRAMS += test-vasprintf
1690 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1692 ## end gnulib module vasprintf-tests
1694 ## begin gnulib module vc-list-files-tests
1696 TESTS += test-vc-list-files-git.sh
1697 TESTS += test-vc-list-files-cvs.sh
1698 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1699 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
1701 ## end gnulib module vc-list-files-tests
1703 ## begin gnulib module verify-tests
1705 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1706 TESTS += test-verify test-verify.sh
1707 check_PROGRAMS += test-verify
1708 EXTRA_DIST += test-verify.c test-verify.sh
1710 ## end gnulib module verify-tests
1712 ## begin gnulib module version-etc-tests
1714 TESTS += test-version-etc.sh
1715 check_PROGRAMS += test-version-etc
1716 test_version_etc_LDADD = $(LDADD) @LIBINTL@
1717 EXTRA_DIST += test-version-etc.c test-version-etc.sh
1719 ## end gnulib module version-etc-tests
1721 ## begin gnulib module wchar-c++-tests
1724 TESTS += test-wchar-c++
1725 check_PROGRAMS += test-wchar-c++
1726 test_wchar_c___SOURCES = test-wchar-c++.cc
1727 test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
1729 EXTRA_DIST += test-wchar-c++.cc signature.h
1731 ## end gnulib module wchar-c++-tests
1733 ## begin gnulib module wchar-tests
1736 check_PROGRAMS += test-wchar
1737 EXTRA_DIST += test-wchar.c
1739 ## end gnulib module wchar-tests
1741 ## begin gnulib module wcrtomb-tests
1745 test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
1746 test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
1747 TESTS_ENVIRONMENT += \
1748 LOCALE_FR='@LOCALE_FR@' \
1749 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1750 LOCALE_JA='@LOCALE_JA@' \
1751 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1752 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
1754 EXTRA_DIST += test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32.c signature.h macros.h
1756 ## end gnulib module wcrtomb-tests
1758 ## begin gnulib module wctob
1761 EXTRA_DIST += wctob.c
1763 EXTRA_libtests_a_SOURCES += wctob.c
1765 ## end gnulib module wctob
1767 ## begin gnulib module wctomb
1770 EXTRA_DIST += wctomb-impl.h wctomb.c
1772 EXTRA_libtests_a_SOURCES += wctomb.c
1774 ## end gnulib module wctomb
1776 ## begin gnulib module wctype-h-c++-tests
1779 TESTS += test-wctype-h-c++
1780 check_PROGRAMS += test-wctype-h-c++
1781 test_wctype_h_c___SOURCES = test-wctype-h-c++.cc
1782 test_wctype_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
1784 EXTRA_DIST += test-wctype-h-c++.cc signature.h
1786 ## end gnulib module wctype-h-c++-tests
1788 ## begin gnulib module wctype-h-tests
1790 TESTS += test-wctype-h
1791 check_PROGRAMS += test-wctype-h
1792 EXTRA_DIST += test-wctype-h.c macros.h
1794 ## end gnulib module wctype-h-tests
1796 ## begin gnulib module write
1799 EXTRA_DIST += write.c
1801 EXTRA_libtests_a_SOURCES += write.c
1803 ## end gnulib module write
1805 ## begin gnulib module write-tests
1808 check_PROGRAMS += test-write
1809 EXTRA_DIST += test-write.c signature.h macros.h
1811 ## end gnulib module write-tests
1813 ## begin gnulib module xalloc-die-tests
1815 TESTS += test-xalloc-die.sh
1816 check_PROGRAMS += test-xalloc-die
1817 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
1818 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
1820 ## end gnulib module xalloc-die-tests
1822 ## begin gnulib module xvasprintf-tests
1824 TESTS += test-xvasprintf
1825 check_PROGRAMS += test-xvasprintf
1826 test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
1828 EXTRA_DIST += test-xvasprintf.c macros.h
1830 ## end gnulib module xvasprintf-tests
1832 # Clean up after Solaris cc.
1836 mostlyclean-local: mostlyclean-generic
1837 @for dir in '' $(MOSTLYCLEANDIRS); do \
1838 if test -n "$$dir" && test -d $$dir; then \
1839 echo "rmdir $$dir"; rmdir $$dir; \