comparison spandsp-0.0.6pre17/tests/Makefile.am @ 4:26cd8f1ef0b1

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

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.