Makefile.am 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Disable automatic dependency tracking if using other tools than gcc and gmake
  2. #AUTOMAKE_OPTIONS = no-dependencies
  3. if BUILD_VORBIS_PSY
  4. VPSY_SOURCE=vorbis_psy.c
  5. if BUILD_KISS_FFT
  6. FFTSRC=kiss_fft.c _kiss_fft_guts.h kiss_fft.h kiss_fftr.c kiss_fftr.h
  7. else
  8. if BUILD_SMALLFT
  9. FFTSRC=smallft.c
  10. else
  11. FFTSRC=
  12. endif
  13. endif
  14. else
  15. VPSY_SOURCE=
  16. FFTSRC=
  17. endif
  18. AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include/speex -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
  19. lib_LTLIBRARIES = libspeex.la
  20. # Sources for compilation in the library
  21. libspeex_la_SOURCES = $(VPSY_SOURCE) $(FFTSRC) cb_search.c exc_10_32_table.c exc_8_128_table.c \
  22. filters.c gain_table.c hexc_table.c high_lsp_tables.c lsp.c \
  23. ltp.c speex.c stereo.c vbr.c vq.c bits.c exc_10_16_table.c \
  24. exc_20_32_table.c exc_5_256_table.c exc_5_64_table.c gain_table_lbr.c hexc_10_32_table.c \
  25. lpc.c lsp_tables_nb.c modes.c modes_wb.c nb_celp.c quant_lsp.c sb_celp.c \
  26. speex_callbacks.c speex_header.c window.c
  27. noinst_HEADERS = arch.h bfin.h cb_search_arm4.h cb_search_bfin.h cb_search_sse.h \
  28. filters.h filters_arm4.h filters_bfin.h filters_sse.h fixed_arm4.h \
  29. fixed_arm5e.h fixed_bfin.h fixed_debug.h lpc.h lpc_bfin.h ltp.h ltp_arm4.h \
  30. ltp_sse.h math_approx.h misc_bfin.h nb_celp.h quant_lsp.h sb_celp.h \
  31. stack_alloc.h vbr.h vq.h vq_arm4.h vq_bfin.h vq_sse.h cb_search.h fftwrap.h \
  32. fixed_generic.h lsp.h lsp_bfin.h ltp_bfin.h modes.h os_support.h \
  33. quant_lsp_bfin.h smallft.h vorbis_psy.h
  34. libspeex_la_LDFLAGS = -no-undefined -version-info @SPEEX_LT_CURRENT@:@SPEEX_LT_REVISION@:@SPEEX_LT_AGE@
  35. libspeex_la_LIBADD = $(LIBM)
  36. if BUILD_BINARIES
  37. noinst_PROGRAMS = testenc testenc_wb testenc_uwb
  38. testenc_SOURCES = testenc.c
  39. testenc_LDADD = libspeex.la $(LIBM)
  40. testenc_wb_SOURCES = testenc_wb.c
  41. testenc_wb_LDADD = libspeex.la $(LIBM)
  42. testenc_uwb_SOURCES = testenc_uwb.c
  43. testenc_uwb_LDADD = libspeex.la $(LIBM)
  44. endif