use gnulib to detect iconv.
[gnutls:gnutls.git] / gl / tests / Makefile.am
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.
4 #
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.
9 #
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.
14 #
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/>.
17 #
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.
22 #
23 # Generated by gnulib-tool.
24
25 AUTOMAKE_OPTIONS = 1.5 foreign subdir-objects
26
27 SUBDIRS = .
28 TESTS =
29 XFAIL_TESTS =
30 TESTS_ENVIRONMENT =
31 noinst_PROGRAMS =
32 check_PROGRAMS =
33 noinst_HEADERS =
34 noinst_LIBRARIES =
35 check_LIBRARIES = libtests.a
36 EXTRA_DIST =
37 BUILT_SOURCES =
38 SUFFIXES =
39 MOSTLYCLEANFILES = core *.stackdump
40 MOSTLYCLEANDIRS =
41 CLEANFILES =
42 DISTCLEANFILES =
43 MAINTAINERCLEANFILES =
44
45 AM_CPPFLAGS = \
46   -D@gltests_WITNESS@=1 \
47   -I. -I$(srcdir) \
48   -I../.. -I$(srcdir)/../.. \
49   -I../../gl -I$(srcdir)/../../gl
50
51 LDADD = libtests.a ../../gl/libgnu.la libtests.a $(LIBTESTS_LIBDEPS)
52
53 libtests_a_SOURCES =
54 libtests_a_LIBADD = $(gltests_LIBOBJS)
55 libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
56 EXTRA_libtests_a_SOURCES =
57 AM_LIBTOOLFLAGS = --preserve-dup-deps
58
59 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
60
61 ## begin gnulib module accept-tests
62
63 TESTS += test-accept
64 check_PROGRAMS += test-accept
65 test_accept_LDADD = $(LDADD) @LIBSOCKET@
66 EXTRA_DIST += test-accept.c signature.h macros.h
67
68 ## end   gnulib module accept-tests
69
70 ## begin gnulib module alloca-opt-tests
71
72 TESTS += test-alloca-opt
73 check_PROGRAMS += test-alloca-opt
74
75 EXTRA_DIST += test-alloca-opt.c
76
77 ## end   gnulib module alloca-opt-tests
78
79 ## begin gnulib module argp-tests
80
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
85
86 ## end   gnulib module argp-tests
87
88 ## begin gnulib module arpa_inet-tests
89
90 TESTS += test-arpa_inet
91 check_PROGRAMS += test-arpa_inet
92 EXTRA_DIST += test-arpa_inet.c
93
94 ## end   gnulib module arpa_inet-tests
95
96 ## begin gnulib module base64-tests
97
98 TESTS += test-base64
99 check_PROGRAMS += test-base64
100 EXTRA_DIST += test-base64.c macros.h
101
102 ## end   gnulib module base64-tests
103
104 ## begin gnulib module binary-io
105
106 libtests_a_SOURCES += binary-io.h binary-io.c
107
108 ## end   gnulib module binary-io
109
110 ## begin gnulib module binary-io-tests
111
112 TESTS += test-binary-io.sh
113 check_PROGRAMS += test-binary-io
114
115 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
116
117 ## end   gnulib module binary-io-tests
118
119 ## begin gnulib module bind-tests
120
121 TESTS += test-bind
122 check_PROGRAMS += test-bind
123 test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
124 EXTRA_DIST += test-bind.c signature.h macros.h
125
126 ## end   gnulib module bind-tests
127
128 ## begin gnulib module byteswap-tests
129
130 TESTS += test-byteswap
131 check_PROGRAMS += test-byteswap
132 EXTRA_DIST += test-byteswap.c macros.h
133
134 ## end   gnulib module byteswap-tests
135
136 ## begin gnulib module c-ctype-tests
137
138 TESTS += test-c-ctype
139 check_PROGRAMS += test-c-ctype
140
141 EXTRA_DIST += test-c-ctype.c macros.h
142
143 ## end   gnulib module c-ctype-tests
144
145 ## begin gnulib module close-tests
146
147 TESTS += test-close
148 check_PROGRAMS += test-close
149 EXTRA_DIST += test-close.c signature.h macros.h
150
151 ## end   gnulib module close-tests
152
153 ## begin gnulib module connect-tests
154
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
159
160 ## end   gnulib module connect-tests
161
162 ## begin gnulib module dirent-tests
163
164 TESTS += test-dirent
165 check_PROGRAMS += test-dirent
166 EXTRA_DIST += test-dirent.c
167
168 ## end   gnulib module dirent-tests
169
170 ## begin gnulib module dup2-tests
171
172 TESTS += test-dup2
173 check_PROGRAMS += test-dup2
174 EXTRA_DIST += test-dup2.c signature.h macros.h
175
176 ## end   gnulib module dup2-tests
177
178 ## begin gnulib module environ-tests
179
180 TESTS += test-environ
181 check_PROGRAMS += test-environ
182
183 EXTRA_DIST += test-environ.c
184
185 ## end   gnulib module environ-tests
186
187 ## begin gnulib module errno-tests
188
189 TESTS += test-errno
190 check_PROGRAMS += test-errno
191
192 EXTRA_DIST += test-errno.c
193
194 ## end   gnulib module errno-tests
195
196 ## begin gnulib module fcntl-h
197
198 BUILT_SOURCES += fcntl.h
199
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; \
223         } > $@-t && \
224         mv $@-t $@
225 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
226
227 EXTRA_DIST += fcntl.in.h
228
229 ## end   gnulib module fcntl-h
230
231 ## begin gnulib module fcntl-h-tests
232
233 TESTS += test-fcntl-h
234 check_PROGRAMS += test-fcntl-h
235 EXTRA_DIST += test-fcntl-h.c
236
237 ## end   gnulib module fcntl-h-tests
238
239 ## begin gnulib module fdopen
240
241
242 EXTRA_DIST += fdopen.c
243
244 EXTRA_libtests_a_SOURCES += fdopen.c
245
246 ## end   gnulib module fdopen
247
248 ## begin gnulib module fdopen-tests
249
250 TESTS += test-fdopen
251 check_PROGRAMS += test-fdopen
252 EXTRA_DIST += test-fdopen.c signature.h macros.h
253
254 ## end   gnulib module fdopen-tests
255
256 ## begin gnulib module fgetc-tests
257
258 TESTS += test-fgetc
259 check_PROGRAMS += test-fgetc
260 EXTRA_DIST += test-fgetc.c signature.h macros.h
261
262 ## end   gnulib module fgetc-tests
263
264 ## begin gnulib module float-tests
265
266 TESTS += test-float
267 check_PROGRAMS += test-float
268 EXTRA_DIST += test-float.c macros.h
269
270 ## end   gnulib module float-tests
271
272 ## begin gnulib module fputc-tests
273
274 TESTS += test-fputc
275 check_PROGRAMS += test-fputc
276 EXTRA_DIST += test-fputc.c signature.h macros.h
277
278 ## end   gnulib module fputc-tests
279
280 ## begin gnulib module fread-tests
281
282 TESTS += test-fread
283 check_PROGRAMS += test-fread
284 EXTRA_DIST += test-fread.c signature.h macros.h
285
286 ## end   gnulib module fread-tests
287
288 ## begin gnulib module frexp-nolibm-tests
289
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
294
295 ## end   gnulib module frexp-nolibm-tests
296
297 ## begin gnulib module frexpl-nolibm-tests
298
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
303
304 ## end   gnulib module frexpl-nolibm-tests
305
306 ## begin gnulib module fseek-tests
307
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
311
312 ## end   gnulib module fseek-tests
313
314 ## begin gnulib module fseeko-tests
315
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
319
320 ## end   gnulib module fseeko-tests
321
322 ## begin gnulib module fseterr-tests
323
324 TESTS += test-fseterr
325 check_PROGRAMS += test-fseterr
326
327 EXTRA_DIST += test-fseterr.c
328
329 ## end   gnulib module fseterr-tests
330
331 ## begin gnulib module fstat-tests
332
333 TESTS += test-fstat
334 check_PROGRAMS += test-fstat
335 EXTRA_DIST += test-fstat.c signature.h macros.h
336
337 ## end   gnulib module fstat-tests
338
339 ## begin gnulib module ftell-tests
340
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
345
346 ## end   gnulib module ftell-tests
347
348 ## begin gnulib module ftello-tests
349
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
354
355 ## end   gnulib module ftello-tests
356
357 ## begin gnulib module ftruncate
358
359
360 EXTRA_DIST += ftruncate.c
361
362 EXTRA_libtests_a_SOURCES += ftruncate.c
363
364 ## end   gnulib module ftruncate
365
366 ## begin gnulib module ftruncate-tests
367
368 TESTS += test-ftruncate.sh
369 check_PROGRAMS += test-ftruncate
370 EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
371
372 ## end   gnulib module ftruncate-tests
373
374 ## begin gnulib module func-tests
375
376 TESTS += test-func
377 check_PROGRAMS += test-func
378 EXTRA_DIST += test-func.c macros.h
379
380 ## end   gnulib module func-tests
381
382 ## begin gnulib module fwrite-tests
383
384 TESTS += test-fwrite
385 check_PROGRAMS += test-fwrite
386 EXTRA_DIST += test-fwrite.c signature.h macros.h
387
388 ## end   gnulib module fwrite-tests
389
390 ## begin gnulib module getaddrinfo-tests
391
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
396
397 ## end   gnulib module getaddrinfo-tests
398
399 ## begin gnulib module getcwd-lgpl
400
401
402 EXTRA_DIST += getcwd-lgpl.c
403
404 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
405
406 ## end   gnulib module getcwd-lgpl
407
408 ## begin gnulib module getcwd-lgpl-tests
409
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
414
415 ## end   gnulib module getcwd-lgpl-tests
416
417 ## begin gnulib module getdelim-tests
418
419 TESTS += test-getdelim
420 check_PROGRAMS += test-getdelim
421 MOSTLYCLEANFILES += test-getdelim.txt
422 EXTRA_DIST += test-getdelim.c signature.h macros.h
423
424 ## end   gnulib module getdelim-tests
425
426 ## begin gnulib module getline-tests
427
428 TESTS += test-getline
429 check_PROGRAMS += test-getline
430 MOSTLYCLEANFILES += test-getline.txt
431 EXTRA_DIST += test-getline.c signature.h macros.h
432
433 ## end   gnulib module getline-tests
434
435 ## begin gnulib module getopt-posix-tests
436
437 TESTS += test-getopt
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
441
442 ## end   gnulib module getopt-posix-tests
443
444 ## begin gnulib module getpagesize
445
446
447 EXTRA_DIST += getpagesize.c
448
449 EXTRA_libtests_a_SOURCES += getpagesize.c
450
451 ## end   gnulib module getpagesize
452
453 ## begin gnulib module getpeername-tests
454
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
459
460 ## end   gnulib module getpeername-tests
461
462 ## begin gnulib module gettimeofday-tests
463
464 TESTS += test-gettimeofday
465 check_PROGRAMS += test-gettimeofday
466
467 EXTRA_DIST += signature.h test-gettimeofday.c
468
469 ## end   gnulib module gettimeofday-tests
470
471 ## begin gnulib module iconv-tests
472
473 TESTS += test-iconv
474 check_PROGRAMS += test-iconv
475 test_iconv_LDADD = $(LDADD) @LIBICONV@
476
477 EXTRA_DIST += test-iconv.c signature.h macros.h
478
479 ## end   gnulib module iconv-tests
480
481 ## begin gnulib module ignore-value
482
483
484 EXTRA_DIST += ignore-value.h
485
486 ## end   gnulib module ignore-value
487
488 ## begin gnulib module ignore-value-tests
489
490 TESTS += test-ignore-value
491 check_PROGRAMS += test-ignore-value
492 EXTRA_DIST += test-ignore-value.c
493
494 ## end   gnulib module ignore-value-tests
495
496 ## begin gnulib module inet_ntop-tests
497
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
502
503 ## end   gnulib module inet_ntop-tests
504
505 ## begin gnulib module inet_pton-tests
506
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
511
512 ## end   gnulib module inet_pton-tests
513
514 ## begin gnulib module intprops-tests
515
516 TESTS += test-intprops
517 check_PROGRAMS += test-intprops
518 EXTRA_DIST += test-intprops.c macros.h
519
520 ## end   gnulib module intprops-tests
521
522 ## begin gnulib module inttypes-incomplete
523
524 BUILT_SOURCES += inttypes.h
525
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; \
558         } > $@-t && \
559         mv $@-t $@
560 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
561
562 EXTRA_DIST += inttypes.in.h
563
564 ## end   gnulib module inttypes-incomplete
565
566 ## begin gnulib module inttypes-tests
567
568 TESTS += test-inttypes
569 check_PROGRAMS += test-inttypes
570 EXTRA_DIST += test-inttypes.c
571
572 ## end   gnulib module inttypes-tests
573
574 ## begin gnulib module ioctl
575
576
577 EXTRA_DIST += ioctl.c w32sock.h
578
579 EXTRA_libtests_a_SOURCES += ioctl.c
580
581 ## end   gnulib module ioctl
582
583 ## begin gnulib module ioctl-tests
584
585 TESTS += test-ioctl
586 check_PROGRAMS += test-ioctl
587 EXTRA_DIST += test-ioctl.c signature.h macros.h
588
589 ## end   gnulib module ioctl-tests
590
591 ## begin gnulib module isnand-nolibm-tests
592
593 TESTS += test-isnand-nolibm
594 check_PROGRAMS += test-isnand-nolibm
595
596 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
597
598 ## end   gnulib module isnand-nolibm-tests
599
600 ## begin gnulib module isnanf-nolibm-tests
601
602 TESTS += test-isnanf-nolibm
603 check_PROGRAMS += test-isnanf-nolibm
604
605 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
606
607 ## end   gnulib module isnanf-nolibm-tests
608
609 ## begin gnulib module isnanl-nolibm-tests
610
611 TESTS += test-isnanl-nolibm
612 check_PROGRAMS += test-isnanl-nolibm
613
614 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
615
616 ## end   gnulib module isnanl-nolibm-tests
617
618 ## begin gnulib module listen-tests
619
620 TESTS += test-listen
621 check_PROGRAMS += test-listen
622 test_listen_LDADD = $(LDADD) @LIBSOCKET@
623 EXTRA_DIST += test-listen.c signature.h macros.h
624
625 ## end   gnulib module listen-tests
626
627 ## begin gnulib module lock
628
629 libtests_a_SOURCES += glthread/lock.h glthread/lock.c
630
631 ## end   gnulib module lock
632
633 ## begin gnulib module lstat
634
635
636 EXTRA_DIST += lstat.c
637
638 EXTRA_libtests_a_SOURCES += lstat.c
639
640 ## end   gnulib module lstat
641
642 ## begin gnulib module lstat-tests
643
644 TESTS += test-lstat
645 check_PROGRAMS += test-lstat
646 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
647
648 ## end   gnulib module lstat-tests
649
650 ## begin gnulib module malloc-gnu-tests
651
652 TESTS += test-malloc-gnu
653 check_PROGRAMS += test-malloc-gnu
654 EXTRA_DIST += test-malloc-gnu.c
655
656 ## end   gnulib module malloc-gnu-tests
657
658 ## begin gnulib module malloca
659
660 libtests_a_SOURCES += malloca.c
661
662 EXTRA_DIST += malloca.h malloca.valgrind
663
664 ## end   gnulib module malloca
665
666 ## begin gnulib module malloca-tests
667
668 TESTS += test-malloca
669 check_PROGRAMS += test-malloca
670
671 EXTRA_DIST += test-malloca.c
672
673 ## end   gnulib module malloca-tests
674
675 ## begin gnulib module math-tests
676
677 TESTS += test-math
678 check_PROGRAMS += test-math
679 EXTRA_DIST += test-math.c macros.h
680
681 ## end   gnulib module math-tests
682
683 ## begin gnulib module memchr-tests
684
685 TESTS += test-memchr
686 check_PROGRAMS += test-memchr
687 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
688
689 ## end   gnulib module memchr-tests
690
691 ## begin gnulib module netdb-tests
692
693 TESTS += test-netdb
694 check_PROGRAMS += test-netdb
695 EXTRA_DIST += test-netdb.c
696
697 ## end   gnulib module netdb-tests
698
699 ## begin gnulib module netinet_in-tests
700
701 TESTS += test-netinet_in
702 check_PROGRAMS += test-netinet_in
703 EXTRA_DIST += test-netinet_in.c
704
705 ## end   gnulib module netinet_in-tests
706
707 ## begin gnulib module open
708
709
710 EXTRA_DIST += open.c
711
712 EXTRA_libtests_a_SOURCES += open.c
713
714 ## end   gnulib module open
715
716 ## begin gnulib module open-tests
717
718 TESTS += test-open
719 check_PROGRAMS += test-open
720 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
721
722 ## end   gnulib module open-tests
723
724 ## begin gnulib module pathmax
725
726
727 EXTRA_DIST += pathmax.h
728
729 ## end   gnulib module pathmax
730
731 ## begin gnulib module pathmax-tests
732
733 TESTS += test-pathmax
734 check_PROGRAMS += test-pathmax
735 EXTRA_DIST += test-pathmax.c
736
737 ## end   gnulib module pathmax-tests
738
739 ## begin gnulib module perror
740
741
742 EXTRA_DIST += perror.c
743
744 EXTRA_libtests_a_SOURCES += perror.c
745
746 ## end   gnulib module perror
747
748 ## begin gnulib module perror-tests
749
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
753
754 ## end   gnulib module perror-tests
755
756 ## begin gnulib module pipe-posix
757
758
759 EXTRA_DIST += pipe.c
760
761 EXTRA_libtests_a_SOURCES += pipe.c
762
763 ## end   gnulib module pipe-posix
764
765 ## begin gnulib module pipe-posix-tests
766
767 TESTS += test-pipe
768 check_PROGRAMS += test-pipe
769 EXTRA_DIST += test-pipe.c signature.h macros.h
770
771 ## end   gnulib module pipe-posix-tests
772
773 ## begin gnulib module printf-frexp-tests
774
775 TESTS += test-printf-frexp
776 check_PROGRAMS += test-printf-frexp
777 EXTRA_DIST += test-printf-frexp.c macros.h
778
779 ## end   gnulib module printf-frexp-tests
780
781 ## begin gnulib module printf-frexpl-tests
782
783 TESTS += test-printf-frexpl
784 check_PROGRAMS += test-printf-frexpl
785 EXTRA_DIST += test-printf-frexpl.c macros.h
786
787 ## end   gnulib module printf-frexpl-tests
788
789 ## begin gnulib module putenv
790
791
792 EXTRA_DIST += putenv.c
793
794 EXTRA_libtests_a_SOURCES += putenv.c
795
796 ## end   gnulib module putenv
797
798 ## begin gnulib module rawmemchr-tests
799
800 TESTS += test-rawmemchr
801 check_PROGRAMS += test-rawmemchr
802 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
803
804 ## end   gnulib module rawmemchr-tests
805
806 ## begin gnulib module read-file-tests
807
808 TESTS += test-read-file
809 check_PROGRAMS += test-read-file
810 EXTRA_DIST += test-read-file.c
811
812 ## end   gnulib module read-file-tests
813
814 ## begin gnulib module recv-tests
815
816 TESTS += test-recv
817 check_PROGRAMS += test-recv
818 test_recv_LDADD = $(LDADD) @LIBSOCKET@
819 EXTRA_DIST += test-recv.c signature.h macros.h
820
821 ## end   gnulib module recv-tests
822
823 ## begin gnulib module recvfrom-tests
824
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
829
830 ## end   gnulib module recvfrom-tests
831
832 ## begin gnulib module same-inode
833
834
835 EXTRA_DIST += same-inode.h
836
837 ## end   gnulib module same-inode
838
839 ## begin gnulib module select-tests
840
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
848
849 ## end   gnulib module select-tests
850
851 ## begin gnulib module send-tests
852
853 TESTS += test-send
854 check_PROGRAMS += test-send
855 test_send_LDADD = $(LDADD) @LIBSOCKET@
856 EXTRA_DIST += test-send.c signature.h macros.h
857
858 ## end   gnulib module send-tests
859
860 ## begin gnulib module sendto-tests
861
862 TESTS += test-sendto
863 check_PROGRAMS += test-sendto
864 test_sendto_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
865 EXTRA_DIST += test-sendto.c signature.h macros.h
866
867 ## end   gnulib module sendto-tests
868
869 ## begin gnulib module setenv
870
871
872 EXTRA_DIST += setenv.c
873
874 EXTRA_libtests_a_SOURCES += setenv.c
875
876 ## end   gnulib module setenv
877
878 ## begin gnulib module setenv-tests
879
880 TESTS += test-setenv
881 check_PROGRAMS += test-setenv
882 EXTRA_DIST += test-setenv.c signature.h macros.h
883
884 ## end   gnulib module setenv-tests
885
886 ## begin gnulib module setsockopt-tests
887
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
892
893 ## end   gnulib module setsockopt-tests
894
895 ## begin gnulib module shutdown-tests
896
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
901
902 ## end   gnulib module shutdown-tests
903
904 ## begin gnulib module signal-h-tests
905
906 TESTS += test-signal-h
907 check_PROGRAMS += test-signal-h
908 EXTRA_DIST += test-signal-h.c
909
910 ## end   gnulib module signal-h-tests
911
912 ## begin gnulib module signbit-tests
913
914 TESTS += test-signbit
915 check_PROGRAMS += test-signbit
916
917 EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
918
919 ## end   gnulib module signbit-tests
920
921 ## begin gnulib module sleep-tests
922
923 TESTS += test-sleep
924 check_PROGRAMS += test-sleep
925 EXTRA_DIST += test-sleep.c signature.h macros.h
926
927 ## end   gnulib module sleep-tests
928
929 ## begin gnulib module snippet/_Noreturn
930
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.
934
935 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
936
937 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
938
939 ## end   gnulib module snippet/_Noreturn
940
941 ## begin gnulib module snippet/arg-nonnull
942
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.
947
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
951 # off.
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 \
956           > $@-t && \
957         mv $@-t $@
958 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
959
960 ARG_NONNULL_H=arg-nonnull.h
961
962 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
963
964 ## end   gnulib module snippet/arg-nonnull
965
966 ## begin gnulib module snippet/c++defs
967
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.
972
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 \
980           > $@-t && \
981         mv $@-t $@
982 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
983
984 CXXDEFS_H=c++defs.h
985
986 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
987
988 ## end   gnulib module snippet/c++defs
989
990 ## begin gnulib module snippet/warn-on-use
991
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
995 # off.
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 \
1000           > $@-t && \
1001         mv $@-t $@
1002 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1003
1004 WARN_ON_USE_H=warn-on-use.h
1005
1006 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1007
1008 ## end   gnulib module snippet/warn-on-use
1009
1010 ## begin gnulib module snprintf-tests
1011
1012 TESTS += test-snprintf
1013 check_PROGRAMS += test-snprintf
1014
1015 EXTRA_DIST += test-snprintf.c signature.h macros.h
1016
1017 ## end   gnulib module snprintf-tests
1018
1019 ## begin gnulib module sockets-tests
1020
1021 TESTS += test-sockets
1022 check_PROGRAMS += test-sockets
1023 test_sockets_LDADD = $(LDADD) @LIBSOCKET@
1024 EXTRA_DIST += test-sockets.c
1025
1026 ## end   gnulib module sockets-tests
1027
1028 ## begin gnulib module stat
1029
1030
1031 EXTRA_DIST += stat.c
1032
1033 EXTRA_libtests_a_SOURCES += stat.c
1034
1035 ## end   gnulib module stat
1036
1037 ## begin gnulib module stat-tests
1038
1039 TESTS += test-stat
1040 check_PROGRAMS += test-stat
1041 test_stat_LDADD = $(LDADD) $(LIBINTL)
1042 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1043
1044 ## end   gnulib module stat-tests
1045
1046 ## begin gnulib module stdalign-tests
1047
1048 TESTS += test-stdalign
1049 check_PROGRAMS += test-stdalign
1050 EXTRA_DIST += test-stdalign.c macros.h
1051
1052 ## end   gnulib module stdalign-tests
1053
1054 ## begin gnulib module stdbool-tests
1055
1056 TESTS += test-stdbool
1057 check_PROGRAMS += test-stdbool
1058 EXTRA_DIST += test-stdbool.c
1059
1060 ## end   gnulib module stdbool-tests
1061
1062 ## begin gnulib module stddef-tests
1063
1064 TESTS += test-stddef
1065 check_PROGRAMS += test-stddef
1066 EXTRA_DIST += test-stddef.c
1067
1068 ## end   gnulib module stddef-tests
1069
1070 ## begin gnulib module stdint-tests
1071
1072 TESTS += test-stdint
1073 check_PROGRAMS += test-stdint
1074 EXTRA_DIST += test-stdint.c
1075
1076 ## end   gnulib module stdint-tests
1077
1078 ## begin gnulib module stdio-tests
1079
1080 TESTS += test-stdio
1081 check_PROGRAMS += test-stdio
1082 EXTRA_DIST += test-stdio.c
1083
1084 ## end   gnulib module stdio-tests
1085
1086 ## begin gnulib module stdlib-tests
1087
1088 TESTS += test-stdlib
1089 check_PROGRAMS += test-stdlib
1090 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1091
1092 ## end   gnulib module stdlib-tests
1093
1094 ## begin gnulib module strchrnul-tests
1095
1096 TESTS += test-strchrnul
1097 check_PROGRAMS += test-strchrnul
1098 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1099
1100 ## end   gnulib module strchrnul-tests
1101
1102 ## begin gnulib module strerror-tests
1103
1104 TESTS += test-strerror
1105 check_PROGRAMS += test-strerror
1106 EXTRA_DIST += test-strerror.c signature.h macros.h
1107
1108 ## end   gnulib module strerror-tests
1109
1110 ## begin gnulib module strerror_r-posix
1111
1112
1113 EXTRA_DIST += strerror_r.c
1114
1115 EXTRA_libtests_a_SOURCES += strerror_r.c
1116
1117 ## end   gnulib module strerror_r-posix
1118
1119 ## begin gnulib module strerror_r-posix-tests
1120
1121 TESTS += test-strerror_r
1122 check_PROGRAMS += test-strerror_r
1123 EXTRA_DIST += test-strerror_r.c signature.h macros.h
1124
1125 ## end   gnulib module strerror_r-posix-tests
1126
1127 ## begin gnulib module string-tests
1128
1129 TESTS += test-string
1130 check_PROGRAMS += test-string
1131 EXTRA_DIST += test-string.c
1132
1133 ## end   gnulib module string-tests
1134
1135 ## begin gnulib module strings-tests
1136
1137 TESTS += test-strings
1138 check_PROGRAMS += test-strings
1139 EXTRA_DIST += test-strings.c
1140
1141 ## end   gnulib module strings-tests
1142
1143 ## begin gnulib module strnlen-tests
1144
1145 TESTS += test-strnlen
1146 check_PROGRAMS += test-strnlen
1147 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1148
1149 ## end   gnulib module strnlen-tests
1150
1151 ## begin gnulib module strverscmp-tests
1152
1153 TESTS += test-strverscmp
1154 check_PROGRAMS += test-strverscmp
1155 EXTRA_DIST += test-strverscmp.c signature.h macros.h
1156
1157 ## end   gnulib module strverscmp-tests
1158
1159 ## begin gnulib module symlink
1160
1161
1162 EXTRA_DIST += symlink.c
1163
1164 EXTRA_libtests_a_SOURCES += symlink.c
1165
1166 ## end   gnulib module symlink
1167
1168 ## begin gnulib module symlink-tests
1169
1170 TESTS += test-symlink
1171 check_PROGRAMS += test-symlink
1172 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1173
1174 ## end   gnulib module symlink-tests
1175
1176 ## begin gnulib module sys_ioctl
1177
1178 BUILT_SOURCES += sys/ioctl.h
1179
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; \
1199         } > $@-t && \
1200         mv $@-t $@
1201 MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
1202 MOSTLYCLEANDIRS += sys
1203
1204 EXTRA_DIST += sys_ioctl.in.h
1205
1206 ## end   gnulib module sys_ioctl
1207
1208 ## begin gnulib module sys_ioctl-tests
1209
1210 TESTS += test-sys_ioctl
1211 check_PROGRAMS += test-sys_ioctl
1212 EXTRA_DIST += test-sys_ioctl.c
1213
1214 ## end   gnulib module sys_ioctl-tests
1215
1216 ## begin gnulib module sys_select-tests
1217
1218 TESTS += test-sys_select
1219 check_PROGRAMS += test-sys_select
1220 EXTRA_DIST += test-sys_select.c signature.h
1221
1222 ## end   gnulib module sys_select-tests
1223
1224 ## begin gnulib module sys_socket-tests
1225
1226 TESTS += test-sys_socket
1227 check_PROGRAMS += test-sys_socket
1228 EXTRA_DIST += test-sys_socket.c
1229
1230 ## end   gnulib module sys_socket-tests
1231
1232 ## begin gnulib module sys_stat-tests
1233
1234 TESTS += test-sys_stat
1235 check_PROGRAMS += test-sys_stat
1236 EXTRA_DIST += test-sys_stat.c
1237
1238 ## end   gnulib module sys_stat-tests
1239
1240 ## begin gnulib module sys_time-tests
1241
1242 TESTS += test-sys_time
1243 check_PROGRAMS += test-sys_time
1244 EXTRA_DIST += test-sys_time.c
1245
1246 ## end   gnulib module sys_time-tests
1247
1248 ## begin gnulib module sys_types-tests
1249
1250 TESTS += test-sys_types
1251 check_PROGRAMS += test-sys_types
1252 EXTRA_DIST += test-sys_types.c
1253
1254 ## end   gnulib module sys_types-tests
1255
1256 ## begin gnulib module sys_uio-tests
1257
1258 TESTS += test-sys_uio
1259 check_PROGRAMS += test-sys_uio
1260 EXTRA_DIST += test-sys_uio.c
1261
1262 ## end   gnulib module sys_uio-tests
1263
1264 ## begin gnulib module sysexits-tests
1265
1266 TESTS += test-sysexits
1267 check_PROGRAMS += test-sysexits
1268 EXTRA_DIST += test-sysexits.c
1269
1270 ## end   gnulib module sysexits-tests
1271
1272 ## begin gnulib module test-framework-sh-tests
1273
1274 TESTS += test-init.sh
1275 EXTRA_DIST += init.sh
1276 EXTRA_DIST += test-init.sh
1277
1278 ## end   gnulib module test-framework-sh-tests
1279
1280 ## begin gnulib module time-tests
1281
1282 TESTS += test-time
1283 check_PROGRAMS += test-time
1284 EXTRA_DIST += test-time.c
1285
1286 ## end   gnulib module time-tests
1287
1288 ## begin gnulib module u64-tests
1289
1290 TESTS += test-u64
1291 check_PROGRAMS += test-u64
1292 EXTRA_DIST += test-u64.c
1293
1294 ## end   gnulib module u64-tests
1295
1296 ## begin gnulib module unistd-tests
1297
1298 TESTS += test-unistd
1299 check_PROGRAMS += test-unistd
1300 EXTRA_DIST += test-unistd.c
1301
1302 ## end   gnulib module unistd-tests
1303
1304 ## begin gnulib module unsetenv
1305
1306
1307 EXTRA_DIST += unsetenv.c
1308
1309 EXTRA_libtests_a_SOURCES += unsetenv.c
1310
1311 ## end   gnulib module unsetenv
1312
1313 ## begin gnulib module unsetenv-tests
1314
1315 TESTS += test-unsetenv
1316 check_PROGRAMS += test-unsetenv
1317 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1318
1319 ## end   gnulib module unsetenv-tests
1320
1321 ## begin gnulib module vasnprintf-tests
1322
1323 TESTS += test-vasnprintf
1324 check_PROGRAMS += test-vasnprintf
1325
1326 EXTRA_DIST += test-vasnprintf.c macros.h
1327
1328 ## end   gnulib module vasnprintf-tests
1329
1330 ## begin gnulib module vasprintf-tests
1331
1332 TESTS += test-vasprintf
1333 check_PROGRAMS += test-vasprintf
1334
1335 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1336
1337 ## end   gnulib module vasprintf-tests
1338
1339 ## begin gnulib module vc-list-files-tests
1340
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
1345
1346 ## end   gnulib module vc-list-files-tests
1347
1348 ## begin gnulib module verify-tests
1349
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
1354
1355 ## end   gnulib module verify-tests
1356
1357 ## begin gnulib module version-etc-tests
1358
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
1363
1364 ## end   gnulib module version-etc-tests
1365
1366 ## begin gnulib module vfprintf-posix-tests
1367
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
1371
1372 ## end   gnulib module vfprintf-posix-tests
1373
1374 ## begin gnulib module vprintf-posix-tests
1375
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
1379
1380 ## end   gnulib module vprintf-posix-tests
1381
1382 ## begin gnulib module vsnprintf-tests
1383
1384 TESTS += test-vsnprintf
1385 check_PROGRAMS += test-vsnprintf
1386
1387 EXTRA_DIST += test-vsnprintf.c signature.h macros.h
1388
1389 ## end   gnulib module vsnprintf-tests
1390
1391 ## begin gnulib module wchar-tests
1392
1393 TESTS += test-wchar
1394 check_PROGRAMS += test-wchar
1395 EXTRA_DIST += test-wchar.c
1396
1397 ## end   gnulib module wchar-tests
1398
1399 # Clean up after Solaris cc.
1400 clean-local:
1401         rm -rf SunWS_cache
1402
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; \
1407           fi; \
1408         done; \
1409         :