Makefile.am 505 Bytes
Newer Older
1
if ENABLE_TESTS
johan's avatar
johan committed
2 3 4
noinst_PROGRAMS=bzrtpTest

bzrtpTest_SOURCES=bzrtpTest.c \
5 6
				  testUtils.c testUtils.h \
				  bzrtpCryptoTest.c bzrtpCryptoTest.h \
Simon Morlat's avatar
Simon Morlat committed
7 8 9
				  bzrtpParserTest.c bzrtpParserTest.h\
				bzrtpConfigsTest.c \
				bzrtpZidCacheTest.c
Simon Morlat's avatar
Simon Morlat committed
10

11
bzrtpTest_CFLAGS=$(BCTOOLBOXTESTER_CFLAGS) $(LIBXML2_CFLAGS)
Simon Morlat's avatar
Simon Morlat committed
12
bzrtpTest_LDADD=$(top_builddir)/src/libbzrtp.la $(BCTOOLBOX_LIBS) $(BCTOOLBOXTESTER_LIBS) $(SQLITE3_LIBS) $(LIBXML2_LIBS) -lm
Simon Morlat's avatar
Simon Morlat committed
13

johan's avatar
johan committed
14 15 16 17
AM_CPPFLAGS=-I$(top_srcdir)/include

test: bzrtpTest 
	./bzrtpTest
18
endif