Makefile.am 685 Bytes
Newer Older
1 2
if BUILD_TESTS

Simon Morlat's avatar
Simon Morlat committed
3
noinst_PROGRAMS=belle_sip_tester  basic_test belle_sip_object_describe
4

Simon Morlat's avatar
Simon Morlat committed
5
belle_sip_tester_SOURCES=	belle_sip_tester.c \
jehan's avatar
jehan committed
6 7 8
				belle_sdp_tester.c \
				belle_sip_uri_tester.c \
				belle_sip_headers_tester.c \
jehan's avatar
jehan committed
9
				belle_sip_message_tester.c \
Simon Morlat's avatar
Simon Morlat committed
10 11 12
				auth_helper_tester.c \
				cast_test.c

13
belle_sip_tester_CFLAGS=$(CUNIT_CFLAGS) $(STRICT_OPTIONS)
jehan's avatar
jehan committed
14 15

belle_sip_tester_LDFLAGS=$(CUNIT_LIBS)
Simon Morlat's avatar
Simon Morlat committed
16

17

18 19
basic_test_SOURCES=basic_test.c

Simon Morlat's avatar
Simon Morlat committed
20 21
belle_sip_object_describe_SOURCES=describe.c

22
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/src
23

jehan's avatar
jehan committed
24
LDADD=$(top_builddir)/src/libbellesip.la 
25

jehan's avatar
jehan committed
26
AM_LDFLAGS=-export-dynamic 
Simon Morlat's avatar
Simon Morlat committed
27

28 29
AM_CFLAGS=$(STRICT_OPTIONS)

jehan's avatar
jehan committed
30 31 32 33

test: belle_sip_tester
	./belle_sip_tester
	
34
endif