summaryrefslogtreecommitdiffstats
path: root/bindings/Makefile.am
blob: c9fce51d8b43e28a3c96e33356594aa5a2b1c5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
lib_LTLIBRARIES         = libtinyWRAP.la
libtinyWRAP_la_LIBADD = \
	../tinySIP/libtinySIP.la \
	../tinyDAV/libtinyDAV.la \
	../tinyRTP/libtinyRTP.la \
	../tinyMEDIA/libtinyMEDIA.la \
	../tinyMSRP/libtinyMSRP.la \
	../tinySDP/libtinySDP.la \
	../tinySIGCOMP/libtinySIGCOMP.la \
	../tinySMS/libtinySMS.la \
	../tinyIPSec/libtinyIPSec.la \
	../tinyXCAP/libtinyXCAP.la \
	../tinyHTTP/libtinyHTTP.la \
	../tinyBFCP/libtinyBFCP.la \
	../tinyNET/libtinyNET.la \
	../tinySAK/libtinySAK.la
libtinyWRAP_la_CPPFLAGS = \
	-I_common \
	-I. \
	-I../tinySAK/src \
	-I../tinyNET/src \
	-I../tinyHTTP/include\
	-I../tinyXCAP/include \
	-I../tinySMS/include \
	-I../tinySDP/include \
	-I../tinyMEDIA/include \
	-I../tinyMSRP/include \
	-I../tinyDAV/include \
	-I../tinySIP/include

libtinyWRAP_la_LDFLAGS = ${LDFLAGS}

if TARGET_OS_IS_ANDROID
libtinyWRAP_la_CPPFLAGS += -DANDROID=1 -Iandroid -fno-rtti -fno-exceptions
libtinyWRAP_la_LDFLAGS +=  -Wl,-shared,-Bsymbolic,--no-undefined,--whole-archive -lm -lstdc++ -lgcc -llog -ldl
else
libtinyWRAP_la_LDFLAGS += 
endif

if USE_SRTP
libtinyWRAP_la_LIBADD += ${LIBSRTP_LIBADD}
endif

if USE_SSL
libtinyWRAP_la_LIBADD += ${LIBSSL_LIBADD}
endif

if USE_FFMPEG
libtinyWRAP_la_LIBADD += ${LIBFFMPEG_LIBADD}
endif

if USE_X264
libtinyWRAP_la_LIBADD += ${LIBX264_LIBADD}
endif

if USE_OPENH264
libtinyWRAP_la_LIBADD += ${LIBOPENH264_LIBADD}
endif

if USE_VPX
libtinyWRAP_la_LIBADD += ${LIBVPX_LIBADD}
endif

if USE_YUV
libtinyWRAP_la_LIBADD += ${LIBYUV_LIB} ${LIBYUV_LIBADD}
endif

if USE_OPUS
libtinyWRAP_la_LIBADD += ${LIBOPUS_LIBADD}
endif

if USE_AMR
libtinyWRAP_la_LIBADD += ${LIBAMR_LIBADD}
endif

if USE_SPEEX
libtinyWRAP_la_LIBADD += ${LIBSPEEX_LIBADD}
endif

if USE_SPEEXDSP
libtinyWRAP_la_LIBADD += ${LIBSPEEXDSP_LIBADD}
endif
	
if USE_GSM
libtinyWRAP_la_LIBADD += ${LIBGSM_LIBADD}
endif

if USE_G729
libtinyWRAP_la_LIBADD += ${LIBG729_LIBADD}
endif

if USE_ILBC
libtinyWRAP_la_LIBADD += ${LIBILBC_LIBADD}
endif

if USE_WEBRTC
libtinyWRAP_la_LIBADD += ${LIBWEBRTC_LIBADD}
endif

if USE_ALSA
libtinyWRAP_la_LIBADD += ${LIBASOUND_LIBADD}
endif

libtinyWRAP_la_SOURCES  = \
	_common/ActionConfig.cxx \
	_common/AudioResampler.cxx \
	_common/DDebug.cxx \
	_common/MediaContent.cxx \
	_common/MediaSessionMgr.cxx \
	_common/Msrp.cxx \
	_common/ProxyConsumer.cxx \
	_common/ProxyPluginMgr.cxx \
	_common/ProxyProducer.cxx \
	_common/SafeObject.cxx \
	_common/SipCallback.cxx \
	_common/SipEvent.cxx \
	_common/SipMessage.cxx \
	_common/SipSession.cxx \
	_common/SipStack.cxx \
	_common/SipUri.cxx \
	_common/SMSEncoder.cxx \
	_common/Xcap.cxx

if TARGET_OS_IS_ANDROID
libtinyWRAP_la_SOURCES  +=  java/android/tinyWRAP_wrap.cxx
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = tinyWRAP.pc
OpenPOWER on IntegriCloud