]> sjero.net Git - linphone/blob - coreapi/Makefile.am
Wizard
[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 INCLUDES = \
12         -I$(top_srcdir)\
13         $(MEDIASTREAMER_CFLAGS)
14
15
16 lib_LTLIBRARIES=liblinphone.la
17
18 liblinphone_la_SOURCES=\
19         linphonecore.c linphonecore.h private.h\
20         offeranswer.c offeranswer.h\
21         sal.c sal.h \
22         sal_eXosip2.c sal_eXosip2.h\
23         sal_eXosip2_sdp.c \
24         sal_eXosip2_presence.c \
25         callbacks.c \
26         misc.c  \
27         address.c \
28         enum.c enum.h \
29         presence.c \
30         proxy.c \
31         friend.c \
32         authentication.c \
33         lpconfig.c lpconfig.h \
34         chat.c \
35         linphonecall.c \
36         sipsetup.c sipsetup.h \
37         siplogin.c \
38         sipwizard.c \
39         lsd.c linphonecore_utils.h \
40         ec-calibrator.c \
41         conference.c
42
43
44 liblinphone_la_LDFLAGS= -version-info $(LIBLINPHONE_SO_VERSION) -no-undefined
45
46 liblinphone_la_LIBADD= \
47                 $(EXOSIP_LIBS) \
48                 $(MEDIASTREAMER_LIBS) \
49                 $(ORTP_LIBS) $(OPENSSL_LIBS) \
50                 $(LIBSOUP_LIBS)
51
52 if BUILD_WIN32
53 liblinphone_la_LIBADD+=$(top_builddir)/oRTP/src/libortp.la
54 endif
55
56 if ENABLE_TESTS
57 noinst_PROGRAMS=test_lsd test_ecc
58
59 test_lsd_SOURCES=test_lsd.c
60
61 test_lsd_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
62
63 test_ecc_SOURCES=test_ecc.c
64
65 test_ecc_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
66 endif
67
68
69 AM_CFLAGS=$(STRICT_OPTIONS)  -DIN_LINPHONE \
70         $(ORTP_CFLAGS) \
71         $(OSIP_CFLAGS) \
72         $(MEDIASTREAMER_CFLAGS) \
73         $(EXOSIP_CFLAGS) \
74         $(LIBSOUP_CFLAGS) \
75         -DENABLE_TRACE  \
76         -DLOG_DOMAIN=\"LinphoneCore\" \
77          $(IPV6_CFLAGS) \
78          -DORTP_INET6 \
79          $(VIDEO_CFLAGS)