2017-03-07 18:45:52 +00:00
|
|
|
AM_CFLAGS += -I$(abs_top_srcdir)/src/include -g -ggdb -O0
|
2017-01-31 19:28:21 +00:00
|
|
|
TEST_LDADD = $(abs_top_builddir)/libblade.la -lconfig -lm -lpthread
|
2016-11-28 21:35:09 +00:00
|
|
|
check_PROGRAMS =
|
|
|
|
|
2017-02-09 22:56:10 +00:00
|
|
|
|
2016-11-28 21:35:09 +00:00
|
|
|
check_PROGRAMS += testbuild
|
|
|
|
testbuild_SOURCES = testbuild.c tap.c
|
|
|
|
testbuild_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testbuild_LDADD = $(TEST_LDADD)
|
|
|
|
|
2017-01-09 13:19:14 +00:00
|
|
|
check_PROGRAMS += bladec
|
|
|
|
bladec_SOURCES = bladec.c tap.c
|
|
|
|
bladec_CFLAGS = $(AM_CFLAGS)
|
|
|
|
bladec_LDADD = $(TEST_LDADD)
|
|
|
|
|
2017-03-16 18:13:26 +00:00
|
|
|
check_PROGRAMS += blades
|
|
|
|
blades_SOURCES = blades.c tap.c
|
|
|
|
blades_CFLAGS = $(AM_CFLAGS)
|
|
|
|
blades_LDADD = $(TEST_LDADD)
|
|
|
|
|
2017-03-22 22:47:33 +00:00
|
|
|
check_PROGRAMS += testdht2
|
|
|
|
testdht2_SOURCES = testdht2.c tap.c
|
|
|
|
testdht2_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testdht2_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testbuckets
|
|
|
|
testbuckets_SOURCES = testbuckets.c tap.c
|
|
|
|
testbuckets_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testbuckets_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += nodeidgen
|
|
|
|
nodeidgen_SOURCES = nodeidgen.c tap.c
|
|
|
|
nodeidgen_CFLAGS = $(AM_CFLAGS)
|
|
|
|
nodeidgen_LDADD = $(TEST_LDADD)
|
|
|
|
|
2016-11-28 21:35:09 +00:00
|
|
|
|
|
|
|
TESTS=$(check_PROGRAMS)
|
|
|
|
|
|
|
|
tests: $(check_PROGRAMS)
|