Makefile.am 687 Bytes
Newer Older
1 2
if BUILD_TESTS

Simon Morlat's avatar
Simon Morlat committed
3
noinst_PROGRAMS=belle_sip_tester cast_test 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 10
				belle_sip_message_tester.c \
				auth_helper_tester.c
jehan's avatar
jehan committed
11 12 13
belle_sip_tester_CFLAGS=$(CUNIT_CFLAGS)

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

15
cast_test_SOURCES=cast_test.c
16

17 18
basic_test_SOURCES=basic_test.c

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

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

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

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

27 28
AM_CFLAGS=$(STRICT_OPTIONS)

jehan's avatar
jehan committed
29 30 31 32

test: belle_sip_tester
	./belle_sip_tester
	
33
endif