Makefile.am 1.9 KB

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