1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 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
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 = arestest$(EXEEXT) fuzzcheck.sh
93 noinst_PROGRAMS = arestest$(EXEEXT) aresfuzz$(EXEEXT) dnsdump$(EXEEXT)
95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
96 am__aclocal_m4_deps = $(top_srcdir)/../m4/ax_check_user_namespace.m4 \
97 $(top_srcdir)/../m4/ax_check_uts_namespace.m4 \
98 $(top_srcdir)/../m4/ax_code_coverage.m4 \
99 $(top_srcdir)/../m4/ax_cxx_compile_stdcxx_11.m4 \
100 $(top_srcdir)/../m4/ax_pthread.m4 \
101 $(top_srcdir)/../m4/libtool.m4 \
102 $(top_srcdir)/../m4/ltoptions.m4 \
103 $(top_srcdir)/../m4/ltsugar.m4 \
104 $(top_srcdir)/../m4/ltversion.m4 \
105 $(top_srcdir)/../m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
106 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
109 $(am__configure_deps) $(am__DIST_COMMON)
110 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
111 configure.lineno config.status.lineno
112 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
113 CONFIG_HEADER = config.h
115 CONFIG_CLEAN_VPATH_FILES =
116 LTLIBRARIES = $(noinst_LTLIBRARIES)
118 am_libgmock_la_OBJECTS = libgmock_la-gmock-all.lo
119 libgmock_la_OBJECTS = $(am_libgmock_la_OBJECTS)
120 AM_V_lt = $(am__v_lt_@AM_V@)
121 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
122 am__v_lt_0 = --silent
125 am_libgtest_la_OBJECTS = libgtest_la-gtest-all.lo
126 libgtest_la_OBJECTS = $(am_libgtest_la_OBJECTS)
127 PROGRAMS = $(noinst_PROGRAMS)
128 am__objects_1 = ares-test-fuzz.$(OBJEXT) ares-fuzz.$(OBJEXT)
129 am_aresfuzz_OBJECTS = $(am__objects_1)
130 aresfuzz_OBJECTS = $(am_aresfuzz_OBJECTS)
131 aresfuzz_DEPENDENCIES = $(ARES_BLD_DIR)/libcares.la
132 am__objects_2 = ares-test-main.$(OBJEXT) ares-test-init.$(OBJEXT) \
133 ares-test.$(OBJEXT) ares-test-ns.$(OBJEXT) \
134 ares-test-parse.$(OBJEXT) ares-test-parse-a.$(OBJEXT) \
135 ares-test-parse-aaaa.$(OBJEXT) ares-test-parse-mx.$(OBJEXT) \
136 ares-test-parse-naptr.$(OBJEXT) ares-test-parse-ns.$(OBJEXT) \
137 ares-test-parse-ptr.$(OBJEXT) ares-test-parse-soa.$(OBJEXT) \
138 ares-test-parse-srv.$(OBJEXT) ares-test-parse-txt.$(OBJEXT) \
139 ares-test-misc.$(OBJEXT) ares-test-live.$(OBJEXT) \
140 ares-test-mock.$(OBJEXT) ares-test-internal.$(OBJEXT) \
141 dns-proto.$(OBJEXT) dns-proto-test.$(OBJEXT)
143 am_arestest_OBJECTS = $(am__objects_2) $(am__objects_3)
144 arestest_OBJECTS = $(am_arestest_OBJECTS)
146 arestest_DEPENDENCIES = libgmock.la libgtest.la \
147 $(ARES_BLD_DIR)/libcares.la $(am__DEPENDENCIES_1)
148 arestest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
149 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
150 $(CXXFLAGS) $(arestest_LDFLAGS) $(LDFLAGS) -o $@
151 am__objects_4 = dns-proto.$(OBJEXT) dns-dump.$(OBJEXT)
152 am_dnsdump_OBJECTS = $(am__objects_4)
153 dnsdump_OBJECTS = $(am_dnsdump_OBJECTS)
154 dnsdump_DEPENDENCIES = $(ARES_BLD_DIR)/libcares.la
155 AM_V_P = $(am__v_P_@AM_V@)
156 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
159 AM_V_GEN = $(am__v_GEN_@AM_V@)
160 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
161 am__v_GEN_0 = @echo " GEN " $@;
163 AM_V_at = $(am__v_at_@AM_V@)
164 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
167 DEFAULT_INCLUDES = -I.@am__isrc@
168 depcomp = $(SHELL) $(top_srcdir)/../depcomp
169 am__depfiles_maybe = depfiles
171 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
172 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
173 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
174 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
175 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
176 $(AM_CFLAGS) $(CFLAGS)
177 AM_V_CC = $(am__v_CC_@AM_V@)
178 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
179 am__v_CC_0 = @echo " CC " $@;
182 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
183 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
184 $(AM_LDFLAGS) $(LDFLAGS) -o $@
185 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
186 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
187 am__v_CCLD_0 = @echo " CCLD " $@;
189 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
190 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
191 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
192 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
193 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
194 $(AM_CXXFLAGS) $(CXXFLAGS)
195 AM_V_CXX = $(am__v_CXX_@AM_V@)
196 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
197 am__v_CXX_0 = @echo " CXX " $@;
200 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
201 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
202 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
203 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
204 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
205 am__v_CXXLD_0 = @echo " CXXLD " $@;
207 SOURCES = $(libgmock_la_SOURCES) $(libgtest_la_SOURCES) \
208 $(aresfuzz_SOURCES) $(arestest_SOURCES) $(dnsdump_SOURCES)
209 DIST_SOURCES = $(libgmock_la_SOURCES) $(libgtest_la_SOURCES) \
210 $(aresfuzz_SOURCES) $(arestest_SOURCES) $(dnsdump_SOURCES)
211 am__can_run_installinfo = \
212 case $$AM_UPDATE_INFO_DIR in \
214 *) (install-info --version) >/dev/null 2>&1;; \
216 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
218 # Read a list of newline-separated strings from the standard input,
219 # and print each of them once, without duplicates. Input order is
221 am__uniquify_input = $(AWK) '\
222 BEGIN { nonempty = 0; } \
223 { items[$$0] = 1; nonempty = 1; } \
224 END { if (nonempty) { for (i in items) print i; }; } \
226 # Make sure the list of sources is unique. This is necessary because,
227 # e.g., the same source file might be shared among _SOURCES variables
228 # for different programs/libraries.
229 am__define_uniq_tagged_files = \
230 list='$(am__tagged_files)'; \
231 unique=`for i in $$list; do \
232 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
233 done | $(am__uniquify_input)`
237 AM_RECURSIVE_TARGETS = cscope check recheck
238 am__tty_colors_dummy = \
239 mgn= red= grn= lgn= blu= brg= std=; \
242 $(am__tty_colors_dummy); \
243 if test "X$(AM_COLOR_TESTS)" = Xno; then \
244 am__color_tests=no; \
245 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
246 am__color_tests=yes; \
247 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
248 am__color_tests=yes; \
250 if test $$am__color_tests = yes; then \
260 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
261 am__vpath_adj = case $$p in \
262 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
265 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
267 am__nobase_strip_setup = \
268 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
270 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
271 am__nobase_list = $(am__nobase_strip_setup); \
272 for p in $$list; do echo "$$p $$p"; done | \
273 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
274 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
275 if (++n[$$2] == $(am__install_max)) \
276 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
277 END { for (dir in files) print dir, files[dir] }'
279 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
280 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
281 am__uninstall_files_from_dir = { \
283 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
284 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
285 $(am__cd) "$$dir" && rm -f $$files; }; \
287 am__recheck_rx = ^[ ]*:recheck:[ ]*
288 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
289 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
290 # A command that, given a newline-separated list of test names on the
291 # standard input, print the name of the tests that are to be re-run
292 # upon "make recheck".
293 am__list_recheck_tests = $(AWK) '{ \
295 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
299 if ((getline line2 < ($$0 ".log")) < 0) \
303 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
308 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
315 close ($$0 ".trs"); \
316 close ($$0 ".log"); \
318 # A command that, given a newline-separated list of test names on the
319 # standard input, create the global log from their .trs and .log files.
320 am__create_global_log = $(AWK) ' \
321 function fatal(msg) \
323 print "fatal: making $@: " msg | "cat >&2"; \
326 function rst_section(header) \
329 len = length(header); \
330 for (i = 1; i <= len; i = i + 1) \
335 copy_in_global_log = 1; \
336 global_test_result = "RUN"; \
337 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
340 fatal("failed to read from " $$0 ".trs"); \
341 if (line ~ /$(am__global_test_result_rx)/) \
343 sub("$(am__global_test_result_rx)", "", line); \
344 sub("[ ]*$$", "", line); \
345 global_test_result = line; \
347 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
348 copy_in_global_log = 0; \
350 if (copy_in_global_log) \
352 rst_section(global_test_result ": " $$0); \
353 while ((rc = (getline line < ($$0 ".log"))) != 0) \
356 fatal("failed to read from " $$0 ".log"); \
361 close ($$0 ".trs"); \
362 close ($$0 ".log"); \
364 # Restructured Text title.
365 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
366 # Solaris 10 'make', and several other traditional 'make' implementations,
367 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
368 # by disabling -e (using the XSI extension "set +e") if it's set.
369 am__sh_e_setup = case $$- in *e*) set +e;; esac
370 # Default flags passed to test drivers.
371 am__common_driver_flags = \
372 --color-tests "$$am__color_tests" \
373 --enable-hard-errors "$$am__enable_hard_errors" \
374 --expect-failure "$$am__expect_failure"
375 # To be inserted before the command running the test. Creates the
376 # directory for the log if needed. Stores in $dir the directory
377 # containing $f, in $tst the test, in $log the log. Executes the
378 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
379 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
380 # will run the test scripts (or their associated LOG_COMPILER, if
384 $(am__vpath_adj_setup) $(am__vpath_adj) \
386 srcdir=$(srcdir); export srcdir; \
388 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
391 test "x$$am__odir" = x"." || test -d "$$am__odir" \
392 || $(MKDIR_P) "$$am__odir" || exit $$?; \
393 if test -f "./$$f"; then dir=./; \
394 elif test -f "$$f"; then dir=; \
395 else dir="$(srcdir)/"; fi; \
396 tst=$$dir$$f; log='$@'; \
397 if test -n '$(DISABLE_HARD_ERRORS)'; then \
398 am__enable_hard_errors=no; \
400 am__enable_hard_errors=yes; \
402 case " $(XFAIL_TESTS) " in \
403 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
404 am__expect_failure=yes;; \
406 am__expect_failure=no;; \
408 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
409 # A shell command to get the names of the tests scripts with any registered
410 # extension removed (i.e., equivalently, the names of the test logs, with
411 # the '.log' extension removed). The result is saved in the shell variable
412 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
413 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
414 # since that might cause problem with VPATH rewrites for suffix-less tests.
415 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
416 am__set_TESTS_bases = \
417 bases='$(TEST_LOGS)'; \
418 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
420 RECHECK_LOGS = $(TEST_LOGS)
421 TEST_SUITE_LOG = test-suite.log
422 TEST_EXTENSIONS = @EXEEXT@ .test
423 LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
424 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
430 *) b=`echo '$@' | sed 's/\.log$$//'`; \
435 am__test_logs1 = $(TESTS:=.log)
436 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
437 TEST_LOGS = $(am__test_logs2:.test.log=.log)
438 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
439 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
441 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.inc \
442 $(srcdir)/config.h.in $(top_srcdir)/../compile \
443 $(top_srcdir)/../config.guess $(top_srcdir)/../config.sub \
444 $(top_srcdir)/../depcomp $(top_srcdir)/../install-sh \
445 $(top_srcdir)/../ltmain.sh $(top_srcdir)/../missing \
446 $(top_srcdir)/../mkinstalldirs $(top_srcdir)/../test-driver
447 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
448 distdir = $(PACKAGE)-$(VERSION)
449 top_distdir = $(distdir)
450 am__remove_distdir = \
451 if test -d "$(distdir)"; then \
452 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
453 && rm -rf "$(distdir)" \
454 || { sleep 5 && rm -rf "$(distdir)"; }; \
456 am__post_remove_distdir = $(am__remove_distdir)
457 DIST_ARCHIVES = $(distdir).tar.gz
459 DIST_TARGETS = dist-gzip
460 distuninstallcheck_listfiles = find . -type f -print
461 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
462 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
463 distcleancheck_listfiles = find . -type f -print
466 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
468 AUTOCONF = @AUTOCONF@
469 AUTOHEADER = @AUTOHEADER@
470 AUTOMAKE = @AUTOMAKE@
473 CCDEPMODE = @CCDEPMODE@
475 CODE_COVERAGE_CFLAGS = @CODE_COVERAGE_CFLAGS@
476 CODE_COVERAGE_ENABLED = @CODE_COVERAGE_ENABLED@
477 CODE_COVERAGE_LDFLAGS = @CODE_COVERAGE_LDFLAGS@
479 # Note use of -isystem to force use of local gMock/gTest even if there's an installed version.
480 CPPFLAGS = @CPPFLAGS@ -I$(ARES_SRC_DIR) -isystem $(GTEST_DIR)/include \
481 -isystem $(GMOCK_DIR)/include
484 CXXDEPMODE = @CXXDEPMODE@
485 CXXFLAGS = @CXXFLAGS@ -Wall $(PTHREAD_CFLAGS)
486 CYGPATH_W = @CYGPATH_W@
490 DSYMUTIL = @DSYMUTIL@
501 HAVE_CXX11 = @HAVE_CXX11@
503 INSTALL_DATA = @INSTALL_DATA@
504 INSTALL_PROGRAM = @INSTALL_PROGRAM@
505 INSTALL_SCRIPT = @INSTALL_SCRIPT@
506 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
513 LIBTOOL_DEPS = @LIBTOOL_DEPS@
516 LTLIBOBJS = @LTLIBOBJS@
517 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
518 MAKEINFO = @MAKEINFO@
519 MANIFEST_TOOL = @MANIFEST_TOOL@
528 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
529 PACKAGE_NAME = @PACKAGE_NAME@
530 PACKAGE_STRING = @PACKAGE_STRING@
531 PACKAGE_TARNAME = @PACKAGE_TARNAME@
532 PACKAGE_URL = @PACKAGE_URL@
533 PACKAGE_VERSION = @PACKAGE_VERSION@
534 PATH_SEPARATOR = @PATH_SEPARATOR@
535 PTHREAD_CC = @PTHREAD_CC@
536 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
537 PTHREAD_LIBS = @PTHREAD_LIBS@
540 SET_MAKE = @SET_MAKE@
544 abs_builddir = @abs_builddir@
545 abs_srcdir = @abs_srcdir@
546 abs_top_builddir = @abs_top_builddir@
547 abs_top_srcdir = @abs_top_srcdir@
548 ac_ct_AR = @ac_ct_AR@
549 ac_ct_CC = @ac_ct_CC@
550 ac_ct_CXX = @ac_ct_CXX@
551 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
552 am__include = @am__include@
553 am__leading_dot = @am__leading_dot@
554 am__quote = @am__quote@
556 am__untar = @am__untar@
557 ax_pthread_config = @ax_pthread_config@
560 build_alias = @build_alias@
561 build_cpu = @build_cpu@
562 build_os = @build_os@
563 build_vendor = @build_vendor@
564 builddir = @builddir@
566 datarootdir = @datarootdir@
569 exec_prefix = @exec_prefix@
571 host_alias = @host_alias@
572 host_cpu = @host_cpu@
574 host_vendor = @host_vendor@
576 includedir = @includedir@
578 install_sh = @install_sh@
580 libexecdir = @libexecdir@
581 localedir = @localedir@
582 localstatedir = @localstatedir@
585 oldincludedir = @oldincludedir@
588 program_transform_name = @program_transform_name@
590 runstatedir = @runstatedir@
592 sharedstatedir = @sharedstatedir@
594 sysconfdir = @sysconfdir@
595 target_alias = @target_alias@
596 top_build_prefix = @top_build_prefix@
597 top_builddir = @top_builddir@
598 top_srcdir = @top_srcdir@
600 # Where to find the c-ares source code; needed because the tests use library-internal headers
602 # Where to find the built c-ares static library
604 AUTOMAKE_OPTIONS = foreign
605 ACLOCAL_AMFLAGS = -I ../m4
606 GMOCK_DIR = gmock-1.7.0
607 GTEST_DIR = $(GMOCK_DIR)/gtest
608 TESTSOURCES = ares-test-main.cc \
613 ares-test-parse-a.cc \
614 ares-test-parse-aaaa.cc \
615 ares-test-parse-mx.cc \
616 ares-test-parse-naptr.cc \
617 ares-test-parse-ns.cc \
618 ares-test-parse-ptr.cc \
619 ares-test-parse-soa.cc \
620 ares-test-parse-srv.cc \
621 ares-test-parse-txt.cc \
625 ares-test-internal.cc \
629 TESTHEADERS = ares-test.h \
632 FUZZSOURCES = ares-test-fuzz.c \
635 DUMPSOURCES = dns-proto.cc \
638 arestest_SOURCES = $(TESTSOURCES) $(TESTHEADERS)
639 arestest_LDADD = libgmock.la libgtest.la $(ARES_BLD_DIR)/libcares.la $(PTHREAD_LIBS)
640 arestest_LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
641 noinst_LTLIBRARIES = libgmock.la libgtest.la
642 libgmock_la_SOURCES = $(GMOCK_DIR)/src/gmock-all.cc
643 libgmock_la_CPPFLAGS = -isystem $(GTEST_DIR)/include -I$(GTEST_DIR) -isystem $(GMOCK_DIR)/include -I$(GMOCK_DIR)
644 libgtest_la_SOURCES = $(GTEST_DIR)/src/gtest-all.cc
645 libgtest_la_CPPFLAGS = -isystem $(GTEST_DIR)/include -I$(GTEST_DIR) -isystem $(GMOCK_DIR)/include -I$(GMOCK_DIR)
646 aresfuzz_SOURCES = $(FUZZSOURCES)
647 aresfuzz_LDADD = $(ARES_BLD_DIR)/libcares.la
648 dnsdump_SOURCES = $(DUMPSOURCES)
649 dnsdump_LDADD = $(ARES_BLD_DIR)/libcares.la
651 $(MAKE) $(AM_MAKEFLAGS) all-am
654 .SUFFIXES: .c .cc .lo .log .o .obj .test .test$(EXEEXT) .trs
655 am--refresh: Makefile
657 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.inc $(am__configure_deps)
659 case '$(am__configure_deps)' in \
661 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
662 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
667 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
668 $(am__cd) $(top_srcdir) && \
669 $(AUTOMAKE) --foreign Makefile
670 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
673 echo ' $(SHELL) ./config.status'; \
674 $(SHELL) ./config.status;; \
676 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
677 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
679 $(srcdir)/Makefile.inc $(am__empty):
681 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
682 $(SHELL) ./config.status --recheck
684 $(top_srcdir)/configure: $(am__configure_deps)
685 $(am__cd) $(srcdir) && $(AUTOCONF)
686 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
687 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
688 $(am__aclocal_m4_deps):
691 @test -f $@ || rm -f stamp-h1
692 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
694 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
696 cd $(top_builddir) && $(SHELL) ./config.status config.h
697 $(srcdir)/config.h.in: $(am__configure_deps)
698 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
703 -rm -f config.h stamp-h1
705 clean-noinstLTLIBRARIES:
706 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
707 @list='$(noinst_LTLIBRARIES)'; \
708 locs=`for p in $$list; do echo $$p; done | \
709 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
711 test -z "$$locs" || { \
712 echo rm -f $${locs}; \
716 libgmock.la: $(libgmock_la_OBJECTS) $(libgmock_la_DEPENDENCIES) $(EXTRA_libgmock_la_DEPENDENCIES)
717 $(AM_V_CXXLD)$(CXXLINK) $(libgmock_la_OBJECTS) $(libgmock_la_LIBADD) $(LIBS)
719 libgtest.la: $(libgtest_la_OBJECTS) $(libgtest_la_DEPENDENCIES) $(EXTRA_libgtest_la_DEPENDENCIES)
720 $(AM_V_CXXLD)$(CXXLINK) $(libgtest_la_OBJECTS) $(libgtest_la_LIBADD) $(LIBS)
722 clean-noinstPROGRAMS:
723 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
724 echo " rm -f" $$list; \
725 rm -f $$list || exit $$?; \
726 test -n "$(EXEEXT)" || exit 0; \
727 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
728 echo " rm -f" $$list; \
731 aresfuzz$(EXEEXT): $(aresfuzz_OBJECTS) $(aresfuzz_DEPENDENCIES) $(EXTRA_aresfuzz_DEPENDENCIES)
732 @rm -f aresfuzz$(EXEEXT)
733 $(AM_V_CCLD)$(LINK) $(aresfuzz_OBJECTS) $(aresfuzz_LDADD) $(LIBS)
735 arestest$(EXEEXT): $(arestest_OBJECTS) $(arestest_DEPENDENCIES) $(EXTRA_arestest_DEPENDENCIES)
736 @rm -f arestest$(EXEEXT)
737 $(AM_V_CXXLD)$(arestest_LINK) $(arestest_OBJECTS) $(arestest_LDADD) $(LIBS)
739 dnsdump$(EXEEXT): $(dnsdump_OBJECTS) $(dnsdump_DEPENDENCIES) $(EXTRA_dnsdump_DEPENDENCIES)
740 @rm -f dnsdump$(EXEEXT)
741 $(AM_V_CXXLD)$(CXXLINK) $(dnsdump_OBJECTS) $(dnsdump_LDADD) $(LIBS)
749 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-fuzz.Po@am__quote@
750 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-fuzz.Po@am__quote@
751 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-init.Po@am__quote@
752 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-internal.Po@am__quote@
753 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-live.Po@am__quote@
754 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-main.Po@am__quote@
755 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-misc.Po@am__quote@
756 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-mock.Po@am__quote@
757 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-ns.Po@am__quote@
758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-a.Po@am__quote@
759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-aaaa.Po@am__quote@
760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-mx.Po@am__quote@
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-naptr.Po@am__quote@
762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-ns.Po@am__quote@
763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-ptr.Po@am__quote@
764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-soa.Po@am__quote@
765 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-srv.Po@am__quote@
766 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-txt.Po@am__quote@
767 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse.Po@am__quote@
768 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test.Po@am__quote@
769 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dns-dump.Po@am__quote@
770 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dns-proto-test.Po@am__quote@
771 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dns-proto.Po@am__quote@
772 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgmock_la-gmock-all.Plo@am__quote@
773 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgtest_la-gtest-all.Plo@am__quote@
776 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
777 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
778 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
779 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
780 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
783 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
784 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
785 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
786 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
787 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
790 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
791 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
792 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
793 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
794 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
797 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
798 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
799 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
800 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
801 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
804 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
805 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
806 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
807 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
808 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
811 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
812 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
813 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
814 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
815 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
817 libgmock_la-gmock-all.lo: $(GMOCK_DIR)/src/gmock-all.cc
818 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgmock_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libgmock_la-gmock-all.lo -MD -MP -MF $(DEPDIR)/libgmock_la-gmock-all.Tpo -c -o libgmock_la-gmock-all.lo `test -f '$(GMOCK_DIR)/src/gmock-all.cc' || echo '$(srcdir)/'`$(GMOCK_DIR)/src/gmock-all.cc
819 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgmock_la-gmock-all.Tpo $(DEPDIR)/libgmock_la-gmock-all.Plo
820 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(GMOCK_DIR)/src/gmock-all.cc' object='libgmock_la-gmock-all.lo' libtool=yes @AMDEPBACKSLASH@
821 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
822 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgmock_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libgmock_la-gmock-all.lo `test -f '$(GMOCK_DIR)/src/gmock-all.cc' || echo '$(srcdir)/'`$(GMOCK_DIR)/src/gmock-all.cc
824 libgtest_la-gtest-all.lo: $(GTEST_DIR)/src/gtest-all.cc
825 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libgtest_la-gtest-all.lo -MD -MP -MF $(DEPDIR)/libgtest_la-gtest-all.Tpo -c -o libgtest_la-gtest-all.lo `test -f '$(GTEST_DIR)/src/gtest-all.cc' || echo '$(srcdir)/'`$(GTEST_DIR)/src/gtest-all.cc
826 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgtest_la-gtest-all.Tpo $(DEPDIR)/libgtest_la-gtest-all.Plo
827 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(GTEST_DIR)/src/gtest-all.cc' object='libgtest_la-gtest-all.lo' libtool=yes @AMDEPBACKSLASH@
828 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
829 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgtest_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libgtest_la-gtest-all.lo `test -f '$(GTEST_DIR)/src/gtest-all.cc' || echo '$(srcdir)/'`$(GTEST_DIR)/src/gtest-all.cc
838 -rm -f libtool config.lt
840 ID: $(am__tagged_files)
841 $(am__define_uniq_tagged_files); mkid -fID $$unique
845 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
848 $(am__define_uniq_tagged_files); \
850 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
851 test -n "$$unique" || unique=$$empty_fix; \
852 if test $$# -gt 0; then \
853 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
856 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
863 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
864 $(am__define_uniq_tagged_files); \
865 test -z "$(CTAGS_ARGS)$$unique" \
866 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
870 here=`$(am__cd) $(top_builddir) && pwd` \
871 && $(am__cd) $(top_srcdir) \
872 && gtags -i $(GTAGS_ARGS) "$$here"
874 test ! -s cscope.files \
875 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
878 cscope.files: clean-cscope cscopelist
879 cscopelist: cscopelist-am
881 cscopelist-am: $(am__tagged_files)
882 list='$(am__tagged_files)'; \
883 case "$(srcdir)" in \
884 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
885 *) sdir=$(subdir)/$(srcdir) ;; \
887 for i in $$list; do \
888 if test -f "$$i"; then \
889 echo "$(subdir)/$$i"; \
893 done >> $(top_builddir)/cscope.files
896 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
897 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
899 # Recover from deleted '.trs' file; this should ensure that
900 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
901 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
902 # to avoid problems with "make -n".
905 $(MAKE) $(AM_MAKEFLAGS) $<
907 # Leading 'am--fnord' is there to ensure the list of targets does not
908 # expand to empty, as could happen e.g. with make check TESTS=''.
909 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
913 $(TEST_SUITE_LOG): $(TEST_LOGS)
914 @$(am__set_TESTS_bases); \
915 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
916 redo_bases=`for i in $$bases; do \
917 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
919 if test -n "$$redo_bases"; then \
920 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
921 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
922 if $(am__make_dryrun); then :; else \
923 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
926 if test -n "$$am__remaking_logs"; then \
927 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
928 "recursion detected" >&2; \
929 elif test -n "$$redo_logs"; then \
930 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
932 if $(am__make_dryrun); then :; else \
934 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
935 for i in $$redo_bases; do \
936 test -f $$i.trs && test -r $$i.trs \
937 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
938 test -f $$i.log && test -r $$i.log \
939 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
941 test $$st -eq 0 || exit 1; \
943 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
945 results=`for b in $$bases; do echo $$b.trs; done`; \
946 test -n "$$results" || results=/dev/null; \
947 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
948 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
949 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
950 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
951 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
952 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
953 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
954 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
959 br='==================='; br=$$br$$br$$br$$br; \
962 if test x"$$1" = x"--maybe-color"; then \
963 maybe_colorize=yes; \
964 elif test x"$$1" = x"--no-color"; then \
967 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
970 desc=$$1 count=$$2; \
971 if test $$maybe_colorize = yes && test $$count -gt 0; then \
972 color_start=$$3 color_end=$$std; \
974 color_start= color_end=; \
976 echo "$${color_start}# $$desc $$count$${color_end}"; \
978 create_testsuite_report () \
980 result_count $$1 "TOTAL:" $$all "$$brg"; \
981 result_count $$1 "PASS: " $$pass "$$grn"; \
982 result_count $$1 "SKIP: " $$skip "$$blu"; \
983 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
984 result_count $$1 "FAIL: " $$fail "$$red"; \
985 result_count $$1 "XPASS:" $$xpass "$$red"; \
986 result_count $$1 "ERROR:" $$error "$$mgn"; \
989 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
991 create_testsuite_report --no-color; \
993 echo ".. contents:: :depth: 2"; \
995 for b in $$bases; do echo $$b; done \
996 | $(am__create_global_log); \
997 } >$(TEST_SUITE_LOG).tmp || exit 1; \
998 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1003 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1005 echo "$${col}$$br$${std}"; \
1006 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1007 echo "$${col}$$br$${std}"; \
1008 create_testsuite_report --maybe-color; \
1009 echo "$$col$$br$$std"; \
1010 if $$success; then :; else \
1011 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1012 if test -n "$(PACKAGE_BUGREPORT)"; then \
1013 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1015 echo "$$col$$br$$std"; \
1020 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1021 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1022 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1023 @set +e; $(am__set_TESTS_bases); \
1024 log_list=`for i in $$bases; do echo $$i.log; done`; \
1025 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1026 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1027 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1030 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1031 @set +e; $(am__set_TESTS_bases); \
1032 bases=`for i in $$bases; do echo $$i; done \
1033 | $(am__list_recheck_tests)` || exit 1; \
1034 log_list=`for i in $$bases; do echo $$i.log; done`; \
1035 log_list=`echo $$log_list`; \
1036 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1037 am__force_recheck=am--force-recheck \
1038 TEST_LOGS="$$log_list"; \
1040 arestest.log: arestest$(EXEEXT)
1041 @p='arestest$(EXEEXT)'; \
1043 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1044 --log-file $$b.log --trs-file $$b.trs \
1045 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1046 "$$tst" $(AM_TESTS_FD_REDIRECT)
1047 fuzzcheck.sh.log: fuzzcheck.sh
1048 @p='fuzzcheck.sh'; \
1050 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1051 --log-file $$b.log --trs-file $$b.trs \
1052 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1053 "$$tst" $(AM_TESTS_FD_REDIRECT)
1057 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1058 --log-file $$b.log --trs-file $$b.trs \
1059 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1060 "$$tst" $(AM_TESTS_FD_REDIRECT)
1061 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1062 @am__EXEEXT_TRUE@ @p='$<'; \
1063 @am__EXEEXT_TRUE@ $(am__set_b); \
1064 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1065 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1066 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1067 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1069 distdir: $(DISTFILES)
1070 $(am__remove_distdir)
1071 test -d "$(distdir)" || mkdir "$(distdir)"
1072 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1073 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1074 list='$(DISTFILES)'; \
1075 dist_files=`for file in $$list; do echo $$file; done | \
1076 sed -e "s|^$$srcdirstrip/||;t" \
1077 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1078 case $$dist_files in \
1079 */*) $(MKDIR_P) `echo "$$dist_files" | \
1080 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1083 for file in $$dist_files; do \
1084 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1085 if test -d $$d/$$file; then \
1086 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1087 if test -d "$(distdir)/$$file"; then \
1088 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1090 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1091 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1092 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1094 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1096 test -f "$(distdir)/$$file" \
1097 || cp -p $$d/$$file "$(distdir)/$$file" \
1101 -test -n "$(am__skip_mode_fix)" \
1102 || find "$(distdir)" -type d ! -perm -755 \
1103 -exec chmod u+rwx,go+rx {} \; -o \
1104 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1105 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1106 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1107 || chmod -R a+r "$(distdir)"
1109 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1110 $(am__post_remove_distdir)
1113 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1114 $(am__post_remove_distdir)
1117 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1118 $(am__post_remove_distdir)
1121 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1122 $(am__post_remove_distdir)
1125 @echo WARNING: "Support for distribution archives compressed with" \
1126 "legacy program 'compress' is deprecated." >&2
1127 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1128 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1129 $(am__post_remove_distdir)
1132 @echo WARNING: "Support for shar distribution archives is" \
1134 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1135 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1136 $(am__post_remove_distdir)
1139 -rm -f $(distdir).zip
1140 zip -rq $(distdir).zip $(distdir)
1141 $(am__post_remove_distdir)
1144 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1145 $(am__post_remove_distdir)
1147 # This target untars the dist file and tries a VPATH configuration. Then
1148 # it guarantees that the distribution is self-contained by making another
1151 case '$(DIST_ARCHIVES)' in \
1153 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1155 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1157 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1159 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1161 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1163 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1165 unzip $(distdir).zip ;;\
1167 chmod -R a-w $(distdir)
1168 chmod u+w $(distdir)
1169 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1170 chmod a-w $(distdir)
1171 test -d $(distdir)/_build || exit 0; \
1172 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1173 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1175 && $(am__cd) $(distdir)/_build/sub \
1176 && ../../configure \
1177 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1178 $(DISTCHECK_CONFIGURE_FLAGS) \
1179 --srcdir=../.. --prefix="$$dc_install_base" \
1180 && $(MAKE) $(AM_MAKEFLAGS) \
1181 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1182 && $(MAKE) $(AM_MAKEFLAGS) check \
1183 && $(MAKE) $(AM_MAKEFLAGS) install \
1184 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1185 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1186 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1187 distuninstallcheck \
1188 && chmod -R a-w "$$dc_install_base" \
1190 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1191 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1192 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1193 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1194 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1195 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1196 && rm -rf "$$dc_destdir" \
1197 && $(MAKE) $(AM_MAKEFLAGS) dist \
1198 && rm -rf $(DIST_ARCHIVES) \
1199 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1202 $(am__post_remove_distdir)
1203 @(echo "$(distdir) archives ready for distribution: "; \
1204 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1205 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1207 @test -n '$(distuninstallcheck_dir)' || { \
1208 echo 'ERROR: trying to run $@ with an empty' \
1209 '$$(distuninstallcheck_dir)' >&2; \
1212 $(am__cd) '$(distuninstallcheck_dir)' || { \
1213 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1216 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1217 || { echo "ERROR: files left after uninstall:" ; \
1218 if test -n "$(DESTDIR)"; then \
1219 echo " (check DESTDIR support)"; \
1221 $(distuninstallcheck_listfiles) ; \
1223 distcleancheck: distclean
1224 @if test '$(srcdir)' = . ; then \
1225 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1228 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1229 || { echo "ERROR: files left in build directory after distclean:" ; \
1230 $(distcleancheck_listfiles) ; \
1233 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1235 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h
1238 install-exec: install-exec-am
1239 install-data: install-data-am
1240 uninstall: uninstall-am
1243 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1245 installcheck: installcheck-am
1247 if test -z '$(STRIP)'; then \
1248 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1249 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1252 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1253 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1254 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1256 mostlyclean-generic:
1257 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1258 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1259 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1264 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1265 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1267 maintainer-clean-generic:
1268 @echo "This command is intended for maintainers to use"
1269 @echo "it deletes files that may require special tools to rebuild."
1272 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
1273 clean-noinstPROGRAMS mostlyclean-am
1275 distclean: distclean-am
1276 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1279 distclean-am: clean-am distclean-compile distclean-generic \
1280 distclean-hdr distclean-libtool distclean-tags
1296 install-dvi: install-dvi-am
1302 install-html: install-html-am
1306 install-info: install-info-am
1312 install-pdf: install-pdf-am
1316 install-ps: install-ps-am
1322 maintainer-clean: maintainer-clean-am
1323 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1324 -rm -rf $(top_srcdir)/autom4te.cache
1327 maintainer-clean-am: distclean-am maintainer-clean-generic
1329 mostlyclean: mostlyclean-am
1331 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1344 .MAKE: all check-am install-am install-strip
1346 .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
1347 check-am clean clean-cscope clean-generic clean-libtool \
1348 clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope \
1349 cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1350 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
1351 distcheck distclean distclean-compile distclean-generic \
1352 distclean-hdr distclean-libtool distclean-tags distcleancheck \
1353 distdir distuninstallcheck dvi dvi-am html html-am info \
1354 info-am install install-am install-data install-data-am \
1355 install-dvi install-dvi-am install-exec install-exec-am \
1356 install-html install-html-am install-info install-info-am \
1357 install-man install-pdf install-pdf-am install-ps \
1358 install-ps-am install-strip installcheck installcheck-am \
1359 installdirs maintainer-clean maintainer-clean-generic \
1360 mostlyclean mostlyclean-compile mostlyclean-generic \
1361 mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
1362 uninstall uninstall-am
1367 # Not interested in coverage of test code, but linking the test binary needs the coverage option
1368 @CODE_COVERAGE_RULES@
1372 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1373 # Otherwise a system limit (for SysV at least) may be exceeded.