Makefile.am 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. AUTOMAKE_OPTIONS = dejagnu
  2. export DEJAGNU
  3. DEJATOOL = libzebra
  4. SUBDIRS = \
  5. bgpd.tests \
  6. libzebra.tests
  7. EXTRA_DIST = \
  8. config/unix.exp \
  9. lib/bgpd.exp \
  10. lib/libzebra.exp \
  11. global-conf.exp
  12. INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
  13. DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
  14. AM_CFLAGS = $(PICFLAGS)
  15. AM_LDFLAGS = $(PILDFLAGS)
  16. if BGPD
  17. TESTS_BGPD = aspathtest testbgpcap ecommtest testbgpmpattr testbgpmpath
  18. DEJATOOL += bgpd
  19. else
  20. TESTS_BGPD =
  21. endif
  22. noinst_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \
  23. testprivs teststream testchecksum tabletest \
  24. $(TESTS_BGPD)
  25. testsig_SOURCES = test-sig.c
  26. testbuffer_SOURCES = test-buffer.c
  27. testmemory_SOURCES = test-memory.c
  28. testprivs_SOURCES = test-privs.c
  29. teststream_SOURCES = test-stream.c
  30. heavy_SOURCES = heavy.c main.c
  31. heavywq_SOURCES = heavy-wq.c main.c
  32. heavythread_SOURCES = heavy-thread.c main.c
  33. aspathtest_SOURCES = aspath_test.c
  34. testbgpcap_SOURCES = bgp_capability_test.c
  35. ecommtest_SOURCES = ecommunity_test.c
  36. testbgpmpattr_SOURCES = bgp_mp_attr_test.c
  37. testchecksum_SOURCES = test-checksum.c
  38. testbgpmpath_SOURCES = bgp_mpath_test.c
  39. tabletest_SOURCES = table_test.c
  40. testsig_LDADD = ../lib/libzebra.la @LIBCAP@
  41. testbuffer_LDADD = ../lib/libzebra.la @LIBCAP@
  42. testmemory_LDADD = ../lib/libzebra.la @LIBCAP@
  43. testprivs_LDADD = ../lib/libzebra.la @LIBCAP@
  44. teststream_LDADD = ../lib/libzebra.la @LIBCAP@
  45. heavy_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
  46. heavywq_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
  47. heavythread_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
  48. aspathtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
  49. testbgpcap_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
  50. ecommtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
  51. testbgpmpattr_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
  52. testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@
  53. testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
  54. tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm