1 # Makefile.in generated by automake 1.11a from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
19 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2, or (at your option)
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
31 # You should have received a copy of the GNU General Public License
32 # along with this program. If not, see <http://www.gnu.org/licenses/>.
34 pkgdatadir = $(datadir)/@PACKAGE@
35 pkgincludedir = $(includedir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkglibexecdir = $(libexecdir)/@PACKAGE@
38 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39 install_sh_DATA = $(install_sh) -c -m 644
40 install_sh_PROGRAM = $(install_sh) -c
41 install_sh_SCRIPT = $(install_sh) -c
42 INSTALL_HEADER = $(INSTALL_DATA)
43 transform = $(program_transform_name)
50 build_triplet = @build@
51 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
52 $(srcdir)/aclocal.in $(srcdir)/automake.in $(srcdir)/defs \
53 $(srcdir)/defs-static.in $(srcdir)/instspc-tests.am \
54 $(srcdir)/parallel-tests.am
56 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
58 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
59 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
60 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
61 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
62 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/silent.m4 \
63 $(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/substnot.m4 \
64 $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
65 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
67 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
68 CONFIG_CLEAN_FILES = defs-static aclocal-${APIVERSION} \
69 automake-${APIVERSION}
70 CONFIG_CLEAN_VPATH_FILES = defs
71 AM_V_GEN = $(am__v_GEN_$(V))
72 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
73 am__v_GEN_0 = @echo " GEN " $@;
74 AM_V_at = $(am__v_at_$(V))
75 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
79 # If stdout is a non-dumb tty, use colors. If test -t is not supported,
80 # then this fails; a conservative approach. Of course do not redirect
81 # stdout here, just stderr.
83 red=; grn=; lgn=; blu=; std=; \
84 test "X$(AM_COLOR_TESTS)" != Xno \
85 && test "X$$TERM" != Xdumb \
86 && { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
94 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
95 am__vpath_adj = case $$p in \
96 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
99 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
101 am__nobase_strip_setup = \
102 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
104 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
105 am__nobase_list = $(am__nobase_strip_setup); \
106 for p in $$list; do echo "$$p $$p"; done | \
107 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
108 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
109 if (++n[$$2] == $(am__install_max)) \
110 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
111 END { for (dir in files) print dir, files[dir] }'
113 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
114 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
115 # Restructured Text title and section.
116 am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
117 am__rst_section = sed 'p;s/./=/g;p;g'
118 # Put stdin (possibly several lines separated by ". ") in a box.
119 am__text_box = $(AWK) '{ \
120 n = split($$0, lines, "\\. "); max = 0; \
121 for (i = 1; i <= n; ++i) \
122 if (max < length(lines[i])) \
123 max = length(lines[i]); \
124 for (i = 0; i < max; ++i) line = line "="; \
126 for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\
129 # Solaris 10 'make', and several other traditional 'make' implementations,
130 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
131 # by disabling -e (using the XSI extension "set +e") if it's set.
132 am__sh_e_setup = case $$- in *e*) set +e;; esac
133 # To be inserted before the command running the test. Creates the
134 # directory for the log if needed. Stores in $dir the directory
135 # containing $f, in $tst the test, in $log the log, and passes
136 # TESTS_ENVIRONMENT. Save and restore TERM around use of
137 # TESTS_ENVIRONMENT, in case that unsets it.
140 $(am__vpath_adj_setup) $(am__vpath_adj) \
141 srcdir=$(srcdir); export srcdir; \
143 am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
144 trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2; \
145 trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
146 am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \
147 test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \
148 if test -f "./$$f"; then dir=./; \
149 elif test -f "$$f"; then dir=; \
150 else dir="$(srcdir)/"; fi; \
151 tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \
153 # To be appended to the command running the test. Handle the stdout
154 # and stderr redirection, and catch the exit status.
158 if test -n '$(DISABLE_HARD_ERRORS)' \
159 && test $$estatus -eq 99; then \
162 TERM=$$__SAVED_TERM; export TERM; \
165 case " $(XFAIL_TESTS) " in \
166 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
169 case $$estatus.$$xfailed in \
170 0.XFAIL) col=$$red; res=XPASS;; \
171 0.*) col=$$grn; res=PASS ;; \
172 77.*) col=$$blu; res=SKIP ;; \
173 99.*) col=$$red; res=FAIL ;; \
174 *.XFAIL) col=$$lgn; res=XFAIL;; \
175 *.*) col=$$red; res=FAIL ;; \
177 echo "$${col}$$res$${std}: $$f"; \
178 echo "$$res: $$f (exit: $$estatus)" | \
179 $(am__rst_section) >$@; \
182 RECHECK_LOGS = $(TEST_LOGS)
183 AM_RECURSIVE_TARGETS = check check-html recheck recheck-html
184 TEST_SUITE_LOG = test-suite.log
185 TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
186 TEST_EXTENSIONS = .test
187 am__test_logs1 = $(TESTS:=.log)
188 TEST_LOGS = $(am__test_logs1:.test.log=.log)
189 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
191 TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
192 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
195 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
196 APIVERSION = @APIVERSION@
197 AUTOCONF = @AUTOCONF@
198 AUTOHEADER = @AUTOHEADER@
199 AUTOMAKE = @AUTOMAKE@
201 CYGPATH_W = @CYGPATH_W@
209 HELP2MAN = @HELP2MAN@
211 INSTALL_DATA = @INSTALL_DATA@
212 INSTALL_PROGRAM = @INSTALL_PROGRAM@
213 INSTALL_SCRIPT = @INSTALL_SCRIPT@
214 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
218 LTLIBOBJS = @LTLIBOBJS@
219 MAKEINFO = @MAKEINFO@
221 MODIFICATION_DELAY = @MODIFICATION_DELAY@
223 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224 PACKAGE_NAME = @PACKAGE_NAME@
225 PACKAGE_STRING = @PACKAGE_STRING@
226 PACKAGE_TARNAME = @PACKAGE_TARNAME@
227 PACKAGE_URL = @PACKAGE_URL@
228 PACKAGE_VERSION = @PACKAGE_VERSION@
229 PATH_SEPARATOR = @PATH_SEPARATOR@
231 PERL_THREADS = @PERL_THREADS@
232 SET_MAKE = @SET_MAKE@
237 abs_builddir = @abs_builddir@
238 abs_srcdir = @abs_srcdir@
239 abs_top_builddir = @abs_top_builddir@
240 abs_top_srcdir = @abs_top_srcdir@
241 am_AUTOCONF = @am_AUTOCONF@
242 am_AUTOHEADER = @am_AUTOHEADER@
243 am__leading_dot = @am__leading_dot@
245 am__untar = @am__untar@
248 build_alias = @build_alias@
249 build_cpu = @build_cpu@
250 build_os = @build_os@
251 build_vendor = @build_vendor@
252 builddir = @builddir@
254 datarootdir = @datarootdir@
257 exec_prefix = @exec_prefix@
258 host_alias = @host_alias@
260 includedir = @includedir@
262 install_sh = @install_sh@
264 libexecdir = @libexecdir@
265 localedir = @localedir@
266 localstatedir = @localstatedir@
269 oldincludedir = @oldincludedir@
271 pkgvdatadir = @pkgvdatadir@
273 program_transform_name = @program_transform_name@
276 sh_errexit_works = @sh_errexit_works@
277 sharedstatedir = @sharedstatedir@
279 sysconfdir = @sysconfdir@
280 target_alias = @target_alias@
281 top_build_prefix = @top_build_prefix@
282 top_builddir = @top_builddir@
283 top_srcdir = @top_srcdir@
284 MAINTAINERCLEANFILES = $(parallel_tests) $(instspc_tests)
285 EXTRA_DIST = ChangeLog-old gen-parallel-tests instspc-tests.sh \
287 XFAIL_TESTS = all.test auxdir2.test cond17.test gcj6.test \
288 override-conditional-2.test txinfo5.test \
289 $(instspc_xfail_tests)
290 parallel_tests = backcompat5-p.test check-p.test check10-p.test \
291 check11-p.test check12-p.test check2-p.test check3-p.test \
292 check4-p.test check5-p.test check6-p.test check7-p.test \
293 check8-p.test check9-p.test color-p.test color2-p.test \
294 comment9-p.test dejagnu-p.test exeext4-p.test maken3-p.test \
295 maken4-p.test posixsubst-tests-p.test pr401-p.test \
296 pr401b-p.test pr401c-p.test
297 instspc_tests = instspc-squote-build.test instspc-squote-install.test \
298 instspc-dquote-build.test instspc-dquote-install.test \
299 instspc-bquote-build.test instspc-bquote-install.test \
300 instspc-sharp-build.test instspc-sharp-install.test \
301 instspc-dollar-build.test instspc-dollar-install.test \
302 instspc-bang-build.test instspc-bang-install.test \
303 instspc-bslash-build.test instspc-bslash-install.test \
304 instspc-ampersand-build.test instspc-ampersand-install.test \
305 instspc-percent-build.test instspc-percent-install.test \
306 instspc-leftpar-build.test instspc-leftpar-install.test \
307 instspc-rightpar-build.test instspc-rightpar-install.test \
308 instspc-pipe-build.test instspc-pipe-install.test \
309 instspc-caret-build.test instspc-caret-install.test \
310 instspc-tilde-build.test instspc-tilde-install.test \
311 instspc-qmark-build.test instspc-qmark-install.test \
312 instspc-star-build.test instspc-star-install.test \
313 instspc-plus-build.test instspc-plus-install.test \
314 instspc-minus-build.test instspc-minus-install.test \
315 instspc-comma-build.test instspc-comma-install.test \
316 instspc-colon-build.test instspc-colon-install.test \
317 instspc-semicol-build.test instspc-semicol-install.test \
318 instspc-equal-build.test instspc-equal-install.test \
319 instspc-less-build.test instspc-less-install.test \
320 instspc-more-build.test instspc-more-install.test \
321 instspc-at-build.test instspc-at-install.test \
322 instspc-lqbrack-build.test instspc-lqbrack-install.test \
323 instspc-rqbrack-build.test instspc-rqbrack-install.test \
324 instspc-lcbrack-build.test instspc-lcbrack-install.test \
325 instspc-rcbrack-build.test instspc-rcbrack-install.test \
326 instspc-space-build.test instspc-space-install.test \
327 instspc-tab-build.test instspc-tab-install.test \
328 instspc-linefeed-build.test instspc-linefeed-install.test \
329 instspc-backspace-build.test instspc-backspace-install.test \
330 instspc-formfeed-build.test instspc-formfeed-install.test \
331 instspc-carriageret-build.test \
332 instspc-carriageret-install.test \
333 instspc-quadrigraph0-build.test \
334 instspc-quadrigraph0-install.test \
335 instspc-quadrigraph1-build.test \
336 instspc-quadrigraph1-install.test \
337 instspc-quadrigraph2-build.test \
338 instspc-quadrigraph2-install.test \
339 instspc-quadrigraph3-build.test \
340 instspc-quadrigraph3-install.test \
341 instspc-quadrigraph4-build.test \
342 instspc-quadrigraph4-install.test instspc-a_b-build.test \
343 instspc-a_b-install.test instspc-a__b-build.test \
344 instspc-a__b-install.test instspc-a_lf_b-build.test \
345 instspc-a_lf_b-install.test instspc-dotdotdot-build.test \
346 instspc-dotdotdot-install.test instspc-dosdrive-build.test \
347 instspc-dosdrive-install.test instspc-miscglob1-build.test \
348 instspc-miscglob1-install.test instspc-miscglob2-build.test \
349 instspc-miscglob2-install.test
350 instspc_xfail_tests = instspc-squote-build.test \
351 instspc-dquote-build.test instspc-bquote-build.test \
352 instspc-sharp-build.test instspc-dollar-build.test \
353 instspc-bslash-build.test instspc-ampersand-build.test \
354 instspc-linefeed-build.test instspc-quadrigraph0-build.test \
355 instspc-a_lf_b-build.test instspc-squote-install.test \
356 instspc-dquote-install.test instspc-bquote-install.test \
357 instspc-sharp-install.test instspc-dollar-install.test \
358 instspc-linefeed-install.test instspc-a_lf_b-install.test
400 amopts-location.test \
401 amopts-variable-expansion.test \
421 autodist-subdir.test \
422 autodist-acconfig.test \
423 autodist-acconfig-no-subdir.test \
424 autodist-aclocal-m4.test \
425 autodist-config-headers.test \
426 autodist-configure-no-subdir.test \
427 autodist-stamp-vti.test \
509 comments-in-var-defn.test \
516 compile_f90_c_cxx.test \
517 compile_f_c_cxx.test \
603 cygnus-check-without-all.test \
604 cygnus-dependency-tracking.test \
605 cygnus-imply-foreign.test \
606 cygnus-no-dist.test \
607 cygnus-no-installinfo.test \
608 cygnus-requires-maintainer-mode.test \
642 distcleancheck.test \
730 help-maintainer.test \
757 instdir-python.test \
763 instfail-libtool.test \
769 instmany-python.test \
891 no-outdir-option.test \
893 nobase-libtool.test \
930 override-conditional-1.test \
931 override-conditional-2.test \
933 override-suggest-local.test \
937 parallel-tests.test \
938 parallel-tests2.test \
939 parallel-tests3.test \
940 parallel-tests4.test \
941 parallel-tests5.test \
942 parallel-tests6.test \
943 parallel-tests7.test \
944 parallel-tests8.test \
945 parallel-tests9.test \
946 parallel-tests10.test \
947 parallel-tests-unreadable-log.test \
963 posixsubst-data.test \
964 posixsubst-extradist.test \
965 posixsubst-ldadd.test \
966 posixsubst-libraries.test \
967 posixsubst-ltlibraries.test \
968 posixsubst-programs.test \
969 posixsubst-scripts.test \
970 posixsubst-sources.test \
971 posixsubst-tests.test \
1035 regex-obsolete.test \
1039 repeated-options.test \
1055 silent-many-gcc.test \
1056 silent-many-generic.test \
1057 silent-lex-gcc.test \
1058 silent-lex-generic.test \
1059 silent-yacc-gcc.test \
1060 silent-yacc-generic.test \
1061 silent-nowarn.test \
1083 strictness-override.test \
1084 strictness-precedence.test \
1098 subdirbuiltsources.test \
1152 target-cflags.test \
1184 txinfo-unrecognized-extension.test \
1214 warnings-override.test \
1215 warnings-precedence.test \
1216 warnings-strictness-interactions.test \
1217 warnings-unknown.test \
1219 warnings-win-over-strictness.test \
1220 warning-groups-win-over-strictness.test \
1239 yacc-dist-nobuild.test \
1246 yflags-cmdline-override.test \
1247 yflags-conditional.test \
1248 yflags-d-false-positives.test \
1249 yflags-force-override.test \
1250 yflags-force-conditional.test \
1251 yflags-var-expand.test \
1257 .SUFFIXES: .html .log .test
1258 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/parallel-tests.am $(srcdir)/instspc-tests.am $(am__configure_deps)
1259 @for dep in $?; do \
1260 case '$(am__configure_deps)' in \
1262 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
1263 && { if test -f $@; then exit 0; else break; fi; }; \
1267 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
1268 $(am__cd) $(top_srcdir) && \
1269 $(AUTOMAKE) --gnu tests/Makefile
1271 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1274 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1276 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1277 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1280 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1281 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1283 $(top_srcdir)/configure: $(am__configure_deps)
1284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1285 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
1286 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1287 $(am__aclocal_m4_deps):
1288 defs-static: $(top_builddir)/config.status $(srcdir)/defs-static.in
1289 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
1290 aclocal-${APIVERSION}: $(top_builddir)/config.status $(srcdir)/aclocal.in
1291 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
1292 automake-${APIVERSION}: $(top_builddir)/config.status $(srcdir)/automake.in
1293 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
1303 $(TEST_SUITE_LOG): $(TEST_LOGS)
1304 @$(am__sh_e_setup); \
1305 list='$(TEST_LOGS)'; \
1306 results=`for f in $$list; do \
1307 test -r $$f && read line < $$f && echo "$$line" \
1310 all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
1311 fail=`echo "$$results" | grep -c '^FAIL'`; \
1312 pass=`echo "$$results" | grep -c '^PASS'`; \
1313 skip=`echo "$$results" | grep -c '^SKIP'`; \
1314 xfail=`echo "$$results" | grep -c '^XFAIL'`; \
1315 xpass=`echo "$$results" | grep -c '^XPASS'`; \
1316 failures=`expr $$fail + $$xpass`; \
1317 all=`expr $$all - $$skip`; \
1318 if test "$$all" -eq 1; then tests=test; All=; \
1319 else tests=tests; All="All "; fi; \
1320 case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
1321 fail=0:xpass=0:xfail=0) \
1322 msg="$$All$$all $$tests passed. "; \
1324 fail=0:xpass=0:xfail=*) \
1325 msg="$$All$$all $$tests behaved as expected"; \
1326 if test "$$xfail" -eq 1; then xfailures=failure; \
1327 else xfailures=failures; fi; \
1328 msg="$$msg ($$xfail expected $$xfailures). "; \
1330 fail=*:xpass=0:xfail=*) \
1331 msg="$$fail of $$all $$tests failed. "; \
1333 fail=*:xpass=*:xfail=*) \
1334 msg="$$failures of $$all $$tests did not behave as expected"; \
1335 if test "$$xpass" -eq 1; then xpasses=pass; \
1336 else xpasses=passes; fi; \
1337 msg="$$msg ($$xpass unexpected $$xpasses). "; \
1340 echo >&2 "incorrect case"; exit 4;; \
1342 if test "$$skip" -ne 0; then \
1343 if test "$$skip" -eq 1; then \
1344 msg="$$msg($$skip test was not run). "; \
1346 msg="$$msg($$skip tests were not run). "; \
1350 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1354 echo ".. contents:: :depth: 2"; \
1356 for f in $$list; do \
1357 test -r $$f && read line < $$f || line=; \
1360 *) echo; cat $$f;; \
1363 } >$(TEST_SUITE_LOG).tmp; \
1364 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1365 if test "$$failures" -ne 0; then \
1366 msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
1367 if test -n "$(PACKAGE_BUGREPORT)"; then \
1368 msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
1371 test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
1372 $(am__tty_colors); \
1374 echo $(ECHO_N) "$$grn$(ECHO_C)"; \
1376 echo $(ECHO_N) "$$red$(ECHO_C)"; \
1378 echo "$$msg" | $(am__text_box); \
1379 echo $(ECHO_N) "$$std$(ECHO_C)"; \
1382 # Run all the tests.
1384 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1385 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1386 @list='$(TEST_LOGS)'; \
1387 list=`for f in $$list; do \
1388 test .log = $$f || echo $$f; \
1389 done | tr '\012\015' ' '`; \
1390 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
1393 @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
1394 for r2h in $$list; do \
1395 if ($$r2h --version) >/dev/null 2>&1; then \
1399 if test -z "$$R2H"; then \
1400 echo >&2 "cannot find rst2html, cannot create $@"; \
1406 # Be sure to run check first, and then to convert the result.
1407 # Beware of concurrent executions. Run "check" not "check-TESTS", as
1408 # check-SCRIPTS and other dependencies are rebuilt by the former only.
1409 # And expect check to fail.
1411 @if $(MAKE) $(AM_MAKEFLAGS) check; then \
1412 rv=0; else rv=$$?; \
1414 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
1416 recheck recheck-html:
1417 @target=`echo $@ | sed 's,^re,,'`; \
1418 list='$(TEST_LOGS)'; \
1419 list=`for f in $$list; do \
1420 test -f $$f || continue; \
1421 if test -r $$f && read line < $$f; then \
1422 case $$line in FAIL*|XPASS*) echo $$f;; esac; \
1423 else echo $$f; fi; \
1424 done | tr '\012\015' ' '`; \
1425 list=`echo "$$list" | sed 's/ *$$//'`; \
1426 $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
1428 @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1430 distdir: $(DISTFILES)
1431 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1432 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1433 list='$(DISTFILES)'; \
1434 dist_files=`for file in $$list; do echo $$file; done | \
1435 sed -e "s|^$$srcdirstrip/||;t" \
1436 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1437 case $$dist_files in \
1438 */*) $(MKDIR_P) `echo "$$dist_files" | \
1439 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1442 for file in $$dist_files; do \
1443 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1444 if test -d $$d/$$file; then \
1445 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1446 if test -d "$(distdir)/$$file"; then \
1447 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1449 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1450 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1451 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1453 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1455 test -f "$(distdir)/$$file" \
1456 || cp -p $$d/$$file "$(distdir)/$$file" \
1461 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1466 install-exec: install-exec-am
1467 install-data: install-data-am
1468 uninstall: uninstall-am
1471 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1473 installcheck: installcheck-am
1475 if test -z '$(STRIP)'; then \
1476 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1477 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1480 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1481 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1482 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1484 mostlyclean-generic:
1485 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1486 -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1487 -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML)
1488 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1493 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1494 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1496 maintainer-clean-generic:
1497 @echo "This command is intended for maintainers to use"
1498 @echo "it deletes files that may require special tools to rebuild."
1499 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1502 clean-am: clean-generic clean-local mostlyclean-am
1504 distclean: distclean-am
1506 distclean-am: clean-am distclean-generic
1522 install-dvi: install-dvi-am
1528 install-html: install-html-am
1532 install-info: install-info-am
1538 install-pdf: install-pdf-am
1542 install-ps: install-ps-am
1548 maintainer-clean: maintainer-clean-am
1550 maintainer-clean-am: distclean-am maintainer-clean-generic
1552 mostlyclean: mostlyclean-am
1554 mostlyclean-am: mostlyclean-generic
1566 .MAKE: check-am check-html install-am install-strip recheck \
1569 .PHONY: all all-am check check-TESTS check-am check-html clean \
1570 clean-generic clean-local distclean distclean-generic distdir \
1571 dvi dvi-am html html-am info info-am install install-am \
1572 install-data install-data-am install-dvi install-dvi-am \
1573 install-exec install-exec-am install-html install-html-am \
1574 install-info install-info-am install-man install-pdf \
1575 install-pdf-am install-ps install-ps-am install-strip \
1576 installcheck installcheck-am installdirs maintainer-clean \
1577 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
1578 pdf-am ps ps-am recheck recheck-html uninstall uninstall-am
1580 backcompat5-p.log: backcompat5.test
1581 check-p.log: check.test
1582 check10-p.log: check10.test
1583 check11-p.log: check11.test
1584 check12-p.log: check12.test
1585 check2-p.log: check2.test
1586 check3-p.log: check3.test
1587 check4-p.log: check4.test
1588 check5-p.log: check5.test
1589 check6-p.log: check6.test
1590 check7-p.log: check7.test
1591 check8-p.log: check8.test
1592 check9-p.log: check9.test
1593 color-p.log: color.test
1594 color2-p.log: color2.test
1595 comment9-p.log: comment9.test
1596 dejagnu-p.log: dejagnu.test
1597 exeext4-p.log: exeext4.test
1598 maken3-p.log: maken3.test
1599 maken4-p.log: maken4.test
1600 posixsubst-tests-p.log: posixsubst-tests.test
1601 pr401-p.log: pr401.test
1602 pr401b-p.log: pr401b.test
1603 pr401c-p.log: pr401c.test
1605 $(srcdir)/parallel-tests.am: gen-parallel-tests Makefile.am
1606 $(AM_V_GEN)($(am__cd) $(srcdir) && $(SHELL) ./gen-parallel-tests) >$@
1608 $(parallel_tests): Makefile.am
1609 $(AM_V_at)rm -f $@ $@-t
1610 $(AM_V_GEN)input=`echo $@ | sed 's,.*/,,; s,-p.test$$,.test,'`; \
1611 { echo '#!/bin/sh'; \
1612 echo '# DO NOT EDIT! GENERATED AUTOMATICALLY!'; \
1614 echo '# Ensure proper definition of $$testsrcdir.'; \
1615 echo '. ./defs-static || exit 99'; \
1616 echo 'test -n "$$testsrcdir" || exit 99 # sanity check'; \
1618 echo "# Run the test with Automake's parallel-tests driver enabled."; \
1619 echo 'parallel_tests=yes'; \
1620 echo "# In the spirit of VPATH, we prefer a test in the build tree"; \
1621 echo "# over one in the source tree."; \
1622 echo "if test -f \"./$$input\"; then"; \
1623 echo " . \"./$$input\""; \
1625 echo " . \"\$$testsrcdir/$$input\""; \
1628 $(AM_V_at)chmod a+rx $@-t && mv -f $@-t $@
1630 $(srcdir)/instspc-tests.am: instspc-tests.sh Makefile.am
1631 $(AM_V_GEN)($(am__cd) $(srcdir) \
1632 && $(SHELL) ./instspc-tests.sh --generate-makefile) >$@
1634 $(instspc_tests): Makefile.am
1635 $(AM_V_at)rm -f $@ $@-t
1637 base=`expr 'x/$@' : 'x.*/instspc-\(.*\)\.test$$'`; \
1638 name=`expr x"$$base" : x'\(.*\)-'`; \
1639 action=`expr x"$$base" : x'.*-\(.*\)'`; \
1642 echo '# DO NOT EDIT! GENERATED AUTOMATICALLY!'; \
1644 echo '# Ensure proper definition of $$testsrcdir.'; \
1645 echo '. ./defs-static || exit 99'; \
1646 echo 'test -n "$$testsrcdir" || exit 99 # sanity check'; \
1648 echo "instspc_test_name='$$name'"; \
1649 echo "instspc_action='test-$$action'"; \
1650 echo ". \$$testsrcdir/instspc-tests.sh"; \
1652 $(AM_V_at)chmod a+rx $@-t && mv -f $@-t $@
1654 # All instspc*.test tests work by sourcing the instspc-tests.sh script.
1655 $(instspc_tests:.test=.log): instspc-tests.sh
1657 # Each test case depends on defs, aclocal, and automake.
1658 $(TEST_LOGS): defs aclocal-$(APIVERSION) automake-$(APIVERSION)
1660 clean-local: clean-local-check
1661 .PHONY: clean-local-check
1663 -set x *.dir; shift; \
1664 if test "$$#,$$1" = "1,*.dir"; then \
1665 : there is no test directory to clean; \
1667 find "$$@" -type d '!' -perm -200 -exec chmod u+w {} ';'; \
1671 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1672 # Otherwise a system limit (for SysV at least) may be exceeded.