Debian Codegraph @

tests/Makefile.in

raw
1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 subdir = tests
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 am__aclocal_m4_deps = $(top_srcdir)/build-scripts/libtool.m4 \
93 $(top_srcdir)/build-scripts/ltoptions.m4 \
94 $(top_srcdir)/build-scripts/ltsugar.m4 \
95 $(top_srcdir)/build-scripts/ltversion.m4 \
96 $(top_srcdir)/build-scripts/lt~obsolete.m4 \
97 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 $(ACLOCAL_M4)
100 DIST_COMMON = $(srcdir)/Makefile.am $(dist_check_SCRIPTS) \
101 $(dist_check_DATA) $(am__DIST_COMMON)
102 mkinstalldirs = $(install_sh) -d
103 CONFIG_HEADER = $(top_builddir)/libtwolame/config.h
104 CONFIG_CLEAN_FILES =
105 CONFIG_CLEAN_VPATH_FILES =
106 AM_V_P = $(am__v_P_@AM_V@)
107 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
108 am__v_P_0 = false
109 am__v_P_1 = :
110 AM_V_GEN = $(am__v_GEN_@AM_V@)
111 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
112 am__v_GEN_0 = @echo " GEN " $@;
113 am__v_GEN_1 =
114 AM_V_at = $(am__v_at_@AM_V@)
115 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
116 am__v_at_0 = @
117 am__v_at_1 =
118 SOURCES =
119 DIST_SOURCES =
120 am__can_run_installinfo = \
121 case $$AM_UPDATE_INFO_DIR in \
122 n|no|NO) false;; \
123 *) (install-info --version) >/dev/null 2>&1;; \
124 esac
125 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
126 am__tty_colors_dummy = \
127 mgn= red= grn= lgn= blu= brg= std=; \
128 am__color_tests=no
129 am__tty_colors = { \
130 $(am__tty_colors_dummy); \
131 if test "X$(AM_COLOR_TESTS)" = Xno; then \
132 am__color_tests=no; \
133 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
134 am__color_tests=yes; \
135 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
136 am__color_tests=yes; \
137 fi; \
138 if test $$am__color_tests = yes; then \
139 red=''; \
140 grn=''; \
141 lgn=''; \
142 blu=''; \
143 mgn=''; \
144 brg=''; \
145 std=''; \
146 fi; \
147 }
148 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
149 am__vpath_adj = case $$p in \
150 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
151 *) f=$$p;; \
152 esac;
153 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
154 am__install_max = 40
155 am__nobase_strip_setup = \
156 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
157 am__nobase_strip = \
158 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
159 am__nobase_list = $(am__nobase_strip_setup); \
160 for p in $$list; do echo "$$p $$p"; done | \
161 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
162 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
163 if (++n[$$2] == $(am__install_max)) \
164 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
165 END { for (dir in files) print dir, files[dir] }'
166 am__base_list = \
167 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
168 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
169 am__uninstall_files_from_dir = { \
170 test -z "$$files" \
171 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
172 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
173 $(am__cd) "$$dir" && rm -f $$files; }; \
174 }
175 am__recheck_rx = ^[ ]*:recheck:[ ]*
176 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
177 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
178 # A command that, given a newline-separated list of test names on the
179 # standard input, print the name of the tests that are to be re-run
180 # upon "make recheck".
181 am__list_recheck_tests = $(AWK) '{ \
182 recheck = 1; \
183 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
184 { \
185 if (rc < 0) \
186 { \
187 if ((getline line2 < ($$0 ".log")) < 0) \
188 recheck = 0; \
189 break; \
190 } \
191 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
192 { \
193 recheck = 0; \
194 break; \
195 } \
196 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
197 { \
198 break; \
199 } \
200 }; \
201 if (recheck) \
202 print $$0; \
203 close ($$0 ".trs"); \
204 close ($$0 ".log"); \
205 }'
206 # A command that, given a newline-separated list of test names on the
207 # standard input, create the global log from their .trs and .log files.
208 am__create_global_log = $(AWK) ' \
209 function fatal(msg) \
210 { \
211 print "fatal: making $@: " msg | "cat >&2"; \
212 exit 1; \
213 } \
214 function rst_section(header) \
215 { \
216 print header; \
217 len = length(header); \
218 for (i = 1; i <= len; i = i + 1) \
219 printf "="; \
220 printf "\n\n"; \
221 } \
222 { \
223 copy_in_global_log = 1; \
224 global_test_result = "RUN"; \
225 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
226 { \
227 if (rc < 0) \
228 fatal("failed to read from " $$0 ".trs"); \
229 if (line ~ /$(am__global_test_result_rx)/) \
230 { \
231 sub("$(am__global_test_result_rx)", "", line); \
232 sub("[ ]*$$", "", line); \
233 global_test_result = line; \
234 } \
235 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
236 copy_in_global_log = 0; \
237 }; \
238 if (copy_in_global_log) \
239 { \
240 rst_section(global_test_result ": " $$0); \
241 while ((rc = (getline line < ($$0 ".log"))) != 0) \
242 { \
243 if (rc < 0) \
244 fatal("failed to read from " $$0 ".log"); \
245 print line; \
246 }; \
247 printf "\n"; \
248 }; \
249 close ($$0 ".trs"); \
250 close ($$0 ".log"); \
251 }'
252 # Restructured Text title.
253 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
254 # Solaris 10 'make', and several other traditional 'make' implementations,
255 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
256 # by disabling -e (using the XSI extension "set +e") if it's set.
257 am__sh_e_setup = case $$- in *e*) set +e;; esac
258 # Default flags passed to test drivers.
259 am__common_driver_flags = \
260 --color-tests "$$am__color_tests" \
261 --enable-hard-errors "$$am__enable_hard_errors" \
262 --expect-failure "$$am__expect_failure"
263 # To be inserted before the command running the test. Creates the
264 # directory for the log if needed. Stores in $dir the directory
265 # containing $f, in $tst the test, in $log the log. Executes the
266 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
267 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
268 # will run the test scripts (or their associated LOG_COMPILER, if
269 # thy have one).
270 am__check_pre = \
271 $(am__sh_e_setup); \
272 $(am__vpath_adj_setup) $(am__vpath_adj) \
273 $(am__tty_colors); \
274 srcdir=$(srcdir); export srcdir; \
275 case "$@" in \
276 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
277 *) am__odir=.;; \
278 esac; \
279 test "x$$am__odir" = x"." || test -d "$$am__odir" \
280 || $(MKDIR_P) "$$am__odir" || exit $$?; \
281 if test -f "./$$f"; then dir=./; \
282 elif test -f "$$f"; then dir=; \
283 else dir="$(srcdir)/"; fi; \
284 tst=$$dir$$f; log='$@'; \
285 if test -n '$(DISABLE_HARD_ERRORS)'; then \
286 am__enable_hard_errors=no; \
287 else \
288 am__enable_hard_errors=yes; \
289 fi; \
290 case " $(XFAIL_TESTS) " in \
291 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
292 am__expect_failure=yes;; \
293 *) \
294 am__expect_failure=no;; \
295 esac; \
296 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
297 # A shell command to get the names of the tests scripts with any registered
298 # extension removed (i.e., equivalently, the names of the test logs, with
299 # the '.log' extension removed). The result is saved in the shell variable
300 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
301 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
302 # since that might cause problem with VPATH rewrites for suffix-less tests.
303 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
304 am__set_TESTS_bases = \
305 bases='$(TEST_LOGS)'; \
306 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
307 bases=`echo $$bases`
308 RECHECK_LOGS = $(TEST_LOGS)
309 AM_RECURSIVE_TARGETS = check recheck
310 TEST_SUITE_LOG = test-suite.log
311 TEST_EXTENSIONS = @EXEEXT@ .test
312 LOG_DRIVER = $(SHELL) $(top_srcdir)/build-scripts/test-driver
313 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
314 am__set_b = \
315 case '$@' in \
316 */*) \
317 case '$*' in \
318 */*) b='$*';; \
319 *) b=`echo '$@' | sed 's/\.log$$//'`; \
320 esac;; \
321 *) \
322 b='$*';; \
323 esac
324 am__test_logs1 = $(TESTS:=.log)
325 am__test_logs2 = $(am__test_logs1:@[email protected]=.log)
326 TEST_LOGS = $(am__test_logs2:.test.log=.log)
327 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-scripts/test-driver
328 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
329 $(TEST_LOG_FLAGS)
330 am__DIST_COMMON = $(srcdir)/Makefile.in \
331 $(top_srcdir)/build-scripts/test-driver
332 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
333 ACLOCAL = @ACLOCAL@
334 AMTAR = @AMTAR@
335 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
336 AR = @AR@
337 AS = @AS@
338 AUTOCONF = @AUTOCONF@
339 AUTOHEADER = @AUTOHEADER@
340 AUTOMAKE = @AUTOMAKE@
341 AWK = @AWK@
342 CC = @CC@
343 CCDEPMODE = @CCDEPMODE@
344 CFLAGS = @CFLAGS@
345 CPP = @CPP@
346 CPPFLAGS = @CPPFLAGS@
347 CYGPATH_W = @CYGPATH_W@
348 DEFS = @DEFS@
349 DEPDIR = @DEPDIR@
350 DLLTOOL = @DLLTOOL@
351 DSYMUTIL = @DSYMUTIL@
352 DUMPBIN = @DUMPBIN@
353 ECHO_C = @ECHO_C@
354 ECHO_N = @ECHO_N@
355 ECHO_T = @ECHO_T@
356 EGREP = @EGREP@
357 EXEEXT = @EXEEXT@
358 FGREP = @FGREP@
359 GREP = @GREP@
360 INSTALL = @INSTALL@
361 INSTALL_DATA = @INSTALL_DATA@
362 INSTALL_PROGRAM = @INSTALL_PROGRAM@
363 INSTALL_SCRIPT = @INSTALL_SCRIPT@
364 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
365 LD = @LD@
366 LDFLAGS = @LDFLAGS@
367 LIBOBJS = @LIBOBJS@
368 LIBS = @LIBS@
369 LIBTOOL = @LIBTOOL@
370 LIPO = @LIPO@
371 LN_S = @LN_S@
372 LTLIBOBJS = @LTLIBOBJS@
373 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
374 MAINT = @MAINT@
375 MAKEINFO = @MAKEINFO@
376 MANIFEST_TOOL = @MANIFEST_TOOL@
377 MKDIR_P = @MKDIR_P@
378 NM = @NM@
379 NMEDIT = @NMEDIT@
380 OBJDUMP = @OBJDUMP@
381 OBJEXT = @OBJEXT@
382 OTOOL = @OTOOL@
383 OTOOL64 = @OTOOL64@
384 PACKAGE = @PACKAGE@
385 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
386 PACKAGE_NAME = @PACKAGE_NAME@
387 PACKAGE_STRING = @PACKAGE_STRING@
388 PACKAGE_TARNAME = @PACKAGE_TARNAME@
389 PACKAGE_URL = @PACKAGE_URL@
390 PACKAGE_VERSION = @PACKAGE_VERSION@
391 PATH_ASCIIDOC = @PATH_ASCIIDOC@
392 PATH_DOXYGEN = @PATH_DOXYGEN@
393 PATH_SEPARATOR = @PATH_SEPARATOR@
394 PATH_XMLTO = @PATH_XMLTO@
395 PERL = @PERL@
396 PKG_CONFIG = @PKG_CONFIG@
397 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
398 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
399 RANLIB = @RANLIB@
400 SED = @SED@
401 SET_MAKE = @SET_MAKE@
402 SHELL = @SHELL@
403 SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
404 SNDFILE_LIBS = @SNDFILE_LIBS@
405 STRIP = @STRIP@
406 TWOLAME_BIN = @TWOLAME_BIN@
407 TWOLAME_SO_VERSION = @TWOLAME_SO_VERSION@
408 VERSION = @VERSION@
409 WARNING_CFLAGS = @WARNING_CFLAGS@
410 abs_builddir = @abs_builddir@
411 abs_srcdir = @abs_srcdir@
412 abs_top_builddir = @abs_top_builddir@
413 abs_top_srcdir = @abs_top_srcdir@
414 ac_ct_AR = @ac_ct_AR@
415 ac_ct_CC = @ac_ct_CC@
416 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
417 am__include = @am__include@
418 am__leading_dot = @am__leading_dot@
419 am__quote = @am__quote@
420 am__tar = @am__tar@
421 am__untar = @am__untar@
422 bindir = @bindir@
423 build = @build@
424 build_alias = @build_alias@
425 build_cpu = @build_cpu@
426 build_os = @build_os@
427 build_vendor = @build_vendor@
428 builddir = @builddir@
429 datadir = @datadir@
430 datarootdir = @datarootdir@
431 docdir = @docdir@
432 dvidir = @dvidir@
433 exec_prefix = @exec_prefix@
434 host = @host@
435 host_alias = @host_alias@
436 host_cpu = @host_cpu@
437 host_os = @host_os@
438 host_vendor = @host_vendor@
439 htmldir = @htmldir@
440 includedir = @includedir@
441 infodir = @infodir@
442 install_sh = @install_sh@
443 libdir = @libdir@
444 libexecdir = @libexecdir@
445 localedir = @localedir@
446 localstatedir = @localstatedir@
447 mandir = @mandir@
448 mkdir_p = @mkdir_p@
449 oldincludedir = @oldincludedir@
450 pdfdir = @pdfdir@
451 prefix = @prefix@
452 program_transform_name = @program_transform_name@
453 psdir = @psdir@
454 runstatedir = @runstatedir@
455 sbindir = @sbindir@
456 sharedstatedir = @sharedstatedir@
457 srcdir = @srcdir@
458 sysconfdir = @sysconfdir@
459 target_alias = @target_alias@
460 top_build_prefix = @top_build_prefix@
461 top_builddir = @top_builddir@
462 top_srcdir = @top_srcdir@
463 dist_check_SCRIPTS = test.pl
464 dist_check_DATA = testcase-44100.wav testcase-22050.wav testcase-float32.wav
465 TESTS = $(dist_check_SCRIPTS)
466 LOG_COMPILER = $(PERL)
467 AM_LOG_FLAGS = -Mstrict -w
468 TESTS_ENVIRONMENT = \
469 TWOLAME_CMD="$(top_builddir)/frontend/twolame" \
470 STWOLAME_CMD="$(top_builddir)/simplefrontend/stwolame"
471
472 CLEANFILES = *.mp2 *.raw
473 all: all-am
474
475 .SUFFIXES:
476 .SUFFIXES: .log .test .test$(EXEEXT) .trs
477 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
478 @for dep in $?; do \
479 case '$(am__configure_deps)' in \
480 *$$dep*) \
481 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
482 && { if test -f $@; then exit 0; else break; fi; }; \
483 exit 1;; \
484 esac; \
485 done; \
486 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
487 $(am__cd) $(top_srcdir) && \
488 $(AUTOMAKE) --gnu tests/Makefile
489 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
490 @case '$?' in \
491 *config.status*) \
492 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
493 *) \
494 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
495 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
496 esac;
497
498 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
499 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
500
501 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
502 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
503 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
504 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
505 $(am__aclocal_m4_deps):
506
507 mostlyclean-libtool:
508 -rm -f *.lo
509
510 clean-libtool:
511 -rm -rf .libs _libs
512 tags TAGS:
513
514 ctags CTAGS:
515
516 cscope cscopelist:
517
518
519 # Recover from deleted '.trs' file; this should ensure that
520 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
521 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
522 # to avoid problems with "make -n".
523 .log.trs:
524 rm -f $< $@
525 $(MAKE) $(AM_MAKEFLAGS) $<
526
527 # Leading 'am--fnord' is there to ensure the list of targets does not
528 # expand to empty, as could happen e.g. with make check TESTS=''.
529 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
530 am--force-recheck:
531 @:
532
533 $(TEST_SUITE_LOG): $(TEST_LOGS)
534 @$(am__set_TESTS_bases); \
535 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
536 redo_bases=`for i in $$bases; do \
537 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
538 done`; \
539 if test -n "$$redo_bases"; then \
540 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
541 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
542 if $(am__make_dryrun); then :; else \
543 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
544 fi; \
545 fi; \
546 if test -n "$$am__remaking_logs"; then \
547 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
548 "recursion detected" >&2; \
549 elif test -n "$$redo_logs"; then \
550 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
551 fi; \
552 if $(am__make_dryrun); then :; else \
553 st=0; \
554 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
555 for i in $$redo_bases; do \
556 test -f $$i.trs && test -r $$i.trs \
557 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
558 test -f $$i.log && test -r $$i.log \
559 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
560 done; \
561 test $$st -eq 0 || exit 1; \
562 fi
563 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
564 ws='[ ]'; \
565 results=`for b in $$bases; do echo $$b.trs; done`; \
566 test -n "$$results" || results=/dev/null; \
567 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
568 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
569 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
570 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
571 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
572 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
573 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
574 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
575 success=true; \
576 else \
577 success=false; \
578 fi; \
579 br='==================='; br=$$br$$br$$br$$br; \
580 result_count () \
581 { \
582 if test x"$$1" = x"--maybe-color"; then \
583 maybe_colorize=yes; \
584 elif test x"$$1" = x"--no-color"; then \
585 maybe_colorize=no; \
586 else \
587 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
588 fi; \
589 shift; \
590 desc=$$1 count=$$2; \
591 if test $$maybe_colorize = yes && test $$count -gt 0; then \
592 color_start=$$3 color_end=$$std; \
593 else \
594 color_start= color_end=; \
595 fi; \
596 echo "$${color_start}# $$desc $$count$${color_end}"; \
597 }; \
598 create_testsuite_report () \
599 { \
600 result_count $$1 "TOTAL:" $$all "$$brg"; \
601 result_count $$1 "PASS: " $$pass "$$grn"; \
602 result_count $$1 "SKIP: " $$skip "$$blu"; \
603 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
604 result_count $$1 "FAIL: " $$fail "$$red"; \
605 result_count $$1 "XPASS:" $$xpass "$$red"; \
606 result_count $$1 "ERROR:" $$error "$$mgn"; \
607 }; \
608 { \
609 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
610 $(am__rst_title); \
611 create_testsuite_report --no-color; \
612 echo; \
613 echo ".. contents:: :depth: 2"; \
614 echo; \
615 for b in $$bases; do echo $$b; done \
616 | $(am__create_global_log); \
617 } >$(TEST_SUITE_LOG).tmp || exit 1; \
618 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
619 if $$success; then \
620 col="$$grn"; \
621 else \
622 col="$$red"; \
623 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
624 fi; \
625 echo "$${col}$$br$${std}"; \
626 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
627 echo "$${col}$$br$${std}"; \
628 create_testsuite_report --maybe-color; \
629 echo "$$col$$br$$std"; \
630 if $$success; then :; else \
631 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
632 if test -n "$(PACKAGE_BUGREPORT)"; then \
633 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
634 fi; \
635 echo "$$col$$br$$std"; \
636 fi; \
637 $$success || exit 1
638
639 check-TESTS: $(dist_check_SCRIPTS) $(dist_check_DATA)
640 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
641 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
642 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
643 @set +e; $(am__set_TESTS_bases); \
644 log_list=`for i in $$bases; do echo $$i.log; done`; \
645 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
646 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
647 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
648 exit $$?;
649 recheck: all $(dist_check_SCRIPTS) $(dist_check_DATA)
650 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
651 @set +e; $(am__set_TESTS_bases); \
652 bases=`for i in $$bases; do echo $$i; done \
653 | $(am__list_recheck_tests)` || exit 1; \
654 log_list=`for i in $$bases; do echo $$i.log; done`; \
655 log_list=`echo $$log_list`; \
656 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
657 am__force_recheck=am--force-recheck \
658 TEST_LOGS="$$log_list"; \
659 exit $$?
660 test.pl.log: test.pl
661 @p='test.pl'; \
662 b='test.pl'; \
663 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
664 --log-file $$b.log --trs-file $$b.trs \
665 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
666 "$$tst" $(AM_TESTS_FD_REDIRECT)
667 .test.log:
668 @p='$<'; \
669 $(am__set_b); \
670 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
671 --log-file $$b.log --trs-file $$b.trs \
672 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
673 "$$tst" $(AM_TESTS_FD_REDIRECT)
674 @[email protected]$(EXEEXT).log:
675 @am__EXEEXT_TRUE@ @p='$<'; \
676 @am__EXEEXT_TRUE@ $(am__set_b); \
677 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
678 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
679 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
680 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
681
682 distdir: $(BUILT_SOURCES)
683 $(MAKE) $(AM_MAKEFLAGS) distdir-am
684
685 distdir-am: $(DISTFILES)
686 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
687 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
688 list='$(DISTFILES)'; \
689 dist_files=`for file in $$list; do echo $$file; done | \
690 sed -e "s|^$$srcdirstrip/||;t" \
691 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
692 case $$dist_files in \
693 */*) $(MKDIR_P) `echo "$$dist_files" | \
694 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
695 sort -u` ;; \
696 esac; \
697 for file in $$dist_files; do \
698 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
699 if test -d $$d/$$file; then \
700 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
701 if test -d "$(distdir)/$$file"; then \
702 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
703 fi; \
704 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
705 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
706 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
707 fi; \
708 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
709 else \
710 test -f "$(distdir)/$$file" \
711 || cp -p $$d/$$file "$(distdir)/$$file" \
712 || exit 1; \
713 fi; \
714 done
715 check-am: all-am
716 $(MAKE) $(AM_MAKEFLAGS) $(dist_check_SCRIPTS) \
717 $(dist_check_DATA)
718 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
719 check: check-am
720 all-am: Makefile
721 installdirs:
722 install: install-am
723 install-exec: install-exec-am
724 install-data: install-data-am
725 uninstall: uninstall-am
726
727 install-am: all-am
728 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
729
730 installcheck: installcheck-am
731 install-strip:
732 if test -z '$(STRIP)'; then \
733 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
734 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
735 install; \
736 else \
737 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
738 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
739 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
740 fi
741 mostlyclean-generic:
742 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
743 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
744 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
745
746 clean-generic:
747 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
748
749 distclean-generic:
750 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
751 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
752
753 maintainer-clean-generic:
754 @echo "This command is intended for maintainers to use"
755 @echo "it deletes files that may require special tools to rebuild."
756 clean: clean-am
757
758 clean-am: clean-generic clean-libtool mostlyclean-am
759
760 distclean: distclean-am
761 -rm -f Makefile
762 distclean-am: clean-am distclean-generic
763
764 dvi: dvi-am
765
766 dvi-am:
767
768 html: html-am
769
770 html-am:
771
772 info: info-am
773
774 info-am:
775
776 install-data-am:
777
778 install-dvi: install-dvi-am
779
780 install-dvi-am:
781
782 install-exec-am:
783
784 install-html: install-html-am
785
786 install-html-am:
787
788 install-info: install-info-am
789
790 install-info-am:
791
792 install-man:
793
794 install-pdf: install-pdf-am
795
796 install-pdf-am:
797
798 install-ps: install-ps-am
799
800 install-ps-am:
801
802 installcheck-am:
803
804 maintainer-clean: maintainer-clean-am
805 -rm -f Makefile
806 maintainer-clean-am: distclean-am maintainer-clean-generic
807
808 mostlyclean: mostlyclean-am
809
810 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
811
812 pdf: pdf-am
813
814 pdf-am:
815
816 ps: ps-am
817
818 ps-am:
819
820 uninstall-am:
821
822 .MAKE: check-am install-am install-strip
823
824 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
825 clean-libtool cscopelist-am ctags-am distclean \
826 distclean-generic distclean-libtool distdir dvi dvi-am html \
827 html-am info info-am install install-am install-data \
828 install-data-am install-dvi install-dvi-am install-exec \
829 install-exec-am install-html install-html-am install-info \
830 install-info-am install-man install-pdf install-pdf-am \
831 install-ps install-ps-am install-strip installcheck \
832 installcheck-am installdirs maintainer-clean \
833 maintainer-clean-generic mostlyclean mostlyclean-generic \
834 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
835 uninstall uninstall-am
836
837 .PRECIOUS: Makefile
838
839
840 # Tell versions [3.59,3.63) of GNU make to not export all variables.
841 # Otherwise a system limit (for SysV at least) may be exceeded.
842 .NOEXPORT: