1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2015 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 subdir-objects
35 check_LIBRARIES = libtests.a
39 MOSTLYCLEANFILES = core *.stackdump
43 MAINTAINERCLEANFILES =
46 -D@gltests_WITNESS@=1 \
49 -I../gnulib-lib -I$(srcdir)/../gnulib-lib
51 LDADD = libtests.a ../gnulib-lib/libgettextlib.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 acl-tests
64 test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \
65 test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh
66 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
67 check_PROGRAMS += test-set-mode-acl test-copy-acl test-sameacls
68 test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
69 test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
70 test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
71 EXTRA_DIST += test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh test-set-mode-acl.c test-copy-acl.c test-sameacls.c macros.h
73 ## end gnulib module acl-tests
75 ## begin gnulib module alignof-tests
78 check_PROGRAMS += test-alignof
80 EXTRA_DIST += test-alignof.c
82 ## end gnulib module alignof-tests
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 areadlink-tests
95 TESTS += test-areadlink
96 check_PROGRAMS += test-areadlink
97 EXTRA_DIST += test-areadlink.h test-areadlink.c macros.h
99 ## end gnulib module areadlink-tests
101 ## begin gnulib module argmatch-tests
103 TESTS += test-argmatch
104 check_PROGRAMS += test-argmatch
105 test_argmatch_LDADD = $(LDADD) @LIBINTL@
107 EXTRA_DIST += test-argmatch.c macros.h
109 ## end gnulib module argmatch-tests
111 ## begin gnulib module array-list-tests
113 TESTS += test-array_list
114 check_PROGRAMS += test-array_list
116 EXTRA_DIST += test-array_list.c macros.h
118 ## end gnulib module array-list-tests
120 ## begin gnulib module atexit-tests
122 TESTS += test-atexit.sh
123 check_PROGRAMS += test-atexit
124 EXTRA_DIST += signature.h test-atexit.sh test-atexit.c
126 ## end gnulib module atexit-tests
128 ## begin gnulib module binary-io-tests
130 TESTS += test-binary-io.sh
131 check_PROGRAMS += test-binary-io
133 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
135 ## end gnulib module binary-io-tests
137 ## begin gnulib module btowc
140 EXTRA_DIST += btowc.c
142 EXTRA_libtests_a_SOURCES += btowc.c
144 ## end gnulib module btowc
146 ## begin gnulib module btowc-tests
148 TESTS += test-btowc1.sh test-btowc2.sh
149 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
150 check_PROGRAMS += test-btowc
152 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
154 ## end gnulib module btowc-tests
156 ## begin gnulib module byteswap-tests
158 TESTS += test-byteswap
159 check_PROGRAMS += test-byteswap
160 EXTRA_DIST += test-byteswap.c macros.h
162 ## end gnulib module byteswap-tests
164 ## begin gnulib module c-ctype-tests
166 TESTS += test-c-ctype
167 check_PROGRAMS += test-c-ctype
168 EXTRA_DIST += test-c-ctype.c macros.h
170 ## end gnulib module c-ctype-tests
172 ## begin gnulib module c-strcase-tests
174 TESTS += test-c-strcase.sh
175 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
176 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
177 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
179 ## end gnulib module c-strcase-tests
181 ## begin gnulib module c-strcasestr-tests
183 TESTS += test-c-strcasestr
184 check_PROGRAMS += test-c-strcasestr
186 EXTRA_DIST += test-c-strcasestr.c macros.h
188 ## end gnulib module c-strcasestr-tests
190 ## begin gnulib module c-strstr-tests
192 TESTS += test-c-strstr
193 check_PROGRAMS += test-c-strstr
195 EXTRA_DIST += test-c-strstr.c macros.h
197 ## end gnulib module c-strstr-tests
199 ## begin gnulib module canonicalize-lgpl-tests
201 TESTS += test-canonicalize-lgpl
202 check_PROGRAMS += test-canonicalize-lgpl
203 EXTRA_DIST += test-canonicalize-lgpl.c signature.h macros.h
205 ## end gnulib module canonicalize-lgpl-tests
207 ## begin gnulib module cloexec-tests
209 TESTS += test-cloexec
210 check_PROGRAMS += test-cloexec
211 EXTRA_DIST += test-cloexec.c macros.h
213 ## end gnulib module cloexec-tests
215 ## begin gnulib module close-tests
218 check_PROGRAMS += test-close
219 EXTRA_DIST += test-close.c signature.h macros.h
221 ## end gnulib module close-tests
223 ## begin gnulib module copy-file-tests
225 TESTS += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh
226 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
227 check_PROGRAMS += test-copy-file
228 test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
229 EXTRA_DIST += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh test-copy-file.c macros.h
231 ## end gnulib module copy-file-tests
233 ## begin gnulib module ctype
235 BUILT_SOURCES += ctype.h
237 # We need the following in order to create <ctype.h> when the system
238 # doesn't have one that works with the given compiler.
239 ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
240 $(AM_V_GEN)rm -f $@-t $@ && \
241 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
242 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
243 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
244 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
245 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
246 -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
247 -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
248 -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
249 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
250 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
251 < $(srcdir)/ctype.in.h; \
254 MOSTLYCLEANFILES += ctype.h ctype.h-t
256 EXTRA_DIST += ctype.in.h
258 ## end gnulib module ctype
260 ## begin gnulib module ctype-tests
263 check_PROGRAMS += test-ctype
264 EXTRA_DIST += test-ctype.c
266 ## end gnulib module ctype-tests
268 ## begin gnulib module dirent-tests
271 check_PROGRAMS += test-dirent
272 EXTRA_DIST += test-dirent.c
274 ## end gnulib module dirent-tests
276 ## begin gnulib module dup
281 EXTRA_libtests_a_SOURCES += dup.c
283 ## end gnulib module dup
285 ## begin gnulib module dup-tests
288 check_PROGRAMS += test-dup
289 EXTRA_DIST += test-dup.c signature.h macros.h
291 ## end gnulib module dup-tests
293 ## begin gnulib module dup2-tests
296 check_PROGRAMS += test-dup2
297 EXTRA_DIST += test-dup2.c signature.h macros.h
299 ## end gnulib module dup2-tests
301 ## begin gnulib module environ-tests
303 TESTS += test-environ
304 check_PROGRAMS += test-environ
306 EXTRA_DIST += test-environ.c
308 ## end gnulib module environ-tests
310 ## begin gnulib module errno-tests
313 check_PROGRAMS += test-errno
315 EXTRA_DIST += test-errno.c
317 ## end gnulib module errno-tests
319 ## begin gnulib module fabs-tests
322 check_PROGRAMS += test-fabs
323 test_fabs_SOURCES = test-fabs.c randomd.c
324 test_fabs_LDADD = $(LDADD) @FABS_LIBM@
325 EXTRA_DIST += test-fabs.c test-fabs.h signature.h minus-zero.h macros.h randomd.c
327 ## end gnulib module fabs-tests
329 ## begin gnulib module fcntl-h-tests
331 TESTS += test-fcntl-h
332 check_PROGRAMS += test-fcntl-h
333 EXTRA_DIST += test-fcntl-h.c
335 ## end gnulib module fcntl-h-tests
337 ## begin gnulib module fcntl-tests
340 check_PROGRAMS += test-fcntl
341 EXTRA_DIST += test-fcntl.c signature.h macros.h
343 ## end gnulib module fcntl-tests
345 ## begin gnulib module fdopen
348 EXTRA_DIST += fdopen.c
350 EXTRA_libtests_a_SOURCES += fdopen.c
352 ## end gnulib module fdopen
354 ## begin gnulib module fdopen-tests
357 check_PROGRAMS += test-fdopen
358 EXTRA_DIST += test-fdopen.c signature.h macros.h
360 ## end gnulib module fdopen-tests
362 ## begin gnulib module fgetc-tests
365 check_PROGRAMS += test-fgetc
366 EXTRA_DIST += test-fgetc.c signature.h macros.h
368 ## end gnulib module fgetc-tests
370 ## begin gnulib module file-has-acl
372 libtests_a_SOURCES += file-has-acl.c
374 ## end gnulib module file-has-acl
376 ## begin gnulib module file-has-acl-tests
379 test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh
380 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
381 check_PROGRAMS += test-file-has-acl
382 test_file_has_acl_LDADD = $(LDADD) $(LIB_HAS_ACL)
383 EXTRA_DIST += test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh test-file-has-acl.c macros.h
385 ## end gnulib module file-has-acl-tests
387 ## begin gnulib module float-tests
390 check_PROGRAMS += test-float
391 EXTRA_DIST += test-float.c macros.h
393 ## end gnulib module float-tests
395 ## begin gnulib module fnmatch-tests
397 TESTS += test-fnmatch
398 check_PROGRAMS += test-fnmatch
399 EXTRA_DIST += test-fnmatch.c signature.h macros.h
401 ## end gnulib module fnmatch-tests
403 ## begin gnulib module fopen-tests
406 check_PROGRAMS += test-fopen
408 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
410 ## end gnulib module fopen-tests
412 ## begin gnulib module fpucw
415 EXTRA_DIST += fpucw.h
417 ## end gnulib module fpucw
419 ## begin gnulib module fputc-tests
422 check_PROGRAMS += test-fputc
423 EXTRA_DIST += test-fputc.c signature.h macros.h
425 ## end gnulib module fputc-tests
427 ## begin gnulib module fread-tests
430 check_PROGRAMS += test-fread
431 EXTRA_DIST += test-fread.c signature.h macros.h
433 ## end gnulib module fread-tests
435 ## begin gnulib module fstat-tests
438 check_PROGRAMS += test-fstat
439 EXTRA_DIST += test-fstat.c signature.h macros.h
441 ## end gnulib module fstat-tests
443 ## begin gnulib module fstrcmp-tests
445 TESTS += test-fstrcmp
446 check_PROGRAMS += test-fstrcmp
447 test_fstrcmp_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
448 EXTRA_DIST += test-fstrcmp.c macros.h
450 ## end gnulib module fstrcmp-tests
452 ## begin gnulib module ftell
455 EXTRA_DIST += ftell.c
457 EXTRA_libtests_a_SOURCES += ftell.c
459 ## end gnulib module ftell
461 ## begin gnulib module ftell-tests
463 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
464 check_PROGRAMS += test-ftell test-ftell3
465 MOSTLYCLEANFILES += t-ftell3.tmp
466 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
468 ## end gnulib module ftell-tests
470 ## begin gnulib module ftello
473 EXTRA_DIST += ftello.c stdio-impl.h
475 EXTRA_libtests_a_SOURCES += ftello.c
477 ## end gnulib module ftello
479 ## begin gnulib module ftello-tests
481 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
482 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
483 MOSTLYCLEANFILES += t-ftello3.tmp
484 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
486 ## end gnulib module ftello-tests
488 ## begin gnulib module fwrite-tests
491 check_PROGRAMS += test-fwrite
492 EXTRA_DIST += test-fwrite.c signature.h macros.h
494 ## end gnulib module fwrite-tests
496 ## begin gnulib module getcwd-lgpl
499 EXTRA_DIST += getcwd-lgpl.c
501 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
503 ## end gnulib module getcwd-lgpl
505 ## begin gnulib module getcwd-lgpl-tests
507 TESTS += test-getcwd-lgpl
508 check_PROGRAMS += test-getcwd-lgpl
509 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
510 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
512 ## end gnulib module getcwd-lgpl-tests
514 ## begin gnulib module getdelim-tests
516 TESTS += test-getdelim
517 check_PROGRAMS += test-getdelim
518 MOSTLYCLEANFILES += test-getdelim.txt
519 EXTRA_DIST += test-getdelim.c signature.h macros.h
521 ## end gnulib module getdelim-tests
523 ## begin gnulib module getdtablesize-tests
525 TESTS += test-getdtablesize
526 check_PROGRAMS += test-getdtablesize
527 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
529 ## end gnulib module getdtablesize-tests
531 ## begin gnulib module getline-tests
533 TESTS += test-getline
534 check_PROGRAMS += test-getline
535 MOSTLYCLEANFILES += test-getline.txt
536 EXTRA_DIST += test-getline.c signature.h macros.h
538 ## end gnulib module getline-tests
540 ## begin gnulib module getopt-posix-tests
543 check_PROGRAMS += test-getopt
544 test_getopt_LDADD = $(LDADD) $(LIBINTL)
545 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
547 ## end gnulib module getopt-posix-tests
549 ## begin gnulib module getpagesize
552 EXTRA_DIST += getpagesize.c
554 EXTRA_libtests_a_SOURCES += getpagesize.c
556 ## end gnulib module getpagesize
558 ## begin gnulib module gettimeofday-tests
560 TESTS += test-gettimeofday
561 check_PROGRAMS += test-gettimeofday
563 EXTRA_DIST += signature.h test-gettimeofday.c
565 ## end gnulib module gettimeofday-tests
567 ## begin gnulib module iconv-h-tests
569 TESTS += test-iconv-h
570 check_PROGRAMS += test-iconv-h
571 EXTRA_DIST += test-iconv-h.c
573 ## end gnulib module iconv-h-tests
575 ## begin gnulib module iconv-tests
578 check_PROGRAMS += test-iconv
579 test_iconv_LDADD = $(LDADD) @LIBICONV@
581 EXTRA_DIST += test-iconv.c signature.h macros.h
583 ## end gnulib module iconv-tests
585 ## begin gnulib module ignore-value-tests
587 TESTS += test-ignore-value
588 check_PROGRAMS += test-ignore-value
589 EXTRA_DIST += test-ignore-value.c
591 ## end gnulib module ignore-value-tests
593 ## begin gnulib module intprops-tests
595 TESTS += test-intprops
596 check_PROGRAMS += test-intprops
597 EXTRA_DIST += test-intprops.c macros.h
599 ## end gnulib module intprops-tests
601 ## begin gnulib module inttypes-incomplete
603 BUILT_SOURCES += inttypes.h
605 # We need the following in order to create <inttypes.h> when the system
606 # doesn't have one that works with the given compiler.
607 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
608 $(AM_V_GEN)rm -f $@-t $@ && \
609 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
610 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
611 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
612 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
613 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
614 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
615 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
616 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
617 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
618 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
619 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
620 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
621 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
622 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
623 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
624 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
625 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
626 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
627 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
628 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
629 -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
630 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
631 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
632 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
633 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
634 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
635 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
636 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
637 < $(srcdir)/inttypes.in.h; \
640 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
642 EXTRA_DIST += inttypes.in.h
644 ## end gnulib module inttypes-incomplete
646 ## begin gnulib module inttypes-tests
648 TESTS += test-inttypes
649 check_PROGRAMS += test-inttypes
650 EXTRA_DIST += test-inttypes.c
652 ## end gnulib module inttypes-tests
654 ## begin gnulib module isinf-tests
657 check_PROGRAMS += test-isinf
658 test_isinf_LDADD = $(LDADD) @ISINF_LIBM@
659 EXTRA_DIST += test-isinf.c infinity.h macros.h
661 ## end gnulib module isinf-tests
663 ## begin gnulib module isnan-tests
666 check_PROGRAMS += test-isnan
667 test_isnan_LDADD = $(LDADD) @ISNAN_LIBM@
669 EXTRA_DIST += test-isnan.c minus-zero.h infinity.h nan.h macros.h
671 ## end gnulib module isnan-tests
673 ## begin gnulib module isnand-nolibm-tests
675 TESTS += test-isnand-nolibm
676 check_PROGRAMS += test-isnand-nolibm
678 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
680 ## end gnulib module isnand-nolibm-tests
682 ## begin gnulib module isnand-tests
685 check_PROGRAMS += test-isnand
686 test_isnand_LDADD = $(LDADD) @ISNAND_LIBM@
688 EXTRA_DIST += test-isnand.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
690 ## end gnulib module isnand-tests
692 ## begin gnulib module isnanf-nolibm-tests
694 TESTS += test-isnanf-nolibm
695 check_PROGRAMS += test-isnanf-nolibm
697 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
699 ## end gnulib module isnanf-nolibm-tests
701 ## begin gnulib module isnanf-tests
704 check_PROGRAMS += test-isnanf
705 test_isnanf_LDADD = $(LDADD) @ISNANF_LIBM@
707 EXTRA_DIST += test-isnanf.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
709 ## end gnulib module isnanf-tests
711 ## begin gnulib module isnanl-nolibm-tests
713 TESTS += test-isnanl-nolibm
714 check_PROGRAMS += test-isnanl-nolibm
716 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
718 ## end gnulib module isnanl-nolibm-tests
720 ## begin gnulib module isnanl-tests
723 check_PROGRAMS += test-isnanl
724 test_isnanl_LDADD = $(LDADD) @ISNANL_LIBM@
726 EXTRA_DIST += test-isnanl.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
728 ## end gnulib module isnanl-tests
730 ## begin gnulib module iswblank-tests
732 TESTS += test-iswblank
733 check_PROGRAMS += test-iswblank
734 EXTRA_DIST += test-iswblank.c macros.h
736 ## end gnulib module iswblank-tests
738 ## begin gnulib module langinfo-tests
740 TESTS += test-langinfo
741 check_PROGRAMS += test-langinfo
742 EXTRA_DIST += test-langinfo.c
744 ## end gnulib module langinfo-tests
746 ## begin gnulib module linkedhash-list-tests
748 TESTS += test-linkedhash_list
749 check_PROGRAMS += test-linkedhash_list
750 EXTRA_DIST += test-linkedhash_list.c macros.h
752 ## end gnulib module linkedhash-list-tests
754 ## begin gnulib module locale-tests
757 check_PROGRAMS += test-locale
758 EXTRA_DIST += test-locale.c
760 ## end gnulib module locale-tests
762 ## begin gnulib module localename-tests
764 TESTS += test-localename
765 check_PROGRAMS += test-localename
766 test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
768 EXTRA_DIST += test-localename.c macros.h
770 ## end gnulib module localename-tests
772 ## begin gnulib module lock-tests
775 check_PROGRAMS += test-lock
776 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
777 EXTRA_DIST += test-lock.c
779 ## end gnulib module lock-tests
781 ## begin gnulib module log10-tests
784 check_PROGRAMS += test-log10
785 test_log10_SOURCES = test-log10.c randomd.c
786 test_log10_LDADD = $(LDADD) @LOG10_LIBM@
787 EXTRA_DIST += test-log10.c test-log10.h minus-zero.h signature.h macros.h randomd.c
789 ## end gnulib module log10-tests
791 ## begin gnulib module lseek
794 EXTRA_DIST += lseek.c
796 EXTRA_libtests_a_SOURCES += lseek.c
798 ## end gnulib module lseek
800 ## begin gnulib module lseek-tests
802 TESTS += test-lseek.sh
803 check_PROGRAMS += test-lseek
804 EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
806 ## end gnulib module lseek-tests
808 ## begin gnulib module lstat-tests
811 check_PROGRAMS += test-lstat
812 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
814 ## end gnulib module lstat-tests
816 ## begin gnulib module malloca-tests
818 TESTS += test-malloca
819 check_PROGRAMS += test-malloca
821 EXTRA_DIST += test-malloca.c
823 ## end gnulib module malloca-tests
825 ## begin gnulib module math-tests
828 check_PROGRAMS += test-math
829 EXTRA_DIST += test-math.c macros.h
831 ## end gnulib module math-tests
833 ## begin gnulib module mbrtowc-tests
836 test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
837 test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
838 test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
839 TESTS_ENVIRONMENT += \
840 LOCALE_FR='@LOCALE_FR@' \
841 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
842 LOCALE_JA='@LOCALE_JA@' \
843 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
844 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
846 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
848 ## end gnulib module mbrtowc-tests
850 ## begin gnulib module mbsinit-tests
852 TESTS += test-mbsinit.sh
853 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
854 check_PROGRAMS += test-mbsinit
856 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
858 ## end gnulib module mbsinit-tests
860 ## begin gnulib module mbsrtowcs-tests
862 TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh
863 TESTS_ENVIRONMENT += \
864 LOCALE_FR='@LOCALE_FR@' \
865 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
866 LOCALE_JA='@LOCALE_JA@' \
867 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
868 check_PROGRAMS += test-mbsrtowcs
870 EXTRA_DIST += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh test-mbsrtowcs.c signature.h macros.h
872 ## end gnulib module mbsrtowcs-tests
874 ## begin gnulib module mbsstr-tests
876 TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
877 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
878 check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
880 EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
882 ## end gnulib module mbsstr-tests
884 ## begin gnulib module mbtowc
887 EXTRA_DIST += mbtowc-impl.h mbtowc.c
889 EXTRA_libtests_a_SOURCES += mbtowc.c
891 ## end gnulib module mbtowc
893 ## begin gnulib module memchr-tests
896 check_PROGRAMS += test-memchr
897 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
899 ## end gnulib module memchr-tests
901 ## begin gnulib module moo-tests
903 test-moo-root.h test-moo-root.c root.priv.h root.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-root.oo.c
904 $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-root.oo.c $(srcdir)/test-moo-root.oo.h
906 test-moo-sub1.h test-moo-sub1.c sub1.priv.h sub1.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-sub1.oo.h test-moo-sub1.oo.c
907 $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-sub1.oo.c $(srcdir)/test-moo-sub1.oo.h $(srcdir)/test-moo-root.oo.h
909 test-moo-sub2.h test-moo-sub2.c sub2.priv.h sub2.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-sub1.oo.h test-moo-sub2.oo.h test-moo-sub2.oo.c
910 $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-sub2.oo.c $(srcdir)/test-moo-sub2.oo.h $(srcdir)/test-moo-sub1.oo.h $(srcdir)/test-moo-root.oo.h
912 test-moo-aroot.h test-moo-aroot.c aroot.priv.h aroot.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-aroot.oo.h test-moo-aroot.oo.c
913 $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-aroot.oo.c $(srcdir)/test-moo-aroot.oo.h
915 test-moo-asub1.h test-moo-asub1.c asub1.priv.h asub1.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-aroot.oo.h test-moo-asub1.oo.h test-moo-asub1.oo.c
916 $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-asub1.oo.c $(srcdir)/test-moo-asub1.oo.h $(srcdir)/test-moo-aroot.oo.h
918 EXTRA_DIST += test-moo-root.oo.h test-moo-root.oo.c test-moo-sub1.oo.h test-moo-sub1.oo.c test-moo-sub2.oo.h test-moo-sub2.oo.c test-moo-aroot.oo.h test-moo-aroot.oo.c test-moo-asub1.oo.h test-moo-asub1.oo.c test-moo-assign.c
920 ## end gnulib module moo-tests
922 ## begin gnulib module open-tests
925 check_PROGRAMS += test-open
926 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
928 ## end gnulib module open-tests
930 ## begin gnulib module pathmax-tests
932 TESTS += test-pathmax
933 check_PROGRAMS += test-pathmax
934 EXTRA_DIST += test-pathmax.c
936 ## end gnulib module pathmax-tests
938 ## begin gnulib module pipe-filter-ii-tests
940 TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh
941 check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main test-pipe-filter-ii2-child
942 test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@
943 test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@
944 EXTRA_DIST += test-pipe-filter-ii1.sh test-pipe-filter-ii1.c test-vasnprintf-posix.c test-pipe-filter-ii2.sh test-pipe-filter-ii2-main.c test-pipe-filter-ii2-child.c macros.h
946 ## end gnulib module pipe-filter-ii-tests
948 ## begin gnulib module pipe2-tests
951 check_PROGRAMS += test-pipe2
952 test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
953 EXTRA_DIST += test-pipe2.c signature.h macros.h
955 ## end gnulib module pipe2-tests
957 ## begin gnulib module posix_spawn_file_actions_addclose-tests
959 TESTS += test-posix_spawn_file_actions_addclose
960 check_PROGRAMS += test-posix_spawn_file_actions_addclose
961 EXTRA_DIST += test-posix_spawn_file_actions_addclose.c signature.h macros.h
963 ## end gnulib module posix_spawn_file_actions_addclose-tests
965 ## begin gnulib module posix_spawn_file_actions_adddup2-tests
967 TESTS += test-posix_spawn_file_actions_adddup2
968 check_PROGRAMS += test-posix_spawn_file_actions_adddup2
969 EXTRA_DIST += test-posix_spawn_file_actions_adddup2.c signature.h macros.h
971 ## end gnulib module posix_spawn_file_actions_adddup2-tests
973 ## begin gnulib module posix_spawn_file_actions_addopen-tests
975 TESTS += test-posix_spawn_file_actions_addopen
976 check_PROGRAMS += test-posix_spawn_file_actions_addopen
977 EXTRA_DIST += test-posix_spawn_file_actions_addopen.c signature.h macros.h
979 ## end gnulib module posix_spawn_file_actions_addopen-tests
981 ## begin gnulib module posix_spawnp-tests
983 if POSIX_SPAWN_PORTED
984 TESTS += test-posix_spawn1 test-posix_spawn2
985 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
987 BUILT_SOURCES += test-posix_spawn1.sh
988 test-posix_spawn1.sh: test-posix_spawn1.in.sh
989 $(AM_V_GEN)rm -f $@-t $@ && \
990 cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
992 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
994 BUILT_SOURCES += test-posix_spawn2.sh
995 test-posix_spawn2.sh: test-posix_spawn2.in.sh
996 $(AM_V_GEN)rm -f $@-t $@ && \
997 cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
999 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
1001 EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
1003 ## end gnulib module posix_spawnp-tests
1005 ## begin gnulib module pow-tests
1008 check_PROGRAMS += test-pow
1009 test_pow_LDADD = $(LDADD) @POW_LIBM@
1010 EXTRA_DIST += test-pow.c signature.h macros.h
1012 ## end gnulib module pow-tests
1014 ## begin gnulib module putenv
1017 EXTRA_DIST += putenv.c
1019 EXTRA_libtests_a_SOURCES += putenv.c
1021 ## end gnulib module putenv
1023 ## begin gnulib module quotearg-simple-tests
1025 TESTS += test-quotearg-simple
1026 check_PROGRAMS += test-quotearg-simple
1027 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
1028 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
1030 ## end gnulib module quotearg-simple-tests
1032 ## begin gnulib module raise-tests
1035 check_PROGRAMS += test-raise
1036 EXTRA_DIST += test-raise.c signature.h macros.h
1038 ## end gnulib module raise-tests
1040 ## begin gnulib module rawmemchr-tests
1042 TESTS += test-rawmemchr
1043 check_PROGRAMS += test-rawmemchr
1044 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
1046 ## end gnulib module rawmemchr-tests
1048 ## begin gnulib module read-file
1050 libtests_a_SOURCES += read-file.c
1052 EXTRA_DIST += read-file.h
1054 ## end gnulib module read-file
1056 ## begin gnulib module read-file-tests
1058 TESTS += test-read-file
1059 check_PROGRAMS += test-read-file
1060 EXTRA_DIST += test-read-file.c
1062 ## end gnulib module read-file-tests
1064 ## begin gnulib module read-tests
1067 check_PROGRAMS += test-read
1068 EXTRA_DIST += test-read.c signature.h macros.h
1070 ## end gnulib module read-tests
1072 ## begin gnulib module readlink-tests
1074 TESTS += test-readlink
1075 check_PROGRAMS += test-readlink
1076 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
1078 ## end gnulib module readlink-tests
1080 ## begin gnulib module rmdir-tests
1083 check_PROGRAMS += test-rmdir
1084 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
1086 ## end gnulib module rmdir-tests
1088 ## begin gnulib module same-inode
1091 EXTRA_DIST += same-inode.h
1093 ## end gnulib module same-inode
1095 ## begin gnulib module sched-tests
1098 check_PROGRAMS += test-sched
1099 EXTRA_DIST += test-sched.c
1101 ## end gnulib module sched-tests
1103 ## begin gnulib module setenv-tests
1105 TESTS += test-setenv
1106 check_PROGRAMS += test-setenv
1107 EXTRA_DIST += test-setenv.c signature.h macros.h
1109 ## end gnulib module setenv-tests
1111 ## begin gnulib module setlocale-tests
1113 TESTS += test-setlocale1.sh test-setlocale2.sh
1114 TESTS_ENVIRONMENT += \
1115 LOCALE_FR='@LOCALE_FR@' \
1116 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1117 LOCALE_JA='@LOCALE_JA@' \
1118 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1119 check_PROGRAMS += test-setlocale1 test-setlocale2
1120 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
1122 ## end gnulib module setlocale-tests
1124 ## begin gnulib module sh-quote-tests
1126 TESTS += test-sh-quote
1127 check_PROGRAMS += test-sh-quote
1128 test_sh_quote_LDADD = $(LDADD) @LIBINTL@
1129 EXTRA_DIST += test-sh-quote.c
1131 ## end gnulib module sh-quote-tests
1133 ## begin gnulib module sigaction-tests
1135 TESTS += test-sigaction
1136 check_PROGRAMS += test-sigaction
1137 EXTRA_DIST += test-sigaction.c signature.h macros.h
1139 ## end gnulib module sigaction-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-pipe-tests
1309 TESTS += test-spawn-pipe.sh
1310 check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
1311 test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@
1312 # The test-spawn-pipe-child program must be a real executable, not a libtool
1313 # wrapper script, and should link against as few libraries as possible.
1314 # Therefore don't link it against any libraries other than -lc.
1315 test_spawn_pipe_child_LDADD =
1316 EXTRA_DIST += test-spawn-pipe.sh test-spawn-pipe-main.c test-spawn-pipe-child.c macros.h
1318 ## end gnulib module spawn-pipe-tests
1320 ## begin gnulib module spawn-tests
1323 check_PROGRAMS += test-spawn
1324 EXTRA_DIST += test-spawn.c
1326 ## end gnulib module spawn-tests
1328 ## begin gnulib module stat-tests
1331 check_PROGRAMS += test-stat
1332 test_stat_LDADD = $(LDADD) $(LIBINTL)
1333 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1335 ## end gnulib module stat-tests
1337 ## begin gnulib module stdalign
1339 BUILT_SOURCES += $(STDALIGN_H)
1341 # We need the following in order to create <stdalign.h> when the system
1342 # doesn't have one that works.
1343 if GL_GENERATE_STDALIGN_H
1344 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1345 $(AM_V_GEN)rm -f $@-t $@ && \
1346 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1347 cat $(srcdir)/stdalign.in.h; \
1351 stdalign.h: $(top_builddir)/config.status
1354 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1356 EXTRA_DIST += stdalign.in.h
1358 ## end gnulib module stdalign
1360 ## begin gnulib module stdalign-tests
1362 TESTS += test-stdalign
1363 check_PROGRAMS += test-stdalign
1364 EXTRA_DIST += test-stdalign.c macros.h
1366 ## end gnulib module stdalign-tests
1368 ## begin gnulib module stdbool-tests
1370 TESTS += test-stdbool
1371 check_PROGRAMS += test-stdbool
1372 EXTRA_DIST += test-stdbool.c
1374 ## end gnulib module stdbool-tests
1376 ## begin gnulib module stddef-tests
1378 TESTS += test-stddef
1379 check_PROGRAMS += test-stddef
1380 EXTRA_DIST += test-stddef.c
1382 ## end gnulib module stddef-tests
1384 ## begin gnulib module stdint-tests
1386 TESTS += test-stdint
1387 check_PROGRAMS += test-stdint
1388 EXTRA_DIST += test-stdint.c
1390 ## end gnulib module stdint-tests
1392 ## begin gnulib module stdio-tests
1395 check_PROGRAMS += test-stdio
1396 EXTRA_DIST += test-stdio.c
1398 ## end gnulib module stdio-tests
1400 ## begin gnulib module stdlib-tests
1402 TESTS += test-stdlib
1403 check_PROGRAMS += test-stdlib
1404 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1406 ## end gnulib module stdlib-tests
1408 ## begin gnulib module strchrnul-tests
1410 TESTS += test-strchrnul
1411 check_PROGRAMS += test-strchrnul
1412 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1414 ## end gnulib module strchrnul-tests
1416 ## begin gnulib module strerror-tests
1418 TESTS += test-strerror
1419 check_PROGRAMS += test-strerror
1420 EXTRA_DIST += test-strerror.c signature.h macros.h
1422 ## end gnulib module strerror-tests
1424 ## begin gnulib module striconv-tests
1426 TESTS += test-striconv
1427 check_PROGRAMS += test-striconv
1428 test_striconv_LDADD = $(LDADD) @LIBICONV@
1430 EXTRA_DIST += test-striconv.c macros.h
1432 ## end gnulib module striconv-tests
1434 ## begin gnulib module striconveh-tests
1436 TESTS += test-striconveh
1437 check_PROGRAMS += test-striconveh
1438 test_striconveh_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1440 EXTRA_DIST += test-striconveh.c macros.h
1442 ## end gnulib module striconveh-tests
1444 ## begin gnulib module striconveha-tests
1446 TESTS += test-striconveha
1447 check_PROGRAMS += test-striconveha
1448 test_striconveha_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1450 EXTRA_DIST += test-striconveha.c macros.h
1452 ## end gnulib module striconveha-tests
1454 ## begin gnulib module string-tests
1456 TESTS += test-string
1457 check_PROGRAMS += test-string
1458 EXTRA_DIST += test-string.c
1460 ## end gnulib module string-tests
1462 ## begin gnulib module strnlen-tests
1464 TESTS += test-strnlen
1465 check_PROGRAMS += test-strnlen
1466 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1468 ## end gnulib module strnlen-tests
1470 ## begin gnulib module strstr-tests
1472 TESTS += test-strstr
1473 check_PROGRAMS += test-strstr
1474 EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
1476 ## end gnulib module strstr-tests
1478 ## begin gnulib module strtol-tests
1480 TESTS += test-strtol
1481 check_PROGRAMS += test-strtol
1482 EXTRA_DIST += test-strtol.c signature.h macros.h
1484 ## end gnulib module strtol-tests
1486 ## begin gnulib module strtoul-tests
1488 TESTS += test-strtoul
1489 check_PROGRAMS += test-strtoul
1490 EXTRA_DIST += test-strtoul.c signature.h macros.h
1492 ## end gnulib module strtoul-tests
1494 ## begin gnulib module symlink
1497 EXTRA_DIST += symlink.c
1499 EXTRA_libtests_a_SOURCES += symlink.c
1501 ## end gnulib module symlink
1503 ## begin gnulib module symlink-tests
1505 TESTS += test-symlink
1506 check_PROGRAMS += test-symlink
1507 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1509 ## end gnulib module symlink-tests
1511 ## begin gnulib module sys_select-tests
1513 TESTS += test-sys_select
1514 check_PROGRAMS += test-sys_select
1515 EXTRA_DIST += test-sys_select.c signature.h
1517 ## end gnulib module sys_select-tests
1519 ## begin gnulib module sys_stat-tests
1521 TESTS += test-sys_stat
1522 check_PROGRAMS += test-sys_stat
1523 EXTRA_DIST += test-sys_stat.c
1525 ## end gnulib module sys_stat-tests
1527 ## begin gnulib module sys_time-tests
1529 TESTS += test-sys_time
1530 check_PROGRAMS += test-sys_time
1531 EXTRA_DIST += test-sys_time.c
1533 ## end gnulib module sys_time-tests
1535 ## begin gnulib module sys_types-tests
1537 TESTS += test-sys_types
1538 check_PROGRAMS += test-sys_types
1539 EXTRA_DIST += test-sys_types.c
1541 ## end gnulib module sys_types-tests
1543 ## begin gnulib module sys_wait-tests
1545 TESTS += test-sys_wait
1546 check_PROGRAMS += test-sys_wait
1547 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
1549 ## end gnulib module sys_wait-tests
1551 ## begin gnulib module term-ostream-tests
1553 TESTS += test-term-ostream-xterm
1554 TESTS_ENVIRONMENT += srcdir='$(srcdir)'
1555 check_PROGRAMS += test-term-ostream
1556 test_term_ostream_LDADD = $(LIBTERMCAP) $(LDADD)
1557 EXTRA_DIST += test-term-ostream.c test-term-ostream-xterm test-term-ostream-xterm-r6.out test-term-ostream-xterm-xf86-v32.out test-term-ostream-xterm-basic.out test-term-ostream-xterm-basic-italic.out test-term-ostream-xterm-freebsd101.out test-term-ostream-xterm-8bit.out test-term-ostream-xterm-linux-debian.out test-term-ostream-xterm-linux-mandriva.out test-term-ostream-xterm-netbsd3.out test-term-ostream-xterm-solaris10.out test-term-ostream-xterm-aix51.out test-term-ostream-xterm-osf51.out test-term-ostream-xterm-irix65.out test-term-ostream-xterm-mingw.out test-term-ostream-xterm-16color.out test-term-ostream-xterm-88color.out test-term-ostream-xterm-256color.out
1559 ## end gnulib module term-ostream-tests
1561 ## begin gnulib module test-framework-sh-tests
1563 TESTS += test-init.sh
1564 EXTRA_DIST += init.sh
1565 EXTRA_DIST += test-init.sh
1567 ## end gnulib module test-framework-sh-tests
1569 ## begin gnulib module thread
1571 libtests_a_SOURCES += glthread/thread.h glthread/thread.c
1573 ## end gnulib module thread
1575 ## begin gnulib module thread-tests
1577 TESTS += test-thread_self test-thread_create
1578 check_PROGRAMS += test-thread_self test-thread_create
1579 test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
1580 test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
1581 EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
1583 ## end gnulib module thread-tests
1585 ## begin gnulib module time-tests
1588 check_PROGRAMS += test-time
1589 EXTRA_DIST += test-time.c
1591 ## end gnulib module time-tests
1593 ## begin gnulib module tls-tests
1596 check_PROGRAMS += test-tls
1597 test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
1599 EXTRA_DIST += test-tls.c
1601 ## end gnulib module tls-tests
1603 ## begin gnulib module uniconv/u8-conv-from-enc-tests
1605 TESTS += test-u8-conv-from-enc
1606 check_PROGRAMS += test-u8-conv-from-enc
1607 test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c
1608 test_u8_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1610 EXTRA_DIST += uniconv/test-u8-conv-from-enc.c macros.h
1612 ## end gnulib module uniconv/u8-conv-from-enc-tests
1614 ## begin gnulib module unictype/ctype-space-tests
1616 TESTS += test-ctype_space
1617 check_PROGRAMS += test-ctype_space
1618 test_ctype_space_SOURCES = unictype/test-ctype_space.c
1619 test_ctype_space_LDADD = $(LDADD) $(LIBUNISTRING)
1620 EXTRA_DIST += unictype/test-ctype_space.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
1622 ## end gnulib module unictype/ctype-space-tests
1624 ## begin gnulib module unilbrk/u8-width-linebreaks-tests
1626 TESTS += test-u8-width-linebreaks
1627 check_PROGRAMS += test-u8-width-linebreaks
1628 test_u8_width_linebreaks_SOURCES = unilbrk/test-u8-width-linebreaks.c
1629 test_u8_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING)
1630 EXTRA_DIST += unilbrk/test-u8-width-linebreaks.c macros.h
1632 ## end gnulib module unilbrk/u8-width-linebreaks-tests
1634 ## begin gnulib module uniname/uniname-tests
1636 # Unlike other libunistring modules, this test passes only when the
1637 # same version of uniname/uniname.c is used (even if it is newer).
1638 if LIBUNISTRING_COMPILE_UNINAME_UNINAME
1639 TESTS += uniname/test-uninames.sh
1640 check_PROGRAMS += test-uninames
1641 test_uninames_SOURCES = uniname/test-uninames.c
1642 test_uninames_LDADD = $(LDADD) @LIBINTL@
1645 EXTRA_DIST += uniname/test-uninames.sh uniname/test-uninames.c uniname/UnicodeData.txt uniname/HangulSyllableNames.txt uniname/NameAliases.txt
1647 ## end gnulib module uniname/uniname-tests
1649 ## begin gnulib module unistd-safer-tests
1651 TESTS += test-dup-safer
1652 check_PROGRAMS += test-dup-safer
1653 EXTRA_DIST += test-dup-safer.c macros.h
1655 ## end gnulib module unistd-safer-tests
1657 ## begin gnulib module unistd-tests
1659 TESTS += test-unistd
1660 check_PROGRAMS += test-unistd
1661 EXTRA_DIST += test-unistd.c
1663 ## end gnulib module unistd-tests
1665 ## begin gnulib module unistr/u16-mbtouc-tests
1667 TESTS += test-u16-mbtouc
1668 check_PROGRAMS += test-u16-mbtouc
1669 test_u16_mbtouc_SOURCES = unistr/test-u16-mbtouc.c
1670 test_u16_mbtouc_LDADD = $(LDADD) $(LIBUNISTRING)
1671 EXTRA_DIST += unistr/test-u16-mbtouc.c unistr/test-u16-mbtouc.h macros.h
1673 ## end gnulib module unistr/u16-mbtouc-tests
1675 ## begin gnulib module unistr/u8-check-tests
1677 TESTS += test-u8-check
1678 check_PROGRAMS += test-u8-check
1679 test_u8_check_SOURCES = unistr/test-u8-check.c
1680 test_u8_check_LDADD = $(LDADD) $(LIBUNISTRING)
1681 EXTRA_DIST += unistr/test-u8-check.c macros.h
1683 ## end gnulib module unistr/u8-check-tests
1685 ## begin gnulib module unistr/u8-cmp
1687 if LIBUNISTRING_COMPILE_UNISTR_U8_CMP
1688 libtests_a_SOURCES += unistr/u8-cmp.c
1691 ## end gnulib module unistr/u8-cmp
1693 ## begin gnulib module unistr/u8-cmp-tests
1695 TESTS += test-u8-cmp
1696 check_PROGRAMS += test-u8-cmp
1697 test_u8_cmp_SOURCES = unistr/test-u8-cmp.c
1698 test_u8_cmp_LDADD = $(LDADD) $(LIBUNISTRING)
1699 EXTRA_DIST += unistr/test-u8-cmp.c unistr/test-cmp.h zerosize-ptr.h macros.h
1701 ## end gnulib module unistr/u8-cmp-tests
1703 ## begin gnulib module unistr/u8-mblen-tests
1705 TESTS += test-u8-mblen
1706 check_PROGRAMS += test-u8-mblen
1707 test_u8_mblen_SOURCES = unistr/test-u8-mblen.c
1708 test_u8_mblen_LDADD = $(LDADD) $(LIBUNISTRING)
1709 EXTRA_DIST += unistr/test-u8-mblen.c macros.h
1711 ## end gnulib module unistr/u8-mblen-tests
1713 ## begin gnulib module unistr/u8-mbtoucr-tests
1715 TESTS += test-u8-mbtoucr
1716 check_PROGRAMS += test-u8-mbtoucr
1717 test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c
1718 test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING)
1719 EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h
1721 ## end gnulib module unistr/u8-mbtoucr-tests
1723 ## begin gnulib module unistr/u8-prev-tests
1725 TESTS += test-u8-prev
1726 check_PROGRAMS += test-u8-prev
1727 test_u8_prev_SOURCES = unistr/test-u8-prev.c
1728 test_u8_prev_LDADD = $(LDADD) $(LIBUNISTRING)
1729 EXTRA_DIST += unistr/test-u8-prev.c macros.h
1731 ## end gnulib module unistr/u8-prev-tests
1733 ## begin gnulib module unistr/u8-strlen
1735 if LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN
1736 libtests_a_SOURCES += unistr/u8-strlen.c
1739 ## end gnulib module unistr/u8-strlen
1741 ## begin gnulib module unistr/u8-strlen-tests
1743 TESTS += test-u8-strlen
1744 check_PROGRAMS += test-u8-strlen
1745 test_u8_strlen_SOURCES = unistr/test-u8-strlen.c
1746 test_u8_strlen_LDADD = $(LDADD) $(LIBUNISTRING)
1747 EXTRA_DIST += unistr/test-u8-strlen.c macros.h
1749 ## end gnulib module unistr/u8-strlen-tests
1751 ## begin gnulib module unistr/u8-uctomb-tests
1753 TESTS += test-u8-uctomb
1754 check_PROGRAMS += test-u8-uctomb
1755 test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c
1756 test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING)
1757 EXTRA_DIST += unistr/test-u8-uctomb.c macros.h
1759 ## end gnulib module unistr/u8-uctomb-tests
1761 ## begin gnulib module unsetenv-tests
1763 TESTS += test-unsetenv
1764 check_PROGRAMS += test-unsetenv
1765 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1767 ## end gnulib module unsetenv-tests
1769 ## begin gnulib module vasnprintf-tests
1771 TESTS += test-vasnprintf
1772 check_PROGRAMS += test-vasnprintf
1774 EXTRA_DIST += test-vasnprintf.c macros.h
1776 ## end gnulib module vasnprintf-tests
1778 ## begin gnulib module vasprintf-tests
1780 TESTS += test-vasprintf
1781 check_PROGRAMS += test-vasprintf
1783 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1785 ## end gnulib module vasprintf-tests
1787 ## begin gnulib module verify-tests
1789 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1790 TESTS += test-verify test-verify.sh
1791 check_PROGRAMS += test-verify
1792 EXTRA_DIST += test-verify.c test-verify.sh
1794 ## end gnulib module verify-tests
1796 ## begin gnulib module vsnprintf-tests
1798 TESTS += test-vsnprintf
1799 check_PROGRAMS += test-vsnprintf
1801 EXTRA_DIST += test-vsnprintf.c signature.h macros.h
1803 ## end gnulib module vsnprintf-tests
1805 ## begin gnulib module wchar-tests
1808 check_PROGRAMS += test-wchar
1809 EXTRA_DIST += test-wchar.c
1811 ## end gnulib module wchar-tests
1813 ## begin gnulib module wcrtomb
1816 EXTRA_DIST += wcrtomb.c
1818 EXTRA_libtests_a_SOURCES += wcrtomb.c
1820 ## end gnulib module wcrtomb
1822 ## begin gnulib module wcrtomb-tests
1826 test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
1827 test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
1828 TESTS_ENVIRONMENT += \
1829 LOCALE_FR='@LOCALE_FR@' \
1830 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1831 LOCALE_JA='@LOCALE_JA@' \
1832 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1833 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
1835 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
1837 ## end gnulib module wcrtomb-tests
1839 ## begin gnulib module wctob
1842 EXTRA_DIST += wctob.c
1844 EXTRA_libtests_a_SOURCES += wctob.c
1846 ## end gnulib module wctob
1848 ## begin gnulib module wctomb
1851 EXTRA_DIST += wctomb-impl.h wctomb.c
1853 EXTRA_libtests_a_SOURCES += wctomb.c
1855 ## end gnulib module wctomb
1857 ## begin gnulib module wctype-h-tests
1859 TESTS += test-wctype-h
1860 check_PROGRAMS += test-wctype-h
1861 EXTRA_DIST += test-wctype-h.c macros.h
1863 ## end gnulib module wctype-h-tests
1865 ## begin gnulib module wcwidth-tests
1867 TESTS += test-wcwidth
1868 check_PROGRAMS += test-wcwidth
1870 EXTRA_DIST += test-wcwidth.c signature.h macros.h
1872 ## end gnulib module wcwidth-tests
1874 ## begin gnulib module write-tests
1877 check_PROGRAMS += test-write
1878 EXTRA_DIST += test-write.c signature.h macros.h
1880 ## end gnulib module write-tests
1882 ## begin gnulib module xalloc-die-tests
1884 TESTS += test-xalloc-die.sh
1885 check_PROGRAMS += test-xalloc-die
1886 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
1887 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
1889 ## end gnulib module xalloc-die-tests
1891 ## begin gnulib module xvasprintf-tests
1893 TESTS += test-xvasprintf
1894 check_PROGRAMS += test-xvasprintf
1895 test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
1897 EXTRA_DIST += test-xvasprintf.c macros.h
1899 ## end gnulib module xvasprintf-tests
1901 ## begin gnulib module yield
1903 libtests_a_SOURCES += glthread/yield.h
1905 ## end gnulib module yield
1907 # Clean up after Solaris cc.
1911 mostlyclean-local: mostlyclean-generic
1912 @for dir in '' $(MOSTLYCLEANDIRS); do \
1913 if test -n "$$dir" && test -d $$dir; then \
1914 echo "rmdir $$dir"; rmdir $$dir; \