blob: 7bc880b5f73ff27224c14b6a0dfb654eccafb202 [file] [log] [blame]
Vincent Bernat9e7a5482012-05-22 14:32:22 +02001INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
paul41c14a12004-07-26 19:27:51 +00002DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
3
Paul P Komkoff Jr46bc0e42008-08-13 16:17:04 +01004AM_CFLAGS = $(PICFLAGS)
5AM_LDFLAGS = $(PILDFLAGS)
6
David Lamparterc0951852013-02-23 22:17:21 +01007if BGPD
8TESTS_BGPD = aspathtest testbgpcap ecommtest testbgpmpattr testbgpmpath
9else
10TESTS_BGPD =
11endif
12
paul1f377b02005-09-10 18:00:11 +000013noinst_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
David Lamparterc0951852013-02-23 22:17:21 +010014 testprivs teststream testchecksum tabletest \
15 $(TESTS_BGPD)
Paul Jakma343f7202008-06-07 20:32:38 +000016
paul41c14a12004-07-26 19:27:51 +000017testsig_SOURCES = test-sig.c
paul4dcadf72005-04-13 03:31:35 +000018testbuffer_SOURCES = test-buffer.c
19testmemory_SOURCES = test-memory.c
paul84771ee2005-10-11 03:48:28 +000020testprivs_SOURCES = test-privs.c
paul067fca82006-01-10 14:49:04 +000021teststream_SOURCES = test-stream.c
paul9f3f7a12005-04-25 16:42:24 +000022heavy_SOURCES = heavy.c main.c
23heavywq_SOURCES = heavy-wq.c main.c
24heavythread_SOURCES = heavy-thread.c main.c
paul1f377b02005-09-10 18:00:11 +000025aspathtest_SOURCES = aspath_test.c
Paul Jakma6d582722007-08-06 15:21:45 +000026testbgpcap_SOURCES = bgp_capability_test.c
Paul Jakma0b2aa3a2007-10-14 22:32:21 +000027ecommtest_SOURCES = ecommunity_test.c
Paul Jakma343f7202008-06-07 20:32:38 +000028testbgpmpattr_SOURCES = bgp_mp_attr_test.c
Paul Jakma5d4b8cf2008-11-16 18:34:19 +000029testchecksum_SOURCES = test-checksum.c
Josh Bailey42ea6852011-07-20 20:44:23 -070030testbgpmpath_SOURCES = bgp_mpath_test.c
Avneesh Sachdev28971c82012-08-17 08:19:50 -070031tabletest_SOURCES = table_test.c
paul41c14a12004-07-26 19:27:51 +000032
33testsig_LDADD = ../lib/libzebra.la @LIBCAP@
paul4dcadf72005-04-13 03:31:35 +000034testbuffer_LDADD = ../lib/libzebra.la @LIBCAP@
35testmemory_LDADD = ../lib/libzebra.la @LIBCAP@
paul84771ee2005-10-11 03:48:28 +000036testprivs_LDADD = ../lib/libzebra.la @LIBCAP@
paul067fca82006-01-10 14:49:04 +000037teststream_LDADD = ../lib/libzebra.la @LIBCAP@
paul9f3f7a12005-04-25 16:42:24 +000038heavy_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
39heavywq_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
paul1d2c8932005-04-22 00:54:44 +000040heavythread_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
Avneesh Sachdevd1d3ac92012-10-04 16:21:34 +000041aspathtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
42testbgpcap_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
43ecommtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
44testbgpmpattr_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
Paul Jakma5d4b8cf2008-11-16 18:34:19 +000045testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@
Avneesh Sachdevd1d3ac92012-10-04 16:21:34 +000046testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
Avneesh Sachdev28971c82012-08-17 08:19:50 -070047tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm