Makefile.am 675 Bytes
Newer Older
1 2
if BUILD_TESTS

jehan's avatar
jehan committed
3
noinst_PROGRAMS=belle_sip_tester  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
				auth_helper_tester.c \
jehan's avatar
jehan committed
11 12
				cast_test.c \
				belle_sip_register_tester.c
Simon Morlat's avatar
Simon Morlat committed
13

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

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

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

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

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

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

jehan's avatar
jehan committed
26
AM_CFLAGS=$(STRICT_OPTIONS) 
27

jehan's avatar
jehan committed
28 29 30 31

test: belle_sip_tester
	./belle_sip_tester
	
32
endif