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