]> sjero.net Git - linphone/blob - coreapi/Makefile.am
finilize tunnel api cleanup
[linphone] / coreapi / Makefile.am
1
2 SUBDIRS=. help
3
4 EXTRA_DIST=linphonecore_jni.cc
5
6 ## Process this file with automake to produce Makefile.in
7 linphone_includedir=$(includedir)/linphone
8
9 linphone_include_HEADERS=linphonecore.h linphonefriend.h linphonecore_utils.h ../config.h lpconfig.h sipsetup.h 
10
11 if BUILD_TUNNEL
12 linphone_include_HEADERS+=linphone_tunnel.h
13 endif
14
15 INCLUDES = \
16         -I$(top_srcdir)
17
18
19 lib_LTLIBRARIES=liblinphone.la
20
21 liblinphone_la_SOURCES=\
22         linphonecore.c linphonecore.h private.h\
23         offeranswer.c offeranswer.h\
24         sal.c sal.h \
25         sal_eXosip2.c sal_eXosip2.h\
26         sal_eXosip2_sdp.c \
27         sal_eXosip2_presence.c \
28         callbacks.c \
29         misc.c  \
30         address.c \
31         enum.c enum.h \
32         presence.c \
33         proxy.c \
34         friend.c \
35         authentication.c \
36         lpconfig.c lpconfig.h \
37         chat.c \
38         linphonecall.c \
39         sipsetup.c sipsetup.h \
40         siplogin.c \
41         lsd.c linphonecore_utils.h \
42         ec-calibrator.c \
43         conference.c 
44
45 if BUILD_TUNNEL
46 liblinphone_la_SOURCES+=TunnelManager.cc TunnelManager.hh linphone_tunnel.cc
47 endif
48
49
50
51 liblinphone_la_LDFLAGS= -version-info $(LIBLINPHONE_SO_VERSION) -no-undefined
52
53 liblinphone_la_LIBADD= \
54                 $(EXOSIP_LIBS) \
55                 $(MEDIASTREAMER_LIBS) \
56                 $(ORTP_LIBS) $(OPENSSL_LIBS) \
57                 $(TUNNEL_LIBS)
58
59 if BUILD_WIN32
60 liblinphone_la_LIBADD+=$(top_builddir)/oRTP/src/libortp.la
61 endif
62 if BUILD_TESTS
63 noinst_PROGRAMS=test_lsd test_ecc
64
65 test_lsd_SOURCES=test_lsd.c
66
67 test_lsd_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
68
69 test_ecc_SOURCES=test_ecc.c
70
71 test_ecc_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
72 endif
73
74
75 AM_CFLAGS=$(STRICT_OPTIONS)  -DIN_LINPHONE \
76         $(ORTP_CFLAGS) \
77         $(OSIP_CFLAGS) \
78         $(MEDIASTREAMER_CFLAGS) \
79         $(EXOSIP_CFLAGS) \
80         -DENABLE_TRACE  \
81         -DLOG_DOMAIN=\"LinphoneCore\" \
82         $(IPV6_CFLAGS) \
83         -DORTP_INET6 \
84         $(VIDEO_CFLAGS) \
85         $(TUNNEL_CFLAGS)
86
87 AM_CXXFLAGS=$(AM_CFLAGS)