Makefile.am 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. AUTOMAKE_OPTIONS = subdir-objects
  2. lib_LTLIBRARIES = libopus.la
  3. SUBDIRS = . libcelt
  4. INCLUDES = -I$(top_srcdir)/libcelt -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 libcelt/opus_types.h
  18. noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
  19. noinst_PROGRAMS = test_opus test_repacketizer
  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. if CUSTOM_MODES
  25. pkginclude_HEADERS += libcelt/opus_custom.h
  26. noinst_PROGRAMS += test_opus_custom
  27. test_opus_custom_SOURCES = libcelt/test_opus_custom.c
  28. test_opus_custom_LDADD = libopus.la -lm
  29. endif
  30. EXTRA_DIST = opus.pc.in opus-uninstalled.pc.in
  31. pkgconfigdir = $(libdir)/pkgconfig
  32. pkgconfig_DATA = opus.pc