Makefile.am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. AUTOMAKE_OPTIONS = subdir-objects
  2. lib_LTLIBRARIES = libopus.la
  3. SUBDIRS = . celt/tests doc
  4. INCLUDES = -I$(top_srcdir)/celt -I$(top_srcdir)/silk -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
  5. include celt_sources.mk
  6. include silk_sources.mk
  7. include opus_sources.mk
  8. if FIXED_POINT
  9. SILK_SOURCES += $(SILK_SOURCES_FIXED)
  10. else
  11. SILK_SOURCES += $(SILK_SOURCES_FLOAT)
  12. endif
  13. include celt_headers.txt
  14. include silk_headers.txt
  15. include opus_headers.txt
  16. libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
  17. pkginclude_HEADERS = src/opus.h src/opus_multistream.h celt/opus_types.h celt/opus_defines.h
  18. noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
  19. noinst_PROGRAMS = test_opus test_repacketizer opus_compare
  20. test_opus_SOURCES = src/test_opus.c
  21. test_opus_LDADD = libopus.la -lm
  22. test_repacketizer_SOURCES = src/test_repacketizer.c
  23. test_repacketizer_LDADD = libopus.la -lm
  24. opus_compare_SOURCES = src/opus_compare.c
  25. opus_compare_LDADD = -lm
  26. if CUSTOM_MODES
  27. pkginclude_HEADERS += celt/opus_custom.h
  28. noinst_PROGRAMS += test_opus_custom
  29. test_opus_custom_SOURCES = celt/test_opus_custom.c
  30. test_opus_custom_LDADD = libopus.la -lm
  31. endif
  32. EXTRA_DIST = opus.pc.in opus-uninstalled.pc.in
  33. pkgconfigdir = $(libdir)/pkgconfig
  34. pkgconfig_DATA = opus.pc