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.
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.
11 # Generated by gnulib-tool.
13 AUTOMAKE_OPTIONS = 1.5 foreign subdir-objects
23 check_LIBRARIES = libtests.a
27 MOSTLYCLEANFILES = core *.stackdump
31 MAINTAINERCLEANFILES =
34 -D@gltests_WITNESS@=1 \
37 -I../lib -I$(srcdir)/../lib
39 LDADD = libtests.a ../lib/libdiffutils.a libtests.a $(LIBTESTS_LIBDEPS)
42 libtests_a_LIBADD = $(gltests_LIBOBJS)
43 libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
44 EXTRA_libtests_a_SOURCES =
45 AM_LIBTOOLFLAGS = --preserve-dup-deps
47 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
49 ## begin gnulib module alloca-opt-tests
51 TESTS += test-alloca-opt
52 check_PROGRAMS += test-alloca-opt
54 EXTRA_DIST += test-alloca-opt.c
56 ## end gnulib module alloca-opt-tests
58 ## begin gnulib module argmatch
60 libtests_a_SOURCES += argmatch.c
62 EXTRA_DIST += argmatch.h
64 ## end gnulib module argmatch
66 ## begin gnulib module argmatch-tests
68 TESTS += test-argmatch
69 check_PROGRAMS += test-argmatch
70 test_argmatch_LDADD = $(LDADD) @LIBINTL@
72 EXTRA_DIST += test-argmatch.c macros.h
74 ## end gnulib module argmatch-tests
76 ## begin gnulib module binary-io
78 libtests_a_SOURCES += binary-io.h
80 ## end gnulib module binary-io
82 ## begin gnulib module binary-io-tests
84 TESTS += test-binary-io.sh
85 check_PROGRAMS += test-binary-io
87 EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
89 ## end gnulib module binary-io-tests
91 ## begin gnulib module bitrotate-tests
93 TESTS += test-bitrotate
94 check_PROGRAMS += test-bitrotate
95 EXTRA_DIST += test-bitrotate.c macros.h
97 ## end gnulib module bitrotate-tests
99 ## begin gnulib module btowc-tests
101 TESTS += test-btowc1.sh test-btowc2.sh
102 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
103 check_PROGRAMS += test-btowc
105 EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
107 ## end gnulib module btowc-tests
109 ## begin gnulib module c-ctype-tests
111 TESTS += test-c-ctype
112 check_PROGRAMS += test-c-ctype
114 EXTRA_DIST += test-c-ctype.c macros.h
116 ## end gnulib module c-ctype-tests
118 ## begin gnulib module c-stack-tests
120 TESTS += test-c-stack.sh test-c-stack2.sh
121 TESTS_ENVIRONMENT += LIBSIGSEGV='@LIBSIGSEGV@'
122 check_PROGRAMS += test-c-stack
123 test_c_stack_LDADD = $(LDADD) $(LIBCSTACK) @LIBINTL@
124 MOSTLYCLEANFILES += t-c-stack.tmp t-c-stack2.tmp
125 EXTRA_DIST += test-c-stack.c test-c-stack.sh test-c-stack2.sh macros.h
127 ## end gnulib module c-stack-tests
129 ## begin gnulib module c-strcase-tests
131 TESTS += test-c-strcase.sh
132 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
133 check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
134 EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
136 ## end gnulib module c-strcase-tests
138 ## begin gnulib module dirname-tests
140 TESTS += test-dirname
141 check_PROGRAMS += test-dirname
142 test_dirname_LDADD = $(LDADD) @LIBINTL@
143 EXTRA_DIST += test-dirname.c
145 ## end gnulib module dirname-tests
147 ## begin gnulib module dup2-tests
150 check_PROGRAMS += test-dup2
151 EXTRA_DIST += test-dup2.c signature.h macros.h
153 ## end gnulib module dup2-tests
155 ## begin gnulib module environ-tests
157 TESTS += test-environ
158 check_PROGRAMS += test-environ
160 EXTRA_DIST += test-environ.c
162 ## end gnulib module environ-tests
164 ## begin gnulib module errno-tests
167 check_PROGRAMS += test-errno
169 EXTRA_DIST += test-errno.c
171 ## end gnulib module errno-tests
173 ## begin gnulib module exclude-tests
185 check_PROGRAMS += test-exclude
186 test_exclude_LDADD = $(LDADD) @LIBINTL@
187 EXTRA_DIST += test-exclude.c test-exclude1.sh test-exclude2.sh test-exclude3.sh test-exclude4.sh test-exclude5.sh test-exclude6.sh test-exclude7.sh test-exclude8.sh
189 ## end gnulib module exclude-tests
191 ## begin gnulib module fcntl-h-tests
193 TESTS += test-fcntl-h
194 check_PROGRAMS += test-fcntl-h
195 EXTRA_DIST += test-fcntl-h.c
197 ## end gnulib module fcntl-h-tests
199 ## begin gnulib module fcntl-tests
202 check_PROGRAMS += test-fcntl
203 EXTRA_DIST += test-fcntl.c signature.h macros.h
205 ## end gnulib module fcntl-tests
207 ## begin gnulib module filenamecat-tests
209 TESTS += test-filenamecat
210 check_PROGRAMS += test-filenamecat
211 test_filenamecat_LDADD = $(LDADD) @LIBINTL@
212 EXTRA_DIST += test-filenamecat.c
214 ## end gnulib module filenamecat-tests
216 ## begin gnulib module float
218 BUILT_SOURCES += $(FLOAT_H)
220 # We need the following in order to create <float.h> when the system
221 # doesn't have one that works with the given compiler.
222 if GL_GENERATE_FLOAT_H
223 float.h: float.in.h $(top_builddir)/config.status
224 $(AM_V_GEN)rm -f $@-t $@ && \
225 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
226 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
227 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
228 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
229 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
230 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
231 < $(srcdir)/float.in.h; \
235 float.h: $(top_builddir)/config.status
238 MOSTLYCLEANFILES += float.h float.h-t
240 EXTRA_DIST += float.c float.in.h
242 EXTRA_libtests_a_SOURCES += float.c
244 ## end gnulib module float
246 ## begin gnulib module float-tests
249 check_PROGRAMS += test-float
250 EXTRA_DIST += test-float.c macros.h
252 ## end gnulib module float-tests
254 ## begin gnulib module fnmatch-tests
256 TESTS += test-fnmatch
257 check_PROGRAMS += test-fnmatch
258 EXTRA_DIST += test-fnmatch.c signature.h macros.h
260 ## end gnulib module fnmatch-tests
262 ## begin gnulib module fpucw
265 EXTRA_DIST += fpucw.h
267 ## end gnulib module fpucw
269 ## begin gnulib module freopen-safer-tests
271 TESTS += test-freopen-safer
272 check_PROGRAMS += test-freopen-safer
273 EXTRA_DIST += test-freopen-safer.c macros.h
275 ## end gnulib module freopen-safer-tests
277 ## begin gnulib module freopen-tests
279 TESTS += test-freopen
280 check_PROGRAMS += test-freopen
282 EXTRA_DIST += test-freopen.c signature.h macros.h
284 ## end gnulib module freopen-tests
286 ## begin gnulib module getcwd-lgpl
289 EXTRA_DIST += getcwd-lgpl.c
291 EXTRA_libtests_a_SOURCES += getcwd-lgpl.c
293 ## end gnulib module getcwd-lgpl
295 ## begin gnulib module getcwd-lgpl-tests
297 TESTS += test-getcwd-lgpl
298 check_PROGRAMS += test-getcwd-lgpl
299 EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
301 ## end gnulib module getcwd-lgpl-tests
303 ## begin gnulib module getdtablesize-tests
305 TESTS += test-getdtablesize
306 check_PROGRAMS += test-getdtablesize
307 EXTRA_DIST += test-getdtablesize.c signature.h macros.h
309 ## end gnulib module getdtablesize-tests
311 ## begin gnulib module getopt-posix-tests
314 check_PROGRAMS += test-getopt
315 test_getopt_LDADD = $(LDADD) $(LIBINTL)
316 EXTRA_DIST += macros.h signature.h test-getopt.c test-getopt.h test-getopt_long.h
318 ## end gnulib module getopt-posix-tests
320 ## begin gnulib module getpagesize
323 EXTRA_DIST += getpagesize.c
325 EXTRA_libtests_a_SOURCES += getpagesize.c
327 ## end gnulib module getpagesize
329 ## begin gnulib module gettimeofday-tests
331 TESTS += test-gettimeofday
332 check_PROGRAMS += test-gettimeofday
334 EXTRA_DIST += signature.h test-gettimeofday.c
336 ## end gnulib module gettimeofday-tests
338 ## begin gnulib module hash-pjw
340 libtests_a_SOURCES += hash-pjw.h hash-pjw.c
342 ## end gnulib module hash-pjw
344 ## begin gnulib module hash-tests
347 check_PROGRAMS += test-hash
348 EXTRA_DIST += test-hash.c macros.h
350 ## end gnulib module hash-tests
352 ## begin gnulib module iconv-h-tests
354 TESTS += test-iconv-h
355 check_PROGRAMS += test-iconv-h
356 EXTRA_DIST += test-iconv-h.c
358 ## end gnulib module iconv-h-tests
360 ## begin gnulib module iconv-tests
363 check_PROGRAMS += test-iconv
364 test_iconv_LDADD = $(LDADD) @LIBICONV@
366 EXTRA_DIST += test-iconv.c signature.h macros.h
368 ## end gnulib module iconv-tests
370 ## begin gnulib module ignore-value-tests
372 TESTS += test-ignore-value
373 check_PROGRAMS += test-ignore-value
374 EXTRA_DIST += test-ignore-value.c
376 ## end gnulib module ignore-value-tests
378 ## begin gnulib module intprops-tests
380 TESTS += test-intprops
381 check_PROGRAMS += test-intprops
382 EXTRA_DIST += test-intprops.c macros.h
384 ## end gnulib module intprops-tests
386 ## begin gnulib module inttostr-tests
388 TESTS += test-inttostr
389 check_PROGRAMS += test-inttostr
390 EXTRA_DIST += macros.h test-inttostr.c
392 ## end gnulib module inttostr-tests
394 ## begin gnulib module inttypes-tests
396 TESTS += test-inttypes
397 check_PROGRAMS += test-inttypes
398 EXTRA_DIST += test-inttypes.c
400 ## end gnulib module inttypes-tests
402 ## begin gnulib module iswblank-tests
404 TESTS += test-iswblank
405 check_PROGRAMS += test-iswblank
406 EXTRA_DIST += test-iswblank.c macros.h
408 ## end gnulib module iswblank-tests
410 ## begin gnulib module langinfo-tests
412 TESTS += test-langinfo
413 check_PROGRAMS += test-langinfo
414 EXTRA_DIST += test-langinfo.c
416 ## end gnulib module langinfo-tests
418 ## begin gnulib module locale
420 BUILT_SOURCES += locale.h
422 # We need the following in order to create <locale.h> when the system
423 # doesn't have one that provides all definitions.
424 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
425 $(AM_V_GEN)rm -f $@-t $@ && \
426 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
427 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
428 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
429 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
430 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
431 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
432 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
433 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
434 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
435 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
436 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
437 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
438 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
439 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
440 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
441 < $(srcdir)/locale.in.h; \
444 MOSTLYCLEANFILES += locale.h locale.h-t
446 EXTRA_DIST += locale.in.h
448 ## end gnulib module locale
450 ## begin gnulib module locale-tests
453 check_PROGRAMS += test-locale
454 EXTRA_DIST += test-locale.c
456 ## end gnulib module locale-tests
458 ## begin gnulib module lstat-tests
461 check_PROGRAMS += test-lstat
462 EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
464 ## end gnulib module lstat-tests
466 ## begin gnulib module malloc-gnu-tests
468 TESTS += test-malloc-gnu
469 check_PROGRAMS += test-malloc-gnu
470 EXTRA_DIST += test-malloc-gnu.c
472 ## end gnulib module malloc-gnu-tests
474 ## begin gnulib module malloca-tests
476 TESTS += test-malloca
477 check_PROGRAMS += test-malloca
479 EXTRA_DIST += test-malloca.c
481 ## end gnulib module malloca-tests
483 ## begin gnulib module mbrtowc-tests
486 test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
487 test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
488 test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
489 TESTS_ENVIRONMENT += \
490 LOCALE_FR='@LOCALE_FR@' \
491 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
492 LOCALE_JA='@LOCALE_JA@' \
493 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
494 check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
496 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
498 ## end gnulib module mbrtowc-tests
500 ## begin gnulib module mbscasecmp-tests
502 TESTS += test-mbscasecmp.sh
503 TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
504 check_PROGRAMS += test-mbscasecmp
506 EXTRA_DIST += test-mbscasecmp.sh test-mbscasecmp.c macros.h
508 ## end gnulib module mbscasecmp-tests
510 ## begin gnulib module mbsinit-tests
512 TESTS += test-mbsinit.sh
513 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
514 check_PROGRAMS += test-mbsinit
516 EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
518 ## end gnulib module mbsinit-tests
520 ## begin gnulib module mbsrtowcs-tests
522 TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh
523 TESTS_ENVIRONMENT += \
524 LOCALE_FR='@LOCALE_FR@' \
525 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
526 LOCALE_JA='@LOCALE_JA@' \
527 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
528 check_PROGRAMS += test-mbsrtowcs
530 EXTRA_DIST += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh test-mbsrtowcs.c signature.h macros.h
532 ## end gnulib module mbsrtowcs-tests
534 ## begin gnulib module mbsstr-tests
536 TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
537 TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
538 check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
540 EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
542 ## end gnulib module mbsstr-tests
544 ## begin gnulib module memchr-tests
547 check_PROGRAMS += test-memchr
548 EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
550 ## end gnulib module memchr-tests
552 ## begin gnulib module nl_langinfo-tests
554 TESTS += test-nl_langinfo.sh
555 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
556 check_PROGRAMS += test-nl_langinfo
557 EXTRA_DIST += test-nl_langinfo.sh test-nl_langinfo.c signature.h macros.h
559 ## end gnulib module nl_langinfo-tests
561 ## begin gnulib module open-tests
564 check_PROGRAMS += test-open
565 EXTRA_DIST += test-open.h test-open.c signature.h macros.h
567 ## end gnulib module open-tests
569 ## begin gnulib module putenv
572 EXTRA_DIST += putenv.c
574 EXTRA_libtests_a_SOURCES += putenv.c
576 ## end gnulib module putenv
578 ## begin gnulib module quotearg-simple-tests
580 TESTS += test-quotearg-simple
581 check_PROGRAMS += test-quotearg-simple
582 test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
583 EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h
585 ## end gnulib module quotearg-simple-tests
587 ## begin gnulib module same-inode
590 EXTRA_DIST += same-inode.h
592 ## end gnulib module same-inode
594 ## begin gnulib module setenv
597 EXTRA_DIST += setenv.c
599 EXTRA_libtests_a_SOURCES += setenv.c
601 ## end gnulib module setenv
603 ## begin gnulib module setenv-tests
606 check_PROGRAMS += test-setenv
607 EXTRA_DIST += test-setenv.c signature.h macros.h
609 ## end gnulib module setenv-tests
611 ## begin gnulib module setlocale
614 EXTRA_DIST += setlocale.c
616 EXTRA_libtests_a_SOURCES += setlocale.c
618 ## end gnulib module setlocale
620 ## begin gnulib module setlocale-tests
622 TESTS += test-setlocale1.sh test-setlocale2.sh
623 TESTS_ENVIRONMENT += \
624 LOCALE_FR='@LOCALE_FR@' \
625 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
626 LOCALE_JA='@LOCALE_JA@' \
627 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
628 check_PROGRAMS += test-setlocale1 test-setlocale2
629 EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
631 ## end gnulib module setlocale-tests
633 ## begin gnulib module sigaction-tests
635 TESTS += test-sigaction
636 check_PROGRAMS += test-sigaction
637 EXTRA_DIST += test-sigaction.c signature.h macros.h
639 ## end gnulib module sigaction-tests
641 ## begin gnulib module signal-tests
644 check_PROGRAMS += test-signal
645 EXTRA_DIST += test-signal.c
647 ## end gnulib module signal-tests
649 ## begin gnulib module sigprocmask-tests
651 TESTS += test-sigprocmask
652 check_PROGRAMS += test-sigprocmask
653 EXTRA_DIST += test-sigprocmask.c signature.h macros.h
655 ## end gnulib module sigprocmask-tests
657 ## begin gnulib module size_max
659 libtests_a_SOURCES += size_max.h
661 ## end gnulib module size_max
663 ## begin gnulib module sleep
666 EXTRA_DIST += sleep.c
668 EXTRA_libtests_a_SOURCES += sleep.c
670 ## end gnulib module sleep
672 ## begin gnulib module sleep-tests
675 check_PROGRAMS += test-sleep
676 EXTRA_DIST += test-sleep.c signature.h macros.h
678 ## end gnulib module sleep-tests
680 ## begin gnulib module snippet/_Noreturn
682 # Because this Makefile snippet defines a variable used by other
683 # gnulib Makefile snippets, it must be present in all Makefile.am that
684 # need it. This is ensured by the applicability 'all' defined above.
686 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
688 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
690 ## end gnulib module snippet/_Noreturn
692 ## begin gnulib module snippet/arg-nonnull
694 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
695 # statements but through direct file reference. Therefore this snippet must be
696 # present in all Makefile.am that need it. This is ensured by the applicability
697 # 'all' defined above.
699 BUILT_SOURCES += arg-nonnull.h
700 # The arg-nonnull.h that gets inserted into generated .h files is the same as
701 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
703 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
704 $(AM_V_GEN)rm -f $@-t $@ && \
705 sed -n -e '/GL_ARG_NONNULL/,$$p' \
706 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
709 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
711 ARG_NONNULL_H=arg-nonnull.h
713 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
715 ## end gnulib module snippet/arg-nonnull
717 ## begin gnulib module snippet/c++defs
719 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
720 # statements but through direct file reference. Therefore this snippet must be
721 # present in all Makefile.am that need it. This is ensured by the applicability
722 # 'all' defined above.
724 BUILT_SOURCES += c++defs.h
725 # The c++defs.h that gets inserted into generated .h files is the same as
726 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
727 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
728 $(AM_V_GEN)rm -f $@-t $@ && \
729 sed -n -e '/_GL_CXXDEFS/,$$p' \
730 < $(top_srcdir)/build-aux/snippet/c++defs.h \
733 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
737 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
739 ## end gnulib module snippet/c++defs
741 ## begin gnulib module snippet/unused-parameter
743 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
744 # statements but through direct file reference. Therefore this snippet must be
745 # present in all Makefile.am that need it. This is ensured by the applicability
746 # 'all' defined above.
748 BUILT_SOURCES += unused-parameter.h
749 # The unused-parameter.h that gets inserted into generated .h files is the same
750 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
752 unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
753 $(AM_V_GEN)rm -f $@-t $@ && \
754 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
755 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
758 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
760 UNUSED_PARAMETER_H=unused-parameter.h
762 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
764 ## end gnulib module snippet/unused-parameter
766 ## begin gnulib module snippet/warn-on-use
768 BUILT_SOURCES += warn-on-use.h
769 # The warn-on-use.h that gets inserted into generated .h files is the same as
770 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
772 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
773 $(AM_V_GEN)rm -f $@-t $@ && \
774 sed -n -e '/^.ifndef/,$$p' \
775 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
778 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
780 WARN_ON_USE_H=warn-on-use.h
782 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
784 ## end gnulib module snippet/warn-on-use
786 ## begin gnulib module snprintf
789 EXTRA_DIST += snprintf.c
791 EXTRA_libtests_a_SOURCES += snprintf.c
793 ## end gnulib module snprintf
795 ## begin gnulib module snprintf-tests
797 TESTS += test-snprintf
798 check_PROGRAMS += test-snprintf
800 EXTRA_DIST += test-snprintf.c signature.h macros.h
802 ## end gnulib module snprintf-tests
804 ## begin gnulib module stat-tests
807 check_PROGRAMS += test-stat
808 EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
810 ## end gnulib module stat-tests
812 ## begin gnulib module stat-time-tests
814 TESTS += test-stat-time
815 check_PROGRAMS += test-stat-time
816 EXTRA_DIST += test-stat-time.c macros.h
818 ## end gnulib module stat-time-tests
820 ## begin gnulib module stdbool-tests
822 TESTS += test-stdbool
823 check_PROGRAMS += test-stdbool
824 EXTRA_DIST += test-stdbool.c
826 ## end gnulib module stdbool-tests
828 ## begin gnulib module stddef-tests
831 check_PROGRAMS += test-stddef
832 EXTRA_DIST += test-stddef.c
834 ## end gnulib module stddef-tests
836 ## begin gnulib module stdint-tests
839 check_PROGRAMS += test-stdint
840 EXTRA_DIST += test-stdint.c
842 ## end gnulib module stdint-tests
844 ## begin gnulib module stdio-tests
847 check_PROGRAMS += test-stdio
848 EXTRA_DIST += test-stdio.c
850 ## end gnulib module stdio-tests
852 ## begin gnulib module stdlib-tests
855 check_PROGRAMS += test-stdlib
856 EXTRA_DIST += test-stdlib.c test-sys_wait.h
858 ## end gnulib module stdlib-tests
860 ## begin gnulib module strerror-tests
862 TESTS += test-strerror
863 check_PROGRAMS += test-strerror
864 EXTRA_DIST += test-strerror.c signature.h macros.h
866 ## end gnulib module strerror-tests
868 ## begin gnulib module strftime-tests
870 TESTS += test-strftime
871 check_PROGRAMS += test-strftime
872 EXTRA_DIST += test-strftime.c macros.h
874 ## end gnulib module strftime-tests
876 ## begin gnulib module striconv-tests
878 TESTS += test-striconv
879 check_PROGRAMS += test-striconv
880 test_striconv_LDADD = $(LDADD) @LIBICONV@
882 EXTRA_DIST += test-striconv.c macros.h
884 ## end gnulib module striconv-tests
886 ## begin gnulib module string-tests
889 check_PROGRAMS += test-string
890 EXTRA_DIST += test-string.c
892 ## end gnulib module string-tests
894 ## begin gnulib module strings-tests
896 TESTS += test-strings
897 check_PROGRAMS += test-strings
898 EXTRA_DIST += test-strings.c
900 ## end gnulib module strings-tests
902 ## begin gnulib module strnlen-tests
904 TESTS += test-strnlen
905 check_PROGRAMS += test-strnlen
906 EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
908 ## end gnulib module strnlen-tests
910 ## begin gnulib module strtoumax-tests
912 TESTS += test-strtoumax
913 check_PROGRAMS += test-strtoumax
914 EXTRA_DIST += test-strtoumax.c signature.h macros.h
916 ## end gnulib module strtoumax-tests
918 ## begin gnulib module symlink
921 EXTRA_DIST += symlink.c
923 EXTRA_libtests_a_SOURCES += symlink.c
925 ## end gnulib module symlink
927 ## begin gnulib module symlink-tests
929 TESTS += test-symlink
930 check_PROGRAMS += test-symlink
931 EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
933 ## end gnulib module symlink-tests
935 ## begin gnulib module sys_stat-tests
937 TESTS += test-sys_stat
938 check_PROGRAMS += test-sys_stat
939 EXTRA_DIST += test-sys_stat.c
941 ## end gnulib module sys_stat-tests
943 ## begin gnulib module sys_time-tests
945 TESTS += test-sys_time
946 check_PROGRAMS += test-sys_time
947 EXTRA_DIST += test-sys_time.c
949 ## end gnulib module sys_time-tests
951 ## begin gnulib module sys_wait-tests
953 TESTS += test-sys_wait
954 check_PROGRAMS += test-sys_wait
955 EXTRA_DIST += test-sys_wait.c test-sys_wait.h
957 ## end gnulib module sys_wait-tests
959 ## begin gnulib module time-tests
962 check_PROGRAMS += test-time
963 EXTRA_DIST += test-time.c
965 ## end gnulib module time-tests
967 ## begin gnulib module unistd-tests
970 check_PROGRAMS += test-unistd
971 EXTRA_DIST += test-unistd.c
973 ## end gnulib module unistd-tests
975 ## begin gnulib module unistr/u8-mbtoucr-tests
977 TESTS += test-u8-mbtoucr
978 check_PROGRAMS += test-u8-mbtoucr
979 test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c
980 test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING)
981 EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h
983 ## end gnulib module unistr/u8-mbtoucr-tests
985 ## begin gnulib module unistr/u8-uctomb-tests
987 TESTS += test-u8-uctomb
988 check_PROGRAMS += test-u8-uctomb
989 test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c
990 test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING)
991 EXTRA_DIST += unistr/test-u8-uctomb.c macros.h
993 ## end gnulib module unistr/u8-uctomb-tests
995 ## begin gnulib module uniwidth/width-tests
997 TESTS += test-uc_width uniwidth/test-uc_width2.sh
998 check_PROGRAMS += test-uc_width test-uc_width2
999 test_uc_width_SOURCES = uniwidth/test-uc_width.c
1000 test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING)
1001 test_uc_width2_SOURCES = uniwidth/test-uc_width2.c
1002 test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING)
1003 EXTRA_DIST += uniwidth/test-uc_width.c uniwidth/test-uc_width2.c uniwidth/test-uc_width2.sh macros.h
1005 ## end gnulib module uniwidth/width-tests
1007 ## begin gnulib module unsetenv
1010 EXTRA_DIST += unsetenv.c
1012 EXTRA_libtests_a_SOURCES += unsetenv.c
1014 ## end gnulib module unsetenv
1016 ## begin gnulib module unsetenv-tests
1018 TESTS += test-unsetenv
1019 check_PROGRAMS += test-unsetenv
1020 EXTRA_DIST += test-unsetenv.c signature.h macros.h
1022 ## end gnulib module unsetenv-tests
1024 ## begin gnulib module update-copyright-tests
1026 TESTS += test-update-copyright.sh
1027 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1028 EXTRA_DIST += test-update-copyright.sh
1030 ## end gnulib module update-copyright-tests
1032 ## begin gnulib module usleep
1035 EXTRA_DIST += usleep.c
1037 EXTRA_libtests_a_SOURCES += usleep.c
1039 ## end gnulib module usleep
1041 ## begin gnulib module usleep-tests
1043 TESTS += test-usleep
1044 check_PROGRAMS += test-usleep
1045 EXTRA_DIST += test-usleep.c signature.h macros.h
1047 ## end gnulib module usleep-tests
1049 ## begin gnulib module vasnprintf
1052 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1054 EXTRA_libtests_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1056 ## end gnulib module vasnprintf
1058 ## begin gnulib module vasnprintf-tests
1060 TESTS += test-vasnprintf
1061 check_PROGRAMS += test-vasnprintf
1063 EXTRA_DIST += test-vasnprintf.c macros.h
1065 ## end gnulib module vasnprintf-tests
1067 ## begin gnulib module vc-list-files-tests
1069 TESTS += test-vc-list-files-git.sh
1070 TESTS += test-vc-list-files-cvs.sh
1071 TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
1072 EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh init.sh
1074 ## end gnulib module vc-list-files-tests
1076 ## begin gnulib module verify-tests
1078 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
1079 TESTS += test-verify test-verify.sh
1080 check_PROGRAMS += test-verify
1081 EXTRA_DIST += test-verify.c test-verify.sh init.sh
1083 ## end gnulib module verify-tests
1085 ## begin gnulib module version-etc-tests
1087 TESTS += test-version-etc.sh
1088 check_PROGRAMS += test-version-etc
1089 test_version_etc_LDADD = $(LDADD) @LIBINTL@
1090 EXTRA_DIST += test-version-etc.c test-version-etc.sh
1092 ## end gnulib module version-etc-tests
1094 ## begin gnulib module wchar-tests
1097 check_PROGRAMS += test-wchar
1098 EXTRA_DIST += test-wchar.c
1100 ## end gnulib module wchar-tests
1102 ## begin gnulib module wcrtomb-tests
1106 test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
1107 test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
1108 TESTS_ENVIRONMENT += \
1109 LOCALE_FR='@LOCALE_FR@' \
1110 LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1111 LOCALE_JA='@LOCALE_JA@' \
1112 LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1113 check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
1115 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
1117 ## end gnulib module wcrtomb-tests
1119 ## begin gnulib module wctob
1122 EXTRA_DIST += wctob.c
1124 EXTRA_libtests_a_SOURCES += wctob.c
1126 ## end gnulib module wctob
1128 ## begin gnulib module wctomb
1131 EXTRA_DIST += wctomb-impl.h wctomb.c
1133 EXTRA_libtests_a_SOURCES += wctomb.c
1135 ## end gnulib module wctomb
1137 ## begin gnulib module wctype-h-tests
1139 TESTS += test-wctype-h
1140 check_PROGRAMS += test-wctype-h
1141 EXTRA_DIST += test-wctype-h.c macros.h
1143 ## end gnulib module wctype-h-tests
1145 ## begin gnulib module wcwidth-tests
1147 TESTS += test-wcwidth
1148 check_PROGRAMS += test-wcwidth
1150 EXTRA_DIST += test-wcwidth.c signature.h macros.h
1152 ## end gnulib module wcwidth-tests
1154 ## begin gnulib module xalloc-die-tests
1156 TESTS += test-xalloc-die.sh
1157 check_PROGRAMS += test-xalloc-die
1158 test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
1159 EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh init.sh
1161 ## end gnulib module xalloc-die-tests
1163 ## begin gnulib module xsize
1165 libtests_a_SOURCES += xsize.h
1167 ## end gnulib module xsize
1169 ## begin gnulib module xstrtol-tests
1171 TESTS += test-xstrtol.sh
1172 check_PROGRAMS += test-xstrtol test-xstrtoul
1173 test_xstrtol_LDADD = $(LDADD) @LIBINTL@
1174 test_xstrtoul_LDADD = $(LDADD) @LIBINTL@
1175 EXTRA_DIST += init.sh test-xstrtol.c test-xstrtoul.c test-xstrtol.sh
1177 ## end gnulib module xstrtol-tests
1179 ## begin gnulib module xstrtoumax-tests
1181 TESTS += test-xstrtoumax.sh
1182 check_PROGRAMS += test-xstrtoumax
1183 test_xstrtoumax_LDADD = $(LDADD) @LIBINTL@
1184 EXTRA_DIST += init.sh test-xstrtoumax.c test-xstrtoumax.sh
1186 ## end gnulib module xstrtoumax-tests
1188 # Clean up after Solaris cc.
1192 mostlyclean-local: mostlyclean-generic
1193 @for dir in '' $(MOSTLYCLEANDIRS); do \
1194 if test -n "$$dir" && test -d $$dir; then \
1195 echo "rmdir $$dir"; rmdir $$dir; \