1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2014 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../gl/lib -I$(srcdir)/../gl/lib
51 LDADD = libtests.a ../gl/lib/libgnulib.a 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 accept
64 EXTRA_DIST += accept.c w32sock.h
66 EXTRA_libtests_a_SOURCES += accept.c
68 ## end gnulib module accept
70 ## begin gnulib module accept-tests
73 check_PROGRAMS += test-accept
74 test_accept_LDADD = $(LDADD) @LIBSOCKET@
75 EXTRA_DIST += test-accept.c signature.h macros.h
77 ## end gnulib module accept-tests
79 ## begin gnulib module alloca-opt-tests
81 TESTS += test-alloca-opt
82 check_PROGRAMS += test-alloca-opt
84 EXTRA_DIST += test-alloca-opt.c
86 ## end gnulib module alloca-opt-tests
88 ## begin gnulib module areadlink-tests
90 TESTS += test-areadlink
91 check_PROGRAMS += test-areadlink
92 EXTRA_DIST += test-areadlink.h test-areadlink.c macros.h
94 ## end gnulib module areadlink-tests
96 ## begin gnulib module areadlink-with-size-tests
98 TESTS += test-areadlink-with-size
99 check_PROGRAMS += test-areadlink-with-size
100 EXTRA_DIST += test-areadlink.h test-areadlink-with-size.c macros.h
102 ## end gnulib module areadlink-with-size-tests
104 ## begin gnulib module areadlinkat-tests
106 TESTS += test-areadlinkat
107 check_PROGRAMS += test-areadlinkat
108 test_areadlinkat_LDADD = $(LDADD) @LIBINTL@
109 EXTRA_DIST += test-areadlink.h test-areadlinkat.c macros.h
111 ## end gnulib module areadlinkat-tests
113 ## begin gnulib module argmatch-tests
115 TESTS += test-argmatch
116 check_PROGRAMS += test-argmatch
117 test_argmatch_LDADD = $(LDADD) @LIBINTL@
119 EXTRA_DIST += test-argmatch.c macros.h
121 ## end gnulib module argmatch-tests
123 ## begin gnulib module arpa_inet
125 BUILT_SOURCES += arpa/inet.h
127 # We need the following in order to create <arpa/inet.h> when the system
129 arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
130 $(AM_V_at)$(MKDIR_P) arpa
131 $(AM_V_GEN)rm -f $@-t $@ && \
132 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
133 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
134 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
135 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
136 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
137 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
138 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
139 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
140 -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
141 -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
142 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
143 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
144 -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
145 -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
146 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
147 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
148 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
149 < $(srcdir)/arpa_inet.in.h; \
152 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
153 MOSTLYCLEANDIRS += arpa
155 EXTRA_DIST += arpa_inet.in.h
157 ## end gnulib module arpa_inet
159 ## begin gnulib module arpa_inet-tests
161 TESTS += test-arpa_inet
162 check_PROGRAMS += test-arpa_inet
163 EXTRA_DIST += test-arpa_inet.c
165 ## end gnulib module arpa_inet-tests
167 ## begin gnulib module binary-io
169 libtests_a_SOURCES += binary-io.h binary-io.c
171 ## end gnulib module binary-io
173 ## begin gnulib module binary-io-tests
175 TESTS += test-binary-io.sh
176 check_PROGRAMS += test-binary-io
178 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
180 ## end gnulib module binary-io-tests
182 ## begin gnulib module bind
185 EXTRA_DIST += bind.c w32sock.h
187 EXTRA_libtests_a_SOURCES += bind.c
189 ## end gnulib module bind
191 ## begin gnulib module bind-tests
194 check_PROGRAMS += test-bind
195 test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
196 EXTRA_DIST += test-bind.c signature.h macros.h
198 ## end gnulib module bind-tests
200 ## begin gnulib module bitrotate-tests
202 TESTS += test-bitrotate
203 check_PROGRAMS += test-bitrotate
204 EXTRA_DIST += test-bitrotate.c macros.h
206 ## end gnulib module bitrotate-tests
208 ## begin gnulib module btowc-tests
210 TESTS += test-btowc1.sh test-btowc2.sh
211 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
212 check_PROGRAMS += test-btowc
214 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
216 ## end gnulib module btowc-tests
218 ## begin gnulib module byteswap-tests
220 TESTS += test-byteswap
221 check_PROGRAMS += test-byteswap
222 EXTRA_DIST += test-byteswap.c macros.h
224 ## end gnulib module byteswap-tests
226 ## begin gnulib module c-ctype-tests
228 TESTS += test-c-ctype
229 check_PROGRAMS += test-c-ctype
231 EXTRA_DIST += test-c-ctype.c macros.h
233 ## end gnulib module c-ctype-tests
235 ## begin gnulib module c-strcase-tests
237 TESTS += test-c-strcase.sh
238 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
239 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
240 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
242 ## end gnulib module c-strcase-tests
244 ## begin gnulib module c-strcasestr-tests
246 TESTS += test-c-strcasestr
247 check_PROGRAMS += test-c-strcasestr
249 EXTRA_DIST += test-c-strcasestr.c macros.h
251 ## end gnulib module c-strcasestr-tests
253 ## begin gnulib module c-strstr-tests
255 TESTS += test-c-strstr
256 check_PROGRAMS += test-c-strstr
258 EXTRA_DIST += test-c-strstr.c macros.h
260 ## end gnulib module c-strstr-tests
262 ## begin gnulib module canonicalize-tests
264 TESTS += test-canonicalize
265 check_PROGRAMS += test-canonicalize
266 test_canonicalize_LDADD = $(LDADD) @LIBINTL@
267 EXTRA_DIST += test-canonicalize.c macros.h
269 ## end gnulib module canonicalize-tests
271 ## begin gnulib module chdir-tests
274 check_PROGRAMS += test-chdir
275 EXTRA_DIST += test-chdir.c signature.h macros.h
277 ## end gnulib module chdir-tests
279 ## begin gnulib module cloexec-tests
281 TESTS += test-cloexec
282 check_PROGRAMS += test-cloexec
283 EXTRA_DIST += test-cloexec.c macros.h
285 ## end gnulib module cloexec-tests
287 ## begin gnulib module close-tests
290 check_PROGRAMS += test-close
291 EXTRA_DIST += test-close.c signature.h macros.h
293 ## end gnulib module close-tests
295 ## begin gnulib module closein-tests
297 TESTS += test-closein.sh
298 check_PROGRAMS += test-closein
299 test_closein_LDADD = $(LDADD) @LIBINTL@
300 EXTRA_DIST += test-closein.sh test-closein.c
302 ## end gnulib module closein-tests
304 ## begin gnulib module connect
307 EXTRA_DIST += connect.c w32sock.h
309 EXTRA_libtests_a_SOURCES += connect.c
311 ## end gnulib module connect
313 ## begin gnulib module connect-tests
315 TESTS += test-connect
316 check_PROGRAMS += test-connect
317 test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
318 EXTRA_DIST += test-connect.c signature.h macros.h
320 ## end gnulib module connect-tests
322 ## begin gnulib module ctype-tests
325 check_PROGRAMS += test-ctype
326 EXTRA_DIST += test-ctype.c
328 ## end gnulib module ctype-tests
330 ## begin gnulib module dirent-safer-tests
332 TESTS += test-dirent-safer
333 check_PROGRAMS += test-dirent-safer
334 # Link with libintl when needed. dirent-safer uses fdopendir if it is present,
335 # and fdopendir indirectly depends on openat-die -> gettext-h.
336 test_dirent_safer_LDADD = $(LDADD) $(LIBINTL)
337 EXTRA_DIST += test-dirent-safer.c macros.h
339 ## end gnulib module dirent-safer-tests
341 ## begin gnulib module dirent-tests
344 check_PROGRAMS += test-dirent
345 EXTRA_DIST += test-dirent.c
347 ## end gnulib module dirent-tests
349 ## begin gnulib module dirname-tests
351 TESTS += test-dirname
352 check_PROGRAMS += test-dirname
353 test_dirname_LDADD = $(LDADD) @LIBINTL@
354 EXTRA_DIST += test-dirname.c
356 ## end gnulib module dirname-tests
358 ## begin gnulib module dup-tests
361 check_PROGRAMS += test-dup
362 EXTRA_DIST += test-dup.c signature.h macros.h
364 ## end gnulib module dup-tests
366 ## begin gnulib module dup2-tests
369 check_PROGRAMS += test-dup2
370 EXTRA_DIST += test-dup2.c signature.h macros.h
372 ## end gnulib module dup2-tests
374 ## begin gnulib module environ-tests
376 TESTS += test-environ
377 check_PROGRAMS += test-environ
379 EXTRA_DIST += test-environ.c
381 ## end gnulib module environ-tests
383 ## begin gnulib module errno-tests
386 check_PROGRAMS += test-errno
388 EXTRA_DIST += test-errno.c
390 ## end gnulib module errno-tests
392 ## begin gnulib module faccessat-tests
394 TESTS += test-faccessat
395 check_PROGRAMS += test-faccessat
396 test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) @LIBINTL@
397 EXTRA_DIST += test-faccessat.c signature.h macros.h
399 ## end gnulib module faccessat-tests
401 ## begin gnulib module fchdir-tests
404 check_PROGRAMS += test-fchdir
405 test_fchdir_LDADD = $(LDADD) $(LIBINTL)
406 EXTRA_DIST += test-fchdir.c signature.h macros.h
408 ## end gnulib module fchdir-tests
410 ## begin gnulib module fcntl-h-tests
412 TESTS += test-fcntl-h
413 check_PROGRAMS += test-fcntl-h
414 EXTRA_DIST += test-fcntl-h.c
416 ## end gnulib module fcntl-h-tests
418 ## begin gnulib module fcntl-safer-tests
420 TESTS += test-fcntl-safer
421 check_PROGRAMS += test-fcntl-safer
422 EXTRA_DIST += test-open.h test-fcntl-safer.c macros.h
424 ## end gnulib module fcntl-safer-tests
426 ## begin gnulib module fcntl-tests
429 check_PROGRAMS += test-fcntl
430 EXTRA_DIST += test-fcntl.c signature.h macros.h
432 ## end gnulib module fcntl-tests
434 ## begin gnulib module fd-safer-flag
436 libtests_a_SOURCES += fd-safer-flag.c dup-safer-flag.c
438 ## end gnulib module fd-safer-flag
440 ## begin gnulib module fdopen
443 EXTRA_DIST += fdopen.c
445 EXTRA_libtests_a_SOURCES += fdopen.c
447 ## end gnulib module fdopen
449 ## begin gnulib module fdopen-tests
452 check_PROGRAMS += test-fdopen
453 EXTRA_DIST += test-fdopen.c signature.h macros.h
455 ## end gnulib module fdopen-tests
457 ## begin gnulib module fdopendir-tests
459 TESTS += test-fdopendir
460 check_PROGRAMS += test-fdopendir
461 test_fdopendir_LDADD = $(LDADD) @LIBINTL@
462 EXTRA_DIST += test-fdopendir.c signature.h macros.h
464 ## end gnulib module fdopendir-tests
466 ## begin gnulib module fflush-tests
468 TESTS += test-fflush test-fflush2.sh
469 check_PROGRAMS += test-fflush test-fflush2
470 MOSTLYCLEANFILES += test-fflush.txt
471 EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h
473 ## end gnulib module fflush-tests
475 ## begin gnulib module fgetc-tests
478 check_PROGRAMS += test-fgetc
479 EXTRA_DIST += test-fgetc.c signature.h macros.h
481 ## end gnulib module fgetc-tests
483 ## begin gnulib module float-tests
486 check_PROGRAMS += test-float
487 EXTRA_DIST += test-float.c macros.h
489 ## end gnulib module float-tests
491 ## begin gnulib module fnmatch-tests
493 TESTS += test-fnmatch
494 check_PROGRAMS += test-fnmatch
495 EXTRA_DIST += test-fnmatch.c signature.h macros.h
497 ## end gnulib module fnmatch-tests
499 ## begin gnulib module fopen-safer-tests
501 TESTS += test-fopen-safer
502 check_PROGRAMS += test-fopen-safer
503 EXTRA_DIST += test-fopen.h test-fopen-safer.c macros.h
505 ## end gnulib module fopen-safer-tests
507 ## begin gnulib module fopen-tests
510 check_PROGRAMS += test-fopen
512 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
514 ## end gnulib module fopen-tests
516 ## begin gnulib module fpending-tests
518 TESTS += test-fpending.sh
519 check_PROGRAMS += test-fpending
520 MOSTLYCLEANFILES += test-fpending.t
521 EXTRA_DIST += test-fpending.c test-fpending.sh macros.h
523 ## end gnulib module fpending-tests
525 ## begin gnulib module fpucw
528 EXTRA_DIST += fpucw.h
530 ## end gnulib module fpucw
532 ## begin gnulib module fpurge-tests
535 check_PROGRAMS += test-fpurge
536 MOSTLYCLEANFILES += t-fpurge.tmp
537 EXTRA_DIST += test-fpurge.c macros.h
539 ## end gnulib module fpurge-tests
541 ## begin gnulib module fputc-tests
544 check_PROGRAMS += test-fputc
545 EXTRA_DIST += test-fputc.c signature.h macros.h
547 ## end gnulib module fputc-tests
549 ## begin gnulib module fread-tests
552 check_PROGRAMS += test-fread
553 EXTRA_DIST += test-fread.c signature.h macros.h
555 ## end gnulib module fread-tests
557 ## begin gnulib module freadahead-tests
559 TESTS += test-freadahead.sh
560 check_PROGRAMS += test-freadahead
561 EXTRA_DIST += test-freadahead.c test-freadahead.sh macros.h
563 ## end gnulib module freadahead-tests
565 ## begin gnulib module freading-tests
567 TESTS += test-freading
568 check_PROGRAMS += test-freading
569 MOSTLYCLEANFILES += t-freading.tmp
570 EXTRA_DIST += test-freading.c macros.h
572 ## end gnulib module freading-tests
574 ## begin gnulib module fseek-tests
576 TESTS += test-fseek.sh test-fseek2.sh
577 check_PROGRAMS += test-fseek
578 EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
580 ## end gnulib module fseek-tests
582 ## begin gnulib module fseeko-tests
584 TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
585 check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
586 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
588 ## end gnulib module fseeko-tests
590 ## begin gnulib module fstat-tests
593 check_PROGRAMS += test-fstat
594 EXTRA_DIST += test-fstat.c signature.h macros.h
596 ## end gnulib module fstat-tests
598 ## begin gnulib module fstatat-tests
600 TESTS += test-fstatat
601 check_PROGRAMS += test-fstatat
602 test_fstatat_LDADD = $(LDADD) @LIBINTL@
603 EXTRA_DIST += test-fstatat.c test-lstat.h test-stat.h signature.h macros.h
605 ## end gnulib module fstatat-tests
607 ## begin gnulib module ftell-tests
609 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
610 check_PROGRAMS += test-ftell test-ftell3
611 MOSTLYCLEANFILES += t-ftell3.tmp
612 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
614 ## end gnulib module ftell-tests
616 ## begin gnulib module ftello-tests
618 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
619 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
620 MOSTLYCLEANFILES += t-ftello3.tmp
621 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
623 ## end gnulib module ftello-tests
625 ## begin gnulib module ftruncate
628 EXTRA_DIST += ftruncate.c
630 EXTRA_libtests_a_SOURCES += ftruncate.c
632 ## end gnulib module ftruncate
634 ## begin gnulib module ftruncate-tests
636 TESTS += test-ftruncate.sh
637 check_PROGRAMS += test-ftruncate
638 EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
640 ## end gnulib module ftruncate-tests
642 ## begin gnulib module fwrite-tests
645 check_PROGRAMS += test-fwrite
646 EXTRA_DIST += test-fwrite.c signature.h macros.h
648 ## end gnulib module fwrite-tests
650 ## begin gnulib module getcwd-lgpl-tests
652 TESTS += test-getcwd-lgpl
653 check_PROGRAMS += test-getcwd-lgpl
654 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
655 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
657 ## end gnulib module getcwd-lgpl-tests
659 ## begin gnulib module getcwd-tests
661 TESTS += test-getcwd.sh
662 check_PROGRAMS += test-getcwd
663 test_getcwd_LDADD = $(LDADD) @LIBINTL@
664 EXTRA_DIST += test-getcwd.c test-getcwd.sh
666 ## end gnulib module getcwd-tests
668 ## begin gnulib module getdelim-tests
670 TESTS += test-getdelim
671 check_PROGRAMS += test-getdelim
672 MOSTLYCLEANFILES += test-getdelim.txt
673 EXTRA_DIST += test-getdelim.c signature.h macros.h
675 ## end gnulib module getdelim-tests
677 ## begin gnulib module getdtablesize-tests
679 TESTS += test-getdtablesize
680 check_PROGRAMS += test-getdtablesize
681 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
683 ## end gnulib module getdtablesize-tests
685 ## begin gnulib module getgroups-tests
687 TESTS += test-getgroups
688 check_PROGRAMS += test-getgroups
689 EXTRA_DIST += test-getgroups.c signature.h macros.h
691 ## end gnulib module getgroups-tests
693 ## begin gnulib module gethostname-tests
695 TESTS += test-gethostname
696 check_PROGRAMS += test-gethostname
697 test_gethostname_LDADD = $(LDADD) @GETHOSTNAME_LIB@
698 EXTRA_DIST += signature.h test-gethostname.c
700 ## end gnulib module gethostname-tests
702 ## begin gnulib module getline-tests
704 TESTS += test-getline
705 check_PROGRAMS += test-getline
706 MOSTLYCLEANFILES += test-getline.txt
707 EXTRA_DIST += test-getline.c signature.h macros.h
709 ## end gnulib module getline-tests
711 ## begin gnulib module getopt-posix-tests
714 check_PROGRAMS += test-getopt
715 test_getopt_LDADD = $(LDADD) $(LIBINTL)
716 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
718 ## end gnulib module getopt-posix-tests
720 ## begin gnulib module getpagesize
723 EXTRA_DIST += getpagesize.c
725 EXTRA_libtests_a_SOURCES += getpagesize.c
727 ## end gnulib module getpagesize
729 ## begin gnulib module gettimeofday-tests
731 TESTS += test-gettimeofday
732 check_PROGRAMS += test-gettimeofday
734 EXTRA_DIST += signature.h test-gettimeofday.c
736 ## end gnulib module gettimeofday-tests
738 ## begin gnulib module hash-tests
741 check_PROGRAMS += test-hash
742 EXTRA_DIST += test-hash.c macros.h
744 ## end gnulib module hash-tests
746 ## begin gnulib module i-ring-tests
749 check_PROGRAMS += test-i-ring
750 EXTRA_DIST += test-i-ring.c macros.h
752 ## end gnulib module i-ring-tests
754 ## begin gnulib module ignore-value
757 EXTRA_DIST += ignore-value.h
759 ## end gnulib module ignore-value
761 ## begin gnulib module ignore-value-tests
763 TESTS += test-ignore-value
764 check_PROGRAMS += test-ignore-value
765 EXTRA_DIST += test-ignore-value.c
767 ## end gnulib module ignore-value-tests
769 ## begin gnulib module inet_pton
772 EXTRA_DIST += inet_pton.c
774 EXTRA_libtests_a_SOURCES += inet_pton.c
776 ## end gnulib module inet_pton
778 ## begin gnulib module inet_pton-tests
780 TESTS += test-inet_pton
781 check_PROGRAMS += test-inet_pton
782 test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@
783 EXTRA_DIST += test-inet_pton.c signature.h macros.h
785 ## end gnulib module inet_pton-tests
787 ## begin gnulib module intprops-tests
789 TESTS += test-intprops
790 check_PROGRAMS += test-intprops
791 EXTRA_DIST += test-intprops.c macros.h
793 ## end gnulib module intprops-tests
795 ## begin gnulib module inttostr
797 libtests_a_SOURCES += \
804 EXTRA_DIST += anytostr.c inttostr.h
806 EXTRA_libtests_a_SOURCES += anytostr.c
808 ## end gnulib module inttostr
810 ## begin gnulib module inttostr-tests
812 TESTS += test-inttostr
813 check_PROGRAMS += test-inttostr
814 EXTRA_DIST += macros.h test-inttostr.c
816 ## end gnulib module inttostr-tests
818 ## begin gnulib module inttypes-tests
820 TESTS += test-inttypes
821 check_PROGRAMS += test-inttypes
822 EXTRA_DIST += test-inttypes.c
824 ## end gnulib module inttypes-tests
826 ## begin gnulib module ioctl
829 EXTRA_DIST += ioctl.c w32sock.h
831 EXTRA_libtests_a_SOURCES += ioctl.c
833 ## end gnulib module ioctl
835 ## begin gnulib module ioctl-tests
838 check_PROGRAMS += test-ioctl
839 EXTRA_DIST += test-ioctl.c signature.h macros.h
841 ## end gnulib module ioctl-tests
843 ## begin gnulib module isblank-tests
845 TESTS += test-isblank
846 check_PROGRAMS += test-isblank
847 EXTRA_DIST += test-isblank.c signature.h macros.h
849 ## end gnulib module isblank-tests
851 ## begin gnulib module isfinite-tests
853 TESTS += test-isfinite
854 check_PROGRAMS += test-isfinite
855 test_isfinite_LDADD = $(LDADD) @ISFINITE_LIBM@
856 EXTRA_DIST += test-isfinite.c infinity.h macros.h
858 ## end gnulib module isfinite-tests
860 ## begin gnulib module isinf-tests
863 check_PROGRAMS += test-isinf
864 test_isinf_LDADD = $(LDADD) @ISINF_LIBM@
865 EXTRA_DIST += test-isinf.c infinity.h macros.h
867 ## end gnulib module isinf-tests
869 ## begin gnulib module isnand-nolibm-tests
871 TESTS += test-isnand-nolibm
872 check_PROGRAMS += test-isnand-nolibm
874 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
876 ## end gnulib module isnand-nolibm-tests
878 ## begin gnulib module isnanf-nolibm-tests
880 TESTS += test-isnanf-nolibm
881 check_PROGRAMS += test-isnanf-nolibm
883 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
885 ## end gnulib module isnanf-nolibm-tests
887 ## begin gnulib module isnanl-nolibm-tests
889 TESTS += test-isnanl-nolibm
890 check_PROGRAMS += test-isnanl-nolibm
892 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
894 ## end gnulib module isnanl-nolibm-tests
896 ## begin gnulib module iswblank-tests
898 TESTS += test-iswblank
899 check_PROGRAMS += test-iswblank
900 EXTRA_DIST += test-iswblank.c macros.h
902 ## end gnulib module iswblank-tests
904 ## begin gnulib module langinfo-tests
906 TESTS += test-langinfo
907 check_PROGRAMS += test-langinfo
908 EXTRA_DIST += test-langinfo.c
910 ## end gnulib module langinfo-tests
912 ## begin gnulib module listen
915 EXTRA_DIST += listen.c w32sock.h
917 EXTRA_libtests_a_SOURCES += listen.c
919 ## end gnulib module listen
921 ## begin gnulib module listen-tests
924 check_PROGRAMS += test-listen
925 test_listen_LDADD = $(LDADD) @LIBSOCKET@
926 EXTRA_DIST += test-listen.c signature.h macros.h
928 ## end gnulib module listen-tests
930 ## begin gnulib module locale-tests
933 check_PROGRAMS += test-locale
934 EXTRA_DIST += test-locale.c
936 ## end gnulib module locale-tests
938 ## begin gnulib module localeconv-tests
940 TESTS += test-localeconv
941 check_PROGRAMS += test-localeconv
942 EXTRA_DIST += test-localeconv.c signature.h macros.h
944 ## end gnulib module localeconv-tests
946 ## begin gnulib module localename
948 libtests_a_SOURCES += localename.c
950 EXTRA_DIST += localename.h
952 ## end gnulib module localename
954 ## begin gnulib module localename-tests
956 TESTS += test-localename
957 check_PROGRAMS += test-localename
958 test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
960 EXTRA_DIST += test-localename.c macros.h
962 ## end gnulib module localename-tests
964 ## begin gnulib module lock-tests
967 check_PROGRAMS += test-lock
968 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
969 EXTRA_DIST += test-lock.c
971 ## end gnulib module lock-tests
973 ## begin gnulib module lseek-tests
975 TESTS += test-lseek.sh
976 check_PROGRAMS += test-lseek
977 EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
979 ## end gnulib module lseek-tests
981 ## begin gnulib module lstat-tests
984 check_PROGRAMS += test-lstat
985 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
987 ## end gnulib module lstat-tests
989 ## begin gnulib module malloc-gnu-tests
991 TESTS += test-malloc-gnu
992 check_PROGRAMS += test-malloc-gnu
993 EXTRA_DIST += test-malloc-gnu.c
995 ## end gnulib module malloc-gnu-tests
997 ## begin gnulib module malloca-tests
999 TESTS += test-malloca
1000 check_PROGRAMS += test-malloca
1002 EXTRA_DIST += test-malloca.c
1004 ## end gnulib module malloca-tests
1006 ## begin gnulib module math-tests
1009 check_PROGRAMS += test-math
1010 EXTRA_DIST += test-math.c macros.h
1012 ## end gnulib module math-tests
1014 ## begin gnulib module mbrtowc-tests
1017 test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
1018 test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
1019 test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
1020 TESTS_ENVIRONMENT += \
1021 LOCALE_FR='@LOCALE_FR@' \
1022 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1023 LOCALE_JA='@LOCALE_JA@' \
1024 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1025 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
1027 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
1029 ## end gnulib module mbrtowc-tests
1031 ## begin gnulib module mbscasestr-tests
1033 TESTS += test-mbscasestr1 test-mbscasestr2.sh test-mbscasestr3.sh test-mbscasestr4.sh
1034 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1035 check_PROGRAMS += test-mbscasestr1 test-mbscasestr2 test-mbscasestr3 test-mbscasestr4
1037 EXTRA_DIST += test-mbscasestr1.c test-mbscasestr2.sh test-mbscasestr2.c test-mbscasestr3.sh test-mbscasestr3.c test-mbscasestr4.sh test-mbscasestr4.c macros.h
1039 ## end gnulib module mbscasestr-tests
1041 ## begin gnulib module mbsinit-tests
1043 TESTS += test-mbsinit.sh
1044 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1045 check_PROGRAMS += test-mbsinit
1047 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
1049 ## end gnulib module mbsinit-tests
1051 ## begin gnulib module mbsrtowcs-tests
1053 TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh
1054 TESTS_ENVIRONMENT += \
1055 LOCALE_FR='@LOCALE_FR@' \
1056 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1057 LOCALE_JA='@LOCALE_JA@' \
1058 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1059 check_PROGRAMS += test-mbsrtowcs
1061 EXTRA_DIST += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh test-mbsrtowcs.c signature.h macros.h
1063 ## end gnulib module mbsrtowcs-tests
1065 ## begin gnulib module mbsstr-tests
1067 TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
1068 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1069 check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
1071 EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
1073 ## end gnulib module mbsstr-tests
1075 ## begin gnulib module memchr-tests
1077 TESTS += test-memchr
1078 check_PROGRAMS += test-memchr
1079 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
1081 ## end gnulib module memchr-tests
1083 ## begin gnulib module memrchr-tests
1085 TESTS += test-memrchr
1086 check_PROGRAMS += test-memrchr
1087 EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
1089 ## end gnulib module memrchr-tests
1091 ## begin gnulib module modf-tests
1094 check_PROGRAMS += test-modf
1095 test_modf_SOURCES = test-modf.c randomd.c
1096 test_modf_LDADD = $(LDADD) @MODF_LIBM@
1097 EXTRA_DIST += test-modf.c test-modf.h signature.h macros.h randomd.c
1099 ## end gnulib module modf-tests
1101 ## begin gnulib module nanosleep
1104 EXTRA_DIST += nanosleep.c
1106 EXTRA_libtests_a_SOURCES += nanosleep.c
1108 ## end gnulib module nanosleep
1110 ## begin gnulib module nanosleep-tests
1112 TESTS += test-nanosleep
1113 check_PROGRAMS += test-nanosleep
1114 test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP)
1115 EXTRA_DIST += test-nanosleep.c signature.h macros.h
1117 ## end gnulib module nanosleep-tests
1119 ## begin gnulib module netinet_in
1121 BUILT_SOURCES += $(NETINET_IN_H)
1123 # We need the following in order to create <netinet/in.h> when the system
1125 if GL_GENERATE_NETINET_IN_H
1126 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1127 $(AM_V_at)$(MKDIR_P) netinet
1128 $(AM_V_GEN)rm -f $@-t $@ && \
1129 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1130 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1131 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1132 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1133 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1134 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1135 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1136 < $(srcdir)/netinet_in.in.h; \
1140 netinet/in.h: $(top_builddir)/config.status
1143 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1144 MOSTLYCLEANDIRS += netinet
1146 EXTRA_DIST += netinet_in.in.h
1148 ## end gnulib module netinet_in
1150 ## begin gnulib module netinet_in-tests
1152 TESTS += test-netinet_in
1153 check_PROGRAMS += test-netinet_in
1154 EXTRA_DIST += test-netinet_in.c
1156 ## end gnulib module netinet_in-tests
1158 ## begin gnulib module nl_langinfo-tests
1160 TESTS += test-nl_langinfo.sh
1161 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1162 check_PROGRAMS += test-nl_langinfo
1163 EXTRA_DIST += test-nl_langinfo.sh test-nl_langinfo.c signature.h macros.h
1165 ## end gnulib module nl_langinfo-tests
1167 ## begin gnulib module open-tests
1170 check_PROGRAMS += test-open
1171 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
1173 ## end gnulib module open-tests
1175 ## begin gnulib module openat-safer-tests
1177 TESTS += test-openat-safer
1178 check_PROGRAMS += test-openat-safer
1179 test_openat_safer_LDADD = $(LDADD) @LIBINTL@
1180 EXTRA_DIST += test-openat-safer.c macros.h
1182 ## end gnulib module openat-safer-tests
1184 ## begin gnulib module openat-tests
1186 TESTS += test-openat
1187 check_PROGRAMS += test-openat
1188 test_openat_LDADD = $(LDADD) @LIBINTL@
1189 EXTRA_DIST += test-openat.c test-open.h signature.h macros.h
1191 ## end gnulib module openat-tests
1193 ## begin gnulib module parse-datetime-tests
1195 TESTS += test-parse-datetime
1196 check_PROGRAMS += test-parse-datetime
1197 test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME)
1198 EXTRA_DIST += test-parse-datetime.c macros.h
1200 ## end gnulib module parse-datetime-tests
1202 ## begin gnulib module pathmax-tests
1204 TESTS += test-pathmax
1205 check_PROGRAMS += test-pathmax
1206 EXTRA_DIST += test-pathmax.c
1208 ## end gnulib module pathmax-tests
1210 ## begin gnulib module perror-tests
1212 TESTS += test-perror.sh test-perror2
1213 check_PROGRAMS += test-perror test-perror2
1214 EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh
1216 ## end gnulib module perror-tests
1218 ## begin gnulib module pipe-posix
1221 EXTRA_DIST += pipe.c
1223 EXTRA_libtests_a_SOURCES += pipe.c
1225 ## end gnulib module pipe-posix
1227 ## begin gnulib module pipe-posix-tests
1230 check_PROGRAMS += test-pipe
1231 EXTRA_DIST += test-pipe.c signature.h macros.h
1233 ## end gnulib module pipe-posix-tests
1235 ## begin gnulib module priv-set
1237 libtests_a_SOURCES += priv-set.c
1239 EXTRA_DIST += priv-set.h
1241 ## end gnulib module priv-set
1243 ## begin gnulib module priv-set-tests
1245 TESTS += test-priv-set
1246 check_PROGRAMS += test-priv-set
1247 EXTRA_DIST += test-priv-set.c macros.h
1249 ## end gnulib module priv-set-tests
1251 ## begin gnulib module putenv
1254 EXTRA_DIST += putenv.c
1256 EXTRA_libtests_a_SOURCES += putenv.c
1258 ## end gnulib module putenv
1260 ## begin gnulib module quotearg-simple-tests
1262 TESTS += test-quotearg-simple
1263 check_PROGRAMS += test-quotearg-simple
1264 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
1265 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
1267 ## end gnulib module quotearg-simple-tests
1269 ## begin gnulib module raise
1272 EXTRA_DIST += raise.c
1274 EXTRA_libtests_a_SOURCES += raise.c
1276 ## end gnulib module raise
1278 ## begin gnulib module raise-tests
1281 check_PROGRAMS += test-raise
1282 EXTRA_DIST += test-raise.c signature.h macros.h
1284 ## end gnulib module raise-tests
1286 ## begin gnulib module read-tests
1289 check_PROGRAMS += test-read
1290 EXTRA_DIST += test-read.c signature.h macros.h
1292 ## end gnulib module read-tests
1294 ## begin gnulib module readlink-tests
1296 TESTS += test-readlink
1297 check_PROGRAMS += test-readlink
1298 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
1300 ## end gnulib module readlink-tests
1302 ## begin gnulib module readlinkat-tests
1304 TESTS += test-readlinkat
1305 check_PROGRAMS += test-readlinkat
1306 test_readlinkat_LDADD = $(LDADD) @LIBINTL@
1307 EXTRA_DIST += test-readlink.h test-readlinkat.c signature.h macros.h
1309 ## end gnulib module readlinkat-tests
1311 ## begin gnulib module realloc-gnu-tests
1313 TESTS += test-realloc-gnu
1314 check_PROGRAMS += test-realloc-gnu
1315 EXTRA_DIST += test-realloc-gnu.c
1317 ## end gnulib module realloc-gnu-tests
1319 ## begin gnulib module regex-tests
1322 check_PROGRAMS += test-regex
1323 test_regex_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD) $(LIB_PTHREAD)
1324 EXTRA_DIST += test-regex.c macros.h
1326 ## end gnulib module regex-tests
1328 ## begin gnulib module rmdir-tests
1331 check_PROGRAMS += test-rmdir
1332 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
1334 ## end gnulib module rmdir-tests
1336 ## begin gnulib module select
1339 EXTRA_DIST += select.c
1341 EXTRA_libtests_a_SOURCES += select.c
1343 ## end gnulib module select
1345 ## begin gnulib module select-tests
1347 TESTS += test-select test-select-in.sh test-select-out.sh
1348 # test-select-stdin has to be run by hand.
1349 check_PROGRAMS += test-select test-select-fd test-select-stdin
1350 test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB)
1351 test_select_fd_LDADD = $(LDADD) @LIB_SELECT@
1352 test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@
1353 EXTRA_DIST += macros.h signature.h test-select.c test-select.h test-select-fd.c test-select-in.sh test-select-out.sh test-select-stdin.c
1355 ## end gnulib module select-tests
1357 ## begin gnulib module setenv-tests
1359 TESTS += test-setenv
1360 check_PROGRAMS += test-setenv
1361 EXTRA_DIST += test-setenv.c signature.h macros.h
1363 ## end gnulib module setenv-tests
1365 ## begin gnulib module setlocale
1368 EXTRA_DIST += setlocale.c
1370 EXTRA_libtests_a_SOURCES += setlocale.c
1372 ## end gnulib module setlocale
1374 ## begin gnulib module setlocale-tests
1376 TESTS += test-setlocale1.sh test-setlocale2.sh
1377 TESTS_ENVIRONMENT += \
1378 LOCALE_FR='@LOCALE_FR@' \
1379 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1380 LOCALE_JA='@LOCALE_JA@' \
1381 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1382 check_PROGRAMS += test-setlocale1 test-setlocale2
1383 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
1385 ## end gnulib module setlocale-tests
1387 ## begin gnulib module setsockopt
1390 EXTRA_DIST += setsockopt.c w32sock.h
1392 EXTRA_libtests_a_SOURCES += setsockopt.c
1394 ## end gnulib module setsockopt
1396 ## begin gnulib module setsockopt-tests
1398 TESTS += test-setsockopt
1399 check_PROGRAMS += test-setsockopt
1400 test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@
1401 EXTRA_DIST += test-setsockopt.c signature.h macros.h
1403 ## end gnulib module setsockopt-tests
1405 ## begin gnulib module sigaction
1407 libtests_a_SOURCES += sig-handler.c
1409 EXTRA_DIST += sig-handler.h sigaction.c
1411 EXTRA_libtests_a_SOURCES += sigaction.c
1413 ## end gnulib module sigaction
1415 ## begin gnulib module sigaction-tests
1417 TESTS += test-sigaction
1418 check_PROGRAMS += test-sigaction
1419 EXTRA_DIST += test-sigaction.c signature.h macros.h
1421 ## end gnulib module sigaction-tests
1423 ## begin gnulib module signal-h
1425 BUILT_SOURCES += signal.h
1427 # We need the following in order to create <signal.h> when the system
1428 # doesn't have a complete one.
1429 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1430 $(AM_V_GEN)rm -f $@-t $@ && \
1431 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1432 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1433 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1434 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1435 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1436 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1437 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1438 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
1439 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1440 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1441 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1442 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1443 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1444 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1445 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1446 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1447 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1448 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1449 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1450 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1451 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1452 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1453 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1454 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1455 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1456 < $(srcdir)/signal.in.h; \
1459 MOSTLYCLEANFILES += signal.h signal.h-t
1461 EXTRA_DIST += signal.in.h
1463 ## end gnulib module signal-h
1465 ## begin gnulib module signal-h-tests
1467 TESTS += test-signal-h
1468 check_PROGRAMS += test-signal-h
1469 EXTRA_DIST += test-signal-h.c
1471 ## end gnulib module signal-h-tests
1473 ## begin gnulib module sigprocmask
1476 EXTRA_DIST += sigprocmask.c
1478 EXTRA_libtests_a_SOURCES += sigprocmask.c
1480 ## end gnulib module sigprocmask
1482 ## begin gnulib module sigprocmask-tests
1484 TESTS += test-sigprocmask
1485 check_PROGRAMS += test-sigprocmask
1486 EXTRA_DIST += test-sigprocmask.c signature.h macros.h
1488 ## end gnulib module sigprocmask-tests
1490 ## begin gnulib module sleep
1493 EXTRA_DIST += sleep.c
1495 EXTRA_libtests_a_SOURCES += sleep.c
1497 ## end gnulib module sleep
1499 ## begin gnulib module sleep-tests
1502 check_PROGRAMS += test-sleep
1503 EXTRA_DIST += test-sleep.c signature.h macros.h
1505 ## end gnulib module sleep-tests
1507 ## begin gnulib module snippet/_Noreturn
1509 # Because this Makefile snippet defines a variable used by other
1510 # gnulib Makefile snippets, it must be present in all Makefile.am that
1511 # need it. This is ensured by the applicability 'all' defined above.
1513 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1515 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1517 ## end gnulib module snippet/_Noreturn
1519 ## begin gnulib module snippet/arg-nonnull
1521 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1522 # statements but through direct file reference. Therefore this snippet must be
1523 # present in all Makefile.am that need it. This is ensured by the applicability
1524 # 'all' defined above.
1526 BUILT_SOURCES += arg-nonnull.h
1527 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1528 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1530 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1531 $(AM_V_GEN)rm -f $@-t $@ && \
1532 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1533 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1536 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1538 ARG_NONNULL_H=arg-nonnull.h
1540 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1542 ## end gnulib module snippet/arg-nonnull
1544 ## begin gnulib module snippet/c++defs
1546 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1547 # statements but through direct file reference. Therefore this snippet must be
1548 # present in all Makefile.am that need it. This is ensured by the applicability
1549 # 'all' defined above.
1551 BUILT_SOURCES += c++defs.h
1552 # The c++defs.h that gets inserted into generated .h files is the same as
1553 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1554 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1555 $(AM_V_GEN)rm -f $@-t $@ && \
1556 sed -n -e '/_GL_CXXDEFS/,$$p' \
1557 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1560 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1564 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1566 ## end gnulib module snippet/c++defs
1568 ## begin gnulib module snippet/unused-parameter
1570 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1571 # statements but through direct file reference. Therefore this snippet must be
1572 # present in all Makefile.am that need it. This is ensured by the applicability
1573 # 'all' defined above.
1575 BUILT_SOURCES += unused-parameter.h
1576 # The unused-parameter.h that gets inserted into generated .h files is the same
1577 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1579 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1580 $(AM_V_GEN)rm -f $@-t $@ && \
1581 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1582 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1585 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1587 UNUSED_PARAMETER_H=unused-parameter.h
1589 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1591 ## end gnulib module snippet/unused-parameter
1593 ## begin gnulib module snippet/warn-on-use
1595 BUILT_SOURCES += warn-on-use.h
1596 # The warn-on-use.h that gets inserted into generated .h files is the same as
1597 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1599 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1600 $(AM_V_GEN)rm -f $@-t $@ && \
1601 sed -n -e '/^.ifndef/,$$p' \
1602 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1605 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1607 WARN_ON_USE_H=warn-on-use.h
1609 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1611 ## end gnulib module snippet/warn-on-use
1613 ## begin gnulib module snprintf-tests
1615 TESTS += test-snprintf
1616 check_PROGRAMS += test-snprintf
1618 EXTRA_DIST += test-snprintf.c signature.h macros.h
1620 ## end gnulib module snprintf-tests
1622 ## begin gnulib module socket
1625 EXTRA_DIST += socket.c w32sock.h
1627 EXTRA_libtests_a_SOURCES += socket.c
1629 ## end gnulib module socket
1631 ## begin gnulib module sockets-tests
1633 TESTS += test-sockets
1634 check_PROGRAMS += test-sockets
1635 test_sockets_LDADD = $(LDADD) @LIBSOCKET@
1636 EXTRA_DIST += test-sockets.c
1638 ## end gnulib module sockets-tests
1640 ## begin gnulib module stat-tests
1643 check_PROGRAMS += test-stat
1644 test_stat_LDADD = $(LDADD) $(LIBINTL)
1645 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1647 ## end gnulib module stat-tests
1649 ## begin gnulib module stat-time-tests
1651 TESTS += test-stat-time
1652 check_PROGRAMS += test-stat-time
1653 test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP)
1654 EXTRA_DIST += test-stat-time.c macros.h nap.h
1656 ## end gnulib module stat-time-tests
1658 ## begin gnulib module statat-tests
1660 TESTS += test-statat
1661 check_PROGRAMS += test-statat
1662 test_statat_LDADD = $(LDADD) @LIBINTL@
1663 EXTRA_DIST += test-statat.c
1665 ## end gnulib module statat-tests
1667 ## begin gnulib module stdalign-tests
1669 TESTS += test-stdalign
1670 check_PROGRAMS += test-stdalign
1671 EXTRA_DIST += test-stdalign.c macros.h
1673 ## end gnulib module stdalign-tests
1675 ## begin gnulib module stdbool-tests
1677 TESTS += test-stdbool
1678 check_PROGRAMS += test-stdbool
1679 EXTRA_DIST += test-stdbool.c
1681 ## end gnulib module stdbool-tests
1683 ## begin gnulib module stddef-tests
1685 TESTS += test-stddef
1686 check_PROGRAMS += test-stddef
1687 EXTRA_DIST += test-stddef.c
1689 ## end gnulib module stddef-tests
1691 ## begin gnulib module stdint-tests
1693 TESTS += test-stdint
1694 check_PROGRAMS += test-stdint
1695 EXTRA_DIST += test-stdint.c
1697 ## end gnulib module stdint-tests
1699 ## begin gnulib module stdio-tests
1702 check_PROGRAMS += test-stdio
1703 EXTRA_DIST += test-stdio.c
1705 ## end gnulib module stdio-tests
1707 ## begin gnulib module stdlib-tests
1709 TESTS += test-stdlib
1710 check_PROGRAMS += test-stdlib
1711 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1713 ## end gnulib module stdlib-tests
1715 ## begin gnulib module strcasestr-tests
1717 TESTS += test-strcasestr
1718 check_PROGRAMS += test-strcasestr
1720 EXTRA_DIST += test-strcasestr.c signature.h macros.h
1722 ## end gnulib module strcasestr-tests
1724 ## begin gnulib module strerror-tests
1726 TESTS += test-strerror
1727 check_PROGRAMS += test-strerror
1728 EXTRA_DIST += test-strerror.c signature.h macros.h
1730 ## end gnulib module strerror-tests
1732 ## begin gnulib module strerror_r-posix-tests
1734 TESTS += test-strerror_r
1735 check_PROGRAMS += test-strerror_r
1736 EXTRA_DIST += test-strerror_r.c signature.h macros.h
1738 ## end gnulib module strerror_r-posix-tests
1740 ## begin gnulib module strftime-tests
1742 TESTS += test-strftime
1743 check_PROGRAMS += test-strftime
1744 EXTRA_DIST += test-strftime.c macros.h
1746 ## end gnulib module strftime-tests
1748 ## begin gnulib module string-tests
1750 TESTS += test-string
1751 check_PROGRAMS += test-string
1752 EXTRA_DIST += test-string.c
1754 ## end gnulib module string-tests
1756 ## begin gnulib module strings-tests
1758 TESTS += test-strings
1759 check_PROGRAMS += test-strings
1760 EXTRA_DIST += test-strings.c
1762 ## end gnulib module strings-tests
1764 ## begin gnulib module strnlen-tests
1766 TESTS += test-strnlen
1767 check_PROGRAMS += test-strnlen
1768 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1770 ## end gnulib module strnlen-tests
1772 ## begin gnulib module strstr-tests
1774 TESTS += test-strstr
1775 check_PROGRAMS += test-strstr
1776 EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
1778 ## end gnulib module strstr-tests
1780 ## begin gnulib module strtol-tests
1782 TESTS += test-strtol
1783 check_PROGRAMS += test-strtol
1784 EXTRA_DIST += test-strtol.c signature.h macros.h
1786 ## end gnulib module strtol-tests
1788 ## begin gnulib module strtoul-tests
1790 TESTS += test-strtoul
1791 check_PROGRAMS += test-strtoul
1792 EXTRA_DIST += test-strtoul.c signature.h macros.h
1794 ## end gnulib module strtoul-tests
1796 ## begin gnulib module strtoull-tests
1798 TESTS += test-strtoull
1799 check_PROGRAMS += test-strtoull
1800 EXTRA_DIST += test-strtoull.c signature.h macros.h
1802 ## end gnulib module strtoull-tests
1804 ## begin gnulib module strtoumax-tests
1806 TESTS += test-strtoumax
1807 check_PROGRAMS += test-strtoumax
1808 EXTRA_DIST += test-strtoumax.c signature.h macros.h
1810 ## end gnulib module strtoumax-tests
1812 ## begin gnulib module symlink
1815 EXTRA_DIST += symlink.c
1817 EXTRA_libtests_a_SOURCES += symlink.c
1819 ## end gnulib module symlink
1821 ## begin gnulib module symlink-tests
1823 TESTS += test-symlink
1824 check_PROGRAMS += test-symlink
1825 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1827 ## end gnulib module symlink-tests
1829 ## begin gnulib module symlinkat
1832 EXTRA_DIST += at-func.c symlinkat.c
1834 EXTRA_libtests_a_SOURCES += at-func.c symlinkat.c
1836 ## end gnulib module symlinkat
1838 ## begin gnulib module symlinkat-tests
1840 TESTS += test-symlinkat
1841 check_PROGRAMS += test-symlinkat
1842 test_symlinkat_LDADD = $(LDADD) @LIBINTL@
1843 EXTRA_DIST += test-symlink.h test-symlinkat.c signature.h macros.h
1845 ## end gnulib module symlinkat-tests
1847 ## begin gnulib module sys_ioctl
1849 BUILT_SOURCES += sys/ioctl.h
1851 # We need the following in order to create <sys/ioctl.h> when the system
1852 # does not have a complete one.
1853 sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1854 $(AM_V_at)$(MKDIR_P) sys
1855 $(AM_V_GEN)rm -f $@-t $@ && \
1856 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1857 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1858 -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \
1859 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1860 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1861 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1862 -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
1863 -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \
1864 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
1865 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1866 -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
1867 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1868 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1869 < $(srcdir)/sys_ioctl.in.h; \
1872 MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
1873 MOSTLYCLEANDIRS += sys
1875 EXTRA_DIST += sys_ioctl.in.h
1877 ## end gnulib module sys_ioctl
1879 ## begin gnulib module sys_ioctl-tests
1881 TESTS += test-sys_ioctl
1882 check_PROGRAMS += test-sys_ioctl
1883 EXTRA_DIST += test-sys_ioctl.c
1885 ## end gnulib module sys_ioctl-tests
1887 ## begin gnulib module sys_select
1889 BUILT_SOURCES += sys/select.h
1891 # We need the following in order to create <sys/select.h> when the system
1892 # doesn't have one that works with the given compiler.
1893 sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1894 $(AM_V_at)$(MKDIR_P) sys
1895 $(AM_V_GEN)rm -f $@-t $@ && \
1896 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1897 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1898 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1899 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1900 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1901 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
1902 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
1903 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
1904 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
1905 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1906 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
1907 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
1908 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
1909 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1910 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1911 < $(srcdir)/sys_select.in.h; \
1914 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
1915 MOSTLYCLEANDIRS += sys
1917 EXTRA_DIST += sys_select.in.h
1919 ## end gnulib module sys_select
1921 ## begin gnulib module sys_select-tests
1923 TESTS += test-sys_select
1924 check_PROGRAMS += test-sys_select
1925 EXTRA_DIST += test-sys_select.c signature.h
1927 ## end gnulib module sys_select-tests
1929 ## begin gnulib module sys_socket-tests
1931 TESTS += test-sys_socket
1932 check_PROGRAMS += test-sys_socket
1933 EXTRA_DIST += test-sys_socket.c
1935 ## end gnulib module sys_socket-tests
1937 ## begin gnulib module sys_stat-tests
1939 TESTS += test-sys_stat
1940 check_PROGRAMS += test-sys_stat
1941 EXTRA_DIST += test-sys_stat.c
1943 ## end gnulib module sys_stat-tests
1945 ## begin gnulib module sys_time-tests
1947 TESTS += test-sys_time
1948 check_PROGRAMS += test-sys_time
1949 EXTRA_DIST += test-sys_time.c
1951 ## end gnulib module sys_time-tests
1953 ## begin gnulib module sys_types-tests
1955 TESTS += test-sys_types
1956 check_PROGRAMS += test-sys_types
1957 EXTRA_DIST += test-sys_types.c
1959 ## end gnulib module sys_types-tests
1961 ## begin gnulib module sys_uio-tests
1963 TESTS += test-sys_uio
1964 check_PROGRAMS += test-sys_uio
1965 EXTRA_DIST += test-sys_uio.c
1967 ## end gnulib module sys_uio-tests
1969 ## begin gnulib module sys_utsname-tests
1971 TESTS += test-sys_utsname
1972 check_PROGRAMS += test-sys_utsname
1973 EXTRA_DIST += test-sys_utsname.c
1975 ## end gnulib module sys_utsname-tests
1977 ## begin gnulib module sys_wait-tests
1979 TESTS += test-sys_wait
1980 check_PROGRAMS += test-sys_wait
1981 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
1983 ## end gnulib module sys_wait-tests
1985 ## begin gnulib module test-framework-sh-tests
1987 TESTS += test-init.sh
1988 EXTRA_DIST += init.sh
1989 EXTRA_DIST += test-init.sh
1991 ## end gnulib module test-framework-sh-tests
1993 ## begin gnulib module thread
1995 libtests_a_SOURCES += glthread/thread.h glthread/thread.c
1997 ## end gnulib module thread
1999 ## begin gnulib module thread-tests
2001 TESTS += test-thread_self test-thread_create
2002 check_PROGRAMS += test-thread_self test-thread_create
2003 test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
2004 test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
2005 EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
2007 ## end gnulib module thread-tests
2009 ## begin gnulib module time-tests
2012 check_PROGRAMS += test-time
2013 EXTRA_DIST += test-time.c
2015 ## end gnulib module time-tests
2017 ## begin gnulib module trunc-tests
2019 TESTS += test-trunc1 test-trunc2
2020 check_PROGRAMS += test-trunc1 test-trunc2
2021 test_trunc1_LDADD = $(LDADD) @TRUNC_LIBM@
2022 test_trunc2_LDADD = $(LDADD) @TRUNC_LIBM@
2023 EXTRA_DIST += test-trunc1.c test-trunc2.c minus-zero.h infinity.h nan.h signature.h macros.h
2025 ## end gnulib module trunc-tests
2027 ## begin gnulib module uname-tests
2030 check_PROGRAMS += test-uname
2031 test_uname_LDADD = $(LDADD) @GETHOSTNAME_LIB@
2032 EXTRA_DIST += test-uname.c signature.h macros.h
2034 ## end gnulib module uname-tests
2036 ## begin gnulib module unistd-safer-tests
2038 TESTS += test-dup-safer
2039 check_PROGRAMS += test-dup-safer
2040 EXTRA_DIST += test-dup-safer.c macros.h
2042 ## end gnulib module unistd-safer-tests
2044 ## begin gnulib module unistd-tests
2046 TESTS += test-unistd
2047 check_PROGRAMS += test-unistd
2048 EXTRA_DIST += test-unistd.c
2050 ## end gnulib module unistd-tests
2052 ## begin gnulib module uniwidth/width-tests
2054 TESTS += test-uc_width uniwidth/test-uc_width2.sh
2055 check_PROGRAMS += test-uc_width test-uc_width2
2056 test_uc_width_SOURCES = uniwidth/test-uc_width.c
2057 test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING)
2058 test_uc_width2_SOURCES = uniwidth/test-uc_width2.c
2059 test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING)
2060 EXTRA_DIST += uniwidth/test-uc_width.c uniwidth/test-uc_width2.c uniwidth/test-uc_width2.sh macros.h
2062 ## end gnulib module uniwidth/width-tests
2064 ## begin gnulib module unlink-tests
2066 TESTS += test-unlink
2067 check_PROGRAMS += test-unlink
2068 EXTRA_DIST += test-unlink.h test-unlink.c signature.h macros.h
2070 ## end gnulib module unlink-tests
2072 ## begin gnulib module unlinkat-tests
2074 TESTS += test-unlinkat
2075 check_PROGRAMS += test-unlinkat
2076 test_unlinkat_LDADD = $(LDADD) @LIBINTL@
2077 EXTRA_DIST += test-unlinkat.c test-rmdir.h test-unlink.h signature.h macros.h
2079 ## end gnulib module unlinkat-tests
2081 ## begin gnulib module unlinkdir
2083 libtests_a_SOURCES += unlinkdir.c
2085 EXTRA_DIST += unlinkdir.h
2087 ## end gnulib module unlinkdir
2089 ## begin gnulib module unsetenv-tests
2091 TESTS += test-unsetenv
2092 check_PROGRAMS += test-unsetenv
2093 EXTRA_DIST += test-unsetenv.c signature.h macros.h
2095 ## end gnulib module unsetenv-tests
2097 ## begin gnulib module update-copyright-tests
2099 TESTS += test-update-copyright.sh
2100 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
2101 EXTRA_DIST += test-update-copyright.sh
2103 ## end gnulib module update-copyright-tests
2105 ## begin gnulib module vasnprintf-tests
2107 TESTS += test-vasnprintf
2108 check_PROGRAMS += test-vasnprintf
2110 EXTRA_DIST += test-vasnprintf.c macros.h
2112 ## end gnulib module vasnprintf-tests
2114 ## begin gnulib module vc-list-files-tests
2116 TESTS += test-vc-list-files-git.sh
2117 TESTS += test-vc-list-files-cvs.sh
2118 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
2119 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
2121 ## end gnulib module vc-list-files-tests
2123 ## begin gnulib module verify-tests
2125 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
2126 TESTS += test-verify test-verify.sh
2127 check_PROGRAMS += test-verify
2128 EXTRA_DIST += test-verify.c test-verify.sh
2130 ## end gnulib module verify-tests
2132 ## begin gnulib module version-etc-tests
2134 TESTS += test-version-etc.sh
2135 check_PROGRAMS += test-version-etc
2136 test_version_etc_LDADD = $(LDADD) @LIBINTL@
2137 EXTRA_DIST += test-version-etc.c test-version-etc.sh
2139 ## end gnulib module version-etc-tests
2141 ## begin gnulib module wchar-tests
2144 check_PROGRAMS += test-wchar
2145 EXTRA_DIST += test-wchar.c
2147 ## end gnulib module wchar-tests
2149 ## begin gnulib module wcrtomb-tests
2153 test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
2154 test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
2155 TESTS_ENVIRONMENT += \
2156 LOCALE_FR='@LOCALE_FR@' \
2157 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
2158 LOCALE_JA='@LOCALE_JA@' \
2159 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
2160 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
2162 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
2164 ## end gnulib module wcrtomb-tests
2166 ## begin gnulib module wctob
2169 EXTRA_DIST += wctob.c
2171 EXTRA_libtests_a_SOURCES += wctob.c
2173 ## end gnulib module wctob
2175 ## begin gnulib module wctomb
2178 EXTRA_DIST += wctomb-impl.h wctomb.c
2180 EXTRA_libtests_a_SOURCES += wctomb.c
2182 ## end gnulib module wctomb
2184 ## begin gnulib module wctype-h-tests
2186 TESTS += test-wctype-h
2187 check_PROGRAMS += test-wctype-h
2188 EXTRA_DIST += test-wctype-h.c macros.h
2190 ## end gnulib module wctype-h-tests
2192 ## begin gnulib module wcwidth-tests
2194 TESTS += test-wcwidth
2195 check_PROGRAMS += test-wcwidth
2197 EXTRA_DIST += test-wcwidth.c signature.h macros.h
2199 ## end gnulib module wcwidth-tests
2201 ## begin gnulib module xalloc-die-tests
2203 TESTS += test-xalloc-die.sh
2204 check_PROGRAMS += test-xalloc-die
2205 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
2206 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
2208 ## end gnulib module xalloc-die-tests
2210 ## begin gnulib module xstrtol-tests
2212 TESTS += test-xstrtol.sh
2213 check_PROGRAMS += test-xstrtol test-xstrtoul
2214 test_xstrtol_LDADD = $(LDADD) @LIBINTL@
2215 test_xstrtoul_LDADD = $(LDADD) @LIBINTL@
2216 EXTRA_DIST += test-xstrtol.c test-xstrtoul.c test-xstrtol.sh
2218 ## end gnulib module xstrtol-tests
2220 ## begin gnulib module xstrtoumax-tests
2222 TESTS += test-xstrtoumax.sh
2223 check_PROGRAMS += test-xstrtoumax
2224 test_xstrtoumax_LDADD = $(LDADD) @LIBINTL@
2225 EXTRA_DIST += test-xstrtoumax.c test-xstrtoumax.sh
2227 ## end gnulib module xstrtoumax-tests
2229 ## begin gnulib module yesno-tests
2231 TESTS += test-yesno.sh
2232 check_PROGRAMS += test-yesno
2233 test_yesno_LDADD = $(LDADD) @LIBINTL@
2234 EXTRA_DIST += test-yesno.c test-yesno.sh
2236 ## end gnulib module yesno-tests
2238 ## begin gnulib module yield
2240 libtests_a_SOURCES += glthread/yield.h
2242 ## end gnulib module yield
2244 # Clean up after Solaris cc.
2248 mostlyclean-local: mostlyclean-generic
2249 @for dir in '' $(MOSTLYCLEANDIRS); do \
2250 if test -n "$$dir" && test -d $$dir; then \
2251 echo "rmdir $$dir"; rmdir $$dir; \