]> sjero.net Git - linphone/blob - coreapi/Makefile.am
wizard must be optionnal, add G729 payload type
[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 if BUILD_WIZARD
45         liblinphone_la_SOURCES+=sipwizard.c 
46 endif
47
48 if BUILD_TUNNEL
49 liblinphone_la_SOURCES+=TunnelManager.cc TunnelManager.hh linphone_tunnel.cc
50 endif
51
52
53
54 liblinphone_la_LDFLAGS= -version-info $(LIBLINPHONE_SO_VERSION) -no-undefined
55
56 liblinphone_la_LIBADD= \
57                 $(EXOSIP_LIBS) \
58                 $(MEDIASTREAMER_LIBS) \
59                 $(ORTP_LIBS) $(OPENSSL_LIBS) \
60                 $(TUNNEL_LIBS) \
61                 $(LIBSOUP_LIBS)
62
63 if BUILD_TESTS
64 noinst_PROGRAMS=test_lsd test_ecc
65
66 test_lsd_SOURCES=test_lsd.c
67
68 test_lsd_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
69
70 test_ecc_SOURCES=test_ecc.c
71
72 test_ecc_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
73 endif
74
75
76 AM_CFLAGS=$(STRICT_OPTIONS)  -DIN_LINPHONE \
77         $(ORTP_CFLAGS) \
78         $(MEDIASTREAMER_CFLAGS) \
79         $(OSIP_CFLAGS) \
80         $(EXOSIP_CFLAGS) \
81         $(LIBSOUP_CFLAGS) \
82         -DENABLE_TRACE  \
83         -DLOG_DOMAIN=\"LinphoneCore\" \
84         $(IPV6_CFLAGS) \
85         -DORTP_INET6 \
86         $(VIDEO_CFLAGS) \
87         $(TUNNEL_CFLAGS)
88
89 if BUILD_WIZARD
90 AM_CFLAGS+= -DBUILD_WIZARD 
91 endif