Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. lib_LTLIBRARIES = libplugin_audio_opensles.la
  2. libplugin_audio_opensles_la_LIBADD = \
  3. ../../tinySAK/libtinySAK.la \
  4. ../../tinyNET/libtinyNET.la \
  5. ../../tinyMEDIA/libtinyMEDIA.la \
  6. ../../tinySDP/libtinySDP.la
  7. libplugin_audio_opensles_la_CPPFLAGS = \
  8. -I.. \
  9. -I../../tinySAK/src \
  10. -I../../tinyNET/src \
  11. -I../../tinySDP/include \
  12. -I../../tinyMEDIA/include \
  13. -I../../tinyRTP/include \
  14. -I../../tinyDAV/include
  15. libplugin_audio_opensles_la_LDFLAGS = ${LDFLAGS}
  16. if TARGET_OS_IS_ANDROID
  17. libplugin_audio_opensles_la_CPPFLAGS += -DANDROID=1 -fno-rtti -fno-exceptions -I${NDK}/platforms/android-9/arch-${TARGET_ARCH}/usr/include
  18. libplugin_audio_opensles_la_LDFLAGS += -Wl,-shared,-Bsymbolic,--no-undefined,--whole-archive -L${NDK}/platforms/android-9/arch-${TARGET_ARCH}/usr/lib -lOpenSLES -lm -lstdc++ -lgcc -llog -ldl
  19. else
  20. libplugin_audio_opensles_la_LDFLAGS +=
  21. endif
  22. if USE_SSL
  23. libplugin_audio_opensles_la_LIBADD += ${LIBSSL_LIBADD}
  24. endif
  25. libplugin_audio_opensles_la_SOURCES = \
  26. audio_opensles.cxx \
  27. audio_opensles_consumer.cxx \
  28. audio_opensles_device_impl.cxx \
  29. audio_opensles_producer.cxx \
  30. audio_opensles_device.cxx \
  31. ../../tinyDAV/src/audio/tdav_consumer_audio.c \
  32. ../../tinyDAV/src/audio/tdav_producer_audio.c
  33. pkgconfigdir = $(libdir)/pkgconfig
  34. pkgconfig_DATA = plugin_audio_opensles.pc