1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
23 # Generated by gnulib-tool.
25 AUTOMAKE_OPTIONS = 1.5 foreign subdir-objects
35 check_LIBRARIES = libtests.a
39 MOSTLYCLEANFILES = core *.stackdump
43 MAINTAINERCLEANFILES =
46 -D@gltests_WITNESS@=1 \
48 -I../.. -I$(srcdir)/../.. \
49 -I../../gl -I$(srcdir)/../../gl
51 LDADD = libtests.a ../../gl/libgnu.la libtests.a $(LIBTESTS_LIBDEPS)
54 libtests_a_LIBADD = $(gltests_LIBOBJS)
55 libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
56 EXTRA_libtests_a_SOURCES =
57 AM_LIBTOOLFLAGS = --preserve-dup-deps
59 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
61 ## begin gnulib module accept-tests
64 check_PROGRAMS += test-accept
65 test_accept_LDADD = $(LDADD) @LIBSOCKET@
66 EXTRA_DIST += test-accept.c signature.h macros.h
68 ## end gnulib module accept-tests
70 ## begin gnulib module alloca-opt-tests
72 TESTS += test-alloca-opt
73 check_PROGRAMS += test-alloca-opt
75 EXTRA_DIST += test-alloca-opt.c
77 ## end gnulib module alloca-opt-tests
79 ## begin gnulib module argp-tests
81 TESTS += test-argp test-argp-2.sh
82 check_PROGRAMS += test-argp
83 test_argp_LDADD = $(LDADD) @LIBINTL@
84 EXTRA_DIST += test-argp.c test-argp-2.sh
86 ## end gnulib module argp-tests
88 ## begin gnulib module arpa_inet-tests
90 TESTS += test-arpa_inet
91 check_PROGRAMS += test-arpa_inet
92 EXTRA_DIST += test-arpa_inet.c
94 ## end gnulib module arpa_inet-tests
96 ## begin gnulib module base64-tests
99 check_PROGRAMS += test-base64
100 EXTRA_DIST += test-base64.c macros.h
102 ## end gnulib module base64-tests
104 ## begin gnulib module binary-io
106 libtests_a_SOURCES += binary-io.h binary-io.c
108 ## end gnulib module binary-io
110 ## begin gnulib module binary-io-tests
112 TESTS += test-binary-io.sh
113 check_PROGRAMS += test-binary-io
115 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
117 ## end gnulib module binary-io-tests
119 ## begin gnulib module bind-tests
122 check_PROGRAMS += test-bind
123 test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
124 EXTRA_DIST += test-bind.c signature.h macros.h
126 ## end gnulib module bind-tests
128 ## begin gnulib module byteswap-tests
130 TESTS += test-byteswap
131 check_PROGRAMS += test-byteswap
132 EXTRA_DIST += test-byteswap.c macros.h
134 ## end gnulib module byteswap-tests
136 ## begin gnulib module c-ctype-tests
138 TESTS += test-c-ctype
139 check_PROGRAMS += test-c-ctype
141 EXTRA_DIST += test-c-ctype.c macros.h
143 ## end gnulib module c-ctype-tests
145 ## begin gnulib module close-tests
148 check_PROGRAMS += test-close
149 EXTRA_DIST += test-close.c signature.h macros.h
151 ## end gnulib module close-tests
153 ## begin gnulib module connect-tests
155 TESTS += test-connect
156 check_PROGRAMS += test-connect
157 test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
158 EXTRA_DIST += test-connect.c signature.h macros.h
160 ## end gnulib module connect-tests
162 ## begin gnulib module dirent-tests
165 check_PROGRAMS += test-dirent
166 EXTRA_DIST += test-dirent.c
168 ## end gnulib module dirent-tests
170 ## begin gnulib module dup2-tests
173 check_PROGRAMS += test-dup2
174 EXTRA_DIST += test-dup2.c signature.h macros.h
176 ## end gnulib module dup2-tests
178 ## begin gnulib module environ-tests
180 TESTS += test-environ
181 check_PROGRAMS += test-environ
183 EXTRA_DIST += test-environ.c
185 ## end gnulib module environ-tests
187 ## begin gnulib module errno-tests
190 check_PROGRAMS += test-errno
192 EXTRA_DIST += test-errno.c
194 ## end gnulib module errno-tests
196 ## begin gnulib module fcntl-h
198 BUILT_SOURCES += fcntl.h
200 # We need the following in order to create <fcntl.h> when the system
201 # doesn't have one that works with the given compiler.
202 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
203 $(AM_V_GEN)rm -f $@-t $@ && \
204 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
205 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
206 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
207 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
208 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
209 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
210 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
211 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
212 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
213 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
214 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
215 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
216 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
217 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
218 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
219 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
220 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
221 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
222 < $(srcdir)/fcntl.in.h; \
225 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
227 EXTRA_DIST += fcntl.in.h
229 ## end gnulib module fcntl-h
231 ## begin gnulib module fcntl-h-tests
233 TESTS += test-fcntl-h
234 check_PROGRAMS += test-fcntl-h
235 EXTRA_DIST += test-fcntl-h.c
237 ## end gnulib module fcntl-h-tests
239 ## begin gnulib module fdopen
242 EXTRA_DIST += fdopen.c
244 EXTRA_libtests_a_SOURCES += fdopen.c
246 ## end gnulib module fdopen
248 ## begin gnulib module fdopen-tests
251 check_PROGRAMS += test-fdopen
252 EXTRA_DIST += test-fdopen.c signature.h macros.h
254 ## end gnulib module fdopen-tests
256 ## begin gnulib module fgetc-tests
259 check_PROGRAMS += test-fgetc
260 EXTRA_DIST += test-fgetc.c signature.h macros.h
262 ## end gnulib module fgetc-tests
264 ## begin gnulib module float-tests
267 check_PROGRAMS += test-float
268 EXTRA_DIST += test-float.c macros.h
270 ## end gnulib module float-tests
272 ## begin gnulib module fputc-tests
275 check_PROGRAMS += test-fputc
276 EXTRA_DIST += test-fputc.c signature.h macros.h
278 ## end gnulib module fputc-tests
280 ## begin gnulib module fread-tests
283 check_PROGRAMS += test-fread
284 EXTRA_DIST += test-fread.c signature.h macros.h
286 ## end gnulib module fread-tests
288 ## begin gnulib module frexp-nolibm-tests
290 TESTS += test-frexp-nolibm
291 check_PROGRAMS += test-frexp-nolibm
292 test_frexp_nolibm_SOURCES = test-frexp.c randomd.c
293 EXTRA_DIST += test-frexp.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randomd.c
295 ## end gnulib module frexp-nolibm-tests
297 ## begin gnulib module frexpl-nolibm-tests
299 TESTS += test-frexpl-nolibm
300 check_PROGRAMS += test-frexpl-nolibm
301 test_frexpl_nolibm_SOURCES = test-frexpl.c randoml.c
302 EXTRA_DIST += test-frexpl.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randoml.c
304 ## end gnulib module frexpl-nolibm-tests
306 ## begin gnulib module fseek-tests
308 TESTS += test-fseek.sh test-fseek2.sh
309 check_PROGRAMS += test-fseek
310 EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
312 ## end gnulib module fseek-tests
314 ## begin gnulib module fseeko-tests
316 TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
317 check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
318 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
320 ## end gnulib module fseeko-tests
322 ## begin gnulib module fseterr-tests
324 TESTS += test-fseterr
325 check_PROGRAMS += test-fseterr
327 EXTRA_DIST += test-fseterr.c
329 ## end gnulib module fseterr-tests
331 ## begin gnulib module fstat-tests
334 check_PROGRAMS += test-fstat
335 EXTRA_DIST += test-fstat.c signature.h macros.h
337 ## end gnulib module fstat-tests
339 ## begin gnulib module ftell-tests
341 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
342 check_PROGRAMS += test-ftell test-ftell3
343 MOSTLYCLEANFILES += t-ftell3.tmp
344 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
346 ## end gnulib module ftell-tests
348 ## begin gnulib module ftello-tests
350 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
351 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
352 MOSTLYCLEANFILES += t-ftello3.tmp
353 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
355 ## end gnulib module ftello-tests
357 ## begin gnulib module ftruncate
360 EXTRA_DIST += ftruncate.c
362 EXTRA_libtests_a_SOURCES += ftruncate.c
364 ## end gnulib module ftruncate
366 ## begin gnulib module ftruncate-tests
368 TESTS += test-ftruncate.sh
369 check_PROGRAMS += test-ftruncate
370 EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
372 ## end gnulib module ftruncate-tests
374 ## begin gnulib module func-tests
377 check_PROGRAMS += test-func
378 EXTRA_DIST += test-func.c macros.h
380 ## end gnulib module func-tests
382 ## begin gnulib module fwrite-tests
385 check_PROGRAMS += test-fwrite
386 EXTRA_DIST += test-fwrite.c signature.h macros.h
388 ## end gnulib module fwrite-tests
390 ## begin gnulib module getaddrinfo-tests
392 TESTS += test-getaddrinfo
393 check_PROGRAMS += test-getaddrinfo
394 test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@
395 EXTRA_DIST += signature.h test-getaddrinfo.c
397 ## end gnulib module getaddrinfo-tests
399 ## begin gnulib module getcwd-lgpl
402 EXTRA_DIST += getcwd-lgpl.c
404 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
406 ## end gnulib module getcwd-lgpl
408 ## begin gnulib module getcwd-lgpl-tests
410 TESTS += test-getcwd-lgpl
411 check_PROGRAMS += test-getcwd-lgpl
412 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
413 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
415 ## end gnulib module getcwd-lgpl-tests
417 ## begin gnulib module getdelim-tests
419 TESTS += test-getdelim
420 check_PROGRAMS += test-getdelim
421 MOSTLYCLEANFILES += test-getdelim.txt
422 EXTRA_DIST += test-getdelim.c signature.h macros.h
424 ## end gnulib module getdelim-tests
426 ## begin gnulib module getline-tests
428 TESTS += test-getline
429 check_PROGRAMS += test-getline
430 MOSTLYCLEANFILES += test-getline.txt
431 EXTRA_DIST += test-getline.c signature.h macros.h
433 ## end gnulib module getline-tests
435 ## begin gnulib module getopt-posix-tests
438 check_PROGRAMS += test-getopt
439 test_getopt_LDADD = $(LDADD) $(LIBINTL)
440 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
442 ## end gnulib module getopt-posix-tests
444 ## begin gnulib module getpagesize
447 EXTRA_DIST += getpagesize.c
449 EXTRA_libtests_a_SOURCES += getpagesize.c
451 ## end gnulib module getpagesize
453 ## begin gnulib module getpeername-tests
455 TESTS += test-getpeername
456 check_PROGRAMS += test-getpeername
457 test_getpeername_LDADD = $(LDADD) @LIBSOCKET@
458 EXTRA_DIST += test-getpeername.c signature.h macros.h
460 ## end gnulib module getpeername-tests
462 ## begin gnulib module gettimeofday-tests
464 TESTS += test-gettimeofday
465 check_PROGRAMS += test-gettimeofday
467 EXTRA_DIST += signature.h test-gettimeofday.c
469 ## end gnulib module gettimeofday-tests
471 ## begin gnulib module iconv-tests
474 check_PROGRAMS += test-iconv
475 test_iconv_LDADD = $(LDADD) @LIBICONV@
477 EXTRA_DIST += test-iconv.c signature.h macros.h
479 ## end gnulib module iconv-tests
481 ## begin gnulib module ignore-value
484 EXTRA_DIST += ignore-value.h
486 ## end gnulib module ignore-value
488 ## begin gnulib module ignore-value-tests
490 TESTS += test-ignore-value
491 check_PROGRAMS += test-ignore-value
492 EXTRA_DIST += test-ignore-value.c
494 ## end gnulib module ignore-value-tests
496 ## begin gnulib module inet_ntop-tests
498 TESTS += test-inet_ntop
499 check_PROGRAMS += test-inet_ntop
500 test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@
501 EXTRA_DIST += test-inet_ntop.c signature.h macros.h
503 ## end gnulib module inet_ntop-tests
505 ## begin gnulib module inet_pton-tests
507 TESTS += test-inet_pton
508 check_PROGRAMS += test-inet_pton
509 test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@
510 EXTRA_DIST += test-inet_pton.c signature.h macros.h
512 ## end gnulib module inet_pton-tests
514 ## begin gnulib module intprops-tests
516 TESTS += test-intprops
517 check_PROGRAMS += test-intprops
518 EXTRA_DIST += test-intprops.c macros.h
520 ## end gnulib module intprops-tests
522 ## begin gnulib module inttypes-incomplete
524 BUILT_SOURCES += inttypes.h
526 # We need the following in order to create <inttypes.h> when the system
527 # doesn't have one that works with the given compiler.
528 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
529 $(AM_V_GEN)rm -f $@-t $@ && \
530 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
531 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
532 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
533 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
534 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
535 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
536 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
537 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
538 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
539 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
540 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
541 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
542 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
543 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
544 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
545 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
546 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
547 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
548 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
549 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
550 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
551 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
552 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
553 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
554 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
555 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
556 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
557 < $(srcdir)/inttypes.in.h; \
560 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
562 EXTRA_DIST += inttypes.in.h
564 ## end gnulib module inttypes-incomplete
566 ## begin gnulib module inttypes-tests
568 TESTS += test-inttypes
569 check_PROGRAMS += test-inttypes
570 EXTRA_DIST += test-inttypes.c
572 ## end gnulib module inttypes-tests
574 ## begin gnulib module ioctl
577 EXTRA_DIST += ioctl.c w32sock.h
579 EXTRA_libtests_a_SOURCES += ioctl.c
581 ## end gnulib module ioctl
583 ## begin gnulib module ioctl-tests
586 check_PROGRAMS += test-ioctl
587 EXTRA_DIST += test-ioctl.c signature.h macros.h
589 ## end gnulib module ioctl-tests
591 ## begin gnulib module isnand-nolibm-tests
593 TESTS += test-isnand-nolibm
594 check_PROGRAMS += test-isnand-nolibm
596 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
598 ## end gnulib module isnand-nolibm-tests
600 ## begin gnulib module isnanf-nolibm-tests
602 TESTS += test-isnanf-nolibm
603 check_PROGRAMS += test-isnanf-nolibm
605 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
607 ## end gnulib module isnanf-nolibm-tests
609 ## begin gnulib module isnanl-nolibm-tests
611 TESTS += test-isnanl-nolibm
612 check_PROGRAMS += test-isnanl-nolibm
614 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
616 ## end gnulib module isnanl-nolibm-tests
618 ## begin gnulib module listen-tests
621 check_PROGRAMS += test-listen
622 test_listen_LDADD = $(LDADD) @LIBSOCKET@
623 EXTRA_DIST += test-listen.c signature.h macros.h
625 ## end gnulib module listen-tests
627 ## begin gnulib module lock
629 libtests_a_SOURCES += glthread/lock.h glthread/lock.c
631 ## end gnulib module lock
633 ## begin gnulib module lstat
636 EXTRA_DIST += lstat.c
638 EXTRA_libtests_a_SOURCES += lstat.c
640 ## end gnulib module lstat
642 ## begin gnulib module lstat-tests
645 check_PROGRAMS += test-lstat
646 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
648 ## end gnulib module lstat-tests
650 ## begin gnulib module malloc-gnu-tests
652 TESTS += test-malloc-gnu
653 check_PROGRAMS += test-malloc-gnu
654 EXTRA_DIST += test-malloc-gnu.c
656 ## end gnulib module malloc-gnu-tests
658 ## begin gnulib module malloca
660 libtests_a_SOURCES += malloca.c
662 EXTRA_DIST += malloca.h malloca.valgrind
664 ## end gnulib module malloca
666 ## begin gnulib module malloca-tests
668 TESTS += test-malloca
669 check_PROGRAMS += test-malloca
671 EXTRA_DIST += test-malloca.c
673 ## end gnulib module malloca-tests
675 ## begin gnulib module math-tests
678 check_PROGRAMS += test-math
679 EXTRA_DIST += test-math.c macros.h
681 ## end gnulib module math-tests
683 ## begin gnulib module memchr-tests
686 check_PROGRAMS += test-memchr
687 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
689 ## end gnulib module memchr-tests
691 ## begin gnulib module netdb-tests
694 check_PROGRAMS += test-netdb
695 EXTRA_DIST += test-netdb.c
697 ## end gnulib module netdb-tests
699 ## begin gnulib module netinet_in-tests
701 TESTS += test-netinet_in
702 check_PROGRAMS += test-netinet_in
703 EXTRA_DIST += test-netinet_in.c
705 ## end gnulib module netinet_in-tests
707 ## begin gnulib module open
712 EXTRA_libtests_a_SOURCES += open.c
714 ## end gnulib module open
716 ## begin gnulib module open-tests
719 check_PROGRAMS += test-open
720 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
722 ## end gnulib module open-tests
724 ## begin gnulib module pathmax
727 EXTRA_DIST += pathmax.h
729 ## end gnulib module pathmax
731 ## begin gnulib module pathmax-tests
733 TESTS += test-pathmax
734 check_PROGRAMS += test-pathmax
735 EXTRA_DIST += test-pathmax.c
737 ## end gnulib module pathmax-tests
739 ## begin gnulib module perror
742 EXTRA_DIST += perror.c
744 EXTRA_libtests_a_SOURCES += perror.c
746 ## end gnulib module perror
748 ## begin gnulib module perror-tests
750 TESTS += test-perror.sh test-perror2
751 check_PROGRAMS += test-perror test-perror2
752 EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh
754 ## end gnulib module perror-tests
756 ## begin gnulib module pipe-posix
761 EXTRA_libtests_a_SOURCES += pipe.c
763 ## end gnulib module pipe-posix
765 ## begin gnulib module pipe-posix-tests
768 check_PROGRAMS += test-pipe
769 EXTRA_DIST += test-pipe.c signature.h macros.h
771 ## end gnulib module pipe-posix-tests
773 ## begin gnulib module printf-frexp-tests
775 TESTS += test-printf-frexp
776 check_PROGRAMS += test-printf-frexp
777 EXTRA_DIST += test-printf-frexp.c macros.h
779 ## end gnulib module printf-frexp-tests
781 ## begin gnulib module printf-frexpl-tests
783 TESTS += test-printf-frexpl
784 check_PROGRAMS += test-printf-frexpl
785 EXTRA_DIST += test-printf-frexpl.c macros.h
787 ## end gnulib module printf-frexpl-tests
789 ## begin gnulib module putenv
792 EXTRA_DIST += putenv.c
794 EXTRA_libtests_a_SOURCES += putenv.c
796 ## end gnulib module putenv
798 ## begin gnulib module rawmemchr-tests
800 TESTS += test-rawmemchr
801 check_PROGRAMS += test-rawmemchr
802 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
804 ## end gnulib module rawmemchr-tests
806 ## begin gnulib module read-file-tests
808 TESTS += test-read-file
809 check_PROGRAMS += test-read-file
810 EXTRA_DIST += test-read-file.c
812 ## end gnulib module read-file-tests
814 ## begin gnulib module recv-tests
817 check_PROGRAMS += test-recv
818 test_recv_LDADD = $(LDADD) @LIBSOCKET@
819 EXTRA_DIST += test-recv.c signature.h macros.h
821 ## end gnulib module recv-tests
823 ## begin gnulib module recvfrom-tests
825 TESTS += test-recvfrom
826 check_PROGRAMS += test-recvfrom
827 test_recvfrom_LDADD = $(LDADD) @LIBSOCKET@
828 EXTRA_DIST += test-recvfrom.c signature.h macros.h
830 ## end gnulib module recvfrom-tests
832 ## begin gnulib module same-inode
835 EXTRA_DIST += same-inode.h
837 ## end gnulib module same-inode
839 ## begin gnulib module select-tests
841 TESTS += test-select test-select-in.sh test-select-out.sh
842 # test-select-stdin has to be run by hand.
843 check_PROGRAMS += test-select test-select-fd test-select-stdin
844 test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB)
845 test_select_fd_LDADD = $(LDADD) @LIB_SELECT@
846 test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@
847 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
849 ## end gnulib module select-tests
851 ## begin gnulib module send-tests
854 check_PROGRAMS += test-send
855 test_send_LDADD = $(LDADD) @LIBSOCKET@
856 EXTRA_DIST += test-send.c signature.h macros.h
858 ## end gnulib module send-tests
860 ## begin gnulib module sendto-tests
863 check_PROGRAMS += test-sendto
864 test_sendto_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
865 EXTRA_DIST += test-sendto.c signature.h macros.h
867 ## end gnulib module sendto-tests
869 ## begin gnulib module setenv
872 EXTRA_DIST += setenv.c
874 EXTRA_libtests_a_SOURCES += setenv.c
876 ## end gnulib module setenv
878 ## begin gnulib module setenv-tests
881 check_PROGRAMS += test-setenv
882 EXTRA_DIST += test-setenv.c signature.h macros.h
884 ## end gnulib module setenv-tests
886 ## begin gnulib module setsockopt-tests
888 TESTS += test-setsockopt
889 check_PROGRAMS += test-setsockopt
890 test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@
891 EXTRA_DIST += test-setsockopt.c signature.h macros.h
893 ## end gnulib module setsockopt-tests
895 ## begin gnulib module shutdown-tests
897 TESTS += test-shutdown
898 check_PROGRAMS += test-shutdown
899 test_shutdown_LDADD = $(LDADD) @LIBSOCKET@
900 EXTRA_DIST += test-shutdown.c signature.h macros.h
902 ## end gnulib module shutdown-tests
904 ## begin gnulib module signal-h-tests
906 TESTS += test-signal-h
907 check_PROGRAMS += test-signal-h
908 EXTRA_DIST += test-signal-h.c
910 ## end gnulib module signal-h-tests
912 ## begin gnulib module signbit-tests
914 TESTS += test-signbit
915 check_PROGRAMS += test-signbit
917 EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
919 ## end gnulib module signbit-tests
921 ## begin gnulib module sleep-tests
924 check_PROGRAMS += test-sleep
925 EXTRA_DIST += test-sleep.c signature.h macros.h
927 ## end gnulib module sleep-tests
929 ## begin gnulib module snippet/_Noreturn
931 # Because this Makefile snippet defines a variable used by other
932 # gnulib Makefile snippets, it must be present in all Makefile.am that
933 # need it. This is ensured by the applicability 'all' defined above.
935 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
937 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
939 ## end gnulib module snippet/_Noreturn
941 ## begin gnulib module snippet/arg-nonnull
943 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
944 # statements but through direct file reference. Therefore this snippet must be
945 # present in all Makefile.am that need it. This is ensured by the applicability
946 # 'all' defined above.
948 BUILT_SOURCES += arg-nonnull.h
949 # The arg-nonnull.h that gets inserted into generated .h files is the same as
950 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
952 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
953 $(AM_V_GEN)rm -f $@-t $@ && \
954 sed -n -e '/GL_ARG_NONNULL/,$$p' \
955 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
958 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
960 ARG_NONNULL_H=arg-nonnull.h
962 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
964 ## end gnulib module snippet/arg-nonnull
966 ## begin gnulib module snippet/c++defs
968 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
969 # statements but through direct file reference. Therefore this snippet must be
970 # present in all Makefile.am that need it. This is ensured by the applicability
971 # 'all' defined above.
973 BUILT_SOURCES += c++defs.h
974 # The c++defs.h that gets inserted into generated .h files is the same as
975 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
976 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
977 $(AM_V_GEN)rm -f $@-t $@ && \
978 sed -n -e '/_GL_CXXDEFS/,$$p' \
979 < $(top_srcdir)/build-aux/snippet/c++defs.h \
982 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
986 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
988 ## end gnulib module snippet/c++defs
990 ## begin gnulib module snippet/warn-on-use
992 BUILT_SOURCES += warn-on-use.h
993 # The warn-on-use.h that gets inserted into generated .h files is the same as
994 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
996 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
997 $(AM_V_GEN)rm -f $@-t $@ && \
998 sed -n -e '/^.ifndef/,$$p' \
999 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1002 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1004 WARN_ON_USE_H=warn-on-use.h
1006 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1008 ## end gnulib module snippet/warn-on-use
1010 ## begin gnulib module snprintf-tests
1012 TESTS += test-snprintf
1013 check_PROGRAMS += test-snprintf
1015 EXTRA_DIST += test-snprintf.c signature.h macros.h
1017 ## end gnulib module snprintf-tests
1019 ## begin gnulib module sockets-tests
1021 TESTS += test-sockets
1022 check_PROGRAMS += test-sockets
1023 test_sockets_LDADD = $(LDADD) @LIBSOCKET@
1024 EXTRA_DIST += test-sockets.c
1026 ## end gnulib module sockets-tests
1028 ## begin gnulib module stat
1031 EXTRA_DIST += stat.c
1033 EXTRA_libtests_a_SOURCES += stat.c
1035 ## end gnulib module stat
1037 ## begin gnulib module stat-tests
1040 check_PROGRAMS += test-stat
1041 test_stat_LDADD = $(LDADD) $(LIBINTL)
1042 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1044 ## end gnulib module stat-tests
1046 ## begin gnulib module stdalign-tests
1048 TESTS += test-stdalign
1049 check_PROGRAMS += test-stdalign
1050 EXTRA_DIST += test-stdalign.c macros.h
1052 ## end gnulib module stdalign-tests
1054 ## begin gnulib module stdbool-tests
1056 TESTS += test-stdbool
1057 check_PROGRAMS += test-stdbool
1058 EXTRA_DIST += test-stdbool.c
1060 ## end gnulib module stdbool-tests
1062 ## begin gnulib module stddef-tests
1064 TESTS += test-stddef
1065 check_PROGRAMS += test-stddef
1066 EXTRA_DIST += test-stddef.c
1068 ## end gnulib module stddef-tests
1070 ## begin gnulib module stdint-tests
1072 TESTS += test-stdint
1073 check_PROGRAMS += test-stdint
1074 EXTRA_DIST += test-stdint.c
1076 ## end gnulib module stdint-tests
1078 ## begin gnulib module stdio-tests
1081 check_PROGRAMS += test-stdio
1082 EXTRA_DIST += test-stdio.c
1084 ## end gnulib module stdio-tests
1086 ## begin gnulib module stdlib-tests
1088 TESTS += test-stdlib
1089 check_PROGRAMS += test-stdlib
1090 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1092 ## end gnulib module stdlib-tests
1094 ## begin gnulib module strchrnul-tests
1096 TESTS += test-strchrnul
1097 check_PROGRAMS += test-strchrnul
1098 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1100 ## end gnulib module strchrnul-tests
1102 ## begin gnulib module strerror-tests
1104 TESTS += test-strerror
1105 check_PROGRAMS += test-strerror
1106 EXTRA_DIST += test-strerror.c signature.h macros.h
1108 ## end gnulib module strerror-tests
1110 ## begin gnulib module strerror_r-posix
1113 EXTRA_DIST += strerror_r.c
1115 EXTRA_libtests_a_SOURCES += strerror_r.c
1117 ## end gnulib module strerror_r-posix
1119 ## begin gnulib module strerror_r-posix-tests
1121 TESTS += test-strerror_r
1122 check_PROGRAMS += test-strerror_r
1123 EXTRA_DIST += test-strerror_r.c signature.h macros.h
1125 ## end gnulib module strerror_r-posix-tests
1127 ## begin gnulib module string-tests
1129 TESTS += test-string
1130 check_PROGRAMS += test-string
1131 EXTRA_DIST += test-string.c
1133 ## end gnulib module string-tests
1135 ## begin gnulib module strings-tests
1137 TESTS += test-strings
1138 check_PROGRAMS += test-strings
1139 EXTRA_DIST += test-strings.c
1141 ## end gnulib module strings-tests
1143 ## begin gnulib module strnlen-tests
1145 TESTS += test-strnlen
1146 check_PROGRAMS += test-strnlen
1147 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1149 ## end gnulib module strnlen-tests
1151 ## begin gnulib module strverscmp-tests
1153 TESTS += test-strverscmp
1154 check_PROGRAMS += test-strverscmp
1155 EXTRA_DIST += test-strverscmp.c signature.h macros.h
1157 ## end gnulib module strverscmp-tests
1159 ## begin gnulib module symlink
1162 EXTRA_DIST += symlink.c
1164 EXTRA_libtests_a_SOURCES += symlink.c
1166 ## end gnulib module symlink
1168 ## begin gnulib module symlink-tests
1170 TESTS += test-symlink
1171 check_PROGRAMS += test-symlink
1172 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1174 ## end gnulib module symlink-tests
1176 ## begin gnulib module sys_ioctl
1178 BUILT_SOURCES += sys/ioctl.h
1180 # We need the following in order to create <sys/ioctl.h> when the system
1181 # does not have a complete one.
1182 sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1183 $(AM_V_at)$(MKDIR_P) sys
1184 $(AM_V_GEN)rm -f $@-t $@ && \
1185 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1186 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1187 -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \
1188 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1189 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1190 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1191 -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
1192 -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \
1193 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
1194 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1195 -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
1196 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1197 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1198 < $(srcdir)/sys_ioctl.in.h; \
1201 MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
1202 MOSTLYCLEANDIRS += sys
1204 EXTRA_DIST += sys_ioctl.in.h
1206 ## end gnulib module sys_ioctl
1208 ## begin gnulib module sys_ioctl-tests
1210 TESTS += test-sys_ioctl
1211 check_PROGRAMS += test-sys_ioctl
1212 EXTRA_DIST += test-sys_ioctl.c
1214 ## end gnulib module sys_ioctl-tests
1216 ## begin gnulib module sys_select-tests
1218 TESTS += test-sys_select
1219 check_PROGRAMS += test-sys_select
1220 EXTRA_DIST += test-sys_select.c signature.h
1222 ## end gnulib module sys_select-tests
1224 ## begin gnulib module sys_socket-tests
1226 TESTS += test-sys_socket
1227 check_PROGRAMS += test-sys_socket
1228 EXTRA_DIST += test-sys_socket.c
1230 ## end gnulib module sys_socket-tests
1232 ## begin gnulib module sys_stat-tests
1234 TESTS += test-sys_stat
1235 check_PROGRAMS += test-sys_stat
1236 EXTRA_DIST += test-sys_stat.c
1238 ## end gnulib module sys_stat-tests
1240 ## begin gnulib module sys_time-tests
1242 TESTS += test-sys_time
1243 check_PROGRAMS += test-sys_time
1244 EXTRA_DIST += test-sys_time.c
1246 ## end gnulib module sys_time-tests
1248 ## begin gnulib module sys_types-tests
1250 TESTS += test-sys_types
1251 check_PROGRAMS += test-sys_types
1252 EXTRA_DIST += test-sys_types.c
1254 ## end gnulib module sys_types-tests
1256 ## begin gnulib module sys_uio-tests
1258 TESTS += test-sys_uio
1259 check_PROGRAMS += test-sys_uio
1260 EXTRA_DIST += test-sys_uio.c
1262 ## end gnulib module sys_uio-tests
1264 ## begin gnulib module sysexits-tests
1266 TESTS += test-sysexits
1267 check_PROGRAMS += test-sysexits
1268 EXTRA_DIST += test-sysexits.c
1270 ## end gnulib module sysexits-tests
1272 ## begin gnulib module test-framework-sh-tests
1274 TESTS += test-init.sh
1275 EXTRA_DIST += init.sh
1276 EXTRA_DIST += test-init.sh
1278 ## end gnulib module test-framework-sh-tests
1280 ## begin gnulib module time-tests
1283 check_PROGRAMS += test-time
1284 EXTRA_DIST += test-time.c
1286 ## end gnulib module time-tests
1288 ## begin gnulib module u64-tests
1291 check_PROGRAMS += test-u64
1292 EXTRA_DIST += test-u64.c
1294 ## end gnulib module u64-tests
1296 ## begin gnulib module unistd-tests
1298 TESTS += test-unistd
1299 check_PROGRAMS += test-unistd
1300 EXTRA_DIST += test-unistd.c
1302 ## end gnulib module unistd-tests
1304 ## begin gnulib module unsetenv
1307 EXTRA_DIST += unsetenv.c
1309 EXTRA_libtests_a_SOURCES += unsetenv.c
1311 ## end gnulib module unsetenv
1313 ## begin gnulib module unsetenv-tests
1315 TESTS += test-unsetenv
1316 check_PROGRAMS += test-unsetenv
1317 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1319 ## end gnulib module unsetenv-tests
1321 ## begin gnulib module vasnprintf-tests
1323 TESTS += test-vasnprintf
1324 check_PROGRAMS += test-vasnprintf
1326 EXTRA_DIST += test-vasnprintf.c macros.h
1328 ## end gnulib module vasnprintf-tests
1330 ## begin gnulib module vasprintf-tests
1332 TESTS += test-vasprintf
1333 check_PROGRAMS += test-vasprintf
1335 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1337 ## end gnulib module vasprintf-tests
1339 ## begin gnulib module vc-list-files-tests
1341 TESTS += test-vc-list-files-git.sh
1342 TESTS += test-vc-list-files-cvs.sh
1343 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1344 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
1346 ## end gnulib module vc-list-files-tests
1348 ## begin gnulib module verify-tests
1350 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1351 TESTS += test-verify test-verify.sh
1352 check_PROGRAMS += test-verify
1353 EXTRA_DIST += test-verify.c test-verify.sh
1355 ## end gnulib module verify-tests
1357 ## begin gnulib module version-etc-tests
1359 TESTS += test-version-etc.sh
1360 check_PROGRAMS += test-version-etc
1361 test_version_etc_LDADD = $(LDADD) @LIBINTL@
1362 EXTRA_DIST += test-version-etc.c test-version-etc.sh
1364 ## end gnulib module version-etc-tests
1366 ## begin gnulib module vfprintf-posix-tests
1368 TESTS += test-vfprintf-posix.sh
1369 check_PROGRAMS += test-vfprintf-posix
1370 EXTRA_DIST += test-vfprintf-posix.sh test-vfprintf-posix.c test-fprintf-posix.h test-printf-posix.output infinity.h signature.h macros.h
1372 ## end gnulib module vfprintf-posix-tests
1374 ## begin gnulib module vprintf-posix-tests
1376 TESTS += test-vprintf-posix.sh
1377 check_PROGRAMS += test-vprintf-posix
1378 EXTRA_DIST += test-vprintf-posix.sh test-vprintf-posix.c test-printf-posix.h test-printf-posix.output infinity.h signature.h macros.h
1380 ## end gnulib module vprintf-posix-tests
1382 ## begin gnulib module vsnprintf-tests
1384 TESTS += test-vsnprintf
1385 check_PROGRAMS += test-vsnprintf
1387 EXTRA_DIST += test-vsnprintf.c signature.h macros.h
1389 ## end gnulib module vsnprintf-tests
1391 ## begin gnulib module wchar-tests
1394 check_PROGRAMS += test-wchar
1395 EXTRA_DIST += test-wchar.c
1397 ## end gnulib module wchar-tests
1399 # Clean up after Solaris cc.
1403 mostlyclean-local: mostlyclean-generic
1404 @for dir in '' $(MOSTLYCLEANDIRS); do \
1405 if test -n "$$dir" && test -d $$dir; then \
1406 echo "rmdir $$dir"; rmdir $$dir; \