Makefile.am 715 Bytes
Newer Older
Simon Morlat's avatar
Simon Morlat committed
1

2 3
if BUILD_TESTS

jehan's avatar
jehan committed
4
noinst_PROGRAMS=belle_sip_tester  belle_sip_object_describe
jehan's avatar
jehan committed
5
TESTS=belle_sip_tester
6

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

16
belle_sip_tester_CFLAGS=$(CUNIT_CFLAGS) $(STRICT_OPTIONS)
jehan's avatar
jehan committed
17 18

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

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

jehan's avatar
jehan committed
28
AM_CFLAGS=$(STRICT_OPTIONS) 
29

jehan's avatar
jehan committed
30 31

test: belle_sip_tester
Simon Morlat's avatar
Simon Morlat committed
32
	./belle_sip_tester $(TEST_OPTIONS)
jehan's avatar
jehan committed
33
	
34
endif