Debian Codegraph @

tests/Makefile.am

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
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 AM_CFLAGS = $(COMP_VENDOR_CFLAGS)
20 AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS)
21
22 LIBS += $(TESTLIBS)
23
24 noinst_DATA = sound_c1_8k.wav sound_c3_8k.wav
25
26 EXTRA_DIST = fax_tests.sh \
27 regression_tests.sh \
28 tsb85_extra_tests.sh \
29 tsb85_tests.sh \
30 v42bis_tests.sh \
31 msvc/adsi_tests.vcproj \
32 msvc/complex_tests.vcproj \
33 msvc/complex_vector_float_tests.vcproj \
34 msvc/complex_vector_int_tests.vcproj \
35 msvc/dtmf_rx_tests.vcproj \
36 msvc/dtmf_tx_tests.vcproj \
37 msvc/queue_tests.vcproj \
38 msvc/t38_core_tests.vcproj \
39 msvc/t38_non_ecm_buffer_tests.vcproj \
40 msvc/t38_terminal_tests.vcproj \
41 msvc/v22bis_tests.vcproj \
42 msvc/v29_tests.vcproj \
43 msvc/v8_tests.vcproj \
44 msvc/v80_tests.vcproj \
45 msvc/vector_float_tests.vcproj \
46 msvc/vector_int_tests.vcproj
47
48 MAINTAINERCLEANFILES = Makefile.in
49
50 AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_builddir)/spandsp-sim -DDATADIR="\"$(pkgdatadir)\""
51
52 LIBDIR = -L$(top_builddir)/src
53
54 noinst_PROGRAMS = ademco_contactid_tests \
55 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 bitstream_tests \
64 complex_tests \
65 complex_vector_float_tests \
66 complex_vector_int_tests \
67 crc_tests \
68 dc_restore_tests \
69 dds_tests \
70 dtmf_rx_tests \
71 dtmf_tx_tests \
72 echo_tests \
73 fax_decode \
74 fax_tests \
75 fsk_tests \
76 g1050_tests \
77 g168_tests \
78 g711_tests \
79 g722_tests \
80 g726_tests \
81 gsm0610_tests \
82 hdlc_tests \
83 ima_adpcm_tests \
84 image_translate_tests \
85 line_model_tests \
86 logging_tests \
87 lpc10_tests \
88 make_g168_css \
89 math_fixed_tests \
90 modem_connect_tones_tests \
91 modem_echo_tests \
92 noise_tests \
93 oki_adpcm_tests \
94 playout_tests \
95 plc_tests \
96 power_meter_tests \
97 queue_tests \
98 r2_mf_rx_tests \
99 r2_mf_tx_tests \
100 rfc2198_sim_tests \
101 saturated_tests \
102 schedule_tests \
103 sig_tone_tests \
104 super_tone_rx_tests \
105 super_tone_tx_tests \
106 swept_tone_tests \
107 t31_tests \
108 t35_tests \
109 t38_core_tests \
110 t38_decode \
111 t38_gateway_tests \
112 t38_gateway_to_terminal_tests \
113 t38_non_ecm_buffer_tests \
114 t38_terminal_tests \
115 t38_terminal_to_gateway_tests \
116 t4_tests \
117 time_scale_tests \
118 timezone_tests \
119 tone_detect_tests \
120 tone_generate_tests \
121 tsb85_tests \
122 v17_tests \
123 v18_tests \
124 v22bis_tests \
125 v27ter_tests \
126 v29_tests \
127 v42_tests \
128 v42bis_tests \
129 v8_tests \
130 vector_float_tests \
131 vector_int_tests \
132 tsb85_tests
133
134 noinst_HEADERS = echo_monitor.h \
135 fax_tester.h \
136 fax_utils.h \
137 line_model_monitor.h \
138 media_monitor.h \
139 modem_monitor.h \
140 pcap_parse.h \
141 udptl.h
142
143 ademco_contactid_tests_SOURCES = ademco_contactid_tests.c
144 ademco_contactid_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
145
146 adsi_tests_SOURCES = adsi_tests.c
147 adsi_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
148
149 async_tests_SOURCES = async_tests.c
150 async_tests_LDADD = $(LIBDIR) -lspandsp
151
152 at_interpreter_tests_SOURCES = at_interpreter_tests.c
153 at_interpreter_tests_LDADD = $(LIBDIR) -lspandsp
154
155 awgn_tests_SOURCES = awgn_tests.c
156 awgn_tests_LDADD = $(LIBDIR) -lspandsp
157
158 bell_mf_rx_tests_SOURCES = bell_mf_rx_tests.c
159 bell_mf_rx_tests_LDADD = $(LIBDIR) -lspandsp
160
161 bell_mf_tx_tests_SOURCES = bell_mf_tx_tests.c
162 bell_mf_tx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
163
164 bert_tests_SOURCES = bert_tests.c
165 bert_tests_LDADD = $(LIBDIR) -lspandsp
166
167 bit_operations_tests_SOURCES = bit_operations_tests.c
168 bit_operations_tests_LDADD = $(LIBDIR) -lspandsp
169
170 bitstream_tests_SOURCES = bitstream_tests.c
171 bitstream_tests_LDADD = $(LIBDIR) -lspandsp
172
173 complex_tests_SOURCES = complex_tests.c
174 complex_tests_LDADD = $(LIBDIR) -lspandsp
175
176 complex_vector_float_tests_SOURCES = complex_vector_float_tests.c
177 complex_vector_float_tests_LDADD = $(LIBDIR) -lspandsp
178
179 complex_vector_int_tests_SOURCES = complex_vector_int_tests.c
180 complex_vector_int_tests_LDADD = $(LIBDIR) -lspandsp
181
182 crc_tests_SOURCES = crc_tests.c
183 crc_tests_LDADD = $(LIBDIR) -lspandsp
184
185 dc_restore_tests_SOURCES = dc_restore_tests.c
186 dc_restore_tests_LDADD = $(LIBDIR) -lspandsp
187
188 dds_tests_SOURCES = dds_tests.c
189 dds_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
190
191 dtmf_rx_tests_SOURCES = dtmf_rx_tests.c
192 dtmf_rx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
193
194 dtmf_tx_tests_SOURCES = dtmf_tx_tests.c
195 dtmf_tx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
196
197 echo_tests_SOURCES = echo_tests.c echo_monitor.cpp
198 echo_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
199
200 fax_decode_SOURCES = fax_decode.c
201 fax_decode_LDADD = $(LIBDIR) -lspandsp
202
203 fax_tests_SOURCES = fax_tests.c fax_utils.c media_monitor.cpp
204 fax_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
205
206 fsk_tests_SOURCES = fsk_tests.c
207 fsk_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
208
209 g1050_tests_SOURCES = g1050_tests.c media_monitor.cpp
210 g1050_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
211
212 g168_tests_SOURCES = g168_tests.c
213 g168_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
214
215 g711_tests_SOURCES = g711_tests.c
216 g711_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
217
218 g722_tests_SOURCES = g722_tests.c
219 g722_tests_LDADD = $(LIBDIR) -lspandsp
220
221 g726_tests_SOURCES = g726_tests.c
222 g726_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
223
224 gsm0610_tests_SOURCES = gsm0610_tests.c
225 gsm0610_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
226
227 hdlc_tests_SOURCES = hdlc_tests.c
228 hdlc_tests_LDADD = $(LIBDIR) -lspandsp
229
230 ima_adpcm_tests_SOURCES = ima_adpcm_tests.c
231 ima_adpcm_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
232
233 image_translate_tests_SOURCES = image_translate_tests.c
234 image_translate_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
235
236 line_model_tests_SOURCES = line_model_tests.c
237 line_model_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
238
239 logging_tests_SOURCES = logging_tests.c
240 logging_tests_LDADD = $(LIBDIR) -lspandsp
241
242 lpc10_tests_SOURCES = lpc10_tests.c
243 lpc10_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
244
245 make_g168_css_SOURCES = make_g168_css.c
246 make_g168_css_LDADD = $(LIBDIR) -lspandsp
247
248 math_fixed_tests_SOURCES = math_fixed_tests.c
249 math_fixed_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
250
251 modem_echo_tests_SOURCES = modem_echo_tests.c echo_monitor.cpp
252 modem_echo_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
253
254 modem_connect_tones_tests_SOURCES = modem_connect_tones_tests.c
255 modem_connect_tones_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
256
257 noise_tests_SOURCES = noise_tests.c
258 noise_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
259
260 oki_adpcm_tests_SOURCES = oki_adpcm_tests.c
261 oki_adpcm_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
262
263 playout_tests_SOURCES = playout_tests.c media_monitor.cpp
264 playout_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
265
266 plc_tests_SOURCES = plc_tests.c
267 plc_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
268
269 power_meter_tests_SOURCES = power_meter_tests.c
270 power_meter_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
271
272 queue_tests_SOURCES = queue_tests.c
273 queue_tests_LDADD = $(LIBDIR) -lspandsp
274
275 r2_mf_rx_tests_SOURCES = r2_mf_rx_tests.c
276 r2_mf_rx_tests_LDADD = $(LIBDIR) -lspandsp
277
278 r2_mf_tx_tests_SOURCES = r2_mf_tx_tests.c
279 r2_mf_tx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
280
281 rfc2198_sim_tests_SOURCES = rfc2198_sim_tests.c media_monitor.cpp
282 rfc2198_sim_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
283
284 saturated_tests_SOURCES = saturated_tests.c
285 saturated_tests_LDADD = $(LIBDIR) -lspandsp
286
287 schedule_tests_SOURCES = schedule_tests.c
288 schedule_tests_LDADD = $(LIBDIR) -lspandsp
289
290 sig_tone_tests_SOURCES = sig_tone_tests.c
291 sig_tone_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
292
293 super_tone_rx_tests_SOURCES = super_tone_rx_tests.c
294 super_tone_rx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
295
296 super_tone_tx_tests_SOURCES = super_tone_tx_tests.c
297 super_tone_tx_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
298
299 swept_tone_tests_SOURCES = swept_tone_tests.c
300 swept_tone_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
301
302 t31_tests_SOURCES = t31_tests.c fax_utils.c media_monitor.cpp
303 t31_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
304
305 t35_tests_SOURCES = t35_tests.c
306 t35_tests_LDADD = $(LIBDIR) -lspandsp
307
308 t38_core_tests_SOURCES = t38_core_tests.c
309 t38_core_tests_LDADD = $(LIBDIR) -lspandsp
310
311 t38_decode_SOURCES = t38_decode.c fax_utils.c pcap_parse.c udptl.c
312 t38_decode_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp -lpcap
313
314 t38_gateway_tests_SOURCES = t38_gateway_tests.c fax_utils.c media_monitor.cpp
315 t38_gateway_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
316
317 t38_gateway_to_terminal_tests_SOURCES = t38_gateway_to_terminal_tests.c fax_utils.c media_monitor.cpp
318 t38_gateway_to_terminal_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
319
320 t38_non_ecm_buffer_tests_SOURCES = t38_non_ecm_buffer_tests.c
321 t38_non_ecm_buffer_tests_LDADD = $(LIBDIR) -lspandsp
322
323 t38_terminal_tests_SOURCES = t38_terminal_tests.c fax_utils.c media_monitor.cpp
324 t38_terminal_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
325
326 t38_terminal_to_gateway_tests_SOURCES = t38_terminal_to_gateway_tests.c fax_utils.c media_monitor.cpp
327 t38_terminal_to_gateway_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
328
329 t4_tests_SOURCES = t4_tests.c
330 t4_tests_LDADD = $(LIBDIR) -lspandsp
331
332 time_scale_tests_SOURCES = time_scale_tests.c
333 time_scale_tests_LDADD = $(LIBDIR) -lspandsp
334
335 timezone_tests_SOURCES = timezone_tests.c
336 timezone_tests_LDADD = $(LIBDIR) -lspandsp
337
338 tone_detect_tests_SOURCES = tone_detect_tests.c
339 tone_detect_tests_LDADD = $(LIBDIR) -lspandsp
340
341 tone_generate_tests_SOURCES = tone_generate_tests.c
342 tone_generate_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
343
344 tsb85_tests_SOURCES = tsb85_tests.c fax_utils.c fax_tester.c
345 tsb85_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
346
347 v17_tests_SOURCES = v17_tests.c line_model_monitor.cpp modem_monitor.cpp
348 v17_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
349
350 v18_tests_SOURCES = v18_tests.c
351 v18_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
352
353 v22bis_tests_SOURCES = v22bis_tests.c line_model_monitor.cpp modem_monitor.cpp
354 v22bis_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
355
356 v27ter_tests_SOURCES = v27ter_tests.c line_model_monitor.cpp modem_monitor.cpp
357 v27ter_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
358
359 v29_tests_SOURCES = v29_tests.c line_model_monitor.cpp modem_monitor.cpp
360 v29_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
361
362 v42_tests_SOURCES = v42_tests.c
363 v42_tests_LDADD = $(LIBDIR) -lspandsp
364
365 v42bis_tests_SOURCES = v42bis_tests.c
366 v42bis_tests_LDADD = $(LIBDIR) -lspandsp
367
368 v8_tests_SOURCES = v8_tests.c
369 v8_tests_LDADD = -L$(top_builddir)/spandsp-sim -lspandsp-sim $(LIBDIR) -lspandsp
370
371 vector_float_tests_SOURCES = vector_float_tests.c
372 vector_float_tests_LDADD = $(LIBDIR) -lspandsp
373
374 vector_int_tests_SOURCES = vector_int_tests.c
375 vector_int_tests_LDADD = $(LIBDIR) -lspandsp
376
377 # We need to create the CSS files for echo cancellation tests.
378
379 sound_c1_8k.wav sound_c3_8k.wav: make_g168_css$(EXEEXT)
380 ./make_g168_css$(EXEEXT)
381 sox sound_c1.wav -r8000 sound_c1_8k.wav
382 sox sound_c3.wav -r8000 sound_c3_8k.wav
383 rm sound_c1.wav sound_c3.wav