Makefile.am 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. AUTOMAKE_OPTIONS = subdir-objects
  2. lib_LTLIBRARIES = libopus.la
  3. SUBDIRS = . doc
  4. INCLUDES = -I$(top_srcdir)/include -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. libopus_la_LDFLAGS = -no-undefined -version-info 1:0:1
  18. pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h
  19. noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
  20. noinst_PROGRAMS = opus_demo repacketizer_demo opus_compare tests/test_opus_api tests/test_opus_encode tests/test_opus_decode celt/tests/test_unit_cwrs32 celt/tests/test_unit_dft celt/tests/test_unit_entropy celt/tests/test_unit_laplace celt/tests/test_unit_mathops celt/tests/test_unit_mdct celt/tests/test_unit_rotation celt/tests/test_unit_types
  21. TESTS = celt/tests/test_unit_types celt/tests/test_unit_mathops celt/tests/test_unit_entropy celt/tests/test_unit_laplace celt/tests/test_unit_dft celt/tests/test_unit_mdct celt/tests/test_unit_rotation celt/tests/test_unit_cwrs32 tests/test_opus_api tests/test_opus_decode tests/test_opus_encode
  22. opus_demo_SOURCES = src/opus_demo.c
  23. opus_demo_LDADD = libopus.la -lm
  24. repacketizer_demo_SOURCES = src/repacketizer_demo.c
  25. repacketizer_demo_LDADD = libopus.la -lm
  26. opus_compare_SOURCES = src/opus_compare.c
  27. opus_compare_LDADD = -lm
  28. tests_test_opus_api_SOURCES = tests/test_opus_api.c tests/test_opus_common.h
  29. tests_test_opus_api_LDADD = libopus.la -lm
  30. tests_test_opus_encode_SOURCES = tests/test_opus_encode.c tests/test_opus_common.h
  31. tests_test_opus_encode_LDADD = libopus.la -lm
  32. tests_test_opus_decode_SOURCES = tests/test_opus_decode.c tests/test_opus_common.h
  33. tests_test_opus_decode_LDADD = libopus.la -lm
  34. celt_tests_test_unit_cwrs32_SOURCES = celt/tests/test_unit_cwrs32.c
  35. celt_tests_test_unit_cwrs32_LDADD = -lm
  36. celt_tests_test_unit_dft_SOURCES = celt/tests/test_unit_dft.c
  37. celt_tests_test_unit_dft_LDADD = -lm
  38. celt_tests_test_unit_entropy_SOURCES = celt/tests/test_unit_entropy.c
  39. celt_tests_test_unit_entropy_LDADD = -lm
  40. celt_tests_test_unit_laplace_SOURCES = celt/tests/test_unit_laplace.c
  41. celt_tests_test_unit_laplace_LDADD = -lm
  42. celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c
  43. celt_tests_test_unit_mathops_LDADD = -lm
  44. celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c
  45. celt_tests_test_unit_mdct_LDADD = -lm
  46. celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
  47. celt_tests_test_unit_rotation_LDADD = -lm
  48. celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c
  49. celt_tests_test_unit_types_LDADD = -lm
  50. if CUSTOM_MODES
  51. pkginclude_HEADERS += include/opus_custom.h
  52. noinst_PROGRAMS += opus_custom_demo
  53. opus_custom_demo_SOURCES = celt/opus_custom_demo.c
  54. opus_custom_demo_LDADD = libopus.la -lm
  55. endif
  56. EXTRA_DIST = opus.pc.in opus-uninstalled.pc.in tests/run_vectors.sh
  57. pkgconfigdir = $(libdir)/pkgconfig
  58. pkgconfig_DATA = opus.pc