Makefile.am 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. lib_LTLIBRARIES = libtinyWRAP.la
  2. libtinyWRAP_la_LIBADD = \
  3. ../tinySIP/libtinySIP.la \
  4. ../tinyDAV/libtinyDAV.la \
  5. ../tinyRTP/libtinyRTP.la \
  6. ../tinyMEDIA/libtinyMEDIA.la \
  7. ../tinyMSRP/libtinyMSRP.la \
  8. ../tinySDP/libtinySDP.la \
  9. ../tinySIGCOMP/libtinySIGCOMP.la \
  10. ../tinySMS/libtinySMS.la \
  11. ../tinyIPSec/libtinyIPSec.la \
  12. ../tinyXCAP/libtinyXCAP.la \
  13. ../tinyHTTP/libtinyHTTP.la \
  14. ../tinyBFCP/libtinyBFCP.la \
  15. ../tinyNET/libtinyNET.la \
  16. ../tinySAK/libtinySAK.la
  17. libtinyWRAP_la_CPPFLAGS = \
  18. -I_common \
  19. -I. \
  20. -I../tinySAK/src \
  21. -I../tinyNET/src \
  22. -I../tinyHTTP/include\
  23. -I../tinyXCAP/include \
  24. -I../tinySMS/include \
  25. -I../tinySDP/include \
  26. -I../tinyMEDIA/include \
  27. -I../tinyMSRP/include \
  28. -I../tinyDAV/include \
  29. -I../tinySIP/include
  30. libtinyWRAP_la_LDFLAGS = ${LDFLAGS}
  31. if TARGET_OS_IS_ANDROID
  32. libtinyWRAP_la_CPPFLAGS += -DANDROID=1 -Iandroid -fno-rtti -fno-exceptions
  33. libtinyWRAP_la_LDFLAGS += -Wl,-shared,-Bsymbolic,--no-undefined,--whole-archive -lm -lstdc++ -lgcc -llog -ldl
  34. else
  35. libtinyWRAP_la_LDFLAGS +=
  36. endif
  37. if USE_SRTP
  38. libtinyWRAP_la_LIBADD += ${LIBSRTP_LIBADD}
  39. endif
  40. if USE_SSL
  41. libtinyWRAP_la_LIBADD += ${LIBSSL_LIBADD}
  42. endif
  43. if USE_FFMPEG
  44. libtinyWRAP_la_LIBADD += ${LIBFFMPEG_LIBADD}
  45. endif
  46. if USE_X264
  47. libtinyWRAP_la_LIBADD += ${LIBX264_LIBADD}
  48. endif
  49. if USE_OPENH264
  50. libtinyWRAP_la_LIBADD += ${LIBOPENH264_LIBADD}
  51. endif
  52. if USE_VPX
  53. libtinyWRAP_la_LIBADD += ${LIBVPX_LIBADD}
  54. endif
  55. if USE_YUV
  56. libtinyWRAP_la_LIBADD += ${LIBYUV_LIB} ${LIBYUV_LIBADD}
  57. endif
  58. if USE_OPUS
  59. libtinyWRAP_la_LIBADD += ${LIBOPUS_LIBADD}
  60. endif
  61. if USE_AMR
  62. libtinyWRAP_la_LIBADD += ${LIBAMR_LIBADD}
  63. endif
  64. if USE_SPEEX
  65. libtinyWRAP_la_LIBADD += ${LIBSPEEX_LIBADD}
  66. endif
  67. if USE_SPEEXDSP
  68. libtinyWRAP_la_LIBADD += ${LIBSPEEXDSP_LIBADD}
  69. endif
  70. if USE_GSM
  71. libtinyWRAP_la_LIBADD += ${LIBGSM_LIBADD}
  72. endif
  73. if USE_G729
  74. libtinyWRAP_la_LIBADD += ${LIBG729_LIBADD}
  75. endif
  76. if USE_ILBC
  77. libtinyWRAP_la_LIBADD += ${LIBILBC_LIBADD}
  78. endif
  79. if USE_WEBRTC
  80. libtinyWRAP_la_LIBADD += ${LIBWEBRTC_LIBADD}
  81. endif
  82. if USE_ALSA
  83. libtinyWRAP_la_LIBADD += ${LIBASOUND_LIBADD}
  84. endif
  85. libtinyWRAP_la_SOURCES = \
  86. _common/ActionConfig.cxx \
  87. _common/AudioResampler.cxx \
  88. _common/DDebug.cxx \
  89. _common/MediaContent.cxx \
  90. _common/MediaSessionMgr.cxx \
  91. _common/Msrp.cxx \
  92. _common/ProxyConsumer.cxx \
  93. _common/ProxyPluginMgr.cxx \
  94. _common/ProxyProducer.cxx \
  95. _common/SafeObject.cxx \
  96. _common/SipCallback.cxx \
  97. _common/SipEvent.cxx \
  98. _common/SipMessage.cxx \
  99. _common/SipSession.cxx \
  100. _common/SipStack.cxx \
  101. _common/SipUri.cxx \
  102. _common/SMSEncoder.cxx \
  103. _common/Xcap.cxx
  104. if TARGET_OS_IS_ANDROID
  105. libtinyWRAP_la_SOURCES += java/android/tinyWRAP_wrap.cxx
  106. endif
  107. pkgconfigdir = $(libdir)/pkgconfig
  108. pkgconfig_DATA = tinyWRAP.pc