]>
Commit | Line | Data |
---|---|---|
8529da43 MG |
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 \ | |
5 | downsample_test | |
6 | ||
7 | SAMPLRATEDIR =../src | |
8 | INCLUDES = -I$(srcdir)/$(SAMPLRATEDIR) | |
9 | noinst_HEADERS = util.h | |
10 | ||
11 | #=============================================================================== | |
12 | ||
13 | misc_test_SOURCES = misc_test.c util.c util.h | |
14 | misc_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
15 | ||
16 | termination_test_SOURCES = termination_test.c util.c util.h | |
17 | termination_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
18 | ||
19 | callback_hang_test_SOURCES = callback_hang_test.c util.c util.h | |
20 | callback_hang_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
21 | ||
22 | simple_test_SOURCES = simple_test.c util.c util.h | |
23 | simple_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
24 | ||
25 | reset_test_SOURCES = reset_test.c util.c util.h | |
26 | reset_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
27 | ||
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) | |
31 | ||
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) | |
35 | ||
36 | callback_test_SOURCES = callback_test.c util.c util.h | |
37 | callback_test_CFLAGS = @FFTW3_CFLAGS@ | |
38 | callback_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
39 | ||
40 | float_short_test_SOURCES = float_short_test.c util.c util.h | |
41 | float_short_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
42 | ||
43 | downsample_test_SOURCES = downsample_test.c util.c util.h | |
44 | downsample_test_LDADD = $(SAMPLRATEDIR)/libsamplerate.la | |
45 | ||
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) | |
49 | ||
50 | # This program is for evaluating other sample rate converters. | |
51 | ||
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) | |
55 | ||
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) | |
59 | ||
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) | |
63 | ||
64 | #=============================================================================== | |
65 | ||
66 | check: $(noinst_PROGRAMS) | |
67 | date | |
68 | uname -a | |
69 | ./misc_test | |
70 | ./termination_test | |
71 | ./callback_hang_test | |
72 | ./downsample_test | |
73 | ./simple_test | |
74 | ./callback_test | |
75 | ./reset_test | |
76 | ./multi_channel_test | |
77 | ./varispeed_test | |
78 | ./float_short_test | |
79 | ./snr_bw_test | |
80 | ./throughput_test | |
81 | @echo "-----------------------------------------------------------------" | |
82 | @echo " ${PACKAGE}-${VERSION} passed all tests." | |
83 | @echo "-----------------------------------------------------------------" | |
84 |