Makefile.am 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. lib_LTLIBRARIES = libtinyDAV.la
  2. libtinyDAV_la_LIBADD = \
  3. ../tinySAK/libtinySAK.la\
  4. ../tinyNET/libtinyNET.la\
  5. ../tinySDP/libtinySDP.la\
  6. ../tinyBFCP/libtinyBFCP.la\
  7. ../tinyRTP/libtinyRTP.la\
  8. ../tinyMEDIA/libtinyMEDIA.la\
  9. ../tinyMSRP/libtinyMSRP.la\
  10. ../tinyIPSec/libtinyIPSec.la
  11. libtinyDAV_la_CPPFLAGS = -I../tinySAK/src\
  12. -I../tinyNET/src\
  13. -I../tinyIPSec/src\
  14. -I../tinySDP/include\
  15. -I../tinyBFCP/include\
  16. -I../tinyRTP/include\
  17. -I../tinyMEDIA/include\
  18. -I../tinyMSRP/include\
  19. -Iinclude
  20. if USE_FFMPEG
  21. libtinyDAV_la_LIBADD += ${LIBFFMPEG_LIBADD}
  22. endif
  23. if USE_X264
  24. libtinyDAV_la_LIBADD += ${LIBX264_LIBADD}
  25. endif
  26. if USE_OPENH264
  27. libtinyDAV_la_LIBADD += ${LIBOPENH264_LIBADD}
  28. endif
  29. if USE_VPX
  30. libtinyDAV_la_LIBADD += ${LIBVPX_LIBADD}
  31. endif
  32. if USE_YUV
  33. libtinyDAV_la_LIBADD += ${LIBYUV_LIB} ${LIBYUV_LIBADD}
  34. libtinyDAV_la_CPPFLAGS += ${LIBYUV_INCLUDE}
  35. endif
  36. if USE_JPEG
  37. libtinyDAV_la_LIBADD += ${LIBJPEG_LIBADD}
  38. endif
  39. if USE_OPUS
  40. libtinyDAV_la_LIBADD += ${LIBOPUS_LIBADD}
  41. endif
  42. if USE_AMR
  43. libtinyDAV_la_LIBADD += ${LIBAMR_LIBADD}
  44. endif
  45. if USE_SPEEX
  46. libtinyDAV_la_LIBADD += ${LIBSPEEX_LIBADD}
  47. endif
  48. if USE_SPEEXDSP
  49. libtinyDAV_la_LIBADD += ${LIBSPEEXDSP_LIBADD}
  50. endif
  51. if USE_GSM
  52. libtinyDAV_la_LIBADD += ${LIBGSM_LIBADD}
  53. endif
  54. if USE_G729
  55. libtinyDAV_la_LIBADD += ${LIBG729_LIBADD}
  56. endif
  57. if USE_ILBC
  58. libtinyDAV_la_LIBADD += ${LIBILBC_LIBADD}
  59. endif
  60. if USE_WEBRTC
  61. libtinyDAV_la_LIBADD += ${LIBWEBRTC_LIBADD}
  62. endif
  63. if USE_ALSA
  64. libtinyDAV_la_LIBADD += ${LIBASOUND_LIBADD}
  65. endif
  66. libtinyDAV_la_SOURCES = \
  67. src/tdav.c \
  68. src/tdav_session_av.c
  69. libtinyDAV_la_SOURCES += src/audio/tdav_consumer_audio.c \
  70. src/audio/tdav_speakup_jitterbuffer.c \
  71. src/audio/tdav_jitterbuffer.c \
  72. src/audio/tdav_producer_audio.c \
  73. src/audio/tdav_session_audio.c \
  74. src/audio/tdav_speex_denoise.c \
  75. src/audio/tdav_speex_jitterbuffer.c \
  76. src/audio/tdav_speex_resampler.c \
  77. src/audio/tdav_webrtc_denoise.c
  78. libtinyDAV_la_SOURCES += src/video/tdav_consumer_video.c \
  79. src/video/tdav_converter_video.cxx \
  80. src/video/tdav_runnable_video.c \
  81. src/video/tdav_session_video.c \
  82. src/video/jb/tdav_video_frame.c \
  83. src/video/jb/tdav_video_jb.c
  84. libtinyDAV_la_SOURCES += src/video/v4linux/tdav_producer_video_v4l2.c
  85. libtinyDAV_la_SOURCES += src/audio/alsa/tdav_common_alsa.c \
  86. src/audio/alsa/tdav_consumer_alsa.c \
  87. src/audio/alsa/tdav_producer_alsa.c
  88. libtinyDAV_la_SOURCES += src/audio/oss/tdav_consumer_oss.c \
  89. src/audio/oss/tdav_producer_oss.c
  90. libtinyDAV_la_SOURCES += src/bfcp/tdav_session_bfcp.c
  91. libtinyDAV_la_SOURCES += src/t140/tdav_consumer_t140.c \
  92. src/t140/tdav_producer_t140.c \
  93. src/t140/tdav_session_t140.c
  94. libtinyDAV_la_SOURCES += src/msrp/tdav_consumer_msrp.c \
  95. src/msrp/tdav_producer_msrp.c \
  96. src/msrp/tdav_session_msrp.c
  97. libtinyDAV_la_SOURCES += src/codecs/amr/tdav_codec_amr.c
  98. libtinyDAV_la_SOURCES += src/codecs/bfcp/tdav_codec_bfcp.c
  99. libtinyDAV_la_SOURCES += src/codecs/opus/tdav_codec_opus.c
  100. libtinyDAV_la_SOURCES += src/codecs/g711/g711.c \
  101. src/codecs/g711/tdav_codec_g711.c
  102. libtinyDAV_la_SOURCES += src/codecs/g722/g722_decode.c \
  103. src/codecs/g722/g722_encode.c \
  104. src/codecs/g722/tdav_codec_g722.c
  105. libtinyDAV_la_SOURCES += src/codecs/g729/tdav_codec_g729.c
  106. libtinyDAV_la_SOURCES += src/codecs/gsm/tdav_codec_gsm.c
  107. libtinyDAV_la_SOURCES += src/codecs/bv/tdav_codec_bv16.c \
  108. src/codecs/bv/tdav_codec_bv32.c
  109. libtinyDAV_la_SOURCES += src/codecs/ilbc/tdav_codec_ilbc.c
  110. libtinyDAV_la_SOURCES += src/codecs/speex/tdav_codec_speex.c
  111. libtinyDAV_la_SOURCES += src/codecs/dtmf/tdav_codec_dtmf.c
  112. libtinyDAV_la_SOURCES += src/codecs/fec/tdav_codec_red.c \
  113. src/codecs/fec/tdav_codec_ulpfec.c
  114. libtinyDAV_la_SOURCES += src/codecs/h261/tdav_codec_h261.c
  115. libtinyDAV_la_SOURCES += src/codecs/h263/tdav_codec_h263.c
  116. libtinyDAV_la_SOURCES += src/codecs/h264/tdav_codec_h264.c \
  117. src/codecs/h264/tdav_codec_h264_cisco.cxx \
  118. src/codecs/h264/tdav_codec_h264_cuda.cxx \
  119. src/codecs/h264/tdav_codec_h264_rtp.c
  120. libtinyDAV_la_SOURCES += src/codecs/theora/tdav_codec_theora.c
  121. libtinyDAV_la_SOURCES += src/codecs/vpx/tdav_codec_vp8.c
  122. libtinyDAV_la_SOURCES += src/codecs/mp4ves/tdav_codec_mp4ves.c
  123. libtinyDAV_la_SOURCES += src/codecs/msrp/tdav_codec_msrp.c
  124. libtinyDAV_la_SOURCES += src/codecs/t140/tdav_codec_t140.c
  125. libtinyDAV_la_LDFLAGS = $LDFLAGS -no-undefined
  126. if TARGET_OS_IS_ANDROID
  127. libtinyDAV_la_LDFLAGS += -static
  128. endif
  129. _includedir = $(includedir)/tinydav
  130. _include_HEADERS = include/*.h
  131. __includedir = $(includedir)/tinydav/tinydav
  132. __include_HEADERS = include/tinydav/*.h
  133. audio_includedir = $(includedir)/tinydav/tinydav/audio
  134. audio_include_HEADERS = include/tinydav/audio/*.h
  135. video_includedir = $(includedir)/tinydav/tinydav/video
  136. video_include_HEADERS = include/tinydav/video/*.h
  137. bfcp_includedir = $(includedir)/tinydav/tinydav/bfcp
  138. bfcp_include_HEADERS = include/tinydav/bfcp/*.h
  139. pkgconfigdir = $(libdir)/pkgconfig
  140. pkgconfig_DATA = tinyDAV.pc