Makefile.am 1002 B

12345678910111213141516171819202122232425262728293031323334
  1. lib_LTLIBRARIES = libtinySMS.la
  2. libtinySMS_la_LIBADD = ../tinySAK/libtinySAK.la
  3. libtinySMS_la_CPPFLAGS = -I../tinySAK/src -Iinclude
  4. libtinySMS_la_SOURCES = \
  5. src/tsms.c\
  6. src/tsms_address.c\
  7. src/tsms_common.c\
  8. src/tsms_packing.c
  9. libtinySMS_la_SOURCES += src/rpdu/tsms_rpdu.c
  10. libtinySMS_la_SOURCES += src/tpdu/tsms_tpdu_command.c\
  11. src/tpdu/tsms_tpdu_deliver.c\
  12. src/tpdu/tsms_tpdu_report.c\
  13. src/tpdu/tsms_tpdu_status_report.c\
  14. src/tpdu/tsms_tpdu_submit.c
  15. libtinySMS_la_LDFLAGS = $LDFLAGS -no-undefined
  16. if TARGET_OS_IS_ANDROID
  17. libtinySMS_la_LDFLAGS += -static
  18. endif
  19. _includedir = $(includedir)/tinysms
  20. _include_HEADERS = include/*.h
  21. __includedir = $(includedir)/tinysms/tinysms
  22. __include_HEADERS = include/tinysms/*.h
  23. rpdu_includedir = $(includedir)/tinysms/tinysms/rpdu
  24. rpdu_include_HEADERS = include/tinysms/rpdu/*.h
  25. tpdu_includedir = $(includedir)/tinysms/tinysms/tpdu
  26. tpdu_include_HEADERS = include/tinysms/tpdu/*.h
  27. pkgconfigdir = $(libdir)/pkgconfig
  28. pkgconfig_DATA = tinySMS.pc