f05a7979f6ef64978e6f41fa0fe0f7324c1215ee
[platform/upstream/m4.git] / tests / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12
13 AUTOMAKE_OPTIONS = 1.5 foreign
14
15 SUBDIRS = .
16 TESTS =
17 XFAIL_TESTS =
18 TESTS_ENVIRONMENT =
19 noinst_PROGRAMS =
20 check_PROGRAMS =
21 noinst_HEADERS =
22 noinst_LIBRARIES =
23 check_LIBRARIES = libtests.a
24 EXTRA_DIST =
25 BUILT_SOURCES =
26 SUFFIXES =
27 MOSTLYCLEANFILES = core *.stackdump
28 MOSTLYCLEANDIRS =
29 CLEANFILES =
30 DISTCLEANFILES =
31 MAINTAINERCLEANFILES =
32
33 AM_CPPFLAGS = \
34   -D@M4tests_WITNESS@=1 \
35   -I. -I$(srcdir) \
36   -I.. -I$(srcdir)/.. \
37   -I../lib -I$(srcdir)/../lib
38
39 LDADD = libtests.a ../lib/libm4.a libtests.a $(LIBTESTS_LIBDEPS)
40
41 libtests_a_SOURCES =
42 libtests_a_LIBADD = $(M4tests_LIBOBJS)
43 libtests_a_DEPENDENCIES = $(M4tests_LIBOBJS)
44 EXTRA_libtests_a_SOURCES =
45 AM_LIBTOOLFLAGS = --preserve-dup-deps
46
47 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
48
49 ## begin gnulib module alloca-opt-tests
50
51 TESTS += test-alloca-opt
52 check_PROGRAMS += test-alloca-opt
53
54 EXTRA_DIST += test-alloca-opt.c
55
56 ## end   gnulib module alloca-opt-tests
57
58 ## begin gnulib module arg-nonnull
59
60 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
61 # statements but through direct file reference. Therefore this snippet must be
62 # present in all Makefile.am that need it. This is ensured by the applicability
63 # 'all' defined above.
64
65 BUILT_SOURCES += arg-nonnull.h
66 # The arg-nonnull.h that gets inserted into generated .h files is the same as
67 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
68 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
69         $(AM_V_GEN)rm -f $@-t $@ && \
70         sed -n -e '/GL_ARG_NONNULL/,$$p' \
71           < $(top_srcdir)/build-aux/arg-nonnull.h \
72           > $@-t && \
73         mv $@-t $@
74 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
75
76 ARG_NONNULL_H=arg-nonnull.h
77
78 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
79
80 ## end   gnulib module arg-nonnull
81
82 ## begin gnulib module array-list
83
84 libtests_a_SOURCES += gl_array_list.h gl_array_list.c
85
86 ## end   gnulib module array-list
87
88 ## begin gnulib module array-list-tests
89
90 TESTS += test-array_list
91 check_PROGRAMS += test-array_list
92
93 EXTRA_DIST += test-array_list.c macros.h
94
95 ## end   gnulib module array-list-tests
96
97 ## begin gnulib module array-oset
98
99 libtests_a_SOURCES += gl_array_oset.h gl_array_oset.c
100
101 ## end   gnulib module array-oset
102
103 ## begin gnulib module array-oset-tests
104
105 TESTS += test-array_oset
106 check_PROGRAMS += test-array_oset
107 test_array_oset_LDADD = $(LDADD) @LIBINTL@
108
109 EXTRA_DIST += test-array_oset.c macros.h
110
111 ## end   gnulib module array-oset-tests
112
113 ## begin gnulib module avltree-oset-tests
114
115 TESTS += test-avltree_oset
116 check_PROGRAMS += test-avltree_oset
117 EXTRA_DIST += test-avltree_oset.c macros.h
118
119 ## end   gnulib module avltree-oset-tests
120
121 ## begin gnulib module binary-io-tests
122
123 TESTS += test-binary-io.sh
124 check_PROGRAMS += test-binary-io
125
126 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
127
128 ## end   gnulib module binary-io-tests
129
130 ## begin gnulib module btowc-tests
131
132 TESTS += test-btowc1.sh test-btowc2.sh
133 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
134 check_PROGRAMS += test-btowc
135
136 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
137
138 ## end   gnulib module btowc-tests
139
140 ## begin gnulib module c++defs
141
142 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
143 # statements but through direct file reference. Therefore this snippet must be
144 # present in all Makefile.am that need it. This is ensured by the applicability
145 # 'all' defined above.
146
147 BUILT_SOURCES += c++defs.h
148 # The c++defs.h that gets inserted into generated .h files is the same as
149 # build-aux/c++defs.h, except that it has the copyright header cut off.
150 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
151         $(AM_V_GEN)rm -f $@-t $@ && \
152         sed -n -e '/_GL_CXXDEFS/,$$p' \
153           < $(top_srcdir)/build-aux/c++defs.h \
154           > $@-t && \
155         mv $@-t $@
156 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
157
158 CXXDEFS_H=c++defs.h
159
160 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
161
162 ## end   gnulib module c++defs
163
164 ## begin gnulib module c-ctype-tests
165
166 TESTS += test-c-ctype
167 check_PROGRAMS += test-c-ctype
168
169 EXTRA_DIST += test-c-ctype.c macros.h
170
171 ## end   gnulib module c-ctype-tests
172
173 ## begin gnulib module c-stack-tests
174
175 TESTS += test-c-stack.sh test-c-stack2.sh
176 TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@'
177 check_PROGRAMS += test-c-stack
178 test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@
179 MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp
180 EXTRA_DIST += test-c-stack.c test-c-stack.sh test-c-stack2.sh macros.h
181
182 ## end   gnulib module c-stack-tests
183
184 ## begin gnulib module c-strcase
185
186 libtests_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
187
188 ## end   gnulib module c-strcase
189
190 ## begin gnulib module c-strcase-tests
191
192 TESTS += test-c-strcase.sh
193 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
194 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
195 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
196
197 ## end   gnulib module c-strcase-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 closein-tests
216
217 TESTS += test-closein.sh
218 check_PROGRAMS += test-closein
219 test_closein_LDADD = $(LDADD) @LIBINTL@
220 EXTRA_DIST += test-closein.sh test-closein.c
221
222 ## end   gnulib module closein-tests
223
224 ## begin gnulib module dirname-tests
225
226 TESTS += test-dirname
227 check_PROGRAMS += test-dirname
228 test_dirname_LDADD = $(LDADD) @LIBINTL@
229 EXTRA_DIST += test-dirname.c
230
231 ## end   gnulib module dirname-tests
232
233 ## begin gnulib module dup2-tests
234
235 TESTS += test-dup2
236 check_PROGRAMS += test-dup2
237 EXTRA_DIST += test-dup2.c signature.h macros.h
238
239 ## end   gnulib module dup2-tests
240
241 ## begin gnulib module environ-tests
242
243 TESTS += test-environ
244 check_PROGRAMS += test-environ
245
246 EXTRA_DIST += test-environ.c
247
248 ## end   gnulib module environ-tests
249
250 ## begin gnulib module errno-tests
251
252 TESTS += test-errno
253 check_PROGRAMS += test-errno
254
255 EXTRA_DIST += test-errno.c
256
257 ## end   gnulib module errno-tests
258
259 ## begin gnulib module fcntl-h-c++-tests
260
261 if ANSICXX
262 TESTS += test-fcntl-h-c++
263 check_PROGRAMS += test-fcntl-h-c++
264 test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc
265 test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET)
266 endif
267 EXTRA_DIST += test-fcntl-h-c++.cc signature.h
268
269 ## end   gnulib module fcntl-h-c++-tests
270
271 ## begin gnulib module fcntl-h-tests
272
273 TESTS += test-fcntl-h
274 check_PROGRAMS += test-fcntl-h
275 EXTRA_DIST += test-fcntl-h.c
276
277 ## end   gnulib module fcntl-h-tests
278
279 ## begin gnulib module fcntl-tests
280
281 TESTS += test-fcntl
282 check_PROGRAMS += test-fcntl
283 EXTRA_DIST += test-fcntl.c signature.h macros.h
284
285 ## end   gnulib module fcntl-tests
286
287 ## begin gnulib module fflush-tests
288
289 TESTS += test-fflush test-fflush2.sh
290 check_PROGRAMS += test-fflush test-fflush2
291 MOSTLYCLEANFILES += test-fflush.txt
292 EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h
293
294 ## end   gnulib module fflush-tests
295
296 ## begin gnulib module filenamecat-tests
297
298 TESTS += test-filenamecat
299 check_PROGRAMS += test-filenamecat
300 test_filenamecat_LDADD = $(LDADD) @LIBINTL@
301 EXTRA_DIST += test-filenamecat.c
302
303 ## end   gnulib module filenamecat-tests
304
305 ## begin gnulib module fopen-safer-tests
306
307 TESTS += test-fopen-safer
308 check_PROGRAMS += test-fopen-safer
309 EXTRA_DIST += test-fopen.h test-fopen-safer.c macros.h
310
311 ## end   gnulib module fopen-safer-tests
312
313 ## begin gnulib module fopen-tests
314
315 TESTS += test-fopen
316 check_PROGRAMS += test-fopen
317
318 EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
319
320 ## end   gnulib module fopen-tests
321
322 ## begin gnulib module fpending-tests
323
324 TESTS += test-fpending.sh
325 check_PROGRAMS += test-fpending
326 MOSTLYCLEANFILES += test-fpending.t
327 EXTRA_DIST += test-fpending.c test-fpending.sh macros.h
328
329 ## end   gnulib module fpending-tests
330
331 ## begin gnulib module fpurge-tests
332
333 TESTS += test-fpurge
334 check_PROGRAMS += test-fpurge
335 MOSTLYCLEANFILES += t-fpurge.tmp
336 EXTRA_DIST += test-fpurge.c macros.h
337
338 ## end   gnulib module fpurge-tests
339
340 ## begin gnulib module freadahead-tests
341
342 TESTS += test-freadahead.sh
343 check_PROGRAMS += test-freadahead
344 EXTRA_DIST += test-freadahead.c test-freadahead.sh macros.h
345
346 ## end   gnulib module freadahead-tests
347
348 ## begin gnulib module freading-tests
349
350 TESTS += test-freading
351 check_PROGRAMS += test-freading
352 MOSTLYCLEANFILES += t-freading.tmp
353 EXTRA_DIST += test-freading.c macros.h
354
355 ## end   gnulib module freading-tests
356
357 ## begin gnulib module frexp-nolibm-tests
358
359 TESTS += test-frexp-nolibm
360 check_PROGRAMS += test-frexp-nolibm
361 test_frexp_nolibm_SOURCES = test-frexp.c
362 EXTRA_DIST += test-frexp.c minus-zero.h nan.h signature.h macros.h
363
364 ## end   gnulib module frexp-nolibm-tests
365
366 ## begin gnulib module frexpl-nolibm-tests
367
368 TESTS += test-frexpl-nolibm
369 check_PROGRAMS += test-frexpl-nolibm
370 test_frexpl_nolibm_SOURCES = test-frexpl.c
371 EXTRA_DIST += test-frexpl.c minus-zero.h nan.h signature.h macros.h
372
373 ## end   gnulib module frexpl-nolibm-tests
374
375 ## begin gnulib module fseeko-tests
376
377 TESTS += test-fseeko.sh test-fseeko2.sh
378 check_PROGRAMS += test-fseeko
379 EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh signature.h macros.h
380
381 ## end   gnulib module fseeko-tests
382
383 ## begin gnulib module ftell
384
385
386 EXTRA_DIST += ftell.c
387
388 EXTRA_libtests_a_SOURCES += ftell.c
389
390 ## end   gnulib module ftell
391
392 ## begin gnulib module ftell-tests
393
394 TESTS += test-ftell.sh test-ftell2.sh test-ftell3
395 check_PROGRAMS += test-ftell test-ftell3
396 MOSTLYCLEANFILES += t-ftell3.tmp
397 EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
398
399 ## end   gnulib module ftell-tests
400
401 ## begin gnulib module ftello-tests
402
403 TESTS += test-ftello.sh test-ftello2.sh test-ftello3
404 check_PROGRAMS += test-ftello test-ftello3
405 MOSTLYCLEANFILES += t-ftello3.tmp
406 EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c signature.h macros.h
407
408 ## end   gnulib module ftello-tests
409
410 ## begin gnulib module getdtablesize-tests
411
412 TESTS += test-getdtablesize
413 check_PROGRAMS += test-getdtablesize
414 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
415
416 ## end   gnulib module getdtablesize-tests
417
418 ## begin gnulib module getopt-posix-tests
419
420 TESTS += test-getopt
421 check_PROGRAMS += test-getopt
422 test_getopt_LDADD = $(LDADD) $(LIBINTL)
423 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
424
425 ## end   gnulib module getopt-posix-tests
426
427 ## begin gnulib module getpagesize
428
429
430 EXTRA_DIST += getpagesize.c
431
432 EXTRA_libtests_a_SOURCES += getpagesize.c
433
434 ## end   gnulib module getpagesize
435
436 ## begin gnulib module gettimeofday-tests
437
438 TESTS += test-gettimeofday
439 check_PROGRAMS += test-gettimeofday
440
441 EXTRA_DIST += signature.h test-gettimeofday.c
442
443 ## end   gnulib module gettimeofday-tests
444
445 ## begin gnulib module ignore-value-tests
446
447 TESTS += test-ignore-value
448 check_PROGRAMS += test-ignore-value
449 EXTRA_DIST += test-ignore-value.c
450
451 ## end   gnulib module ignore-value-tests
452
453 ## begin gnulib module isnand-nolibm-tests
454
455 TESTS += test-isnand-nolibm
456 check_PROGRAMS += test-isnand-nolibm
457
458 EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h nan.h macros.h
459
460 ## end   gnulib module isnand-nolibm-tests
461
462 ## begin gnulib module isnanf-nolibm-tests
463
464 TESTS += test-isnanf-nolibm
465 check_PROGRAMS += test-isnanf-nolibm
466
467 EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h nan.h macros.h
468
469 ## end   gnulib module isnanf-nolibm-tests
470
471 ## begin gnulib module isnanl-nolibm-tests
472
473 TESTS += test-isnanl-nolibm
474 check_PROGRAMS += test-isnanl-nolibm
475
476 EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h nan.h macros.h
477
478 ## end   gnulib module isnanl-nolibm-tests
479
480 ## begin gnulib module langinfo-c++-tests
481
482 if ANSICXX
483 TESTS += test-langinfo-c++
484 check_PROGRAMS += test-langinfo-c++
485 test_langinfo_c___SOURCES = test-langinfo-c++.cc
486 endif
487 EXTRA_DIST += test-langinfo-c++.cc signature.h
488
489 ## end   gnulib module langinfo-c++-tests
490
491 ## begin gnulib module langinfo-tests
492
493 TESTS += test-langinfo
494 check_PROGRAMS += test-langinfo
495 EXTRA_DIST += test-langinfo.c
496
497 ## end   gnulib module langinfo-tests
498
499 ## begin gnulib module link
500
501
502 EXTRA_DIST += link.c
503
504 EXTRA_libtests_a_SOURCES += link.c
505
506 ## end   gnulib module link
507
508 ## begin gnulib module link-tests
509
510 TESTS += test-link
511 check_PROGRAMS += test-link
512 EXTRA_DIST += test-link.h test-link.c signature.h macros.h
513
514 ## end   gnulib module link-tests
515
516 ## begin gnulib module linkedhash-list-tests
517
518 TESTS += test-linkedhash_list
519 check_PROGRAMS += test-linkedhash_list
520 EXTRA_DIST += test-linkedhash_list.c macros.h
521
522 ## end   gnulib module linkedhash-list-tests
523
524 ## begin gnulib module locale
525
526 BUILT_SOURCES += locale.h
527
528 # We need the following in order to create <locale.h> when the system
529 # doesn't have one that provides all definitions.
530 locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
531         $(AM_V_GEN)rm -f $@-t $@ && \
532         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
533           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
534               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
535               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
536               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
537               -e 's|@''GNULIB_SETLOCALE''@|$(GNULIB_SETLOCALE)|g' \
538               -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
539               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
540               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
541               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
542               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
543               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
544               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
545               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
546               < $(srcdir)/locale.in.h; \
547         } > $@-t && \
548         mv $@-t $@
549 MOSTLYCLEANFILES += locale.h locale.h-t
550
551 EXTRA_DIST += locale.in.h
552
553 ## end   gnulib module locale
554
555 ## begin gnulib module locale-c++-tests
556
557 if ANSICXX
558 TESTS += test-locale-c++
559 check_PROGRAMS += test-locale-c++
560 test_locale_c___SOURCES = test-locale-c++.cc test-locale-c++2.cc
561 endif
562 EXTRA_DIST += test-locale-c++.cc test-locale-c++2.cc signature.h
563
564 ## end   gnulib module locale-c++-tests
565
566 ## begin gnulib module locale-tests
567
568 TESTS += test-locale
569 check_PROGRAMS += test-locale
570 EXTRA_DIST += test-locale.c
571
572 ## end   gnulib module locale-tests
573
574 ## begin gnulib module localename
575
576 libtests_a_SOURCES += localename.c
577
578 EXTRA_DIST += localename.h
579
580 ## end   gnulib module localename
581
582 ## begin gnulib module localename-tests
583
584 TESTS += test-localename
585 check_PROGRAMS += test-localename
586 test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@
587
588 EXTRA_DIST += test-localename.c macros.h
589
590 ## end   gnulib module localename-tests
591
592 ## begin gnulib module lseek-tests
593
594 TESTS += test-lseek.sh
595 check_PROGRAMS += test-lseek
596 EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
597
598 ## end   gnulib module lseek-tests
599
600 ## begin gnulib module lstat-tests
601
602 TESTS += test-lstat
603 check_PROGRAMS += test-lstat
604 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
605
606 ## end   gnulib module lstat-tests
607
608 ## begin gnulib module malloc-gnu-tests
609
610 TESTS += test-malloc-gnu
611 check_PROGRAMS += test-malloc-gnu
612 EXTRA_DIST += test-malloc-gnu.c
613
614 ## end   gnulib module malloc-gnu-tests
615
616 ## begin gnulib module malloca-tests
617
618 TESTS += test-malloca
619 check_PROGRAMS += test-malloca
620
621 EXTRA_DIST += test-malloca.c
622
623 ## end   gnulib module malloca-tests
624
625 ## begin gnulib module math-c++-tests
626
627 if ANSICXX
628 TESTS += test-math-c++
629 check_PROGRAMS += test-math-c++
630 test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc
631 endif
632 EXTRA_DIST += test-math-c++.cc test-math-c++2.cc signature.h
633
634 ## end   gnulib module math-c++-tests
635
636 ## begin gnulib module math-tests
637
638 TESTS += test-math
639 check_PROGRAMS += test-math
640 EXTRA_DIST += test-math.c
641
642 ## end   gnulib module math-tests
643
644 ## begin gnulib module mbrtowc-tests
645
646 TESTS += \
647   test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
648   test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
649   test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
650 TESTS_ENVIRONMENT += \
651   LOCALE_FR='@LOCALE_FR@' \
652   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
653   LOCALE_JA='@LOCALE_JA@' \
654   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
655 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
656
657 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
658
659 ## end   gnulib module mbrtowc-tests
660
661 ## begin gnulib module mbsinit-tests
662
663 TESTS += test-mbsinit.sh
664 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
665 check_PROGRAMS += test-mbsinit
666
667 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
668
669 ## end   gnulib module mbsinit-tests
670
671 ## begin gnulib module memchr-tests
672
673 TESTS += test-memchr
674 check_PROGRAMS += test-memchr
675 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
676
677 ## end   gnulib module memchr-tests
678
679 ## begin gnulib module memchr2-tests
680
681 TESTS += test-memchr2
682 check_PROGRAMS += test-memchr2
683 EXTRA_DIST += test-memchr2.c zerosize-ptr.h macros.h
684
685 ## end   gnulib module memchr2-tests
686
687 ## begin gnulib module nl_langinfo-tests
688
689 TESTS += test-nl_langinfo.sh
690 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
691 check_PROGRAMS += test-nl_langinfo
692 EXTRA_DIST += test-nl_langinfo.sh test-nl_langinfo.c signature.h macros.h
693
694 ## end   gnulib module nl_langinfo-tests
695
696 ## begin gnulib module open-tests
697
698 TESTS += test-open
699 check_PROGRAMS += test-open
700 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
701
702 ## end   gnulib module open-tests
703
704 ## begin gnulib module pipe2-tests
705
706 TESTS += test-pipe2
707 check_PROGRAMS += test-pipe2
708 EXTRA_DIST += test-pipe2.c signature.h macros.h
709
710 ## end   gnulib module pipe2-tests
711
712 ## begin gnulib module posix_spawnp-tests
713
714 if POSIX_SPAWN_PORTED
715 TESTS += test-posix_spawn1 test-posix_spawn2
716 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
717
718 BUILT_SOURCES += test-posix_spawn1.sh
719 test-posix_spawn1.sh: test-posix_spawn1.in.sh
720         $(AM_V_GEN)rm -f $@-t $@ && \
721         cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
722         mv $@-t $@
723 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
724
725 BUILT_SOURCES += test-posix_spawn2.sh
726 test-posix_spawn2.sh: test-posix_spawn2.in.sh
727         $(AM_V_GEN)rm -f $@-t $@ && \
728         cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
729         mv $@-t $@
730 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
731 endif
732 EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
733
734 ## end   gnulib module posix_spawnp-tests
735
736 ## begin gnulib module printf-frexp-tests
737
738 TESTS += test-printf-frexp
739 check_PROGRAMS += test-printf-frexp
740 EXTRA_DIST += test-printf-frexp.c macros.h
741
742 ## end   gnulib module printf-frexp-tests
743
744 ## begin gnulib module printf-frexpl-tests
745
746 TESTS += test-printf-frexpl
747 check_PROGRAMS += test-printf-frexpl
748 EXTRA_DIST += test-printf-frexpl.c macros.h
749
750 ## end   gnulib module printf-frexpl-tests
751
752 ## begin gnulib module putenv
753
754
755 EXTRA_DIST += putenv.c
756
757 EXTRA_libtests_a_SOURCES += putenv.c
758
759 ## end   gnulib module putenv
760
761 ## begin gnulib module quotearg-simple-tests
762
763 TESTS += test-quotearg-simple
764 check_PROGRAMS += test-quotearg-simple
765 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
766 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h
767
768 ## end   gnulib module quotearg-simple-tests
769
770 ## begin gnulib module rawmemchr-tests
771
772 TESTS += test-rawmemchr
773 check_PROGRAMS += test-rawmemchr
774 EXTRA_DIST += test-rawmemchr.c zerosize-ptr.h signature.h macros.h
775
776 ## end   gnulib module rawmemchr-tests
777
778 ## begin gnulib module readlink-tests
779
780 TESTS += test-readlink
781 check_PROGRAMS += test-readlink
782 EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
783
784 ## end   gnulib module readlink-tests
785
786 ## begin gnulib module rename-tests
787
788 TESTS += test-rename
789 check_PROGRAMS += test-rename
790 EXTRA_DIST += test-rename.h test-rename.c signature.h macros.h
791
792 ## end   gnulib module rename-tests
793
794 ## begin gnulib module rmdir-tests
795
796 TESTS += test-rmdir
797 check_PROGRAMS += test-rmdir
798 EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
799
800 ## end   gnulib module rmdir-tests
801
802 ## begin gnulib module sched-tests
803
804 TESTS += test-sched
805 check_PROGRAMS += test-sched
806 EXTRA_DIST += test-sched.c
807
808 ## end   gnulib module sched-tests
809
810 ## begin gnulib module setenv
811
812
813 EXTRA_DIST += setenv.c
814
815 EXTRA_libtests_a_SOURCES += setenv.c
816
817 ## end   gnulib module setenv
818
819 ## begin gnulib module setenv-tests
820
821 TESTS += test-setenv
822 check_PROGRAMS += test-setenv
823 EXTRA_DIST += test-setenv.c signature.h macros.h
824
825 ## end   gnulib module setenv-tests
826
827 ## begin gnulib module setlocale
828
829
830 EXTRA_DIST += setlocale.c
831
832 EXTRA_libtests_a_SOURCES += setlocale.c
833
834 ## end   gnulib module setlocale
835
836 ## begin gnulib module setlocale-tests
837
838 TESTS += test-setlocale1.sh test-setlocale2.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-setlocale1 test-setlocale2
845 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
846
847 ## end   gnulib module setlocale-tests
848
849 ## begin gnulib module sigaction-tests
850
851 TESTS += test-sigaction
852 check_PROGRAMS += test-sigaction
853 EXTRA_DIST += test-sigaction.c signature.h macros.h
854
855 ## end   gnulib module sigaction-tests
856
857 ## begin gnulib module signal-c++-tests
858
859 if ANSICXX
860 TESTS += test-signal-c++
861 check_PROGRAMS += test-signal-c++
862 test_signal_c___SOURCES = test-signal-c++.cc test-signal-c++2.cc
863 test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
864 endif
865 EXTRA_DIST += test-signal-c++.cc test-signal-c++2.cc signature.h
866
867 ## end   gnulib module signal-c++-tests
868
869 ## begin gnulib module signal-tests
870
871 TESTS += test-signal
872 check_PROGRAMS += test-signal
873 EXTRA_DIST += test-signal.c
874
875 ## end   gnulib module signal-tests
876
877 ## begin gnulib module signbit-tests
878
879 TESTS += test-signbit
880 check_PROGRAMS += test-signbit
881
882 EXTRA_DIST += test-signbit.c minus-zero.h macros.h
883
884 ## end   gnulib module signbit-tests
885
886 ## begin gnulib module snprintf-tests
887
888 TESTS += test-snprintf
889 check_PROGRAMS += test-snprintf
890
891 EXTRA_DIST += test-snprintf.c signature.h macros.h
892
893 ## end   gnulib module snprintf-tests
894
895 ## begin gnulib module spawn-c++-tests
896
897 if ANSICXX
898 TESTS += test-spawn-c++
899 check_PROGRAMS += test-spawn-c++
900 test_spawn_c___SOURCES = test-spawn-c++.cc
901 test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
902 endif
903 EXTRA_DIST += test-spawn-c++.cc signature.h
904
905 ## end   gnulib module spawn-c++-tests
906
907 ## begin gnulib module spawn-pipe-tests
908
909 TESTS += test-spawn-pipe.sh
910 check_PROGRAMS += test-spawn-pipe
911 test_spawn_pipe_LDADD = $(LDADD) @LIBINTL@
912 EXTRA_DIST += test-spawn-pipe.sh test-spawn-pipe.c macros.h
913
914 ## end   gnulib module spawn-pipe-tests
915
916 ## begin gnulib module spawn-tests
917
918 TESTS += test-spawn
919 check_PROGRAMS += test-spawn
920 EXTRA_DIST += test-spawn.c
921
922 ## end   gnulib module spawn-tests
923
924 ## begin gnulib module stat-tests
925
926 TESTS += test-stat
927 check_PROGRAMS += test-stat
928 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
929
930 ## end   gnulib module stat-tests
931
932 ## begin gnulib module stdbool-tests
933
934 TESTS += test-stdbool
935 check_PROGRAMS += test-stdbool
936 EXTRA_DIST += test-stdbool.c
937
938 ## end   gnulib module stdbool-tests
939
940 ## begin gnulib module stddef-tests
941
942 TESTS += test-stddef
943 check_PROGRAMS += test-stddef
944 EXTRA_DIST += test-stddef.c
945
946 ## end   gnulib module stddef-tests
947
948 ## begin gnulib module stdint-tests
949
950 TESTS += test-stdint
951 check_PROGRAMS += test-stdint
952 EXTRA_DIST += test-stdint.c
953
954 ## end   gnulib module stdint-tests
955
956 ## begin gnulib module stdio-c++-tests
957
958 if ANSICXX
959 TESTS += test-stdio-c++
960 check_PROGRAMS += test-stdio-c++
961 test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
962 test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
963 endif
964 EXTRA_DIST += test-stdio-c++.cc test-stdio-c++2.cc signature.h
965
966 ## end   gnulib module stdio-c++-tests
967
968 ## begin gnulib module stdio-tests
969
970 TESTS += test-stdio
971 check_PROGRAMS += test-stdio
972 EXTRA_DIST += test-stdio.c
973
974 ## end   gnulib module stdio-tests
975
976 ## begin gnulib module stdlib-c++-tests
977
978 if ANSICXX
979 TESTS += test-stdlib-c++
980 check_PROGRAMS += test-stdlib-c++
981 test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
982 test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)
983 endif
984 EXTRA_DIST += test-stdlib-c++.cc test-stdlib-c++2.cc signature.h
985
986 ## end   gnulib module stdlib-c++-tests
987
988 ## begin gnulib module stdlib-tests
989
990 TESTS += test-stdlib
991 check_PROGRAMS += test-stdlib
992 EXTRA_DIST += test-stdlib.c test-sys_wait.h
993
994 ## end   gnulib module stdlib-tests
995
996 ## begin gnulib module strchrnul-tests
997
998 TESTS += test-strchrnul
999 check_PROGRAMS += test-strchrnul
1000 EXTRA_DIST += test-strchrnul.c signature.h macros.h
1001
1002 ## end   gnulib module strchrnul-tests
1003
1004 ## begin gnulib module strdup-posix
1005
1006
1007 EXTRA_DIST += strdup.c
1008
1009 EXTRA_libtests_a_SOURCES += strdup.c
1010
1011 ## end   gnulib module strdup-posix
1012
1013 ## begin gnulib module strerror-tests
1014
1015 TESTS += test-strerror
1016 check_PROGRAMS += test-strerror
1017 EXTRA_DIST += test-strerror.c signature.h macros.h
1018
1019 ## end   gnulib module strerror-tests
1020
1021 ## begin gnulib module string-c++-tests
1022
1023 if ANSICXX
1024 TESTS += test-string-c++
1025 check_PROGRAMS += test-string-c++
1026 test_string_c___SOURCES = test-string-c++.cc test-string-c++2.cc
1027 test_string_c___LDADD = $(LDADD) $(LIBINTL)
1028 endif
1029 EXTRA_DIST += test-string-c++.cc test-string-c++2.cc signature.h
1030
1031 ## end   gnulib module string-c++-tests
1032
1033 ## begin gnulib module string-tests
1034
1035 TESTS += test-string
1036 check_PROGRAMS += test-string
1037 EXTRA_DIST += test-string.c
1038
1039 ## end   gnulib module string-tests
1040
1041 ## begin gnulib module strnlen-tests
1042
1043 TESTS += test-strnlen
1044 check_PROGRAMS += test-strnlen
1045 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
1046
1047 ## end   gnulib module strnlen-tests
1048
1049 ## begin gnulib module strsignal-tests
1050
1051 TESTS += test-strsignal
1052 check_PROGRAMS += test-strsignal
1053 test_strsignal_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
1054 EXTRA_DIST += test-strsignal.c signature.h macros.h
1055
1056 ## end   gnulib module strsignal-tests
1057
1058 ## begin gnulib module strstr-tests
1059
1060 TESTS += test-strstr
1061 check_PROGRAMS += test-strstr
1062 EXTRA_DIST += test-strstr.c zerosize-ptr.h signature.h macros.h
1063
1064 ## end   gnulib module strstr-tests
1065
1066 ## begin gnulib module strtod-tests
1067
1068 TESTS += test-strtod
1069 check_PROGRAMS += test-strtod
1070 EXTRA_DIST += test-strtod.c signature.h minus-zero.h macros.h
1071
1072 ## end   gnulib module strtod-tests
1073
1074 ## begin gnulib module symlink
1075
1076
1077 EXTRA_DIST += symlink.c
1078
1079 EXTRA_libtests_a_SOURCES += symlink.c
1080
1081 ## end   gnulib module symlink
1082
1083 ## begin gnulib module symlink-tests
1084
1085 TESTS += test-symlink
1086 check_PROGRAMS += test-symlink
1087 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
1088
1089 ## end   gnulib module symlink-tests
1090
1091 ## begin gnulib module sys_stat-c++-tests
1092
1093 if ANSICXX
1094 TESTS += test-sys_stat-c++
1095 check_PROGRAMS += test-sys_stat-c++
1096 test_sys_stat_c___SOURCES = test-sys_stat-c++.cc
1097 test_sys_stat_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME)
1098 endif
1099 EXTRA_DIST += test-sys_stat-c++.cc signature.h
1100
1101 ## end   gnulib module sys_stat-c++-tests
1102
1103 ## begin gnulib module sys_stat-tests
1104
1105 TESTS += test-sys_stat
1106 check_PROGRAMS += test-sys_stat
1107 EXTRA_DIST += test-sys_stat.c
1108
1109 ## end   gnulib module sys_stat-tests
1110
1111 ## begin gnulib module sys_time-c++-tests
1112
1113 if ANSICXX
1114 TESTS += test-sys_time-c++
1115 check_PROGRAMS += test-sys_time-c++
1116 test_sys_time_c___SOURCES = test-sys_time-c++.cc
1117 test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
1118 endif
1119 EXTRA_DIST += test-sys_time-c++.cc signature.h
1120
1121 ## end   gnulib module sys_time-c++-tests
1122
1123 ## begin gnulib module sys_time-tests
1124
1125 TESTS += test-sys_time
1126 check_PROGRAMS += test-sys_time
1127 EXTRA_DIST += test-sys_time.c
1128
1129 ## end   gnulib module sys_time-tests
1130
1131 ## begin gnulib module sys_wait-c++-tests
1132
1133 if ANSICXX
1134 TESTS += test-sys_wait-c++
1135 check_PROGRAMS += test-sys_wait-c++
1136 test_sys_wait_c___SOURCES = test-sys_wait-c++.cc
1137 endif
1138 EXTRA_DIST += test-sys_wait-c++.cc signature.h
1139
1140 ## end   gnulib module sys_wait-c++-tests
1141
1142 ## begin gnulib module sys_wait-tests
1143
1144 TESTS += test-sys_wait
1145 check_PROGRAMS += test-sys_wait
1146 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
1147
1148 ## end   gnulib module sys_wait-tests
1149
1150 ## begin gnulib module time-c++-tests
1151
1152 if ANSICXX
1153 TESTS += test-time-c++
1154 check_PROGRAMS += test-time-c++
1155 test_time_c___SOURCES = test-time-c++.cc test-time-c++2.cc
1156 test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
1157 endif
1158 EXTRA_DIST += test-time-c++.cc test-time-c++2.cc signature.h
1159
1160 ## end   gnulib module time-c++-tests
1161
1162 ## begin gnulib module time-tests
1163
1164 TESTS += test-time
1165 check_PROGRAMS += test-time
1166 EXTRA_DIST += test-time.c
1167
1168 ## end   gnulib module time-tests
1169
1170 ## begin gnulib module unistd-c++-tests
1171
1172 if ANSICXX
1173 TESTS += test-unistd-c++
1174 check_PROGRAMS += test-unistd-c++
1175 test_unistd_c___SOURCES = test-unistd-c++.cc
1176 test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET)
1177 endif
1178 EXTRA_DIST += test-unistd-c++.cc signature.h
1179
1180 ## end   gnulib module unistd-c++-tests
1181
1182 ## begin gnulib module unistd-safer-tests
1183
1184 TESTS += test-dup-safer
1185 check_PROGRAMS += test-dup-safer
1186 EXTRA_DIST += test-dup-safer.c macros.h
1187
1188 ## end   gnulib module unistd-safer-tests
1189
1190 ## begin gnulib module unistd-tests
1191
1192 TESTS += test-unistd
1193 check_PROGRAMS += test-unistd
1194 EXTRA_DIST += test-unistd.c
1195
1196 ## end   gnulib module unistd-tests
1197
1198 ## begin gnulib module unsetenv
1199
1200
1201 EXTRA_DIST += unsetenv.c
1202
1203 EXTRA_libtests_a_SOURCES += unsetenv.c
1204
1205 ## end   gnulib module unsetenv
1206
1207 ## begin gnulib module unsetenv-tests
1208
1209 TESTS += test-unsetenv
1210 check_PROGRAMS += test-unsetenv
1211 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1212
1213 ## end   gnulib module unsetenv-tests
1214
1215 ## begin gnulib module update-copyright-tests
1216
1217 TESTS += test-update-copyright.sh
1218 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1219 EXTRA_DIST += test-update-copyright.sh
1220
1221 ## end   gnulib module update-copyright-tests
1222
1223 ## begin gnulib module vasnprintf-tests
1224
1225 TESTS += test-vasnprintf
1226 check_PROGRAMS += test-vasnprintf
1227
1228 EXTRA_DIST += test-vasnprintf.c macros.h
1229
1230 ## end   gnulib module vasnprintf-tests
1231
1232 ## begin gnulib module vasprintf-posix-tests
1233
1234 TESTS += test-vasprintf-posix
1235 check_PROGRAMS += test-vasprintf-posix
1236
1237 EXTRA_DIST += test-vasprintf-posix.c minus-zero.h nan.h macros.h
1238
1239 ## end   gnulib module vasprintf-posix-tests
1240
1241 ## begin gnulib module vasprintf-tests
1242
1243 TESTS += test-vasprintf
1244 check_PROGRAMS += test-vasprintf
1245
1246 EXTRA_DIST += test-vasprintf.c signature.h macros.h
1247
1248 ## end   gnulib module vasprintf-tests
1249
1250 ## begin gnulib module vc-list-files-tests
1251
1252 TESTS += test-vc-list-files-git.sh
1253 TESTS += test-vc-list-files-cvs.sh
1254 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1255 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh init.sh
1256
1257 ## end   gnulib module vc-list-files-tests
1258
1259 ## begin gnulib module verify-tests
1260
1261 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1262 TESTS += test-verify test-verify.sh
1263 check_PROGRAMS += test-verify
1264 EXTRA_DIST += test-verify.c test-verify.sh init.sh
1265
1266 ## end   gnulib module verify-tests
1267
1268 ## begin gnulib module version-etc-tests
1269
1270 TESTS += test-version-etc.sh
1271 check_PROGRAMS += test-version-etc
1272 test_version_etc_LDADD = $(LDADD) @LIBINTL@
1273 EXTRA_DIST += test-version-etc.c test-version-etc.sh
1274
1275 ## end   gnulib module version-etc-tests
1276
1277 ## begin gnulib module warn-on-use
1278
1279 BUILT_SOURCES += warn-on-use.h
1280 # The warn-on-use.h that gets inserted into generated .h files is the same as
1281 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1282 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1283         $(AM_V_GEN)rm -f $@-t $@ && \
1284         sed -n -e '/^.ifndef/,$$p' \
1285           < $(top_srcdir)/build-aux/warn-on-use.h \
1286           > $@-t && \
1287         mv $@-t $@
1288 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1289
1290 WARN_ON_USE_H=warn-on-use.h
1291
1292 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1293
1294 ## end   gnulib module warn-on-use
1295
1296 ## begin gnulib module wchar-c++-tests
1297
1298 if ANSICXX
1299 TESTS += test-wchar-c++
1300 check_PROGRAMS += test-wchar-c++
1301 test_wchar_c___SOURCES = test-wchar-c++.cc
1302 test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
1303 endif
1304 EXTRA_DIST += test-wchar-c++.cc signature.h
1305
1306 ## end   gnulib module wchar-c++-tests
1307
1308 ## begin gnulib module wchar-tests
1309
1310 TESTS += test-wchar
1311 check_PROGRAMS += test-wchar
1312 EXTRA_DIST += test-wchar.c
1313
1314 ## end   gnulib module wchar-tests
1315
1316 ## begin gnulib module wcrtomb-tests
1317
1318 TESTS += \
1319   test-wcrtomb.sh \
1320   test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
1321   test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
1322 TESTS_ENVIRONMENT += \
1323   LOCALE_FR='@LOCALE_FR@' \
1324   LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1325   LOCALE_JA='@LOCALE_JA@' \
1326   LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1327 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
1328
1329 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
1330
1331 ## end   gnulib module wcrtomb-tests
1332
1333 ## begin gnulib module wctob
1334
1335
1336 EXTRA_DIST += wctob.c
1337
1338 EXTRA_libtests_a_SOURCES += wctob.c
1339
1340 ## end   gnulib module wctob
1341
1342 ## begin gnulib module wctomb
1343
1344
1345 EXTRA_DIST += wctomb-impl.h wctomb.c
1346
1347 EXTRA_libtests_a_SOURCES += wctomb.c
1348
1349 ## end   gnulib module wctomb
1350
1351 ## begin gnulib module wctype-h-c++-tests
1352
1353 if ANSICXX
1354 TESTS += test-wctype-h-c++
1355 check_PROGRAMS += test-wctype-h-c++
1356 test_wctype_h_c___SOURCES = test-wctype-h-c++.cc
1357 test_wctype_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
1358 endif
1359 EXTRA_DIST += test-wctype-h-c++.cc signature.h
1360
1361 ## end   gnulib module wctype-h-c++-tests
1362
1363 ## begin gnulib module wctype-h-tests
1364
1365 TESTS += test-wctype-h
1366 check_PROGRAMS += test-wctype-h
1367 EXTRA_DIST += test-wctype-h.c macros.h
1368
1369 ## end   gnulib module wctype-h-tests
1370
1371 ## begin gnulib module xalloc-die-tests
1372
1373 TESTS += test-xalloc-die.sh
1374 check_PROGRAMS += test-xalloc-die
1375 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
1376 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh init.sh
1377
1378 ## end   gnulib module xalloc-die-tests
1379
1380 ## begin gnulib module xvasprintf-tests
1381
1382 TESTS += test-xvasprintf
1383 check_PROGRAMS += test-xvasprintf
1384 test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
1385
1386 EXTRA_DIST += test-xvasprintf.c macros.h
1387
1388 ## end   gnulib module xvasprintf-tests
1389
1390 # Clean up after Solaris cc.
1391 clean-local:
1392         rm -rf SunWS_cache
1393
1394 mostlyclean-local: mostlyclean-generic
1395         @for dir in '' $(MOSTLYCLEANDIRS); do \
1396           if test -n "$$dir" && test -d $$dir; then \
1397             echo "rmdir $$dir"; rmdir $$dir; \
1398           fi; \
1399         done; \
1400         :