Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / gnulib-tests / Makefile.gnulib
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2015 Free Software Foundation, Inc.
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.9.6 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../gnulib-lib -I$(srcdir)/../gnulib-lib
50
51 LDADD = libtests.a ../gnulib-lib/libgettextlib.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 acl-tests
62
63 TESTS += \
64   test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \
65   test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh
66 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
67 check_PROGRAMS += test-set-mode-acl test-copy-acl test-sameacls
68 test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
69 test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
70 test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
71 EXTRA_DIST += test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh test-set-mode-acl.c test-copy-acl.c test-sameacls.c macros.h
72
73 ## end   gnulib module acl-tests
74
75 ## begin gnulib module alignof-tests
76
77 TESTS += test-alignof
78 check_PROGRAMS += test-alignof
79
80 EXTRA_DIST += test-alignof.c
81
82 ## end   gnulib module alignof-tests
83
84 ## begin gnulib module alloca-opt-tests
85
86 TESTS += test-alloca-opt
87 check_PROGRAMS += test-alloca-opt
88
89 EXTRA_DIST += test-alloca-opt.c
90
91 ## end   gnulib module alloca-opt-tests
92
93 ## begin gnulib module areadlink-tests
94
95 TESTS += test-areadlink
96 check_PROGRAMS += test-areadlink
97 EXTRA_DIST += test-areadlink.h test-areadlink.c macros.h
98
99 ## end   gnulib module areadlink-tests
100
101 ## begin gnulib module argmatch-tests
102
103 TESTS += test-argmatch
104 check_PROGRAMS += test-argmatch
105 test_argmatch_LDADD = $(LDADD) @LIBINTL@
106
107 EXTRA_DIST += test-argmatch.c macros.h
108
109 ## end   gnulib module argmatch-tests
110
111 ## begin gnulib module array-list-tests
112
113 TESTS += test-array_list
114 check_PROGRAMS += test-array_list
115
116 EXTRA_DIST += test-array_list.c macros.h
117
118 ## end   gnulib module array-list-tests
119
120 ## begin gnulib module atexit-tests
121
122 TESTS += test-atexit.sh
123 check_PROGRAMS += test-atexit
124 EXTRA_DIST += signature.h test-atexit.sh test-atexit.c
125
126 ## end   gnulib module atexit-tests
127
128 ## begin gnulib module binary-io-tests
129
130 TESTS += test-binary-io.sh
131 check_PROGRAMS += test-binary-io
132
133 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
134
135 ## end   gnulib module binary-io-tests
136
137 ## begin gnulib module btowc
138
139
140 EXTRA_DIST += btowc.c
141
142 EXTRA_libtests_a_SOURCES += btowc.c
143
144 ## end   gnulib module btowc
145
146 ## begin gnulib module btowc-tests
147
148 TESTS += test-btowc1.sh test-btowc2.sh
149 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
150 check_PROGRAMS += test-btowc
151
152 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
153
154 ## end   gnulib module btowc-tests
155
156 ## begin gnulib module byteswap-tests
157
158 TESTS += test-byteswap
159 check_PROGRAMS += test-byteswap
160 EXTRA_DIST += test-byteswap.c macros.h
161
162 ## end   gnulib module byteswap-tests
163
164 ## begin gnulib module c-ctype-tests
165
166 TESTS += test-c-ctype
167 check_PROGRAMS += test-c-ctype
168 EXTRA_DIST += test-c-ctype.c macros.h
169
170 ## end   gnulib module c-ctype-tests
171
172 ## begin gnulib module c-strcase-tests
173
174 TESTS += test-c-strcase.sh
175 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
176 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
177 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
178
179 ## end   gnulib module c-strcase-tests
180
181 ## begin gnulib module c-strcasestr-tests
182
183 TESTS += test-c-strcasestr
184 check_PROGRAMS += test-c-strcasestr
185
186 EXTRA_DIST += test-c-strcasestr.c macros.h
187
188 ## end   gnulib module c-strcasestr-tests
189
190 ## begin gnulib module c-strstr-tests
191
192 TESTS += test-c-strstr
193 check_PROGRAMS += test-c-strstr
194
195 EXTRA_DIST += test-c-strstr.c macros.h
196
197 ## end   gnulib module c-strstr-tests
198
199 ## begin gnulib module canonicalize-lgpl-tests
200
201 TESTS += test-canonicalize-lgpl
202 check_PROGRAMS += test-canonicalize-lgpl
203 EXTRA_DIST += test-canonicalize-lgpl.c signature.h macros.h
204
205 ## end   gnulib module canonicalize-lgpl-tests
206
207 ## begin gnulib module cloexec-tests
208
209 TESTS += test-cloexec
210 check_PROGRAMS += test-cloexec
211 EXTRA_DIST += test-cloexec.c macros.h
212
213 ## end   gnulib module cloexec-tests
214
215 ## begin gnulib module close-tests
216
217 TESTS += test-close
218 check_PROGRAMS += test-close
219 EXTRA_DIST += test-close.c signature.h macros.h
220
221 ## end   gnulib module close-tests
222
223 ## begin gnulib module copy-file-tests
224
225 TESTS += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh
226 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
227 check_PROGRAMS += test-copy-file
228 test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
229 EXTRA_DIST += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh test-copy-file.c macros.h
230
231 ## end   gnulib module copy-file-tests
232
233 ## begin gnulib module ctype
234
235 BUILT_SOURCES += ctype.h
236
237 # We need the following in order to create <ctype.h> when the system
238 # doesn't have one that works with the given compiler.
239 ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
240         $(AM_V_GEN)rm -f $@-t $@ && \
241         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
242           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
243               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
244               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
245               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
246               -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
247               -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
248               -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
249               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
250               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
251               < $(srcdir)/ctype.in.h; \
252         } > $@-t && \
253         mv $@-t $@
254 MOSTLYCLEANFILES += ctype.h ctype.h-t
255
256 EXTRA_DIST += ctype.in.h
257
258 ## end   gnulib module ctype
259
260 ## begin gnulib module ctype-tests
261
262 TESTS += test-ctype
263 check_PROGRAMS += test-ctype
264 EXTRA_DIST += test-ctype.c
265
266 ## end   gnulib module ctype-tests
267
268 ## begin gnulib module dirent-tests
269
270 TESTS += test-dirent
271 check_PROGRAMS += test-dirent
272 EXTRA_DIST += test-dirent.c
273
274 ## end   gnulib module dirent-tests
275
276 ## begin gnulib module dup
277
278
279 EXTRA_DIST += dup.c
280
281 EXTRA_libtests_a_SOURCES += dup.c
282
283 ## end   gnulib module dup
284
285 ## begin gnulib module dup-tests
286
287 TESTS += test-dup
288 check_PROGRAMS += test-dup
289 EXTRA_DIST += test-dup.c signature.h macros.h
290
291 ## end   gnulib module dup-tests
292
293 ## begin gnulib module dup2-tests
294
295 TESTS += test-dup2
296 check_PROGRAMS += test-dup2
297 EXTRA_DIST += test-dup2.c signature.h macros.h
298
299 ## end   gnulib module dup2-tests
300
301 ## begin gnulib module environ-tests
302
303 TESTS += test-environ
304 check_PROGRAMS += test-environ
305
306 EXTRA_DIST += test-environ.c
307
308 ## end   gnulib module environ-tests
309
310 ## begin gnulib module errno-tests
311
312 TESTS += test-errno
313 check_PROGRAMS += test-errno
314
315 EXTRA_DIST += test-errno.c
316
317 ## end   gnulib module errno-tests
318
319 ## begin gnulib module fabs-tests
320
321 TESTS += test-fabs
322 check_PROGRAMS += test-fabs
323 test_fabs_SOURCES = test-fabs.c randomd.c
324 test_fabs_LDADD = $(LDADD) @FABS_LIBM@
325 EXTRA_DIST += test-fabs.c test-fabs.h signature.h minus-zero.h macros.h randomd.c
326
327 ## end   gnulib module fabs-tests
328
329 ## begin gnulib module fcntl-h-tests
330
331 TESTS += test-fcntl-h
332 check_PROGRAMS += test-fcntl-h
333 EXTRA_DIST += test-fcntl-h.c
334
335 ## end   gnulib module fcntl-h-tests
336
337 ## begin gnulib module fcntl-tests
338
339 TESTS += test-fcntl
340 check_PROGRAMS += test-fcntl
341 EXTRA_DIST += test-fcntl.c signature.h macros.h
342
343 ## end   gnulib module fcntl-tests
344
345 ## begin gnulib module fdopen
346
347
348 EXTRA_DIST += fdopen.c
349
350 EXTRA_libtests_a_SOURCES += fdopen.c
351
352 ## end   gnulib module fdopen
353
354 ## begin gnulib module fdopen-tests
355
356 TESTS += test-fdopen
357 check_PROGRAMS += test-fdopen
358 EXTRA_DIST += test-fdopen.c signature.h macros.h
359
360 ## end   gnulib module fdopen-tests
361
362 ## begin gnulib module fgetc-tests
363
364 TESTS += test-fgetc
365 check_PROGRAMS += test-fgetc
366 EXTRA_DIST += test-fgetc.c signature.h macros.h
367
368 ## end   gnulib module fgetc-tests
369
370 ## begin gnulib module file-has-acl
371
372 libtests_a_SOURCES += file-has-acl.c
373
374 ## end   gnulib module file-has-acl
375
376 ## begin gnulib module file-has-acl-tests
377
378 TESTS += \
379   test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh
380 TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
381 check_PROGRAMS += test-file-has-acl
382 test_file_has_acl_LDADD = $(LDADD) $(LIB_HAS_ACL)
383 EXTRA_DIST += test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh test-file-has-acl.c macros.h
384
385 ## end   gnulib module file-has-acl-tests
386
387 ## begin gnulib module float-tests
388
389 TESTS += test-float
390 check_PROGRAMS += test-float
391 EXTRA_DIST += test-float.c macros.h
392
393 ## end   gnulib module float-tests
394
395 ## begin gnulib module fnmatch-tests
396
397 TESTS += test-fnmatch
398 check_PROGRAMS += test-fnmatch
399 EXTRA_DIST += test-fnmatch.c signature.h macros.h
400
401 ## end   gnulib module fnmatch-tests
402
403 ## begin gnulib module fopen-tests
404
405 TESTS += test-fopen
406 check_PROGRAMS += test-fopen
407
408 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
409
410 ## end   gnulib module fopen-tests
411
412 ## begin gnulib module fpucw
413
414
415 EXTRA_DIST += fpucw.h
416
417 ## end   gnulib module fpucw
418
419 ## begin gnulib module fputc-tests
420
421 TESTS += test-fputc
422 check_PROGRAMS += test-fputc
423 EXTRA_DIST += test-fputc.c signature.h macros.h
424
425 ## end   gnulib module fputc-tests
426
427 ## begin gnulib module fread-tests
428
429 TESTS += test-fread
430 check_PROGRAMS += test-fread
431 EXTRA_DIST += test-fread.c signature.h macros.h
432
433 ## end   gnulib module fread-tests
434
435 ## begin gnulib module fstat-tests
436
437 TESTS += test-fstat
438 check_PROGRAMS += test-fstat
439 EXTRA_DIST += test-fstat.c signature.h macros.h
440
441 ## end   gnulib module fstat-tests
442
443 ## begin gnulib module fstrcmp-tests
444
445 TESTS += test-fstrcmp
446 check_PROGRAMS += test-fstrcmp
447 test_fstrcmp_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
448 EXTRA_DIST += test-fstrcmp.c macros.h
449
450 ## end   gnulib module fstrcmp-tests
451
452 ## begin gnulib module ftell
453
454
455 EXTRA_DIST += ftell.c
456
457 EXTRA_libtests_a_SOURCES += ftell.c
458
459 ## end   gnulib module ftell
460
461 ## begin gnulib module ftell-tests
462
463 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
464 check_PROGRAMS += test-ftell test-ftell3
465 MOSTLYCLEANFILES += t-ftell3.tmp
466 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
467
468 ## end   gnulib module ftell-tests
469
470 ## begin gnulib module ftello
471
472
473 EXTRA_DIST += ftello.c stdio-impl.h
474
475 EXTRA_libtests_a_SOURCES += ftello.c
476
477 ## end   gnulib module ftello
478
479 ## begin gnulib module ftello-tests
480
481 TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
482 check_PROGRAMS += test-ftello test-ftello3 test-ftello4
483 MOSTLYCLEANFILES += t-ftello3.tmp
484 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
485
486 ## end   gnulib module ftello-tests
487
488 ## begin gnulib module fwrite-tests
489
490 TESTS += test-fwrite
491 check_PROGRAMS += test-fwrite
492 EXTRA_DIST += test-fwrite.c signature.h macros.h
493
494 ## end   gnulib module fwrite-tests
495
496 ## begin gnulib module getcwd-lgpl
497
498
499 EXTRA_DIST += getcwd-lgpl.c
500
501 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
502
503 ## end   gnulib module getcwd-lgpl
504
505 ## begin gnulib module getcwd-lgpl-tests
506
507 TESTS += test-getcwd-lgpl
508 check_PROGRAMS += test-getcwd-lgpl
509 test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
510 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
511
512 ## end   gnulib module getcwd-lgpl-tests
513
514 ## begin gnulib module getdelim-tests
515
516 TESTS += test-getdelim
517 check_PROGRAMS += test-getdelim
518 MOSTLYCLEANFILES += test-getdelim.txt
519 EXTRA_DIST += test-getdelim.c signature.h macros.h
520
521 ## end   gnulib module getdelim-tests
522
523 ## begin gnulib module getdtablesize-tests
524
525 TESTS += test-getdtablesize
526 check_PROGRAMS += test-getdtablesize
527 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
528
529 ## end   gnulib module getdtablesize-tests
530
531 ## begin gnulib module getline-tests
532
533 TESTS += test-getline
534 check_PROGRAMS += test-getline
535 MOSTLYCLEANFILES += test-getline.txt
536 EXTRA_DIST += test-getline.c signature.h macros.h
537
538 ## end   gnulib module getline-tests
539
540 ## begin gnulib module getopt-posix-tests
541
542 TESTS += test-getopt
543 check_PROGRAMS += test-getopt
544 test_getopt_LDADD = $(LDADD) $(LIBINTL)
545 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
546
547 ## end   gnulib module getopt-posix-tests
548
549 ## begin gnulib module getpagesize
550
551
552 EXTRA_DIST += getpagesize.c
553
554 EXTRA_libtests_a_SOURCES += getpagesize.c
555
556 ## end   gnulib module getpagesize
557
558 ## begin gnulib module gettimeofday-tests
559
560 TESTS += test-gettimeofday
561 check_PROGRAMS += test-gettimeofday
562
563 EXTRA_DIST += signature.h test-gettimeofday.c
564
565 ## end   gnulib module gettimeofday-tests
566
567 ## begin gnulib module iconv-h-tests
568
569 TESTS += test-iconv-h
570 check_PROGRAMS += test-iconv-h
571 EXTRA_DIST += test-iconv-h.c
572
573 ## end   gnulib module iconv-h-tests
574
575 ## begin gnulib module iconv-tests
576
577 TESTS += test-iconv
578 check_PROGRAMS += test-iconv
579 test_iconv_LDADD = $(LDADD) @LIBICONV@
580
581 EXTRA_DIST += test-iconv.c signature.h macros.h
582
583 ## end   gnulib module iconv-tests
584
585 ## begin gnulib module ignore-value-tests
586
587 TESTS += test-ignore-value
588 check_PROGRAMS += test-ignore-value
589 EXTRA_DIST += test-ignore-value.c
590
591 ## end   gnulib module ignore-value-tests
592
593 ## begin gnulib module intprops-tests
594
595 TESTS += test-intprops
596 check_PROGRAMS += test-intprops
597 EXTRA_DIST += test-intprops.c macros.h
598
599 ## end   gnulib module intprops-tests
600
601 ## begin gnulib module inttypes-incomplete
602
603 BUILT_SOURCES += inttypes.h
604
605 # We need the following in order to create <inttypes.h> when the system
606 # doesn't have one that works with the given compiler.
607 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
608         $(AM_V_GEN)rm -f $@-t $@ && \
609         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
610           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
611               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
612               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
613               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
614               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
615               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
616               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
617               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
618               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
619               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
620               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
621               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
622               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
623               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
624               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
625               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
626               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
627               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
628               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
629               -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
630               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
631               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
632               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
633               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
634               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
635               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
636               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
637               < $(srcdir)/inttypes.in.h; \
638         } > $@-t && \
639         mv $@-t $@
640 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
641
642 EXTRA_DIST += inttypes.in.h
643
644 ## end   gnulib module inttypes-incomplete
645
646 ## begin gnulib module inttypes-tests
647
648 TESTS += test-inttypes
649 check_PROGRAMS += test-inttypes
650 EXTRA_DIST += test-inttypes.c
651
652 ## end   gnulib module inttypes-tests
653
654 ## begin gnulib module isinf-tests
655
656 TESTS += test-isinf
657 check_PROGRAMS += test-isinf
658 test_isinf_LDADD = $(LDADD) @ISINF_LIBM@
659 EXTRA_DIST += test-isinf.c infinity.h macros.h
660
661 ## end   gnulib module isinf-tests
662
663 ## begin gnulib module isnan-tests
664
665 TESTS += test-isnan
666 check_PROGRAMS += test-isnan
667 test_isnan_LDADD = $(LDADD) @ISNAN_LIBM@
668
669 EXTRA_DIST += test-isnan.c minus-zero.h infinity.h nan.h macros.h
670
671 ## end   gnulib module isnan-tests
672
673 ## begin gnulib module isnand-nolibm-tests
674
675 TESTS += test-isnand-nolibm
676 check_PROGRAMS += test-isnand-nolibm
677
678 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
679
680 ## end   gnulib module isnand-nolibm-tests
681
682 ## begin gnulib module isnand-tests
683
684 TESTS += test-isnand
685 check_PROGRAMS += test-isnand
686 test_isnand_LDADD = $(LDADD) @ISNAND_LIBM@
687
688 EXTRA_DIST += test-isnand.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
689
690 ## end   gnulib module isnand-tests
691
692 ## begin gnulib module isnanf-nolibm-tests
693
694 TESTS += test-isnanf-nolibm
695 check_PROGRAMS += test-isnanf-nolibm
696
697 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
698
699 ## end   gnulib module isnanf-nolibm-tests
700
701 ## begin gnulib module isnanf-tests
702
703 TESTS += test-isnanf
704 check_PROGRAMS += test-isnanf
705 test_isnanf_LDADD = $(LDADD) @ISNANF_LIBM@
706
707 EXTRA_DIST += test-isnanf.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
708
709 ## end   gnulib module isnanf-tests
710
711 ## begin gnulib module isnanl-nolibm-tests
712
713 TESTS += test-isnanl-nolibm
714 check_PROGRAMS += test-isnanl-nolibm
715
716 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
717
718 ## end   gnulib module isnanl-nolibm-tests
719
720 ## begin gnulib module isnanl-tests
721
722 TESTS += test-isnanl
723 check_PROGRAMS += test-isnanl
724 test_isnanl_LDADD = $(LDADD) @ISNANL_LIBM@
725
726 EXTRA_DIST += test-isnanl.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
727
728 ## end   gnulib module isnanl-tests
729
730 ## begin gnulib module iswblank-tests
731
732 TESTS += test-iswblank
733 check_PROGRAMS += test-iswblank
734 EXTRA_DIST += test-iswblank.c macros.h
735
736 ## end   gnulib module iswblank-tests
737
738 ## begin gnulib module langinfo-tests
739
740 TESTS += test-langinfo
741 check_PROGRAMS += test-langinfo
742 EXTRA_DIST += test-langinfo.c
743
744 ## end   gnulib module langinfo-tests
745
746 ## begin gnulib module linkedhash-list-tests
747
748 TESTS += test-linkedhash_list
749 check_PROGRAMS += test-linkedhash_list
750 EXTRA_DIST += test-linkedhash_list.c macros.h
751
752 ## end   gnulib module linkedhash-list-tests
753
754 ## begin gnulib module locale-tests
755
756 TESTS += test-locale
757 check_PROGRAMS += test-locale
758 EXTRA_DIST += test-locale.c
759
760 ## end   gnulib module locale-tests
761
762 ## begin gnulib module localename-tests
763
764 TESTS += test-localename
765 check_PROGRAMS += test-localename
766 test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
767
768 EXTRA_DIST += test-localename.c macros.h
769
770 ## end   gnulib module localename-tests
771
772 ## begin gnulib module lock-tests
773
774 TESTS += test-lock
775 check_PROGRAMS += test-lock
776 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
777 EXTRA_DIST += test-lock.c
778
779 ## end   gnulib module lock-tests
780
781 ## begin gnulib module log10-tests
782
783 TESTS += test-log10
784 check_PROGRAMS += test-log10
785 test_log10_SOURCES = test-log10.c randomd.c
786 test_log10_LDADD = $(LDADD) @LOG10_LIBM@
787 EXTRA_DIST += test-log10.c test-log10.h minus-zero.h signature.h macros.h randomd.c
788
789 ## end   gnulib module log10-tests
790
791 ## begin gnulib module lseek
792
793
794 EXTRA_DIST += lseek.c
795
796 EXTRA_libtests_a_SOURCES += lseek.c
797
798 ## end   gnulib module lseek
799
800 ## begin gnulib module lseek-tests
801
802 TESTS += test-lseek.sh
803 check_PROGRAMS += test-lseek
804 EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
805
806 ## end   gnulib module lseek-tests
807
808 ## begin gnulib module lstat-tests
809
810 TESTS += test-lstat
811 check_PROGRAMS += test-lstat
812 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
813
814 ## end   gnulib module lstat-tests
815
816 ## begin gnulib module malloca-tests
817
818 TESTS += test-malloca
819 check_PROGRAMS += test-malloca
820
821 EXTRA_DIST += test-malloca.c
822
823 ## end   gnulib module malloca-tests
824
825 ## begin gnulib module math-tests
826
827 TESTS += test-math
828 check_PROGRAMS += test-math
829 EXTRA_DIST += test-math.c macros.h
830
831 ## end   gnulib module math-tests
832
833 ## begin gnulib module mbrtowc-tests
834
835 TESTS += \
836   test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
837   test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
838   test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
839 TESTS_ENVIRONMENT += \
840   LOCALE_FR='@LOCALE_FR@' \
841   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
842   LOCALE_JA='@LOCALE_JA@' \
843   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
844 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
845
846 EXTRA_DIST += test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh test-mbrtowc.c test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh test-mbrtowc-w32.c signature.h macros.h
847
848 ## end   gnulib module mbrtowc-tests
849
850 ## begin gnulib module mbsinit-tests
851
852 TESTS += test-mbsinit.sh
853 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
854 check_PROGRAMS += test-mbsinit
855
856 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
857
858 ## end   gnulib module mbsinit-tests
859
860 ## begin gnulib module mbsrtowcs-tests
861
862 TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh
863 TESTS_ENVIRONMENT += \
864   LOCALE_FR='@LOCALE_FR@' \
865   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
866   LOCALE_JA='@LOCALE_JA@' \
867   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
868 check_PROGRAMS += test-mbsrtowcs
869
870 EXTRA_DIST += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh test-mbsrtowcs.c signature.h macros.h
871
872 ## end   gnulib module mbsrtowcs-tests
873
874 ## begin gnulib module mbsstr-tests
875
876 TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
877 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
878 check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
879
880 EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
881
882 ## end   gnulib module mbsstr-tests
883
884 ## begin gnulib module mbtowc
885
886
887 EXTRA_DIST += mbtowc-impl.h mbtowc.c
888
889 EXTRA_libtests_a_SOURCES += mbtowc.c
890
891 ## end   gnulib module mbtowc
892
893 ## begin gnulib module memchr-tests
894
895 TESTS += test-memchr
896 check_PROGRAMS += test-memchr
897 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
898
899 ## end   gnulib module memchr-tests
900
901 ## begin gnulib module moo-tests
902
903 test-moo-root.h test-moo-root.c root.priv.h root.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-root.oo.c
904         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-root.oo.c $(srcdir)/test-moo-root.oo.h
905
906 test-moo-sub1.h test-moo-sub1.c sub1.priv.h sub1.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-sub1.oo.h test-moo-sub1.oo.c
907         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-sub1.oo.c $(srcdir)/test-moo-sub1.oo.h $(srcdir)/test-moo-root.oo.h
908
909 test-moo-sub2.h test-moo-sub2.c sub2.priv.h sub2.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-root.oo.h test-moo-sub1.oo.h test-moo-sub2.oo.h test-moo-sub2.oo.c
910         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-sub2.oo.c $(srcdir)/test-moo-sub2.oo.h $(srcdir)/test-moo-sub1.oo.h $(srcdir)/test-moo-root.oo.h
911
912 test-moo-aroot.h test-moo-aroot.c aroot.priv.h aroot.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-aroot.oo.h test-moo-aroot.oo.c
913         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-aroot.oo.c $(srcdir)/test-moo-aroot.oo.h
914
915 test-moo-asub1.h test-moo-asub1.c asub1.priv.h asub1.vt.h : $(top_srcdir)/../build-aux/moopp test-moo-aroot.oo.h test-moo-asub1.oo.h test-moo-asub1.oo.c
916         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/test-moo-asub1.oo.c $(srcdir)/test-moo-asub1.oo.h $(srcdir)/test-moo-aroot.oo.h
917
918 EXTRA_DIST += test-moo-root.oo.h test-moo-root.oo.c test-moo-sub1.oo.h test-moo-sub1.oo.c test-moo-sub2.oo.h test-moo-sub2.oo.c test-moo-aroot.oo.h test-moo-aroot.oo.c test-moo-asub1.oo.h test-moo-asub1.oo.c test-moo-assign.c
919
920 ## end   gnulib module moo-tests
921
922 ## begin gnulib module open-tests
923
924 TESTS += test-open
925 check_PROGRAMS += test-open
926 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
927
928 ## end   gnulib module open-tests
929
930 ## begin gnulib module pathmax-tests
931
932 TESTS += test-pathmax
933 check_PROGRAMS += test-pathmax
934 EXTRA_DIST += test-pathmax.c
935
936 ## end   gnulib module pathmax-tests
937
938 ## begin gnulib module pipe-filter-ii-tests
939
940 TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh
941 check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main test-pipe-filter-ii2-child
942 test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@
943 test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@
944 EXTRA_DIST += test-pipe-filter-ii1.sh test-pipe-filter-ii1.c test-vasnprintf-posix.c test-pipe-filter-ii2.sh test-pipe-filter-ii2-main.c test-pipe-filter-ii2-child.c macros.h
945
946 ## end   gnulib module pipe-filter-ii-tests
947
948 ## begin gnulib module pipe2-tests
949
950 TESTS += test-pipe2
951 check_PROGRAMS += test-pipe2
952 test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
953 EXTRA_DIST += test-pipe2.c signature.h macros.h
954
955 ## end   gnulib module pipe2-tests
956
957 ## begin gnulib module posix_spawn_file_actions_addclose-tests
958
959 TESTS += test-posix_spawn_file_actions_addclose
960 check_PROGRAMS += test-posix_spawn_file_actions_addclose
961 EXTRA_DIST += test-posix_spawn_file_actions_addclose.c signature.h macros.h
962
963 ## end   gnulib module posix_spawn_file_actions_addclose-tests
964
965 ## begin gnulib module posix_spawn_file_actions_adddup2-tests
966
967 TESTS += test-posix_spawn_file_actions_adddup2
968 check_PROGRAMS += test-posix_spawn_file_actions_adddup2
969 EXTRA_DIST += test-posix_spawn_file_actions_adddup2.c signature.h macros.h
970
971 ## end   gnulib module posix_spawn_file_actions_adddup2-tests
972
973 ## begin gnulib module posix_spawn_file_actions_addopen-tests
974
975 TESTS += test-posix_spawn_file_actions_addopen
976 check_PROGRAMS += test-posix_spawn_file_actions_addopen
977 EXTRA_DIST += test-posix_spawn_file_actions_addopen.c signature.h macros.h
978
979 ## end   gnulib module posix_spawn_file_actions_addopen-tests
980
981 ## begin gnulib module posix_spawnp-tests
982
983 if POSIX_SPAWN_PORTED
984 TESTS += test-posix_spawn1 test-posix_spawn2
985 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
986
987 BUILT_SOURCES += test-posix_spawn1.sh
988 test-posix_spawn1.sh: test-posix_spawn1.in.sh
989         $(AM_V_GEN)rm -f $@-t $@ && \
990         cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
991         mv $@-t $@
992 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
993
994 BUILT_SOURCES += test-posix_spawn2.sh
995 test-posix_spawn2.sh: test-posix_spawn2.in.sh
996         $(AM_V_GEN)rm -f $@-t $@ && \
997         cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
998         mv $@-t $@
999 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
1000 endif
1001 EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
1002
1003 ## end   gnulib module posix_spawnp-tests
1004
1005 ## begin gnulib module pow-tests
1006
1007 TESTS += test-pow
1008 check_PROGRAMS += test-pow
1009 test_pow_LDADD = $(LDADD) @POW_LIBM@
1010 EXTRA_DIST += test-pow.c signature.h macros.h
1011
1012 ## end   gnulib module pow-tests
1013
1014 ## begin gnulib module putenv
1015
1016
1017 EXTRA_DIST += putenv.c
1018
1019 EXTRA_libtests_a_SOURCES += putenv.c
1020
1021 ## end   gnulib module putenv
1022
1023 ## begin gnulib module quotearg-simple-tests
1024
1025 TESTS += test-quotearg-simple
1026 check_PROGRAMS += test-quotearg-simple
1027 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
1028 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
1029
1030 ## end   gnulib module quotearg-simple-tests
1031
1032 ## begin gnulib module raise-tests
1033
1034 TESTS += test-raise
1035 check_PROGRAMS += test-raise
1036 EXTRA_DIST += test-raise.c signature.h macros.h
1037
1038 ## end   gnulib module raise-tests
1039
1040 ## begin gnulib module rawmemchr-tests
1041
1042 TESTS += test-rawmemchr
1043 check_PROGRAMS += test-rawmemchr
1044 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
1045
1046 ## end   gnulib module rawmemchr-tests
1047
1048 ## begin gnulib module read-file
1049
1050 libtests_a_SOURCES += read-file.c
1051
1052 EXTRA_DIST += read-file.h
1053
1054 ## end   gnulib module read-file
1055
1056 ## begin gnulib module read-file-tests
1057
1058 TESTS += test-read-file
1059 check_PROGRAMS += test-read-file
1060 EXTRA_DIST += test-read-file.c
1061
1062 ## end   gnulib module read-file-tests
1063
1064 ## begin gnulib module read-tests
1065
1066 TESTS += test-read
1067 check_PROGRAMS += test-read
1068 EXTRA_DIST += test-read.c signature.h macros.h
1069
1070 ## end   gnulib module read-tests
1071
1072 ## begin gnulib module readlink-tests
1073
1074 TESTS += test-readlink
1075 check_PROGRAMS += test-readlink
1076 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
1077
1078 ## end   gnulib module readlink-tests
1079
1080 ## begin gnulib module rmdir-tests
1081
1082 TESTS += test-rmdir
1083 check_PROGRAMS += test-rmdir
1084 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
1085
1086 ## end   gnulib module rmdir-tests
1087
1088 ## begin gnulib module same-inode
1089
1090
1091 EXTRA_DIST += same-inode.h
1092
1093 ## end   gnulib module same-inode
1094
1095 ## begin gnulib module sched-tests
1096
1097 TESTS += test-sched
1098 check_PROGRAMS += test-sched
1099 EXTRA_DIST += test-sched.c
1100
1101 ## end   gnulib module sched-tests
1102
1103 ## begin gnulib module setenv-tests
1104
1105 TESTS += test-setenv
1106 check_PROGRAMS += test-setenv
1107 EXTRA_DIST += test-setenv.c signature.h macros.h
1108
1109 ## end   gnulib module setenv-tests
1110
1111 ## begin gnulib module setlocale-tests
1112
1113 TESTS += test-setlocale1.sh test-setlocale2.sh
1114 TESTS_ENVIRONMENT += \
1115   LOCALE_FR='@LOCALE_FR@' \
1116   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1117   LOCALE_JA='@LOCALE_JA@' \
1118   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1119 check_PROGRAMS += test-setlocale1 test-setlocale2
1120 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
1121
1122 ## end   gnulib module setlocale-tests
1123
1124 ## begin gnulib module sh-quote-tests
1125
1126 TESTS += test-sh-quote
1127 check_PROGRAMS += test-sh-quote
1128 test_sh_quote_LDADD = $(LDADD) @LIBINTL@
1129 EXTRA_DIST += test-sh-quote.c
1130
1131 ## end   gnulib module sh-quote-tests
1132
1133 ## begin gnulib module sigaction-tests
1134
1135 TESTS += test-sigaction
1136 check_PROGRAMS += test-sigaction
1137 EXTRA_DIST += test-sigaction.c signature.h macros.h
1138
1139 ## end   gnulib module sigaction-tests
1140
1141 ## begin gnulib module signal-h-tests
1142
1143 TESTS += test-signal-h
1144 check_PROGRAMS += test-signal-h
1145 EXTRA_DIST += test-signal-h.c
1146
1147 ## end   gnulib module signal-h-tests
1148
1149 ## begin gnulib module signbit-tests
1150
1151 TESTS += test-signbit
1152 check_PROGRAMS += test-signbit
1153
1154 EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
1155
1156 ## end   gnulib module signbit-tests
1157
1158 ## begin gnulib module sigpipe-tests
1159
1160 TESTS += test-sigpipe.sh
1161 check_PROGRAMS += test-sigpipe
1162
1163 EXTRA_DIST += test-sigpipe.c test-sigpipe.sh
1164
1165 ## end   gnulib module sigpipe-tests
1166
1167 ## begin gnulib module sigprocmask-tests
1168
1169 TESTS += test-sigprocmask
1170 check_PROGRAMS += test-sigprocmask
1171 EXTRA_DIST += test-sigprocmask.c signature.h macros.h
1172
1173 ## end   gnulib module sigprocmask-tests
1174
1175 ## begin gnulib module sleep
1176
1177
1178 EXTRA_DIST += sleep.c
1179
1180 EXTRA_libtests_a_SOURCES += sleep.c
1181
1182 ## end   gnulib module sleep
1183
1184 ## begin gnulib module sleep-tests
1185
1186 TESTS += test-sleep
1187 check_PROGRAMS += test-sleep
1188 EXTRA_DIST += test-sleep.c signature.h macros.h
1189
1190 ## end   gnulib module sleep-tests
1191
1192 ## begin gnulib module snippet/_Noreturn
1193
1194 # Because this Makefile snippet defines a variable used by other
1195 # gnulib Makefile snippets, it must be present in all Makefile.am that
1196 # need it. This is ensured by the applicability 'all' defined above.
1197
1198 _NORETURN_H=$(top_srcdir)/../build-aux/snippet/_Noreturn.h
1199
1200 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/_Noreturn.h
1201
1202 ## end   gnulib module snippet/_Noreturn
1203
1204 ## begin gnulib module snippet/arg-nonnull
1205
1206 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1207 # statements but through direct file reference. Therefore this snippet must be
1208 # present in all Makefile.am that need it. This is ensured by the applicability
1209 # 'all' defined above.
1210
1211 BUILT_SOURCES += arg-nonnull.h
1212 # The arg-nonnull.h that gets inserted into generated .h files is the same as
1213 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1214 # off.
1215 arg-nonnull.h: $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
1216         $(AM_V_GEN)rm -f $@-t $@ && \
1217         sed -n -e '/GL_ARG_NONNULL/,$$p' \
1218           < $(top_srcdir)/../build-aux/snippet/arg-nonnull.h \
1219           > $@-t && \
1220         mv $@-t $@
1221 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1222
1223 ARG_NONNULL_H=arg-nonnull.h
1224
1225 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
1226
1227 ## end   gnulib module snippet/arg-nonnull
1228
1229 ## begin gnulib module snippet/c++defs
1230
1231 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1232 # statements but through direct file reference. Therefore this snippet must be
1233 # present in all Makefile.am that need it. This is ensured by the applicability
1234 # 'all' defined above.
1235
1236 BUILT_SOURCES += c++defs.h
1237 # The c++defs.h that gets inserted into generated .h files is the same as
1238 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1239 c++defs.h: $(top_srcdir)/../build-aux/snippet/c++defs.h
1240         $(AM_V_GEN)rm -f $@-t $@ && \
1241         sed -n -e '/_GL_CXXDEFS/,$$p' \
1242           < $(top_srcdir)/../build-aux/snippet/c++defs.h \
1243           > $@-t && \
1244         mv $@-t $@
1245 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1246
1247 CXXDEFS_H=c++defs.h
1248
1249 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/c++defs.h
1250
1251 ## end   gnulib module snippet/c++defs
1252
1253 ## begin gnulib module snippet/unused-parameter
1254
1255 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1256 # statements but through direct file reference. Therefore this snippet must be
1257 # present in all Makefile.am that need it. This is ensured by the applicability
1258 # 'all' defined above.
1259
1260 BUILT_SOURCES += unused-parameter.h
1261 # The unused-parameter.h that gets inserted into generated .h files is the same
1262 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
1263 # header cut off.
1264 unused-parameter.h: $(top_srcdir)/../build-aux/snippet/unused-parameter.h
1265         $(AM_V_GEN)rm -f $@-t $@ && \
1266         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1267           < $(top_srcdir)/../build-aux/snippet/unused-parameter.h \
1268           > $@-t && \
1269         mv $@-t $@
1270 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1271
1272 UNUSED_PARAMETER_H=unused-parameter.h
1273
1274 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/unused-parameter.h
1275
1276 ## end   gnulib module snippet/unused-parameter
1277
1278 ## begin gnulib module snippet/warn-on-use
1279
1280 BUILT_SOURCES += warn-on-use.h
1281 # The warn-on-use.h that gets inserted into generated .h files is the same as
1282 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1283 # off.
1284 warn-on-use.h: $(top_srcdir)/../build-aux/snippet/warn-on-use.h
1285         $(AM_V_GEN)rm -f $@-t $@ && \
1286         sed -n -e '/^.ifndef/,$$p' \
1287           < $(top_srcdir)/../build-aux/snippet/warn-on-use.h \
1288           > $@-t && \
1289         mv $@-t $@
1290 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1291
1292 WARN_ON_USE_H=warn-on-use.h
1293
1294 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/warn-on-use.h
1295
1296 ## end   gnulib module snippet/warn-on-use
1297
1298 ## begin gnulib module snprintf-tests
1299
1300 TESTS += test-snprintf
1301 check_PROGRAMS += test-snprintf
1302
1303 EXTRA_DIST += test-snprintf.c signature.h macros.h
1304
1305 ## end   gnulib module snprintf-tests
1306
1307 ## begin gnulib module spawn-pipe-tests
1308
1309 TESTS += test-spawn-pipe.sh
1310 check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
1311 test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@
1312 # The test-spawn-pipe-child program must be a real executable, not a libtool
1313 # wrapper script, and should link against as few libraries as possible.
1314 # Therefore don't link it against any libraries other than -lc.
1315 test_spawn_pipe_child_LDADD =
1316 EXTRA_DIST += test-spawn-pipe.sh test-spawn-pipe-main.c test-spawn-pipe-child.c macros.h
1317
1318 ## end   gnulib module spawn-pipe-tests
1319
1320 ## begin gnulib module spawn-tests
1321
1322 TESTS += test-spawn
1323 check_PROGRAMS += test-spawn
1324 EXTRA_DIST += test-spawn.c
1325
1326 ## end   gnulib module spawn-tests
1327
1328 ## begin gnulib module stat-tests
1329
1330 TESTS += test-stat
1331 check_PROGRAMS += test-stat
1332 test_stat_LDADD = $(LDADD) $(LIBINTL)
1333 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1334
1335 ## end   gnulib module stat-tests
1336
1337 ## begin gnulib module stdalign
1338
1339 BUILT_SOURCES += $(STDALIGN_H)
1340
1341 # We need the following in order to create <stdalign.h> when the system
1342 # doesn't have one that works.
1343 if GL_GENERATE_STDALIGN_H
1344 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1345         $(AM_V_GEN)rm -f $@-t $@ && \
1346         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1347           cat $(srcdir)/stdalign.in.h; \
1348         } > $@-t && \
1349         mv $@-t $@
1350 else
1351 stdalign.h: $(top_builddir)/config.status
1352         rm -f $@
1353 endif
1354 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1355
1356 EXTRA_DIST += stdalign.in.h
1357
1358 ## end   gnulib module stdalign
1359
1360 ## begin gnulib module stdalign-tests
1361
1362 TESTS += test-stdalign
1363 check_PROGRAMS += test-stdalign
1364 EXTRA_DIST += test-stdalign.c macros.h
1365
1366 ## end   gnulib module stdalign-tests
1367
1368 ## begin gnulib module stdbool-tests
1369
1370 TESTS += test-stdbool
1371 check_PROGRAMS += test-stdbool
1372 EXTRA_DIST += test-stdbool.c
1373
1374 ## end   gnulib module stdbool-tests
1375
1376 ## begin gnulib module stddef-tests
1377
1378 TESTS += test-stddef
1379 check_PROGRAMS += test-stddef
1380 EXTRA_DIST += test-stddef.c
1381
1382 ## end   gnulib module stddef-tests
1383
1384 ## begin gnulib module stdint-tests
1385
1386 TESTS += test-stdint
1387 check_PROGRAMS += test-stdint
1388 EXTRA_DIST += test-stdint.c
1389
1390 ## end   gnulib module stdint-tests
1391
1392 ## begin gnulib module stdio-tests
1393
1394 TESTS += test-stdio
1395 check_PROGRAMS += test-stdio
1396 EXTRA_DIST += test-stdio.c
1397
1398 ## end   gnulib module stdio-tests
1399
1400 ## begin gnulib module stdlib-tests
1401
1402 TESTS += test-stdlib
1403 check_PROGRAMS += test-stdlib
1404 EXTRA_DIST += test-stdlib.c test-sys_wait.h
1405
1406 ## end   gnulib module stdlib-tests
1407
1408 ## begin gnulib module strchrnul-tests
1409
1410 TESTS += test-strchrnul
1411 check_PROGRAMS += test-strchrnul
1412 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1413
1414 ## end   gnulib module strchrnul-tests
1415
1416 ## begin gnulib module strerror-tests
1417
1418 TESTS += test-strerror
1419 check_PROGRAMS += test-strerror
1420 EXTRA_DIST += test-strerror.c signature.h macros.h
1421
1422 ## end   gnulib module strerror-tests
1423
1424 ## begin gnulib module striconv-tests
1425
1426 TESTS += test-striconv
1427 check_PROGRAMS += test-striconv
1428 test_striconv_LDADD = $(LDADD) @LIBICONV@
1429
1430 EXTRA_DIST += test-striconv.c macros.h
1431
1432 ## end   gnulib module striconv-tests
1433
1434 ## begin gnulib module striconveh-tests
1435
1436 TESTS += test-striconveh
1437 check_PROGRAMS += test-striconveh
1438 test_striconveh_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1439
1440 EXTRA_DIST += test-striconveh.c macros.h
1441
1442 ## end   gnulib module striconveh-tests
1443
1444 ## begin gnulib module striconveha-tests
1445
1446 TESTS += test-striconveha
1447 check_PROGRAMS += test-striconveha
1448 test_striconveha_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1449
1450 EXTRA_DIST += test-striconveha.c macros.h
1451
1452 ## end   gnulib module striconveha-tests
1453
1454 ## begin gnulib module string-tests
1455
1456 TESTS += test-string
1457 check_PROGRAMS += test-string
1458 EXTRA_DIST += test-string.c
1459
1460 ## end   gnulib module string-tests
1461
1462 ## begin gnulib module strnlen-tests
1463
1464 TESTS += test-strnlen
1465 check_PROGRAMS += test-strnlen
1466 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1467
1468 ## end   gnulib module strnlen-tests
1469
1470 ## begin gnulib module strstr-tests
1471
1472 TESTS += test-strstr
1473 check_PROGRAMS += test-strstr
1474 EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
1475
1476 ## end   gnulib module strstr-tests
1477
1478 ## begin gnulib module strtol-tests
1479
1480 TESTS += test-strtol
1481 check_PROGRAMS += test-strtol
1482 EXTRA_DIST += test-strtol.c signature.h macros.h
1483
1484 ## end   gnulib module strtol-tests
1485
1486 ## begin gnulib module strtoul-tests
1487
1488 TESTS += test-strtoul
1489 check_PROGRAMS += test-strtoul
1490 EXTRA_DIST += test-strtoul.c signature.h macros.h
1491
1492 ## end   gnulib module strtoul-tests
1493
1494 ## begin gnulib module symlink
1495
1496
1497 EXTRA_DIST += symlink.c
1498
1499 EXTRA_libtests_a_SOURCES += symlink.c
1500
1501 ## end   gnulib module symlink
1502
1503 ## begin gnulib module symlink-tests
1504
1505 TESTS += test-symlink
1506 check_PROGRAMS += test-symlink
1507 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1508
1509 ## end   gnulib module symlink-tests
1510
1511 ## begin gnulib module sys_select-tests
1512
1513 TESTS += test-sys_select
1514 check_PROGRAMS += test-sys_select
1515 EXTRA_DIST += test-sys_select.c signature.h
1516
1517 ## end   gnulib module sys_select-tests
1518
1519 ## begin gnulib module sys_stat-tests
1520
1521 TESTS += test-sys_stat
1522 check_PROGRAMS += test-sys_stat
1523 EXTRA_DIST += test-sys_stat.c
1524
1525 ## end   gnulib module sys_stat-tests
1526
1527 ## begin gnulib module sys_time-tests
1528
1529 TESTS += test-sys_time
1530 check_PROGRAMS += test-sys_time
1531 EXTRA_DIST += test-sys_time.c
1532
1533 ## end   gnulib module sys_time-tests
1534
1535 ## begin gnulib module sys_types-tests
1536
1537 TESTS += test-sys_types
1538 check_PROGRAMS += test-sys_types
1539 EXTRA_DIST += test-sys_types.c
1540
1541 ## end   gnulib module sys_types-tests
1542
1543 ## begin gnulib module sys_wait-tests
1544
1545 TESTS += test-sys_wait
1546 check_PROGRAMS += test-sys_wait
1547 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
1548
1549 ## end   gnulib module sys_wait-tests
1550
1551 ## begin gnulib module term-ostream-tests
1552
1553 TESTS += test-term-ostream-xterm
1554 TESTS_ENVIRONMENT += srcdir='$(srcdir)'
1555 check_PROGRAMS += test-term-ostream
1556 test_term_ostream_LDADD = $(LIBTERMCAP) $(LDADD)
1557 EXTRA_DIST += test-term-ostream.c test-term-ostream-xterm test-term-ostream-xterm-r6.out test-term-ostream-xterm-xf86-v32.out test-term-ostream-xterm-basic.out test-term-ostream-xterm-basic-italic.out test-term-ostream-xterm-freebsd101.out test-term-ostream-xterm-8bit.out test-term-ostream-xterm-linux-debian.out test-term-ostream-xterm-linux-mandriva.out test-term-ostream-xterm-netbsd3.out test-term-ostream-xterm-solaris10.out test-term-ostream-xterm-aix51.out test-term-ostream-xterm-osf51.out test-term-ostream-xterm-irix65.out test-term-ostream-xterm-mingw.out test-term-ostream-xterm-16color.out test-term-ostream-xterm-88color.out test-term-ostream-xterm-256color.out
1558
1559 ## end   gnulib module term-ostream-tests
1560
1561 ## begin gnulib module test-framework-sh-tests
1562
1563 TESTS += test-init.sh
1564 EXTRA_DIST += init.sh
1565 EXTRA_DIST += test-init.sh
1566
1567 ## end   gnulib module test-framework-sh-tests
1568
1569 ## begin gnulib module thread
1570
1571 libtests_a_SOURCES += glthread/thread.h glthread/thread.c
1572
1573 ## end   gnulib module thread
1574
1575 ## begin gnulib module thread-tests
1576
1577 TESTS += test-thread_self test-thread_create
1578 check_PROGRAMS += test-thread_self test-thread_create
1579 test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
1580 test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
1581 EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
1582
1583 ## end   gnulib module thread-tests
1584
1585 ## begin gnulib module time-tests
1586
1587 TESTS += test-time
1588 check_PROGRAMS += test-time
1589 EXTRA_DIST += test-time.c
1590
1591 ## end   gnulib module time-tests
1592
1593 ## begin gnulib module tls-tests
1594
1595 TESTS += test-tls
1596 check_PROGRAMS += test-tls
1597 test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
1598
1599 EXTRA_DIST += test-tls.c
1600
1601 ## end   gnulib module tls-tests
1602
1603 ## begin gnulib module uniconv/u8-conv-from-enc-tests
1604
1605 TESTS += test-u8-conv-from-enc
1606 check_PROGRAMS += test-u8-conv-from-enc
1607 test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c
1608 test_u8_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@
1609
1610 EXTRA_DIST += uniconv/test-u8-conv-from-enc.c macros.h
1611
1612 ## end   gnulib module uniconv/u8-conv-from-enc-tests
1613
1614 ## begin gnulib module unictype/ctype-space-tests
1615
1616 TESTS += test-ctype_space
1617 check_PROGRAMS += test-ctype_space
1618 test_ctype_space_SOURCES = unictype/test-ctype_space.c
1619 test_ctype_space_LDADD = $(LDADD) $(LIBUNISTRING)
1620 EXTRA_DIST += unictype/test-ctype_space.c unictype/test-predicate-part1.h unictype/test-predicate-part2.h macros.h
1621
1622 ## end   gnulib module unictype/ctype-space-tests
1623
1624 ## begin gnulib module unilbrk/u8-width-linebreaks-tests
1625
1626 TESTS += test-u8-width-linebreaks
1627 check_PROGRAMS += test-u8-width-linebreaks
1628 test_u8_width_linebreaks_SOURCES = unilbrk/test-u8-width-linebreaks.c
1629 test_u8_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING)
1630 EXTRA_DIST += unilbrk/test-u8-width-linebreaks.c macros.h
1631
1632 ## end   gnulib module unilbrk/u8-width-linebreaks-tests
1633
1634 ## begin gnulib module uniname/uniname-tests
1635
1636 # Unlike other libunistring modules, this test passes only when the
1637 # same version of uniname/uniname.c is used (even if it is newer).
1638 if LIBUNISTRING_COMPILE_UNINAME_UNINAME
1639 TESTS += uniname/test-uninames.sh
1640 check_PROGRAMS += test-uninames
1641 test_uninames_SOURCES = uniname/test-uninames.c
1642 test_uninames_LDADD = $(LDADD) @LIBINTL@
1643 endif
1644
1645 EXTRA_DIST += uniname/test-uninames.sh uniname/test-uninames.c uniname/UnicodeData.txt uniname/HangulSyllableNames.txt uniname/NameAliases.txt
1646
1647 ## end   gnulib module uniname/uniname-tests
1648
1649 ## begin gnulib module unistd-safer-tests
1650
1651 TESTS += test-dup-safer
1652 check_PROGRAMS += test-dup-safer
1653 EXTRA_DIST += test-dup-safer.c macros.h
1654
1655 ## end   gnulib module unistd-safer-tests
1656
1657 ## begin gnulib module unistd-tests
1658
1659 TESTS += test-unistd
1660 check_PROGRAMS += test-unistd
1661 EXTRA_DIST += test-unistd.c
1662
1663 ## end   gnulib module unistd-tests
1664
1665 ## begin gnulib module unistr/u16-mbtouc-tests
1666
1667 TESTS += test-u16-mbtouc
1668 check_PROGRAMS += test-u16-mbtouc
1669 test_u16_mbtouc_SOURCES = unistr/test-u16-mbtouc.c
1670 test_u16_mbtouc_LDADD = $(LDADD) $(LIBUNISTRING)
1671 EXTRA_DIST += unistr/test-u16-mbtouc.c unistr/test-u16-mbtouc.h macros.h
1672
1673 ## end   gnulib module unistr/u16-mbtouc-tests
1674
1675 ## begin gnulib module unistr/u8-check-tests
1676
1677 TESTS += test-u8-check
1678 check_PROGRAMS += test-u8-check
1679 test_u8_check_SOURCES = unistr/test-u8-check.c
1680 test_u8_check_LDADD = $(LDADD) $(LIBUNISTRING)
1681 EXTRA_DIST += unistr/test-u8-check.c macros.h
1682
1683 ## end   gnulib module unistr/u8-check-tests
1684
1685 ## begin gnulib module unistr/u8-cmp
1686
1687 if LIBUNISTRING_COMPILE_UNISTR_U8_CMP
1688 libtests_a_SOURCES += unistr/u8-cmp.c
1689 endif
1690
1691 ## end   gnulib module unistr/u8-cmp
1692
1693 ## begin gnulib module unistr/u8-cmp-tests
1694
1695 TESTS += test-u8-cmp
1696 check_PROGRAMS += test-u8-cmp
1697 test_u8_cmp_SOURCES = unistr/test-u8-cmp.c
1698 test_u8_cmp_LDADD = $(LDADD) $(LIBUNISTRING)
1699 EXTRA_DIST += unistr/test-u8-cmp.c unistr/test-cmp.h zerosize-ptr.h macros.h
1700
1701 ## end   gnulib module unistr/u8-cmp-tests
1702
1703 ## begin gnulib module unistr/u8-mblen-tests
1704
1705 TESTS += test-u8-mblen
1706 check_PROGRAMS += test-u8-mblen
1707 test_u8_mblen_SOURCES = unistr/test-u8-mblen.c
1708 test_u8_mblen_LDADD = $(LDADD) $(LIBUNISTRING)
1709 EXTRA_DIST += unistr/test-u8-mblen.c macros.h
1710
1711 ## end   gnulib module unistr/u8-mblen-tests
1712
1713 ## begin gnulib module unistr/u8-mbtoucr-tests
1714
1715 TESTS += test-u8-mbtoucr
1716 check_PROGRAMS += test-u8-mbtoucr
1717 test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c
1718 test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING)
1719 EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h
1720
1721 ## end   gnulib module unistr/u8-mbtoucr-tests
1722
1723 ## begin gnulib module unistr/u8-prev-tests
1724
1725 TESTS += test-u8-prev
1726 check_PROGRAMS += test-u8-prev
1727 test_u8_prev_SOURCES = unistr/test-u8-prev.c
1728 test_u8_prev_LDADD = $(LDADD) $(LIBUNISTRING)
1729 EXTRA_DIST += unistr/test-u8-prev.c macros.h
1730
1731 ## end   gnulib module unistr/u8-prev-tests
1732
1733 ## begin gnulib module unistr/u8-strlen
1734
1735 if LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN
1736 libtests_a_SOURCES += unistr/u8-strlen.c
1737 endif
1738
1739 ## end   gnulib module unistr/u8-strlen
1740
1741 ## begin gnulib module unistr/u8-strlen-tests
1742
1743 TESTS += test-u8-strlen
1744 check_PROGRAMS += test-u8-strlen
1745 test_u8_strlen_SOURCES = unistr/test-u8-strlen.c
1746 test_u8_strlen_LDADD = $(LDADD) $(LIBUNISTRING)
1747 EXTRA_DIST += unistr/test-u8-strlen.c macros.h
1748
1749 ## end   gnulib module unistr/u8-strlen-tests
1750
1751 ## begin gnulib module unistr/u8-uctomb-tests
1752
1753 TESTS += test-u8-uctomb
1754 check_PROGRAMS += test-u8-uctomb
1755 test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c
1756 test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING)
1757 EXTRA_DIST += unistr/test-u8-uctomb.c macros.h
1758
1759 ## end   gnulib module unistr/u8-uctomb-tests
1760
1761 ## begin gnulib module unsetenv-tests
1762
1763 TESTS += test-unsetenv
1764 check_PROGRAMS += test-unsetenv
1765 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1766
1767 ## end   gnulib module unsetenv-tests
1768
1769 ## begin gnulib module vasnprintf-tests
1770
1771 TESTS += test-vasnprintf
1772 check_PROGRAMS += test-vasnprintf
1773
1774 EXTRA_DIST += test-vasnprintf.c macros.h
1775
1776 ## end   gnulib module vasnprintf-tests
1777
1778 ## begin gnulib module vasprintf-tests
1779
1780 TESTS += test-vasprintf
1781 check_PROGRAMS += test-vasprintf
1782
1783 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1784
1785 ## end   gnulib module vasprintf-tests
1786
1787 ## begin gnulib module verify-tests
1788
1789 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1790 TESTS += test-verify test-verify.sh
1791 check_PROGRAMS += test-verify
1792 EXTRA_DIST += test-verify.c test-verify.sh
1793
1794 ## end   gnulib module verify-tests
1795
1796 ## begin gnulib module vsnprintf-tests
1797
1798 TESTS += test-vsnprintf
1799 check_PROGRAMS += test-vsnprintf
1800
1801 EXTRA_DIST += test-vsnprintf.c signature.h macros.h
1802
1803 ## end   gnulib module vsnprintf-tests
1804
1805 ## begin gnulib module wchar-tests
1806
1807 TESTS += test-wchar
1808 check_PROGRAMS += test-wchar
1809 EXTRA_DIST += test-wchar.c
1810
1811 ## end   gnulib module wchar-tests
1812
1813 ## begin gnulib module wcrtomb
1814
1815
1816 EXTRA_DIST += wcrtomb.c
1817
1818 EXTRA_libtests_a_SOURCES += wcrtomb.c
1819
1820 ## end   gnulib module wcrtomb
1821
1822 ## begin gnulib module wcrtomb-tests
1823
1824 TESTS += \
1825   test-wcrtomb.sh \
1826   test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
1827   test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
1828 TESTS_ENVIRONMENT += \
1829   LOCALE_FR='@LOCALE_FR@' \
1830   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1831   LOCALE_JA='@LOCALE_JA@' \
1832   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1833 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
1834
1835 EXTRA_DIST += test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32.c signature.h macros.h
1836
1837 ## end   gnulib module wcrtomb-tests
1838
1839 ## begin gnulib module wctob
1840
1841
1842 EXTRA_DIST += wctob.c
1843
1844 EXTRA_libtests_a_SOURCES += wctob.c
1845
1846 ## end   gnulib module wctob
1847
1848 ## begin gnulib module wctomb
1849
1850
1851 EXTRA_DIST += wctomb-impl.h wctomb.c
1852
1853 EXTRA_libtests_a_SOURCES += wctomb.c
1854
1855 ## end   gnulib module wctomb
1856
1857 ## begin gnulib module wctype-h-tests
1858
1859 TESTS += test-wctype-h
1860 check_PROGRAMS += test-wctype-h
1861 EXTRA_DIST += test-wctype-h.c macros.h
1862
1863 ## end   gnulib module wctype-h-tests
1864
1865 ## begin gnulib module wcwidth-tests
1866
1867 TESTS += test-wcwidth
1868 check_PROGRAMS += test-wcwidth
1869
1870 EXTRA_DIST += test-wcwidth.c signature.h macros.h
1871
1872 ## end   gnulib module wcwidth-tests
1873
1874 ## begin gnulib module write-tests
1875
1876 TESTS += test-write
1877 check_PROGRAMS += test-write
1878 EXTRA_DIST += test-write.c signature.h macros.h
1879
1880 ## end   gnulib module write-tests
1881
1882 ## begin gnulib module xalloc-die-tests
1883
1884 TESTS += test-xalloc-die.sh
1885 check_PROGRAMS += test-xalloc-die
1886 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
1887 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
1888
1889 ## end   gnulib module xalloc-die-tests
1890
1891 ## begin gnulib module xvasprintf-tests
1892
1893 TESTS += test-xvasprintf
1894 check_PROGRAMS += test-xvasprintf
1895 test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
1896
1897 EXTRA_DIST += test-xvasprintf.c macros.h
1898
1899 ## end   gnulib module xvasprintf-tests
1900
1901 ## begin gnulib module yield
1902
1903 libtests_a_SOURCES += glthread/yield.h
1904
1905 ## end   gnulib module yield
1906
1907 # Clean up after Solaris cc.
1908 clean-local:
1909         rm -rf SunWS_cache
1910
1911 mostlyclean-local: mostlyclean-generic
1912         @for dir in '' $(MOSTLYCLEANDIRS); do \
1913           if test -n "$$dir" && test -d $$dir; then \
1914             echo "rmdir $$dir"; rmdir $$dir; \
1915           fi; \
1916         done; \
1917         :