Makefile.am 2.13 KB
Newer Older
1
SUBDIRS=grammars
2 3


4
noinst_LTLIBRARIES=libbellesip_tls.la
5

6
#to disable warning introduced by compatibility between polar 1.2 and 1.3
7
libbellesip_tls_la_SOURCES= transports/tls_listeningpoint_polarssl.c transports/tls_channel_polarssl.c 
jehan's avatar
jehan committed
8 9 10
libbellesip_tls_la_CFLAGS=$(LESS_STRICT_OPTIONS) $(TLS_CFLAGS)  $(LIBBELLESIP_CFLAGS)


11 12 13
lib_LTLIBRARIES=libbellesip.la


jehan's avatar
jehan committed
14 15
libbellesip_la_SOURCES=				\
									clock_gettime.c clock_gettime.h \
Simon Morlat's avatar
Simon Morlat committed
16
									port.c port.h \
17
									belle_sip_uri_impl.c \
18
									belle_sip_headers_impl.c \
19
									belle_sip_utils.c belle_sip_internal.h \
Simon Morlat's avatar
Simon Morlat committed
20
									belle_sip_object.c \
Simon Morlat's avatar
Simon Morlat committed
21
									belle_sip_loop.c \
22
									belle_sip_resolver.c \
23
									belle_sip_parameters.c \
24
									belle_sdp_impl.c \
25
									transaction.c \
Simon Morlat's avatar
Simon Morlat committed
26
									listeningpoint.c listeningpoint_internal.h \
27 28
									sipstack.c \
									provider.c \
29
									channel.c channel.h \
jehan's avatar
jehan committed
30
									message.c \
Simon Morlat's avatar
Simon Morlat committed
31
									md5.c md5.h \
Simon Morlat's avatar
Simon Morlat committed
32
									auth_helper.c \
33
									siplistener.c \
jehan's avatar
jehan committed
34
									ict.c \
Simon Morlat's avatar
Simon Morlat committed
35
									ist.c \
Simon Morlat's avatar
Simon Morlat committed
36
									nict.c \
37
									nist.c \
Simon Morlat's avatar
Simon Morlat committed
38
									dialog.c \
39
									auth_event.c \
jehan's avatar
jehan committed
40 41 42
									transports/udp_listeningpoint.c \
									transports/udp_channel.c \
									transports/stream_channel.c \
Simon Morlat's avatar
Simon Morlat committed
43
									transports/stream_channel.h \
jehan's avatar
jehan committed
44
									transports/stream_listeningpoint.c \
jehan's avatar
jehan committed
45
									refresher.c \
Simon Morlat's avatar
Simon Morlat committed
46
									dns.c dns.h \
47
									belle_sip_dict.c \
48
									generic-uri.c \
Simon Morlat's avatar
Simon Morlat committed
49 50
									http-provider.c \
									http-message.c
51

52
if BUILD_TUNNEL
53
libbellesip_la_SOURCES+=			transports/tunnel_listeningpoint.c \
54 55 56 57
									transports/tunnel_channel.c \
									transports/tunnel_wrapper.cc
endif

58

Ghislain MARY's avatar
Ghislain MARY committed
59
libbellesip_la_CFLAGS=$(STRICT_OPTIONS) $(ANTLR_CFLAGS) $(TLS_CFLAGS) $(TUNNEL_CFLAGS) $(LIBBELLESIP_CFLAGS)
60
libbellesip_la_CXXFLAGS=$(STRICT_OPTIONS) $(TLS_CFLAGS) $(TUNNEL_CFLAGS) $(LIBBELLESIP_CFLAGS)
61

62
libbellesip_la_LIBADD=grammars/libbellesip_generated.la libbellesip_tls.la $(ANTLR_LIBS) $(TLS_LIBS) $(TUNNEL_LIBS)
63

Ghislain MARY's avatar
Ghislain MARY committed
64
libbellesip_la_LDFLAGS=-no-undefined $(LDFLAGS)
Simon Morlat's avatar
Simon Morlat committed
65

Simon Morlat's avatar
Simon Morlat committed
66

67
AM_CPPFLAGS=-I$(top_srcdir)/include -I$(builddir)/grammars 
jehan's avatar
jehan committed
68 69

discovery:
70 71
	touch specs.c
	$(CC) $(CFLAGS) -include $(top_builddir)/config.h $(ANTLR_CFLAGS) $(CUNIT_CFLAGS) $(TLS_CFLAGS) -E -P -v -dD specs.c
Simon Morlat's avatar
Simon Morlat committed
72