1 noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
2 reset_test multi_channel_test snr_bw_test \
3 float_short_test varispeed_test callback_hang_test \
4 src-evaluate throughput_test multichan_throughput_test \
8 INCLUDES = -I$(srcdir)/$(SAMPLRATEDIR)
9 noinst_HEADERS = util.h
11 #===============================================================================
13 misc_test_SOURCES = misc_test.c util.c util.h
14 misc_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
16 termination_test_SOURCES = termination_test.c util.c util.h
17 termination_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
19 callback_hang_test_SOURCES = callback_hang_test.c util.c util.h
20 callback_hang_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
22 simple_test_SOURCES = simple_test.c util.c util.h
23 simple_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
25 reset_test_SOURCES = reset_test.c util.c util.h
26 reset_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
28 multi_channel_test_SOURCES = multi_channel_test.c util.c calc_snr.c
29 multi_channel_test_CFLAGS = @FFTW3_CFLAGS@
30 multi_channel_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la $(FFTW3_LIBS)
32 snr_bw_test_SOURCES = snr_bw_test.c calc_snr.c util.c util.h
33 snr_bw_test_CFLAGS = @FFTW3_CFLAGS@
34 snr_bw_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la $(FFTW3_LIBS)
36 callback_test_SOURCES = callback_test.c util.c util.h
37 callback_test_CFLAGS = @FFTW3_CFLAGS@
38 callback_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
40 float_short_test_SOURCES = float_short_test.c util.c util.h
41 float_short_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
43 downsample_test_SOURCES = downsample_test.c util.c util.h
44 downsample_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la
46 varispeed_test_SOURCES = varispeed_test.c util.c util.h calc_snr.c
47 varispeed_test_CFLAGS = @FFTW3_CFLAGS@
48 varispeed_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la $(FFTW3_LIBS)
50 # This program is for evaluating other sample rate converters.
52 throughput_test_CFLAGS = $(AM_CFLAGS) @FFTW3_CFLAGS@
53 throughput_test_SOURCES = throughput_test.c util.c calc_snr.c
54 throughput_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la $(FFTW3_LIBS)
56 multichan_throughput_test_CFLAGS = $(AM_CFLAGS) @FFTW3_CFLAGS@
57 multichan_throughput_test_SOURCES = multichan_throughput_test.c util.c calc_snr.c
58 multichan_throughput_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la $(FFTW3_LIBS)
60 src_evaluate_SOURCES = src-evaluate.c calc_snr.c util.c
61 src_evaluate_CFLAGS = @SNDFILE_CFLAGS@ @FFTW3_CFLAGS@
62 src_evaluate_LDADD = $(SNDFILE_LIBS) $(FFTW3_LIBS)
64 #===============================================================================
66 check: $(noinst_PROGRAMS)
81 @echo "-----------------------------------------------------------------"
82 @echo " ${PACKAGE}-${VERSION} passed all tests."
83 @echo "-----------------------------------------------------------------"