1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
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.
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
17 # Process this file with automake to produce Makefile.in
20 if test -z '$(MAKELEVEL)'; then \
22 elif test -n '$(MAKE_HOST)'; then \
24 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
30 am__make_running_with_option = \
31 case $${target_option-} in \
33 *) echo "am__make_running_with_option: internal error: invalid" \
34 "target option '$${target_option-}' specified" >&2; \
38 sane_makeflags=$$MAKEFLAGS; \
39 if $(am__is_gnu_make); then \
40 sane_makeflags=$$MFLAGS; \
45 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
46 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
52 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54 for flg in $$sane_makeflags; do \
55 test $$skip_next = yes && { skip_next=no; continue; }; \
58 -*I) strip_trailopt 'I'; skip_next=yes;; \
59 -*I?*) strip_trailopt 'I';; \
60 -*O) strip_trailopt 'O'; skip_next=yes;; \
61 -*O?*) strip_trailopt 'O';; \
62 -*l) strip_trailopt 'l'; skip_next=yes;; \
63 -*l?*) strip_trailopt 'l';; \
64 -[dEDm]) skip_next=yes;; \
65 -[JT]) skip_next=yes;; \
68 *$$target_option*) has_opt=yes; break;; \
72 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
73 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
74 pkgdatadir = $(datadir)/@PACKAGE@
75 pkgincludedir = $(includedir)/@PACKAGE@
76 pkglibdir = $(libdir)/@PACKAGE@
77 pkglibexecdir = $(libexecdir)/@PACKAGE@
78 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
79 install_sh_DATA = $(install_sh) -c -m 644
80 install_sh_PROGRAM = $(install_sh) -c
81 install_sh_SCRIPT = $(install_sh) -c
82 INSTALL_HEADER = $(INSTALL_DATA)
83 transform = $(program_transform_name)
90 build_triplet = @build@
92 TESTS = tests/aat-trak.tests tests/aat-morx.tests \
93 tests/arabic-fallback-shaping.tests \
94 tests/arabic-feature-order.tests \
95 tests/arabic-like-joining.tests tests/arabic-mark-attach.tests \
96 tests/arabic-mark-order.tests tests/arabic-stch.tests \
97 tests/automatic-fractions.tests tests/cluster.tests \
98 tests/collections.tests tests/color-fonts.tests \
99 tests/context-matching.tests tests/cursive-positioning.tests \
100 tests/default-ignorables.tests tests/emoji.tests \
101 tests/fallback-positioning.tests tests/hangul-jamo.tests \
102 tests/hyphens.tests tests/indic-consonant-with-stacker.tests \
103 tests/indic-decompose.tests tests/indic-init.tests \
104 tests/indic-joiner-candrabindu.tests tests/indic-joiners.tests \
105 tests/indic-old-spec.tests tests/indic-pref-blocking.tests \
106 tests/indic-script-extensions.tests \
107 tests/indic-special-cases.tests tests/indic-syllable.tests \
108 tests/indic-vowel-letter-spoofing.tests \
109 tests/kern-format2.tests tests/khmer-mark-order.tests \
110 tests/khmer-misc.tests tests/language-tags.tests \
111 tests/ligature-id.tests tests/macos.tests \
112 tests/mark-attachment.tests tests/mark-filtering-sets.tests \
113 tests/mongolian-variation-selector.tests \
114 tests/myanmar-syllable.tests tests/myanmar-zawgyi.tests \
115 tests/none-directional.tests tests/rand.tests \
116 tests/spaces.tests tests/simple.tests tests/sinhala.tests \
117 tests/tibetan-contractions-1.tests \
118 tests/tibetan-contractions-2.tests tests/tibetan-vowels.tests \
119 tests/use.tests tests/use-indic3.tests tests/use-marchen.tests \
120 tests/use-syllable.tests tests/variations-rvrn.tests \
121 tests/vertical.tests tests/zero-width-marks.tests \
123 subdir = test/shaping/data/in-house
124 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
125 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_link_flag.m4 \
126 $(top_srcdir)/m4/ax_code_coverage.m4 \
127 $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/gtk-doc.m4 \
128 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
129 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
130 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
131 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
133 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
134 mkinstalldirs = $(install_sh) -d
135 CONFIG_HEADER = $(top_builddir)/config.h
137 CONFIG_CLEAN_VPATH_FILES =
138 AM_V_P = $(am__v_P_@AM_V@)
139 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
142 AM_V_GEN = $(am__v_GEN_@AM_V@)
143 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
144 am__v_GEN_0 = @echo " GEN " $@;
146 AM_V_at = $(am__v_at_@AM_V@)
147 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
152 am__can_run_installinfo = \
153 case $$AM_UPDATE_INFO_DIR in \
155 *) (install-info --version) >/dev/null 2>&1;; \
157 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
158 am__tty_colors_dummy = \
159 mgn= red= grn= lgn= blu= brg= std=; \
162 $(am__tty_colors_dummy); \
163 if test "X$(AM_COLOR_TESTS)" = Xno; then \
164 am__color_tests=no; \
165 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
166 am__color_tests=yes; \
167 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
168 am__color_tests=yes; \
170 if test $$am__color_tests = yes; then \
180 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
181 am__vpath_adj = case $$p in \
182 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
185 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
187 am__nobase_strip_setup = \
188 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
190 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
191 am__nobase_list = $(am__nobase_strip_setup); \
192 for p in $$list; do echo "$$p $$p"; done | \
193 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
194 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
195 if (++n[$$2] == $(am__install_max)) \
196 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
197 END { for (dir in files) print dir, files[dir] }'
199 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
200 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
201 am__uninstall_files_from_dir = { \
203 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
204 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
205 $(am__cd) "$$dir" && rm -f $$files; }; \
207 am__recheck_rx = ^[ ]*:recheck:[ ]*
208 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
209 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
210 # A command that, given a newline-separated list of test names on the
211 # standard input, print the name of the tests that are to be re-run
212 # upon "make recheck".
213 am__list_recheck_tests = $(AWK) '{ \
215 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
219 if ((getline line2 < ($$0 ".log")) < 0) \
223 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
228 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
235 close ($$0 ".trs"); \
236 close ($$0 ".log"); \
238 # A command that, given a newline-separated list of test names on the
239 # standard input, create the global log from their .trs and .log files.
240 am__create_global_log = $(AWK) ' \
241 function fatal(msg) \
243 print "fatal: making $@: " msg | "cat >&2"; \
246 function rst_section(header) \
249 len = length(header); \
250 for (i = 1; i <= len; i = i + 1) \
255 copy_in_global_log = 1; \
256 global_test_result = "RUN"; \
257 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
260 fatal("failed to read from " $$0 ".trs"); \
261 if (line ~ /$(am__global_test_result_rx)/) \
263 sub("$(am__global_test_result_rx)", "", line); \
264 sub("[ ]*$$", "", line); \
265 global_test_result = line; \
267 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
268 copy_in_global_log = 0; \
270 if (copy_in_global_log) \
272 rst_section(global_test_result ": " $$0); \
273 while ((rc = (getline line < ($$0 ".log"))) != 0) \
276 fatal("failed to read from " $$0 ".log"); \
281 close ($$0 ".trs"); \
282 close ($$0 ".log"); \
284 # Restructured Text title.
285 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
286 # Solaris 10 'make', and several other traditional 'make' implementations,
287 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
288 # by disabling -e (using the XSI extension "set +e") if it's set.
289 am__sh_e_setup = case $$- in *e*) set +e;; esac
290 # Default flags passed to test drivers.
291 am__common_driver_flags = \
292 --color-tests "$$am__color_tests" \
293 --enable-hard-errors "$$am__enable_hard_errors" \
294 --expect-failure "$$am__expect_failure"
295 # To be inserted before the command running the test. Creates the
296 # directory for the log if needed. Stores in $dir the directory
297 # containing $f, in $tst the test, in $log the log. Executes the
298 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
299 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
300 # will run the test scripts (or their associated LOG_COMPILER, if
304 $(am__vpath_adj_setup) $(am__vpath_adj) \
306 srcdir=$(srcdir); export srcdir; \
308 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
311 test "x$$am__odir" = x"." || test -d "$$am__odir" \
312 || $(MKDIR_P) "$$am__odir" || exit $$?; \
313 if test -f "./$$f"; then dir=./; \
314 elif test -f "$$f"; then dir=; \
315 else dir="$(srcdir)/"; fi; \
316 tst=$$dir$$f; log='$@'; \
317 if test -n '$(DISABLE_HARD_ERRORS)'; then \
318 am__enable_hard_errors=no; \
320 am__enable_hard_errors=yes; \
322 case " $(XFAIL_TESTS) " in \
323 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
324 am__expect_failure=yes;; \
326 am__expect_failure=no;; \
328 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
329 # A shell command to get the names of the tests scripts with any registered
330 # extension removed (i.e., equivalently, the names of the test logs, with
331 # the '.log' extension removed). The result is saved in the shell variable
332 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
333 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
334 # since that might cause problem with VPATH rewrites for suffix-less tests.
335 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
336 am__set_TESTS_bases = \
337 bases='$(TEST_LOGS)'; \
338 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
340 RECHECK_LOGS = $(TEST_LOGS)
341 AM_RECURSIVE_TARGETS = check recheck
343 TEST_SUITE_LOG = test-suite.log
344 am__test_logs1 = $(TESTS:=.log)
345 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
346 TEST_LOGS = $(am__test_logs2:.tests.log=.log)
347 TESTS_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
348 TESTS_LOG_COMPILE = $(TESTS_LOG_COMPILER) $(AM_TESTS_LOG_FLAGS) \
355 *) b=`echo '$@' | sed 's/\.log$$//'`; \
360 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.sources \
361 $(top_srcdir)/test-driver COPYING
362 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
365 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
367 AUTOCONF = @AUTOCONF@
368 AUTOHEADER = @AUTOHEADER@
369 AUTOMAKE = @AUTOMAKE@
371 CAIRO_CFLAGS = @CAIRO_CFLAGS@
372 CAIRO_FT_CFLAGS = @CAIRO_FT_CFLAGS@
373 CAIRO_FT_LIBS = @CAIRO_FT_LIBS@
374 CAIRO_LIBS = @CAIRO_LIBS@
376 CCDEPMODE = @CCDEPMODE@
378 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
379 CODE_COVERAGE_CPPFLAGS = @CODE_COVERAGE_CPPFLAGS@
380 CODE_COVERAGE_CXXFLAGS = @CODE_COVERAGE_CXXFLAGS@
381 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
382 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
383 CODE_COVERAGE_LIBS = @CODE_COVERAGE_LIBS@
384 CORETEXT_CFLAGS = @CORETEXT_CFLAGS@
385 CORETEXT_LIBS = @CORETEXT_LIBS@
387 CPPFLAGS = @CPPFLAGS@
390 CXXDEPMODE = @CXXDEPMODE@
391 CXXFLAGS = @CXXFLAGS@
392 CYGPATH_W = @CYGPATH_W@
395 DIRECTWRITE_CXXFLAGS = @DIRECTWRITE_CXXFLAGS@
396 DIRECTWRITE_LIBS = @DIRECTWRITE_LIBS@
398 DSYMUTIL = @DSYMUTIL@
406 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
407 FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
408 FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
409 FREETYPE_DEPS = @FREETYPE_DEPS@
410 FREETYPE_LIBS = @FREETYPE_LIBS@
414 GLIB_CFLAGS = @GLIB_CFLAGS@
415 GLIB_DEPS = @GLIB_DEPS@
416 GLIB_LIBS = @GLIB_LIBS@
417 GLIB_MKENUMS = @GLIB_MKENUMS@
418 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
419 GOBJECT_LIBS = @GOBJECT_LIBS@
420 GRAPHITE2_CFLAGS = @GRAPHITE2_CFLAGS@
421 GRAPHITE2_DEPS = @GRAPHITE2_DEPS@
422 GRAPHITE2_LIBS = @GRAPHITE2_LIBS@
424 GTKDOC_CHECK = @GTKDOC_CHECK@
425 GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
426 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
427 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
428 GTKDOC_MKPDF = @GTKDOC_MKPDF@
429 GTKDOC_REBASE = @GTKDOC_REBASE@
430 HB_LIBTOOL_VERSION_INFO = @HB_LIBTOOL_VERSION_INFO@
431 HB_VERSION = @HB_VERSION@
432 HB_VERSION_MAJOR = @HB_VERSION_MAJOR@
433 HB_VERSION_MICRO = @HB_VERSION_MICRO@
434 HB_VERSION_MINOR = @HB_VERSION_MINOR@
435 HTML_DIR = @HTML_DIR@
436 ICU_CFLAGS = @ICU_CFLAGS@
437 ICU_CONFIG = @ICU_CONFIG@
438 ICU_LIBS = @ICU_LIBS@
440 INSTALL_DATA = @INSTALL_DATA@
441 INSTALL_PROGRAM = @INSTALL_PROGRAM@
442 INSTALL_SCRIPT = @INSTALL_SCRIPT@
443 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
444 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
445 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
446 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
447 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
448 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
449 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
450 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
451 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
460 LTLIBOBJS = @LTLIBOBJS@
461 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
462 MAKEINFO = @MAKEINFO@
463 MANIFEST_TOOL = @MANIFEST_TOOL@
472 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
473 PACKAGE_NAME = @PACKAGE_NAME@
474 PACKAGE_STRING = @PACKAGE_STRING@
475 PACKAGE_TARNAME = @PACKAGE_TARNAME@
476 PACKAGE_URL = @PACKAGE_URL@
477 PACKAGE_VERSION = @PACKAGE_VERSION@
478 PATH_SEPARATOR = @PATH_SEPARATOR@
479 PKG_CONFIG = @PKG_CONFIG@
480 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
481 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
482 PTHREAD_CC = @PTHREAD_CC@
483 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
484 PTHREAD_LIBS = @PTHREAD_LIBS@
488 SET_MAKE = @SET_MAKE@
491 UNISCRIBE_CFLAGS = @UNISCRIBE_CFLAGS@
492 UNISCRIBE_LIBS = @UNISCRIBE_LIBS@
494 abs_builddir = @abs_builddir@
495 abs_srcdir = @abs_srcdir@
496 abs_top_builddir = @abs_top_builddir@
497 abs_top_srcdir = @abs_top_srcdir@
498 ac_ct_AR = @ac_ct_AR@
499 ac_ct_CC = @ac_ct_CC@
500 ac_ct_CXX = @ac_ct_CXX@
501 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
502 am__include = @am__include@
503 am__leading_dot = @am__leading_dot@
504 am__quote = @am__quote@
506 am__untar = @am__untar@
507 ax_pthread_config = @ax_pthread_config@
510 build_alias = @build_alias@
511 build_cpu = @build_cpu@
512 build_os = @build_os@
513 build_vendor = @build_vendor@
514 builddir = @builddir@
516 datarootdir = @datarootdir@
519 exec_prefix = @exec_prefix@
520 have_gobject = @have_gobject@
522 host_alias = @host_alias@
523 host_cpu = @host_cpu@
525 host_vendor = @host_vendor@
527 includedir = @includedir@
529 install_sh = @install_sh@
531 libexecdir = @libexecdir@
532 localedir = @localedir@
533 localstatedir = @localstatedir@
536 oldincludedir = @oldincludedir@
539 program_transform_name = @program_transform_name@
541 runstatedir = @runstatedir@
543 sharedstatedir = @sharedstatedir@
545 sysconfdir = @sysconfdir@
546 target_alias = @target_alias@
547 top_build_prefix = @top_build_prefix@
548 top_builddir = @top_builddir@
549 top_srcdir = @top_srcdir@
557 TEST_EXTENSIONS = .tests
558 TESTS_LOG_COMPILER = $(srcdir)/../../run-tests.py $(top_builddir)/util/hb-shape$(EXEEXT)
565 .SUFFIXES: .log .tests .tests$(EXEEXT) .trs
566 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.sources $(am__configure_deps)
568 case '$(am__configure_deps)' in \
570 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
571 && { if test -f $@; then exit 0; else break; fi; }; \
575 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits test/shaping/data/in-house/Makefile'; \
576 $(am__cd) $(top_srcdir) && \
577 $(AUTOMAKE) --gnits test/shaping/data/in-house/Makefile
578 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
581 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
583 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
584 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
586 $(srcdir)/Makefile.sources $(am__empty):
588 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
589 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
591 $(top_srcdir)/configure: $(am__configure_deps)
592 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
593 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
594 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
595 $(am__aclocal_m4_deps):
609 # Recover from deleted '.trs' file; this should ensure that
610 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
611 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
612 # to avoid problems with "make -n".
615 $(MAKE) $(AM_MAKEFLAGS) $<
617 # Leading 'am--fnord' is there to ensure the list of targets does not
618 # expand to empty, as could happen e.g. with make check TESTS=''.
619 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
623 $(TEST_SUITE_LOG): $(TEST_LOGS)
624 @$(am__set_TESTS_bases); \
625 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
626 redo_bases=`for i in $$bases; do \
627 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
629 if test -n "$$redo_bases"; then \
630 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
631 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
632 if $(am__make_dryrun); then :; else \
633 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
636 if test -n "$$am__remaking_logs"; then \
637 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
638 "recursion detected" >&2; \
639 elif test -n "$$redo_logs"; then \
640 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
642 if $(am__make_dryrun); then :; else \
644 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
645 for i in $$redo_bases; do \
646 test -f $$i.trs && test -r $$i.trs \
647 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
648 test -f $$i.log && test -r $$i.log \
649 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
651 test $$st -eq 0 || exit 1; \
653 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
655 results=`for b in $$bases; do echo $$b.trs; done`; \
656 test -n "$$results" || results=/dev/null; \
657 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
658 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
659 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
660 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
661 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
662 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
663 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
664 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
669 br='==================='; br=$$br$$br$$br$$br; \
672 if test x"$$1" = x"--maybe-color"; then \
673 maybe_colorize=yes; \
674 elif test x"$$1" = x"--no-color"; then \
677 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
680 desc=$$1 count=$$2; \
681 if test $$maybe_colorize = yes && test $$count -gt 0; then \
682 color_start=$$3 color_end=$$std; \
684 color_start= color_end=; \
686 echo "$${color_start}# $$desc $$count$${color_end}"; \
688 create_testsuite_report () \
690 result_count $$1 "TOTAL:" $$all "$$brg"; \
691 result_count $$1 "PASS: " $$pass "$$grn"; \
692 result_count $$1 "SKIP: " $$skip "$$blu"; \
693 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
694 result_count $$1 "FAIL: " $$fail "$$red"; \
695 result_count $$1 "XPASS:" $$xpass "$$red"; \
696 result_count $$1 "ERROR:" $$error "$$mgn"; \
699 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
701 create_testsuite_report --no-color; \
703 echo ".. contents:: :depth: 2"; \
705 for b in $$bases; do echo $$b; done \
706 | $(am__create_global_log); \
707 } >$(TEST_SUITE_LOG).tmp || exit 1; \
708 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
713 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
715 echo "$${col}$$br$${std}"; \
716 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
717 echo "$${col}$$br$${std}"; \
718 create_testsuite_report --maybe-color; \
719 echo "$$col$$br$$std"; \
720 if $$success; then :; else \
721 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
722 if test -n "$(PACKAGE_BUGREPORT)"; then \
723 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
725 echo "$$col$$br$$std"; \
730 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
731 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
732 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
733 @set +e; $(am__set_TESTS_bases); \
734 log_list=`for i in $$bases; do echo $$i.log; done`; \
735 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
736 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
737 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
740 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
741 @set +e; $(am__set_TESTS_bases); \
742 bases=`for i in $$bases; do echo $$i; done \
743 | $(am__list_recheck_tests)` || exit 1; \
744 log_list=`for i in $$bases; do echo $$i.log; done`; \
745 log_list=`echo $$log_list`; \
746 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
747 am__force_recheck=am--force-recheck \
748 TEST_LOGS="$$log_list"; \
753 $(am__check_pre) $(TESTS_LOG_DRIVER) --test-name "$$f" \
754 --log-file $$b.log --trs-file $$b.trs \
755 $(am__common_driver_flags) $(AM_TESTS_LOG_DRIVER_FLAGS) $(TESTS_LOG_DRIVER_FLAGS) -- $(TESTS_LOG_COMPILE) \
756 "$$tst" $(AM_TESTS_FD_REDIRECT)
757 @am__EXEEXT_TRUE@.tests$(EXEEXT).log:
758 @am__EXEEXT_TRUE@ @p='$<'; \
759 @am__EXEEXT_TRUE@ $(am__set_b); \
760 @am__EXEEXT_TRUE@ $(am__check_pre) $(TESTS_LOG_DRIVER) --test-name "$$f" \
761 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
762 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TESTS_LOG_DRIVER_FLAGS) $(TESTS_LOG_DRIVER_FLAGS) -- $(TESTS_LOG_COMPILE) \
763 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
765 distdir: $(DISTFILES)
766 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
767 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
768 list='$(DISTFILES)'; \
769 dist_files=`for file in $$list; do echo $$file; done | \
770 sed -e "s|^$$srcdirstrip/||;t" \
771 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
772 case $$dist_files in \
773 */*) $(MKDIR_P) `echo "$$dist_files" | \
774 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
777 for file in $$dist_files; do \
778 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
779 if test -d $$d/$$file; then \
780 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
781 if test -d "$(distdir)/$$file"; then \
782 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
784 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
785 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
786 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
788 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
790 test -f "$(distdir)/$$file" \
791 || cp -p $$d/$$file "$(distdir)/$$file" \
796 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
801 install-exec: install-exec-am
802 install-data: install-data-am
803 uninstall: uninstall-am
806 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
808 installcheck: installcheck-am
810 if test -z '$(STRIP)'; then \
811 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
812 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
815 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
816 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
817 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
820 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
821 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
822 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
827 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
828 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
830 maintainer-clean-generic:
831 @echo "This command is intended for maintainers to use"
832 @echo "it deletes files that may require special tools to rebuild."
835 clean-am: clean-generic clean-libtool mostlyclean-am
837 distclean: distclean-am
839 distclean-am: clean-am distclean-generic
855 install-dvi: install-dvi-am
861 install-html: install-html-am
865 install-info: install-info-am
871 install-pdf: install-pdf-am
875 install-ps: install-ps-am
881 maintainer-clean: maintainer-clean-am
883 maintainer-clean-am: distclean-am maintainer-clean-generic
885 mostlyclean: mostlyclean-am
887 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
899 .MAKE: check-am install-am install-strip
901 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
902 clean-libtool cscopelist-am ctags-am distclean \
903 distclean-generic distclean-libtool distdir dvi dvi-am html \
904 html-am info info-am install install-am install-data \
905 install-data-am install-dvi install-dvi-am install-exec \
906 install-exec-am install-html install-html-am install-info \
907 install-info-am install-man install-pdf install-pdf-am \
908 install-ps install-ps-am install-strip installcheck \
909 installcheck-am installdirs maintainer-clean \
910 maintainer-clean-generic mostlyclean mostlyclean-generic \
911 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
912 uninstall uninstall-am
917 # Convenience targets:
919 @$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
921 -include $(top_srcdir)/git.mk
923 # Tell versions [3.59,3.63) of GNU make to not export all variables.
924 # Otherwise a system limit (for SysV at least) may be exceeded.