Makefile.am 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ACLOCAL_AMFLAGS = -I m4 --install
  2. EXTRA_DIST =
  3. EXTRA_DIST += LICENSE
  4. EXTRA_DIST += libopenmpt_modplug.pc.in
  5. EXTRA_DIST += libmodplug.pc.in
  6. EXTRA_DIST += test.sh
  7. MOSTLYCLEANFILES =
  8. dist_doc_DATA =
  9. dist_doc_DATA += LICENSE
  10. nobase_dist_doc_DATA =
  11. bin_PROGRAMS =
  12. check_PROGRAMS =
  13. lib_LTLIBRARIES =
  14. pkgconfigdir = $(libdir)/pkgconfig
  15. pkgconfig_DATA =
  16. nobase_include_HEADERS =
  17. if ENABLE_LIBOPENMPT_MODPLUG
  18. lib_LTLIBRARIES += libopenmpt_modplug.la
  19. libopenmpt_modplug_la_LDFLAGS = -version-info 1:0:0 -no-undefined
  20. libopenmpt_modplug_la_CPPFLAGS = -I$(srcdir)/ $(LIBOPENMPT_CPPFLAGS)
  21. libopenmpt_modplug_la_CXXFLAGS = $(LIBOPENMPT_CFLAGS)
  22. libopenmpt_modplug_la_CFLAGS = $(LIBOPENMPT_CFLAGS)
  23. libopenmpt_modplug_la_LIBADD = $(LIBOPENMPT_LIBS)
  24. libopenmpt_modplug_la_SOURCES =
  25. libopenmpt_modplug_la_SOURCES += libopenmpt_modplug.c
  26. libopenmpt_modplug_la_SOURCES += libopenmpt_modplug_cpp.cpp
  27. endif
  28. if ENABLE_LIBMODPLUG
  29. pkgconfig_DATA += libmodplug.pc
  30. lib_LTLIBRARIES += libmodplug.la
  31. libmodplug_la_LDFLAGS = -version-info 1:0:0 -no-undefined
  32. nobase_include_HEADERS += libmodplug/modplug.h libmodplug/sndfile.h libmodplug/stdafx.h
  33. libmodplug_la_CPPFLAGS = -I$(srcdir)/ $(LIBOPENMPT_CPPFLAGS)
  34. libmodplug_la_CXXFLAGS = $(LIBOPENMPT_CFLAGS)
  35. libmodplug_la_CFLAGS = $(LIBOPENMPT_CFLAGS)
  36. libmodplug_la_LIBADD = $(LIBOPENMPT_LIBS)
  37. libmodplug_la_SOURCES =
  38. libmodplug_la_SOURCES += libopenmpt_modplug.c
  39. libmodplug_la_SOURCES += libopenmpt_modplug_cpp.cpp
  40. endif