Mercurial > hg > audiostuff
comparison spandsp-0.0.3/spandsp-0.0.3/tests/Makefile.am @ 5:f762bf195c4b
import spandsp-0.0.3
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:26cd8f1ef0b1 | 5:f762bf195c4b |
---|---|
1 ## Makefile.am -- Process this file with automake to produce Makefile.in | |
2 ## | |
3 ## This program is free software; you can redistribute it and/or modify | |
4 ## it under the terms of the GNU General Public License version 2, as | |
5 ## published by the Free Software Foundation. | |
6 ## | |
7 ## This program is distributed in the hope that it will be useful, | |
8 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
9 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
10 ## GNU General Public License for more details. | |
11 ## | |
12 ## You should have received a copy of the GNU General Public License | |
13 ## along with this program; if not, write to the Free Software | |
14 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
15 ## | |
16 ## $Id: Makefile.am,v 1.77 2006/11/26 13:13:30 steveu Exp $ | |
17 | |
18 AM_CFLAGS = $(COMP_VENDOR_CFLAGS) | |
19 | |
20 LIBS += $(TESTLIBS) | |
21 | |
22 nobase_data_DATA = sound_c1_8k.wav sound_c3_8k.wav | |
23 | |
24 EXTRA_DIST = regression_tests.sh v42bis_tests.sh fax_tests.sh | |
25 | |
26 MAINTAINERCLEANFILES = Makefile.in | |
27 | |
28 INCLUDES = -I$(top_builddir)/src -DDATADIR="\"$(pkgdatadir)\"" | |
29 | |
30 noinst_PROGRAMS = adsi_tests \ | |
31 async_tests \ | |
32 at_interpreter_tests \ | |
33 awgn_tests \ | |
34 bell_mf_rx_tests \ | |
35 bell_mf_tx_tests \ | |
36 bert_tests \ | |
37 bit_operations_tests \ | |
38 dc_restore_tests \ | |
39 dds_tests \ | |
40 dtmf_rx_tests \ | |
41 dtmf_tx_tests \ | |
42 echo_tests \ | |
43 fax_decode \ | |
44 fax_tests \ | |
45 fsk_tests \ | |
46 g168_tests \ | |
47 g711_tests \ | |
48 g722_tests \ | |
49 g726_tests \ | |
50 gsm0610_tests \ | |
51 hdlc_tests \ | |
52 ima_adpcm_tests \ | |
53 line_model_tests \ | |
54 logging_tests \ | |
55 lpc10_tests \ | |
56 make_g168_css \ | |
57 make_line_models \ | |
58 modem_echo_tests \ | |
59 modem_connect_tones_tests \ | |
60 noise_tests \ | |
61 oki_adpcm_tests \ | |
62 playout_tests \ | |
63 plc_tests \ | |
64 power_meter_tests \ | |
65 r2_mf_rx_tests \ | |
66 r2_mf_tx_tests \ | |
67 schedule_tests \ | |
68 sig_tone_tests \ | |
69 super_tone_rx_tests \ | |
70 super_tone_tx_tests \ | |
71 t4_tests \ | |
72 t31_tests \ | |
73 t38_gateway_tests \ | |
74 t38_gateway_to_terminal_tests \ | |
75 t38_terminal_tests \ | |
76 t38_terminal_to_gateway_tests \ | |
77 time_scale_tests \ | |
78 tone_generate_tests \ | |
79 v17_tests \ | |
80 v22bis_tests \ | |
81 v27ter_tests \ | |
82 v29_tests \ | |
83 v42_tests \ | |
84 v42bis_tests \ | |
85 v8_tests \ | |
86 vector_float_tests \ | |
87 vector_int_tests \ | |
88 testadsi \ | |
89 testfax | |
90 | |
91 noinst_HEADERS = modem_monitor.h \ | |
92 echo_monitor.h \ | |
93 ip_network_model.h \ | |
94 line_model.h \ | |
95 line_model_monitor.h \ | |
96 test_utils.h | |
97 | |
98 adsi_tests_SOURCES = adsi_tests.c | |
99 adsi_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
100 | |
101 async_tests_SOURCES = async_tests.c | |
102 async_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
103 | |
104 at_interpreter_tests_SOURCES = at_interpreter_tests.c | |
105 at_interpreter_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
106 | |
107 awgn_tests_SOURCES = awgn_tests.c | |
108 awgn_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
109 | |
110 bell_mf_rx_tests_SOURCES = bell_mf_rx_tests.c | |
111 bell_mf_rx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
112 | |
113 bell_mf_tx_tests_SOURCES = bell_mf_tx_tests.c | |
114 bell_mf_tx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
115 | |
116 bert_tests_SOURCES = bert_tests.c | |
117 bert_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
118 | |
119 bit_operations_tests_SOURCES = bit_operations_tests.c | |
120 bit_operations_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
121 | |
122 dc_restore_tests_SOURCES = dc_restore_tests.c | |
123 dc_restore_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
124 | |
125 dds_tests_SOURCES = dds_tests.c | |
126 dds_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
127 | |
128 dtmf_rx_tests_SOURCES = dtmf_rx_tests.c test_utils.c | |
129 dtmf_rx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
130 | |
131 dtmf_tx_tests_SOURCES = dtmf_tx_tests.c | |
132 dtmf_tx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
133 | |
134 echo_tests_SOURCES = echo_tests.c echo_monitor.cpp | |
135 echo_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
136 | |
137 fax_decode_SOURCES = fax_decode.c | |
138 fax_decode_LDADD = -L$(top_builddir)/src -lspandsp | |
139 | |
140 fax_tests_SOURCES = fax_tests.c | |
141 fax_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
142 | |
143 fsk_tests_SOURCES = fsk_tests.c line_model.c test_utils.c | |
144 fsk_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
145 | |
146 g168_tests_SOURCES = g168_tests.c | |
147 g168_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
148 | |
149 g711_tests_SOURCES = g711_tests.c | |
150 g711_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
151 | |
152 g722_tests_SOURCES = g722_tests.c | |
153 g722_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
154 | |
155 g726_tests_SOURCES = g726_tests.c | |
156 g726_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
157 | |
158 gsm0610_tests_SOURCES = gsm0610_tests.c | |
159 gsm0610_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
160 | |
161 hdlc_tests_SOURCES = hdlc_tests.c | |
162 hdlc_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
163 | |
164 ima_adpcm_tests_SOURCES = ima_adpcm_tests.c | |
165 ima_adpcm_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
166 | |
167 line_model_tests_SOURCES = line_model_tests.c line_model.c test_utils.c | |
168 line_model_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
169 | |
170 logging_tests_SOURCES = logging_tests.c | |
171 logging_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
172 | |
173 lpc10_tests_SOURCES = lpc10_tests.c | |
174 lpc10_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
175 | |
176 make_g168_css_SOURCES = make_g168_css.c | |
177 make_g168_css_LDADD = -L$(top_builddir)/src -lspandsp | |
178 | |
179 make_line_models_SOURCES = make_line_models.c | |
180 make_line_models_LDADD = -L$(top_builddir)/src -lspandsp | |
181 | |
182 modem_echo_tests_SOURCES = modem_echo_tests.c echo_monitor.cpp | |
183 modem_echo_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
184 | |
185 modem_connect_tones_tests_SOURCES = modem_connect_tones_tests.c | |
186 modem_connect_tones_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
187 | |
188 noise_tests_SOURCES = noise_tests.c | |
189 noise_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
190 | |
191 oki_adpcm_tests_SOURCES = oki_adpcm_tests.c | |
192 oki_adpcm_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
193 | |
194 playout_tests_SOURCES = playout_tests.c | |
195 playout_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
196 | |
197 plc_tests_SOURCES = plc_tests.c | |
198 plc_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
199 | |
200 power_meter_tests_SOURCES = power_meter_tests.c | |
201 power_meter_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
202 | |
203 r2_mf_rx_tests_SOURCES = r2_mf_rx_tests.c | |
204 r2_mf_rx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
205 | |
206 r2_mf_tx_tests_SOURCES = r2_mf_tx_tests.c | |
207 r2_mf_tx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
208 | |
209 schedule_tests_SOURCES = schedule_tests.c | |
210 schedule_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
211 | |
212 sig_tone_tests_SOURCES = sig_tone_tests.c | |
213 sig_tone_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
214 | |
215 super_tone_rx_tests_SOURCES = super_tone_rx_tests.c | |
216 super_tone_rx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
217 | |
218 super_tone_tx_tests_SOURCES = super_tone_tx_tests.c | |
219 super_tone_tx_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
220 | |
221 t4_tests_SOURCES = t4_tests.c | |
222 t4_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
223 | |
224 t31_tests_SOURCES = t31_tests.c | |
225 t31_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
226 | |
227 t38_gateway_tests_SOURCES = t38_gateway_tests.c ip_network_model.c | |
228 t38_gateway_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
229 | |
230 t38_gateway_to_terminal_tests_SOURCES = t38_gateway_to_terminal_tests.c ip_network_model.c | |
231 t38_gateway_to_terminal_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
232 | |
233 t38_terminal_tests_SOURCES = t38_terminal_tests.c ip_network_model.c | |
234 t38_terminal_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
235 | |
236 t38_terminal_to_gateway_tests_SOURCES = t38_terminal_to_gateway_tests.c ip_network_model.c | |
237 t38_terminal_to_gateway_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
238 | |
239 time_scale_tests_SOURCES = time_scale_tests.c | |
240 time_scale_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
241 | |
242 tone_generate_tests_SOURCES = tone_generate_tests.c | |
243 tone_generate_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
244 | |
245 v17_tests_SOURCES = v17_tests.c line_model.c test_utils.c line_model_monitor.cpp modem_monitor.cpp | |
246 v17_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
247 | |
248 v22bis_tests_SOURCES = v22bis_tests.c line_model.c test_utils.c line_model_monitor.cpp modem_monitor.cpp | |
249 v22bis_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
250 | |
251 v27ter_tests_SOURCES = v27ter_tests.c line_model.c test_utils.c line_model_monitor.cpp modem_monitor.cpp | |
252 v27ter_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
253 | |
254 v29_tests_SOURCES = v29_tests.c line_model.c test_utils.c line_model_monitor.cpp modem_monitor.cpp | |
255 v29_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
256 | |
257 v42_tests_SOURCES = v42_tests.c | |
258 v42_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
259 | |
260 v42bis_tests_SOURCES = v42bis_tests.c | |
261 v42bis_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
262 | |
263 v8_tests_SOURCES = v8_tests.c | |
264 v8_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
265 | |
266 vector_float_tests_SOURCES = vector_float_tests.c | |
267 vector_float_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
268 | |
269 vector_int_tests_SOURCES = vector_int_tests.c | |
270 vector_int_tests_LDADD = -L$(top_builddir)/src -lspandsp | |
271 | |
272 testadsi_SOURCES = testadsi.c | |
273 testadsi_LDADD = -L$(top_builddir)/src -lspandsp | |
274 | |
275 testfax_SOURCES = testfax.c | |
276 testfax_LDADD = -L$(top_builddir)/src -lspandsp | |
277 | |
278 # We need to run make_line_models, so it generates the line_models.h file | |
279 # used by several of the test programs. | |
280 | |
281 line_model.$(OBJEXT): make_line_models$(EXEEXT) line_models.h | |
282 | |
283 line_models.h: make_line_models$(EXEEXT) | |
284 ./make_line_models$(EXEEXT) | |
285 | |
286 # We need to create the CSS files for echo cancellation tests. | |
287 | |
288 sound_c1_8k.wav sound_c3_8k.wav: make_g168_css$(EXEEXT) | |
289 ./make_g168_css$(EXEEXT) | |
290 sox sound_c1.wav -r8000 sound_c1_8k.wav | |
291 sox sound_c3.wav -r8000 sound_c3_8k.wav | |
292 rm sound_c1.wav sound_c3.wav |