ensure resample_neon.h is distributed
[speexdsp.git] / libspeexdsp / Makefile.am
1 # Disable automatic dependency tracking if using other tools than gcc and gmake
2 #AUTOMAKE_OPTIONS = no-dependencies
3
4 EXTRA_DIST=echo_diagnostic.m
5
6 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include/speex -I$(top_builddir) @FFT_CFLAGS@
7
8 lib_LTLIBRARIES = libspeexdsp.la
9
10 # Sources for compilation in the library
11 if BUILD_KISS_FFT
12   FFTSRC=kiss_fft.c _kiss_fft_guts.h kiss_fft.h kiss_fftr.c kiss_fftr.h 
13 else
14 if BUILD_SMALLFT
15   FFTSRC=smallft.c
16 else
17   FFTSRC=
18 endif
19 endif
20
21 libspeexdsp_la_SOURCES = preprocess.c jitter.c mdf.c fftwrap.c filterbank.c resample.c buffer.c scal.c $(FFTSRC)
22
23 noinst_HEADERS =        arch.h  bfin.h \
24                 fixed_arm4.h \
25                 fixed_arm5e.h   fixed_bfin.h    fixed_debug.h   \
26                 math_approx.h           misc_bfin.h     \
27                 stack_alloc.h   fftwrap.h \
28         filterbank.h fixed_generic.h os_support.h \
29         pseudofloat.h smallft.h vorbis_psy.h resample_sse.h resample_neon.h
30
31 libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEXDSP_LT_CURRENT@:@SPEEXDSP_LT_REVISION@:@SPEEXDSP_LT_AGE@
32 libspeexdsp_la_LIBADD = $(LIBM)
33
34 if BUILD_EXAMPLES
35 noinst_PROGRAMS = testdenoise testecho testjitter testresample
36 testdenoise_SOURCES = testdenoise.c
37 testdenoise_LDADD = libspeexdsp.la @FFT_LIBS@
38 testecho_SOURCES = testecho.c
39 testecho_LDADD = libspeexdsp.la @FFT_LIBS@
40 testjitter_SOURCES = testjitter.c
41 testjitter_LDADD = libspeexdsp.la @FFT_LIBS@
42 testresample_SOURCES = testresample.c
43 testresample_LDADD = libspeexdsp.la @FFT_LIBS@ @LIBM@
44 endif