Makefile.am 871 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
				cast_test.c \
jehan's avatar
jehan committed
14
				belle_sip_register_tester.c \
jehan's avatar
jehan committed
15
				belle_sip_dialog_tester.c \
Ghislain MARY's avatar
Ghislain MARY committed
16
				belle_sip_refresher_tester.c \
Simon Morlat's avatar
Simon Morlat committed
17 18
				belle_sip_resolver_tester.c \
				register_tester.h
Simon Morlat's avatar
Simon Morlat committed
19

20
belle_sip_tester_CFLAGS=$(CUNIT_CFLAGS) $(STRICT_OPTIONS)
jehan's avatar
jehan committed
21

Ghislain MARY's avatar
Ghislain MARY committed
22
belle_sip_tester_LDFLAGS=$(CUNIT_LIBS) $(AM_LDFLAGS)
Simon Morlat's avatar
Simon Morlat committed
23

Simon Morlat's avatar
Simon Morlat committed
24 25
belle_sip_object_describe_SOURCES=describe.c

jehan's avatar
jehan committed
26
AM_CPPFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
27

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

Ghislain MARY's avatar
Ghislain MARY committed
30
AM_LDFLAGS=-no-undefined -export-dynamic 
Simon Morlat's avatar
Simon Morlat committed
31

jehan's avatar
jehan committed
32
AM_CFLAGS=$(STRICT_OPTIONS) 
33

jehan's avatar
jehan committed
34 35

test: belle_sip_tester
Simon Morlat's avatar
Simon Morlat committed
36
	./belle_sip_tester $(TEST_OPTIONS)
jehan's avatar
jehan committed
37
	
38
endif