Makefile.am 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. lib_LTLIBRARIES = libtinyRTP.la
  2. libtinyRTP_la_LIBADD = ../tinySAK/libtinySAK.la ../tinyNET/libtinyNET.la ../tinyMEDIA/libtinyMEDIA.la
  3. libtinyRTP_la_CPPFLAGS = -I../tinySAK/src -I../tinyNET/src -I../tinyMEDIA/include -Iinclude
  4. if USE_SRTP
  5. libtinyRTP_la_LIBADD += ${LIBSRTP_LIBADD}
  6. libtinyRTP_la_CPPFLAGS += -DHAVE_SRTP=1
  7. endif
  8. libtinyRTP_la_SOURCES = \
  9. src/trtp.c \
  10. src/trtp_manager.c \
  11. src/trtp_srtp.c
  12. libtinyRTP_la_SOURCES += src/rtcp/trtp_rtcp_header.c \
  13. src/rtcp/trtp_rtcp_packet.c \
  14. src/rtcp/trtp_rtcp_rblock.c \
  15. src/rtcp/trtp_rtcp_report.c \
  16. src/rtcp/trtp_rtcp_report_bye.c \
  17. src/rtcp/trtp_rtcp_report_fb.c \
  18. src/rtcp/trtp_rtcp_report_rr.c \
  19. src/rtcp/trtp_rtcp_report_sdes.c \
  20. src/rtcp/trtp_rtcp_report_sr.c \
  21. src/rtcp/trtp_rtcp_report_xr.c \
  22. src/rtcp/trtp_rtcp_sdes_chunck.c \
  23. src/rtcp/trtp_rtcp_sdes_item.c \
  24. src/rtcp/trtp_rtcp_session.c
  25. libtinyRTP_la_SOURCES += src/rtp/trtp_rtp_header.c \
  26. src/rtp/trtp_rtp_packet.c \
  27. src/rtp/trtp_rtp_session.c
  28. libtinyRTP_la_LDFLAGS = $LDFLAGS -no-undefined
  29. if TARGET_OS_IS_ANDROID
  30. libtinyRTP_la_LDFLAGS += -static
  31. endif
  32. _includedir = $(includedir)/tinyrtp
  33. _include_HEADERS = include/*.h
  34. __includedir = $(includedir)/tinyrtp/tinyrtp
  35. __include_HEADERS = include/tinyrtp/*.h
  36. rtcp_includedir = $(includedir)/tinyrtp/tinyrtp/rtcp
  37. rtcp_include_HEADERS = include/tinyrtp/rtcp/*.h
  38. rtp_includedir = $(includedir)/tinyrtp/tinyrtp/rtp
  39. rtp_include_HEADERS = include/tinyrtp/rtp/*.h
  40. pkgconfigdir = $(libdir)/pkgconfig
  41. pkgconfig_DATA = tinyRTP.pc