Debian Codegraph @

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