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
19 if test -z '$(MAKELEVEL)'; then \
21 elif test -n '$(MAKE_HOST)'; then \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 am__make_running_with_option = \
30 case $${target_option-} in \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
67 *$$target_option*) has_opt=yes; break;; \
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
89 build_triplet = @build@
91 target_triplet = @target@
92 check_PROGRAMS = testsig$(EXEEXT) testsegv$(EXEEXT) \
93 testbuffer$(EXEEXT) testmemory$(EXEEXT) heavy$(EXEEXT) \
94 heavywq$(EXEEXT) heavythread$(EXEEXT) testprivs$(EXEEXT) \
95 teststream$(EXEEXT) testchecksum$(EXEEXT) tabletest$(EXEEXT) \
96 testnexthopiter$(EXEEXT) testcommands$(EXEEXT) \
97 test-timer-correctness$(EXEEXT) \
98 test-timer-performance$(EXEEXT) testcli$(EXEEXT) \
100 TESTS = $(am__EXEEXT_1) teststream$(EXEEXT) tabletest$(EXEEXT) \
101 testmemory$(EXEEXT) testnexthopiter$(EXEEXT) \
102 test-timer-correctness$(EXEEXT) tabletest$(EXEEXT)
104 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
105 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_sys_weak_alias.m4 \
106 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
107 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
108 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
109 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
111 DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
113 mkinstalldirs = $(install_sh) -d
114 CONFIG_HEADER = $(top_builddir)/config.h
116 CONFIG_CLEAN_VPATH_FILES =
117 @BGPD_TRUE@am__EXEEXT_1 = aspathtest$(EXEEXT) testbgpcap$(EXEEXT) \
118 @BGPD_TRUE@ ecommtest$(EXEEXT) testbgpmpattr$(EXEEXT) \
119 @BGPD_TRUE@ testbgpmpath$(EXEEXT)
120 am_aspathtest_OBJECTS = aspath_test.$(OBJEXT)
121 aspathtest_OBJECTS = $(am_aspathtest_OBJECTS)
122 aspathtest_DEPENDENCIES = ../bgpd/libbgp.a ../lib/libzebra.la
123 AM_V_lt = $(am__v_lt_@AM_V@)
124 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
125 am__v_lt_0 = --silent
127 am_ecommtest_OBJECTS = ecommunity_test.$(OBJEXT)
128 ecommtest_OBJECTS = $(am_ecommtest_OBJECTS)
129 ecommtest_DEPENDENCIES = ../bgpd/libbgp.a ../lib/libzebra.la
130 am_heavy_OBJECTS = heavy.$(OBJEXT) main.$(OBJEXT)
131 heavy_OBJECTS = $(am_heavy_OBJECTS)
132 heavy_DEPENDENCIES = ../lib/libzebra.la
133 am_heavythread_OBJECTS = heavy-thread.$(OBJEXT) main.$(OBJEXT)
134 heavythread_OBJECTS = $(am_heavythread_OBJECTS)
135 heavythread_DEPENDENCIES = ../lib/libzebra.la
136 am_heavywq_OBJECTS = heavy-wq.$(OBJEXT) main.$(OBJEXT)
137 heavywq_OBJECTS = $(am_heavywq_OBJECTS)
138 heavywq_DEPENDENCIES = ../lib/libzebra.la
139 am_tabletest_OBJECTS = table_test.$(OBJEXT)
140 tabletest_OBJECTS = $(am_tabletest_OBJECTS)
141 tabletest_DEPENDENCIES = ../lib/libzebra.la
142 am_test_timer_correctness_OBJECTS = test-timer-correctness.$(OBJEXT) \
144 test_timer_correctness_OBJECTS = $(am_test_timer_correctness_OBJECTS)
145 test_timer_correctness_DEPENDENCIES = ../lib/libzebra.la
146 am_test_timer_performance_OBJECTS = test-timer-performance.$(OBJEXT) \
148 test_timer_performance_OBJECTS = $(am_test_timer_performance_OBJECTS)
149 test_timer_performance_DEPENDENCIES = ../lib/libzebra.la
150 am_testbgpcap_OBJECTS = bgp_capability_test.$(OBJEXT)
151 testbgpcap_OBJECTS = $(am_testbgpcap_OBJECTS)
152 testbgpcap_DEPENDENCIES = ../bgpd/libbgp.a ../lib/libzebra.la
153 am_testbgpmpath_OBJECTS = bgp_mpath_test.$(OBJEXT)
154 testbgpmpath_OBJECTS = $(am_testbgpmpath_OBJECTS)
155 testbgpmpath_DEPENDENCIES = ../bgpd/libbgp.a ../lib/libzebra.la
156 am_testbgpmpattr_OBJECTS = bgp_mp_attr_test.$(OBJEXT)
157 testbgpmpattr_OBJECTS = $(am_testbgpmpattr_OBJECTS)
158 testbgpmpattr_DEPENDENCIES = ../bgpd/libbgp.a ../lib/libzebra.la
159 am_testbuffer_OBJECTS = test-buffer.$(OBJEXT)
160 testbuffer_OBJECTS = $(am_testbuffer_OBJECTS)
161 testbuffer_DEPENDENCIES = ../lib/libzebra.la
162 am_testchecksum_OBJECTS = test-checksum.$(OBJEXT)
163 testchecksum_OBJECTS = $(am_testchecksum_OBJECTS)
164 testchecksum_DEPENDENCIES = ../lib/libzebra.la
165 am_testcli_OBJECTS = test-cli.$(OBJEXT) common-cli.$(OBJEXT)
166 testcli_OBJECTS = $(am_testcli_OBJECTS)
167 testcli_DEPENDENCIES = ../lib/libzebra.la
168 am_testcommands_OBJECTS = test-commands-defun.$(OBJEXT) \
169 test-commands.$(OBJEXT) prng.$(OBJEXT)
170 testcommands_OBJECTS = $(am_testcommands_OBJECTS)
171 testcommands_DEPENDENCIES = ../lib/libzebra.la
172 am_testmemory_OBJECTS = test-memory.$(OBJEXT)
173 testmemory_OBJECTS = $(am_testmemory_OBJECTS)
174 testmemory_DEPENDENCIES = ../lib/libzebra.la
175 am_testnexthopiter_OBJECTS = test-nexthop-iter.$(OBJEXT) \
177 testnexthopiter_OBJECTS = $(am_testnexthopiter_OBJECTS)
178 testnexthopiter_DEPENDENCIES = ../lib/libzebra.la
179 am_testprivs_OBJECTS = test-privs.$(OBJEXT)
180 testprivs_OBJECTS = $(am_testprivs_OBJECTS)
181 testprivs_DEPENDENCIES = ../lib/libzebra.la
182 am_testsegv_OBJECTS = test-segv.$(OBJEXT)
183 testsegv_OBJECTS = $(am_testsegv_OBJECTS)
184 testsegv_DEPENDENCIES = ../lib/libzebra.la
185 am_testsig_OBJECTS = test-sig.$(OBJEXT)
186 testsig_OBJECTS = $(am_testsig_OBJECTS)
187 testsig_DEPENDENCIES = ../lib/libzebra.la
188 am_teststream_OBJECTS = test-stream.$(OBJEXT)
189 teststream_OBJECTS = $(am_teststream_OBJECTS)
190 teststream_DEPENDENCIES = ../lib/libzebra.la
191 AM_V_P = $(am__v_P_@AM_V@)
192 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
195 AM_V_GEN = $(am__v_GEN_@AM_V@)
196 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
197 am__v_GEN_0 = @echo " GEN " $@;
199 AM_V_at = $(am__v_at_@AM_V@)
200 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
203 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
204 depcomp = $(SHELL) $(top_srcdir)/depcomp
205 am__depfiles_maybe = depfiles
207 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
208 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
209 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
210 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
211 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
212 $(AM_CFLAGS) $(CFLAGS)
213 AM_V_CC = $(am__v_CC_@AM_V@)
214 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
215 am__v_CC_0 = @echo " CC " $@;
218 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
219 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
220 $(AM_LDFLAGS) $(LDFLAGS) -o $@
221 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
222 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
223 am__v_CCLD_0 = @echo " CCLD " $@;
225 SOURCES = $(aspathtest_SOURCES) $(ecommtest_SOURCES) $(heavy_SOURCES) \
226 $(heavythread_SOURCES) $(heavywq_SOURCES) $(tabletest_SOURCES) \
227 $(test_timer_correctness_SOURCES) \
228 $(test_timer_performance_SOURCES) $(testbgpcap_SOURCES) \
229 $(testbgpmpath_SOURCES) $(testbgpmpattr_SOURCES) \
230 $(testbuffer_SOURCES) $(testchecksum_SOURCES) \
231 $(testcli_SOURCES) $(testcommands_SOURCES) \
232 $(testmemory_SOURCES) $(testnexthopiter_SOURCES) \
233 $(testprivs_SOURCES) $(testsegv_SOURCES) $(testsig_SOURCES) \
234 $(teststream_SOURCES)
235 DIST_SOURCES = $(aspathtest_SOURCES) $(ecommtest_SOURCES) \
236 $(heavy_SOURCES) $(heavythread_SOURCES) $(heavywq_SOURCES) \
237 $(tabletest_SOURCES) $(test_timer_correctness_SOURCES) \
238 $(test_timer_performance_SOURCES) $(testbgpcap_SOURCES) \
239 $(testbgpmpath_SOURCES) $(testbgpmpattr_SOURCES) \
240 $(testbuffer_SOURCES) $(testchecksum_SOURCES) \
241 $(testcli_SOURCES) $(testcommands_SOURCES) \
242 $(testmemory_SOURCES) $(testnexthopiter_SOURCES) \
243 $(testprivs_SOURCES) $(testsegv_SOURCES) $(testsig_SOURCES) \
244 $(teststream_SOURCES)
245 am__can_run_installinfo = \
246 case $$AM_UPDATE_INFO_DIR in \
248 *) (install-info --version) >/dev/null 2>&1;; \
250 HEADERS = $(noinst_HEADERS)
251 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
252 # Read a list of newline-separated strings from the standard input,
253 # and print each of them once, without duplicates. Input order is
255 am__uniquify_input = $(AWK) '\
256 BEGIN { nonempty = 0; } \
257 { items[$$0] = 1; nonempty = 1; } \
258 END { if (nonempty) { for (i in items) print i; }; } \
260 # Make sure the list of sources is unique. This is necessary because,
261 # e.g., the same source file might be shared among _SOURCES variables
262 # for different programs/libraries.
263 am__define_uniq_tagged_files = \
264 list='$(am__tagged_files)'; \
265 unique=`for i in $$list; do \
266 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
267 done | $(am__uniquify_input)`
270 am__tty_colors_dummy = \
271 mgn= red= grn= lgn= blu= brg= std=; \
274 $(am__tty_colors_dummy); \
275 if test "X$(AM_COLOR_TESTS)" = Xno; then \
276 am__color_tests=no; \
277 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
278 am__color_tests=yes; \
279 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
280 am__color_tests=yes; \
282 if test $$am__color_tests = yes; then \
292 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
293 am__vpath_adj = case $$p in \
294 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
297 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
299 am__nobase_strip_setup = \
300 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
302 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
303 am__nobase_list = $(am__nobase_strip_setup); \
304 for p in $$list; do echo "$$p $$p"; done | \
305 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
306 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
307 if (++n[$$2] == $(am__install_max)) \
308 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
309 END { for (dir in files) print dir, files[dir] }'
311 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
312 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
313 am__uninstall_files_from_dir = { \
315 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
316 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
317 $(am__cd) "$$dir" && rm -f $$files; }; \
319 am__recheck_rx = ^[ ]*:recheck:[ ]*
320 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
321 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
322 # A command that, given a newline-separated list of test names on the
323 # standard input, print the name of the tests that are to be re-run
324 # upon "make recheck".
325 am__list_recheck_tests = $(AWK) '{ \
327 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
331 if ((getline line2 < ($$0 ".log")) < 0) \
335 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
340 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
347 close ($$0 ".trs"); \
348 close ($$0 ".log"); \
350 # A command that, given a newline-separated list of test names on the
351 # standard input, create the global log from their .trs and .log files.
352 am__create_global_log = $(AWK) ' \
353 function fatal(msg) \
355 print "fatal: making $@: " msg | "cat >&2"; \
358 function rst_section(header) \
361 len = length(header); \
362 for (i = 1; i <= len; i = i + 1) \
367 copy_in_global_log = 1; \
368 global_test_result = "RUN"; \
369 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
372 fatal("failed to read from " $$0 ".trs"); \
373 if (line ~ /$(am__global_test_result_rx)/) \
375 sub("$(am__global_test_result_rx)", "", line); \
376 sub("[ ]*$$", "", line); \
377 global_test_result = line; \
379 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
380 copy_in_global_log = 0; \
382 if (copy_in_global_log) \
384 rst_section(global_test_result ": " $$0); \
385 while ((rc = (getline line < ($$0 ".log"))) != 0) \
388 fatal("failed to read from " $$0 ".log"); \
393 close ($$0 ".trs"); \
394 close ($$0 ".log"); \
396 # Restructured Text title.
397 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
398 # Solaris 10 'make', and several other traditional 'make' implementations,
399 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
400 # by disabling -e (using the XSI extension "set +e") if it's set.
401 am__sh_e_setup = case $$- in *e*) set +e;; esac
402 # Default flags passed to test drivers.
403 am__common_driver_flags = \
404 --color-tests "$$am__color_tests" \
405 --enable-hard-errors "$$am__enable_hard_errors" \
406 --expect-failure "$$am__expect_failure"
407 # To be inserted before the command running the test. Creates the
408 # directory for the log if needed. Stores in $dir the directory
409 # containing $f, in $tst the test, in $log the log. Executes the
410 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
411 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
412 # will run the test scripts (or their associated LOG_COMPILER, if
416 $(am__vpath_adj_setup) $(am__vpath_adj) \
418 srcdir=$(srcdir); export srcdir; \
420 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
423 test "x$$am__odir" = x"." || test -d "$$am__odir" \
424 || $(MKDIR_P) "$$am__odir" || exit $$?; \
425 if test -f "./$$f"; then dir=./; \
426 elif test -f "$$f"; then dir=; \
427 else dir="$(srcdir)/"; fi; \
428 tst=$$dir$$f; log='$@'; \
429 if test -n '$(DISABLE_HARD_ERRORS)'; then \
430 am__enable_hard_errors=no; \
432 am__enable_hard_errors=yes; \
434 case " $(XFAIL_TESTS) " in \
435 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
436 am__expect_failure=yes;; \
438 am__expect_failure=no;; \
440 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
441 # A shell command to get the names of the tests scripts with any registered
442 # extension removed (i.e., equivalently, the names of the test logs, with
443 # the '.log' extension removed). The result is saved in the shell variable
444 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
445 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
446 # since that might cause problem with VPATH rewrites for suffix-less tests.
447 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
448 am__set_TESTS_bases = \
449 bases='$(TEST_LOGS)'; \
450 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
452 RECHECK_LOGS = $(TEST_LOGS)
453 AM_RECURSIVE_TARGETS = check recheck
454 TEST_SUITE_LOG = test-suite.log
455 TEST_EXTENSIONS = @EXEEXT@ .test
456 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
457 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
463 *) b=`echo '$@' | sed 's/\.log$$//'`; \
468 am__test_logs1 = $(TESTS:=.log)
469 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
470 TEST_LOGS = $(am__test_logs2:.test.log=.log)
471 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
472 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
474 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
475 $(top_srcdir)/test-driver
476 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
479 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
481 AUTOCONF = @AUTOCONF@
482 AUTOHEADER = @AUTOHEADER@
483 AUTOMAKE = @AUTOMAKE@
486 CARES_CFLAGS = @CARES_CFLAGS@
487 CARES_LIBS = @CARES_LIBS@
489 CCDEPMODE = @CCDEPMODE@
491 CONFDATE = @CONFDATE@
492 CONFIG_ARGS = @CONFIG_ARGS@
494 CPPFLAGS = @CPPFLAGS@
496 CYGPATH_W = @CYGPATH_W@
497 DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
501 DSYMUTIL = @DSYMUTIL@
511 HAVE_LIBPCREPOSIX = @HAVE_LIBPCREPOSIX@
512 IF_METHOD = @IF_METHOD@
514 INSTALL_DATA = @INSTALL_DATA@
515 INSTALL_PROGRAM = @INSTALL_PROGRAM@
516 INSTALL_SCRIPT = @INSTALL_SCRIPT@
517 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
518 IOCTL_METHOD = @IOCTL_METHOD@
519 IPFORWARD = @IPFORWARD@
521 ISIS_TOPOLOGY_DIR = @ISIS_TOPOLOGY_DIR@
522 ISIS_TOPOLOGY_INCLUDES = @ISIS_TOPOLOGY_INCLUDES@
523 ISIS_TOPOLOGY_LIB = @ISIS_TOPOLOGY_LIB@
524 KERNEL_METHOD = @KERNEL_METHOD@
532 LIBREADLINE = @LIBREADLINE@
535 LIB_REGEX = @LIB_REGEX@
538 LTLIBOBJS = @LTLIBOBJS@
539 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
540 MAKEINFO = @MAKEINFO@
541 MANIFEST_TOOL = @MANIFEST_TOOL@
543 NETSNMP_CONFIG = @NETSNMP_CONFIG@
551 OSPFCLIENT = @OSPFCLIENT@
556 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
557 PACKAGE_NAME = @PACKAGE_NAME@
558 PACKAGE_STRING = @PACKAGE_STRING@
559 PACKAGE_TARNAME = @PACKAGE_TARNAME@
560 PACKAGE_URL = @PACKAGE_URL@
561 PACKAGE_VERSION = @PACKAGE_VERSION@
563 PATH_SEPARATOR = @PATH_SEPARATOR@
564 PDFLATEX = @PDFLATEX@
567 PKG_CONFIG = @PKG_CONFIG@
568 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
569 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
570 PROTOBUF_C_CFLAGS = @PROTOBUF_C_CFLAGS@
571 PROTOBUF_C_LIBS = @PROTOBUF_C_LIBS@
572 PROTOC_C = @PROTOC_C@
576 RTREAD_METHOD = @RTREAD_METHOD@
577 RT_METHOD = @RT_METHOD@
579 SET_MAKE = @SET_MAKE@
585 WATCHQUAGGA = @WATCHQUAGGA@
586 WEAK_ALIAS = @WEAK_ALIAS@
587 WEAK_ALIAS_CROSSFILE = @WEAK_ALIAS_CROSSFILE@
590 abs_builddir = @abs_builddir@
591 abs_srcdir = @abs_srcdir@
592 abs_top_builddir = @abs_top_builddir@
593 abs_top_srcdir = @abs_top_srcdir@
594 ac_ct_AR = @ac_ct_AR@
595 ac_ct_CC = @ac_ct_CC@
596 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
597 am__include = @am__include@
598 am__leading_dot = @am__leading_dot@
599 am__quote = @am__quote@
601 am__untar = @am__untar@
604 build_alias = @build_alias@
605 build_cpu = @build_cpu@
606 build_os = @build_os@
607 build_vendor = @build_vendor@
608 builddir = @builddir@
610 datarootdir = @datarootdir@
613 enable_group = @enable_group@
614 enable_user = @enable_user@
615 enable_vty_group = @enable_vty_group@
616 exampledir = @exampledir@
617 exec_prefix = @exec_prefix@
619 host_alias = @host_alias@
620 host_cpu = @host_cpu@
622 host_vendor = @host_vendor@
624 includedir = @includedir@
626 install_sh = @install_sh@
628 libexecdir = @libexecdir@
629 localedir = @localedir@
630 localstatedir = @localstatedir@
633 oldincludedir = @oldincludedir@
635 pkgsrcdir = @pkgsrcdir@
636 pkgsrcrcdir = @pkgsrcrcdir@
638 program_transform_name = @program_transform_name@
640 quagga_statedir = @quagga_statedir@
642 sharedstatedir = @sharedstatedir@
644 sysconfdir = @sysconfdir@
646 target_alias = @target_alias@
647 target_cpu = @target_cpu@
648 target_os = @target_os@
649 target_vendor = @target_vendor@
650 top_build_prefix = @top_build_prefix@
651 top_builddir = @top_builddir@
652 top_srcdir = @top_srcdir@
655 testcommands.refout \
659 AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
660 @BGPD_FALSE@TESTS_BGPD =
661 @BGPD_TRUE@TESTS_BGPD = aspathtest testbgpcap ecommtest testbgpmpattr testbgpmpath
662 BUILT_SOURCES = test-commands-defun.c
663 CLEANFILES = test-commands-defun.c bgpd libzebra
664 noinst_HEADERS = prng.h tests.h common-cli.h
665 testcli_SOURCES = test-cli.c common-cli.c
666 testsig_SOURCES = test-sig.c
667 testsegv_SOURCES = test-segv.c
668 testbuffer_SOURCES = test-buffer.c
669 testmemory_SOURCES = test-memory.c
670 testprivs_SOURCES = test-privs.c
671 teststream_SOURCES = test-stream.c
672 heavy_SOURCES = heavy.c main.c
673 heavywq_SOURCES = heavy-wq.c main.c
674 heavythread_SOURCES = heavy-thread.c main.c
675 aspathtest_SOURCES = aspath_test.c
676 testbgpcap_SOURCES = bgp_capability_test.c
677 ecommtest_SOURCES = ecommunity_test.c
678 testbgpmpattr_SOURCES = bgp_mp_attr_test.c
679 testchecksum_SOURCES = test-checksum.c
680 testbgpmpath_SOURCES = bgp_mpath_test.c
681 tabletest_SOURCES = table_test.c
682 testnexthopiter_SOURCES = test-nexthop-iter.c prng.c
683 testcommands_SOURCES = test-commands-defun.c test-commands.c prng.c
684 test_timer_correctness_SOURCES = test-timer-correctness.c prng.c
685 test_timer_performance_SOURCES = test-timer-performance.c prng.c
686 testcli_LDADD = ../lib/libzebra.la @LIBCAP@
687 testsig_LDADD = ../lib/libzebra.la @LIBCAP@
688 testsegv_LDADD = ../lib/libzebra.la @LIBCAP@
689 testbuffer_LDADD = ../lib/libzebra.la @LIBCAP@
690 testmemory_LDADD = ../lib/libzebra.la @LIBCAP@
691 testprivs_LDADD = ../lib/libzebra.la @LIBCAP@
692 teststream_LDADD = ../lib/libzebra.la @LIBCAP@
693 heavy_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
694 heavywq_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
695 heavythread_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
696 aspathtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
697 testbgpcap_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
698 ecommtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
699 testbgpmpattr_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
700 testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@
701 testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
702 tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
703 testnexthopiter_LDADD = ../lib/libzebra.la @LIBCAP@
704 testcommands_LDADD = ../lib/libzebra.la @LIBCAP@
705 test_timer_correctness_LDADD = ../lib/libzebra.la @LIBCAP@
706 test_timer_performance_LDADD = ../lib/libzebra.la @LIBCAP@
707 all: $(BUILT_SOURCES)
708 $(MAKE) $(AM_MAKEFLAGS) all-am
711 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
712 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
714 case '$(am__configure_deps)' in \
716 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
717 && { if test -f $@; then exit 0; else break; fi; }; \
721 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
722 $(am__cd) $(top_srcdir) && \
723 $(AUTOMAKE) --gnu tests/Makefile
724 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
727 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
729 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
730 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
733 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
734 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
736 $(top_srcdir)/configure: $(am__configure_deps)
737 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
738 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
739 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
740 $(am__aclocal_m4_deps):
743 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
744 echo " rm -f" $$list; \
745 rm -f $$list || exit $$?; \
746 test -n "$(EXEEXT)" || exit 0; \
747 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
748 echo " rm -f" $$list; \
751 aspathtest$(EXEEXT): $(aspathtest_OBJECTS) $(aspathtest_DEPENDENCIES) $(EXTRA_aspathtest_DEPENDENCIES)
752 @rm -f aspathtest$(EXEEXT)
753 $(AM_V_CCLD)$(LINK) $(aspathtest_OBJECTS) $(aspathtest_LDADD) $(LIBS)
755 ecommtest$(EXEEXT): $(ecommtest_OBJECTS) $(ecommtest_DEPENDENCIES) $(EXTRA_ecommtest_DEPENDENCIES)
756 @rm -f ecommtest$(EXEEXT)
757 $(AM_V_CCLD)$(LINK) $(ecommtest_OBJECTS) $(ecommtest_LDADD) $(LIBS)
759 heavy$(EXEEXT): $(heavy_OBJECTS) $(heavy_DEPENDENCIES) $(EXTRA_heavy_DEPENDENCIES)
760 @rm -f heavy$(EXEEXT)
761 $(AM_V_CCLD)$(LINK) $(heavy_OBJECTS) $(heavy_LDADD) $(LIBS)
763 heavythread$(EXEEXT): $(heavythread_OBJECTS) $(heavythread_DEPENDENCIES) $(EXTRA_heavythread_DEPENDENCIES)
764 @rm -f heavythread$(EXEEXT)
765 $(AM_V_CCLD)$(LINK) $(heavythread_OBJECTS) $(heavythread_LDADD) $(LIBS)
767 heavywq$(EXEEXT): $(heavywq_OBJECTS) $(heavywq_DEPENDENCIES) $(EXTRA_heavywq_DEPENDENCIES)
768 @rm -f heavywq$(EXEEXT)
769 $(AM_V_CCLD)$(LINK) $(heavywq_OBJECTS) $(heavywq_LDADD) $(LIBS)
771 tabletest$(EXEEXT): $(tabletest_OBJECTS) $(tabletest_DEPENDENCIES) $(EXTRA_tabletest_DEPENDENCIES)
772 @rm -f tabletest$(EXEEXT)
773 $(AM_V_CCLD)$(LINK) $(tabletest_OBJECTS) $(tabletest_LDADD) $(LIBS)
775 test-timer-correctness$(EXEEXT): $(test_timer_correctness_OBJECTS) $(test_timer_correctness_DEPENDENCIES) $(EXTRA_test_timer_correctness_DEPENDENCIES)
776 @rm -f test-timer-correctness$(EXEEXT)
777 $(AM_V_CCLD)$(LINK) $(test_timer_correctness_OBJECTS) $(test_timer_correctness_LDADD) $(LIBS)
779 test-timer-performance$(EXEEXT): $(test_timer_performance_OBJECTS) $(test_timer_performance_DEPENDENCIES) $(EXTRA_test_timer_performance_DEPENDENCIES)
780 @rm -f test-timer-performance$(EXEEXT)
781 $(AM_V_CCLD)$(LINK) $(test_timer_performance_OBJECTS) $(test_timer_performance_LDADD) $(LIBS)
783 testbgpcap$(EXEEXT): $(testbgpcap_OBJECTS) $(testbgpcap_DEPENDENCIES) $(EXTRA_testbgpcap_DEPENDENCIES)
784 @rm -f testbgpcap$(EXEEXT)
785 $(AM_V_CCLD)$(LINK) $(testbgpcap_OBJECTS) $(testbgpcap_LDADD) $(LIBS)
787 testbgpmpath$(EXEEXT): $(testbgpmpath_OBJECTS) $(testbgpmpath_DEPENDENCIES) $(EXTRA_testbgpmpath_DEPENDENCIES)
788 @rm -f testbgpmpath$(EXEEXT)
789 $(AM_V_CCLD)$(LINK) $(testbgpmpath_OBJECTS) $(testbgpmpath_LDADD) $(LIBS)
791 testbgpmpattr$(EXEEXT): $(testbgpmpattr_OBJECTS) $(testbgpmpattr_DEPENDENCIES) $(EXTRA_testbgpmpattr_DEPENDENCIES)
792 @rm -f testbgpmpattr$(EXEEXT)
793 $(AM_V_CCLD)$(LINK) $(testbgpmpattr_OBJECTS) $(testbgpmpattr_LDADD) $(LIBS)
795 testbuffer$(EXEEXT): $(testbuffer_OBJECTS) $(testbuffer_DEPENDENCIES) $(EXTRA_testbuffer_DEPENDENCIES)
796 @rm -f testbuffer$(EXEEXT)
797 $(AM_V_CCLD)$(LINK) $(testbuffer_OBJECTS) $(testbuffer_LDADD) $(LIBS)
799 testchecksum$(EXEEXT): $(testchecksum_OBJECTS) $(testchecksum_DEPENDENCIES) $(EXTRA_testchecksum_DEPENDENCIES)
800 @rm -f testchecksum$(EXEEXT)
801 $(AM_V_CCLD)$(LINK) $(testchecksum_OBJECTS) $(testchecksum_LDADD) $(LIBS)
803 testcli$(EXEEXT): $(testcli_OBJECTS) $(testcli_DEPENDENCIES) $(EXTRA_testcli_DEPENDENCIES)
804 @rm -f testcli$(EXEEXT)
805 $(AM_V_CCLD)$(LINK) $(testcli_OBJECTS) $(testcli_LDADD) $(LIBS)
807 testcommands$(EXEEXT): $(testcommands_OBJECTS) $(testcommands_DEPENDENCIES) $(EXTRA_testcommands_DEPENDENCIES)
808 @rm -f testcommands$(EXEEXT)
809 $(AM_V_CCLD)$(LINK) $(testcommands_OBJECTS) $(testcommands_LDADD) $(LIBS)
811 testmemory$(EXEEXT): $(testmemory_OBJECTS) $(testmemory_DEPENDENCIES) $(EXTRA_testmemory_DEPENDENCIES)
812 @rm -f testmemory$(EXEEXT)
813 $(AM_V_CCLD)$(LINK) $(testmemory_OBJECTS) $(testmemory_LDADD) $(LIBS)
815 testnexthopiter$(EXEEXT): $(testnexthopiter_OBJECTS) $(testnexthopiter_DEPENDENCIES) $(EXTRA_testnexthopiter_DEPENDENCIES)
816 @rm -f testnexthopiter$(EXEEXT)
817 $(AM_V_CCLD)$(LINK) $(testnexthopiter_OBJECTS) $(testnexthopiter_LDADD) $(LIBS)
819 testprivs$(EXEEXT): $(testprivs_OBJECTS) $(testprivs_DEPENDENCIES) $(EXTRA_testprivs_DEPENDENCIES)
820 @rm -f testprivs$(EXEEXT)
821 $(AM_V_CCLD)$(LINK) $(testprivs_OBJECTS) $(testprivs_LDADD) $(LIBS)
823 testsegv$(EXEEXT): $(testsegv_OBJECTS) $(testsegv_DEPENDENCIES) $(EXTRA_testsegv_DEPENDENCIES)
824 @rm -f testsegv$(EXEEXT)
825 $(AM_V_CCLD)$(LINK) $(testsegv_OBJECTS) $(testsegv_LDADD) $(LIBS)
827 testsig$(EXEEXT): $(testsig_OBJECTS) $(testsig_DEPENDENCIES) $(EXTRA_testsig_DEPENDENCIES)
828 @rm -f testsig$(EXEEXT)
829 $(AM_V_CCLD)$(LINK) $(testsig_OBJECTS) $(testsig_LDADD) $(LIBS)
831 teststream$(EXEEXT): $(teststream_OBJECTS) $(teststream_DEPENDENCIES) $(EXTRA_teststream_DEPENDENCIES)
832 @rm -f teststream$(EXEEXT)
833 $(AM_V_CCLD)$(LINK) $(teststream_OBJECTS) $(teststream_LDADD) $(LIBS)
841 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aspath_test.Po@am__quote@
842 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bgp_capability_test.Po@am__quote@
843 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bgp_mp_attr_test.Po@am__quote@
844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bgp_mpath_test.Po@am__quote@
845 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-cli.Po@am__quote@
846 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecommunity_test.Po@am__quote@
847 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heavy-thread.Po@am__quote@
848 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heavy-wq.Po@am__quote@
849 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/heavy.Po@am__quote@
850 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
851 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prng.Po@am__quote@
852 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table_test.Po@am__quote@
853 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-buffer.Po@am__quote@
854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-checksum.Po@am__quote@
855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-cli.Po@am__quote@
856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-commands-defun.Po@am__quote@
857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-commands.Po@am__quote@
858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-memory.Po@am__quote@
859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-nexthop-iter.Po@am__quote@
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-privs.Po@am__quote@
861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-segv.Po@am__quote@
862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sig.Po@am__quote@
863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-stream.Po@am__quote@
864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-timer-correctness.Po@am__quote@
865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-timer-performance.Po@am__quote@
868 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
869 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
870 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
871 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
872 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
875 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
876 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
877 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
878 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
879 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
882 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
883 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
884 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
885 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
886 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
894 ID: $(am__tagged_files)
895 $(am__define_uniq_tagged_files); mkid -fID $$unique
899 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
902 $(am__define_uniq_tagged_files); \
904 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
905 test -n "$$unique" || unique=$$empty_fix; \
906 if test $$# -gt 0; then \
907 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
910 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
917 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
918 $(am__define_uniq_tagged_files); \
919 test -z "$(CTAGS_ARGS)$$unique" \
920 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
924 here=`$(am__cd) $(top_builddir) && pwd` \
925 && $(am__cd) $(top_srcdir) \
926 && gtags -i $(GTAGS_ARGS) "$$here"
927 cscopelist: cscopelist-am
929 cscopelist-am: $(am__tagged_files)
930 list='$(am__tagged_files)'; \
931 case "$(srcdir)" in \
932 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
933 *) sdir=$(subdir)/$(srcdir) ;; \
935 for i in $$list; do \
936 if test -f "$$i"; then \
937 echo "$(subdir)/$$i"; \
941 done >> $(top_builddir)/cscope.files
944 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
946 # Recover from deleted '.trs' file; this should ensure that
947 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
948 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
949 # to avoid problems with "make -n".
952 $(MAKE) $(AM_MAKEFLAGS) $<
954 # Leading 'am--fnord' is there to ensure the list of targets does not
955 # expand to empty, as could happen e.g. with make check TESTS=''.
956 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
960 $(TEST_SUITE_LOG): $(TEST_LOGS)
961 @$(am__set_TESTS_bases); \
962 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
963 redo_bases=`for i in $$bases; do \
964 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
966 if test -n "$$redo_bases"; then \
967 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
968 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
969 if $(am__make_dryrun); then :; else \
970 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
973 if test -n "$$am__remaking_logs"; then \
974 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
975 "recursion detected" >&2; \
976 elif test -n "$$redo_logs"; then \
977 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
979 if $(am__make_dryrun); then :; else \
981 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
982 for i in $$redo_bases; do \
983 test -f $$i.trs && test -r $$i.trs \
984 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
985 test -f $$i.log && test -r $$i.log \
986 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
988 test $$st -eq 0 || exit 1; \
990 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
992 results=`for b in $$bases; do echo $$b.trs; done`; \
993 test -n "$$results" || results=/dev/null; \
994 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
995 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
996 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
997 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
998 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
999 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1000 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1001 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1006 br='==================='; br=$$br$$br$$br$$br; \
1009 if test x"$$1" = x"--maybe-color"; then \
1010 maybe_colorize=yes; \
1011 elif test x"$$1" = x"--no-color"; then \
1012 maybe_colorize=no; \
1014 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1017 desc=$$1 count=$$2; \
1018 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1019 color_start=$$3 color_end=$$std; \
1021 color_start= color_end=; \
1023 echo "$${color_start}# $$desc $$count$${color_end}"; \
1025 create_testsuite_report () \
1027 result_count $$1 "TOTAL:" $$all "$$brg"; \
1028 result_count $$1 "PASS: " $$pass "$$grn"; \
1029 result_count $$1 "SKIP: " $$skip "$$blu"; \
1030 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1031 result_count $$1 "FAIL: " $$fail "$$red"; \
1032 result_count $$1 "XPASS:" $$xpass "$$red"; \
1033 result_count $$1 "ERROR:" $$error "$$mgn"; \
1036 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1038 create_testsuite_report --no-color; \
1040 echo ".. contents:: :depth: 2"; \
1042 for b in $$bases; do echo $$b; done \
1043 | $(am__create_global_log); \
1044 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1045 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1046 if $$success; then \
1050 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1052 echo "$${col}$$br$${std}"; \
1053 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1054 echo "$${col}$$br$${std}"; \
1055 create_testsuite_report --maybe-color; \
1056 echo "$$col$$br$$std"; \
1057 if $$success; then :; else \
1058 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1059 if test -n "$(PACKAGE_BUGREPORT)"; then \
1060 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1062 echo "$$col$$br$$std"; \
1067 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1068 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1069 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1070 @set +e; $(am__set_TESTS_bases); \
1071 log_list=`for i in $$bases; do echo $$i.log; done`; \
1072 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1073 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1074 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1076 recheck: all $(check_PROGRAMS)
1077 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1078 @set +e; $(am__set_TESTS_bases); \
1079 bases=`for i in $$bases; do echo $$i; done \
1080 | $(am__list_recheck_tests)` || exit 1; \
1081 log_list=`for i in $$bases; do echo $$i.log; done`; \
1082 log_list=`echo $$log_list`; \
1083 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1084 am__force_recheck=am--force-recheck \
1085 TEST_LOGS="$$log_list"; \
1087 aspathtest.log: aspathtest$(EXEEXT)
1088 @p='aspathtest$(EXEEXT)'; \
1090 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1091 --log-file $$b.log --trs-file $$b.trs \
1092 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1093 "$$tst" $(AM_TESTS_FD_REDIRECT)
1094 testbgpcap.log: testbgpcap$(EXEEXT)
1095 @p='testbgpcap$(EXEEXT)'; \
1097 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1098 --log-file $$b.log --trs-file $$b.trs \
1099 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1100 "$$tst" $(AM_TESTS_FD_REDIRECT)
1101 ecommtest.log: ecommtest$(EXEEXT)
1102 @p='ecommtest$(EXEEXT)'; \
1104 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1105 --log-file $$b.log --trs-file $$b.trs \
1106 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1107 "$$tst" $(AM_TESTS_FD_REDIRECT)
1108 testbgpmpattr.log: testbgpmpattr$(EXEEXT)
1109 @p='testbgpmpattr$(EXEEXT)'; \
1110 b='testbgpmpattr'; \
1111 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1112 --log-file $$b.log --trs-file $$b.trs \
1113 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1114 "$$tst" $(AM_TESTS_FD_REDIRECT)
1115 testbgpmpath.log: testbgpmpath$(EXEEXT)
1116 @p='testbgpmpath$(EXEEXT)'; \
1118 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1119 --log-file $$b.log --trs-file $$b.trs \
1120 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1121 "$$tst" $(AM_TESTS_FD_REDIRECT)
1122 teststream.log: teststream$(EXEEXT)
1123 @p='teststream$(EXEEXT)'; \
1125 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1126 --log-file $$b.log --trs-file $$b.trs \
1127 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1128 "$$tst" $(AM_TESTS_FD_REDIRECT)
1129 tabletest.log: tabletest$(EXEEXT)
1130 @p='tabletest$(EXEEXT)'; \
1132 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1133 --log-file $$b.log --trs-file $$b.trs \
1134 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1135 "$$tst" $(AM_TESTS_FD_REDIRECT)
1136 testmemory.log: testmemory$(EXEEXT)
1137 @p='testmemory$(EXEEXT)'; \
1139 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1140 --log-file $$b.log --trs-file $$b.trs \
1141 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1142 "$$tst" $(AM_TESTS_FD_REDIRECT)
1143 testnexthopiter.log: testnexthopiter$(EXEEXT)
1144 @p='testnexthopiter$(EXEEXT)'; \
1145 b='testnexthopiter'; \
1146 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1147 --log-file $$b.log --trs-file $$b.trs \
1148 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1149 "$$tst" $(AM_TESTS_FD_REDIRECT)
1150 test-timer-correctness.log: test-timer-correctness$(EXEEXT)
1151 @p='test-timer-correctness$(EXEEXT)'; \
1152 b='test-timer-correctness'; \
1153 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1154 --log-file $$b.log --trs-file $$b.trs \
1155 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1156 "$$tst" $(AM_TESTS_FD_REDIRECT)
1160 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1161 --log-file $$b.log --trs-file $$b.trs \
1162 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1163 "$$tst" $(AM_TESTS_FD_REDIRECT)
1164 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1165 @am__EXEEXT_TRUE@ @p='$<'; \
1166 @am__EXEEXT_TRUE@ $(am__set_b); \
1167 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1168 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1169 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1170 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1172 distdir: $(DISTFILES)
1173 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1174 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1175 list='$(DISTFILES)'; \
1176 dist_files=`for file in $$list; do echo $$file; done | \
1177 sed -e "s|^$$srcdirstrip/||;t" \
1178 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1179 case $$dist_files in \
1180 */*) $(MKDIR_P) `echo "$$dist_files" | \
1181 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1184 for file in $$dist_files; do \
1185 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1186 if test -d $$d/$$file; then \
1187 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1188 if test -d "$(distdir)/$$file"; then \
1189 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1191 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1192 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1193 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1195 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1197 test -f "$(distdir)/$$file" \
1198 || cp -p $$d/$$file "$(distdir)/$$file" \
1203 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1204 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1205 check: $(BUILT_SOURCES)
1206 $(MAKE) $(AM_MAKEFLAGS) check-am
1207 all-am: Makefile $(HEADERS)
1209 install: $(BUILT_SOURCES)
1210 $(MAKE) $(AM_MAKEFLAGS) install-am
1211 install-exec: install-exec-am
1212 install-data: install-data-am
1213 uninstall: uninstall-am
1216 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1218 installcheck: installcheck-am
1220 if test -z '$(STRIP)'; then \
1221 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1222 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1225 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1226 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1227 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1229 mostlyclean-generic:
1230 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1231 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1232 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1235 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1238 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1239 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1241 maintainer-clean-generic:
1242 @echo "This command is intended for maintainers to use"
1243 @echo "it deletes files that may require special tools to rebuild."
1244 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1247 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1250 distclean: distclean-am
1253 distclean-am: clean-am distclean-compile distclean-generic \
1270 install-dvi: install-dvi-am
1276 install-html: install-html-am
1280 install-info: install-info-am
1286 install-pdf: install-pdf-am
1290 install-ps: install-ps-am
1296 maintainer-clean: maintainer-clean-am
1299 maintainer-clean-am: distclean-am maintainer-clean-generic
1301 mostlyclean: mostlyclean-am
1303 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1316 .MAKE: all check check-am install install-am install-strip
1318 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1319 clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
1320 ctags ctags-am distclean distclean-compile distclean-generic \
1321 distclean-libtool distclean-tags distdir dvi dvi-am html \
1322 html-am info info-am install install-am install-data \
1323 install-data-am install-dvi install-dvi-am install-exec \
1324 install-exec-am install-html install-html-am install-info \
1325 install-info-am install-man install-pdf install-pdf-am \
1326 install-ps install-ps-am install-strip installcheck \
1327 installcheck-am installdirs maintainer-clean \
1328 maintainer-clean-generic mostlyclean mostlyclean-compile \
1329 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1330 recheck tags tags-am uninstall uninstall-am
1335 ../vtysh/vtysh_cmd.c:
1336 $(MAKE) -C ../vtysh vtysh_cmd.c
1338 test-commands-defun.c: ../vtysh/vtysh_cmd.c
1340 -e 's/"vtysh\.h"/"tests.h"/' \
1341 -e 's/vtysh_init_cmd/test_init_cmd/' \
1342 -e 's/VTYSH_[A-Z][A-Z_0-9]*/0/g' \
1343 < ../vtysh/vtysh_cmd.c \
1344 > test-commands-defun.c
1346 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1347 # Otherwise a system limit (for SysV at least) may be exceeded.