~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/libsndfile/tests/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Process this file with automake to produce Makefile.in
2
 
 
3
 
noinst_PROGRAMS = sfversion floating_point_test write_read_test \
4
 
        lossy_comp_test error_test ulaw_test alaw_test dwvw_test \
5
 
        peak_chunk_test command_test stdin_test stdout_test stdio_test \
6
 
        pcm_test headerless_test pipe_test benchmark header_test misc_test \
7
 
        raw_test string_test open_fail_test multi_file_test dither_test \
8
 
        scale_clip_test win32_test fix_this aiff_rw_test virtual_io_test \
9
 
        locale_test largefile_test win32_ordinal_test
10
 
 
11
 
SNDFILEDIR = ../src
12
 
INCLUDES = -I$(srcdir)/$(SNDFILEDIR)
13
 
noinst_HEADERS = dft_cmp.h utils.h
14
 
 
15
 
autogen_sources = write_read_test.tpl write_read_test.def       \
16
 
                                        pcm_test.tpl pcm_test.def                               \
17
 
                                        header_test.tpl header_test.def                 \
18
 
                                        utils.tpl utils.def                                             \
19
 
                                        scale_clip_test.tpl scale_clip_test.def \
20
 
                                        pipe_test.tpl pipe_test.def                             \
21
 
                                        floating_point_test.tpl floating_point_test.def \
22
 
                                        benchmark.tpl benchmark.def
23
 
 
24
 
EXTRA_DIST = $(autogen_sources)
25
 
 
26
 
#===============================================================================
27
 
 
28
 
sfversion_SOURCES = sfversion.c
29
 
sfversion_LDADD = $(SNDFILEDIR)/libsndfile.la
30
 
 
31
 
write_read_test_SOURCES = utils.c write_read_test.c
32
 
write_read_test_LDADD = $(SNDFILEDIR)/libsndfile.la
33
 
 
34
 
lossy_comp_test_SOURCES = utils.c lossy_comp_test.c
35
 
lossy_comp_test_LDADD = $(SNDFILEDIR)/libsndfile.la
36
 
 
37
 
fix_this_SOURCES = utils.c fix_this.c
38
 
fix_this_LDADD = $(SNDFILEDIR)/libsndfile.la
39
 
 
40
 
error_test_SOURCES = error_test.c utils.c
41
 
error_test_LDADD = $(SNDFILEDIR)/libsndfile.la
42
 
 
43
 
ulaw_test_SOURCES = utils.c ulaw_test.c
44
 
ulaw_test_LDADD = $(SNDFILEDIR)/libsndfile.la
45
 
 
46
 
alaw_test_SOURCES = utils.c alaw_test.c
47
 
alaw_test_LDADD = $(SNDFILEDIR)/libsndfile.la
48
 
 
49
 
aiff_rw_test_SOURCES = utils.c aiff_rw_test.c
50
 
aiff_rw_test_LDADD = $(SNDFILEDIR)/libsndfile.la
51
 
 
52
 
command_test_SOURCES = command_test.c utils.c
53
 
command_test_LDADD = $(SNDFILEDIR)/libsndfile.la
54
 
 
55
 
locale_test_SOURCES = locale_test.c utils.c
56
 
locale_test_LDADD = $(SNDFILEDIR)/libsndfile.la
57
 
 
58
 
largefile_test_SOURCES = largefile_test.c utils.c
59
 
largefile_test_LDADD = $(SNDFILEDIR)/libsndfile.la
60
 
 
61
 
pcm_test_SOURCES = pcm_test.c utils.c
62
 
pcm_test_LDADD = $(SNDFILEDIR)/libsndfile.la
63
 
 
64
 
headerless_test_SOURCES = utils.c headerless_test.c
65
 
headerless_test_LDADD = $(SNDFILEDIR)/libsndfile.la
66
 
 
67
 
stdin_test_SOURCES = stdin_test.c utils.c
68
 
stdin_test_LDADD = $(SNDFILEDIR)/libsndfile.la
69
 
 
70
 
stdout_test_SOURCES = stdout_test.c
71
 
stdout_test_LDADD = $(SNDFILEDIR)/libsndfile.la
72
 
 
73
 
stdio_test_SOURCES = stdio_test.c utils.c
74
 
stdio_test_LDADD = $(SNDFILEDIR)/libsndfile.la
75
 
 
76
 
pipe_test_SOURCES = pipe_test.c utils.c
77
 
pipe_test_LDADD = $(SNDFILEDIR)/libsndfile.la
78
 
 
79
 
benchmark_SOURCES = benchmark.c
80
 
benchmark_LDADD = $(SNDFILEDIR)/libsndfile.la
81
 
 
82
 
header_test_SOURCES = header_test.c utils.c
83
 
header_test_LDADD = $(SNDFILEDIR)/libsndfile.la
84
 
 
85
 
misc_test_SOURCES = misc_test.c utils.c
86
 
misc_test_LDADD = $(SNDFILEDIR)/libsndfile.la
87
 
 
88
 
raw_test_SOURCES = raw_test.c utils.c
89
 
raw_test_LDADD = $(SNDFILEDIR)/libsndfile.la
90
 
 
91
 
string_test_SOURCES = string_test.c utils.c
92
 
string_test_LDADD = $(SNDFILEDIR)/libsndfile.la
93
 
 
94
 
dither_test_SOURCES = dither_test.c utils.c
95
 
dither_test_LDADD = $(SNDFILEDIR)/libsndfile.la
96
 
 
97
 
open_fail_test_SOURCES = open_fail_test.c utils.c
98
 
open_fail_test_LDADD = $(SNDFILEDIR)/libsndfile.la
99
 
 
100
 
multi_file_test_SOURCES = multi_file_test.c utils.c
101
 
multi_file_test_LDADD = $(SNDFILEDIR)/libsndfile.la
102
 
 
103
 
virtual_io_test_SOURCES = virtual_io_test.c utils.c
104
 
virtual_io_test_LDADD = $(SNDFILEDIR)/libsndfile.la
105
 
 
106
 
win32_test_SOURCES = win32_test.c
107
 
win32_test_LDADD =
108
 
 
109
 
win32_ordinal_test_SOURCES = win32_ordinal_test.c utils.c
110
 
win32_ordinal_test_LDADD = $(SNDFILEDIR)/libsndfile.la 
111
 
 
112
 
# Lite remove start
113
 
dwvw_test_SOURCES = utils.c dwvw_test.c
114
 
dwvw_test_LDADD = $(SNDFILEDIR)/libsndfile.la
115
 
 
116
 
floating_point_test_SOURCES = utils.c dft_cmp.c floating_point_test.c
117
 
floating_point_test_LDADD = $(SNDFILEDIR)/libsndfile.la
118
 
 
119
 
peak_chunk_test_SOURCES = peak_chunk_test.c utils.c
120
 
peak_chunk_test_LDADD = $(SNDFILEDIR)/libsndfile.la
121
 
 
122
 
scale_clip_test_SOURCES = scale_clip_test.c utils.c
123
 
scale_clip_test_LDADD = $(SNDFILEDIR)/libsndfile.la
124
 
# Lite remove end
125
 
 
126
 
#===============================================================================
127
 
 
128
 
# dmazzoni: unless you're a libsndfile developer, this build system shouldn't
129
 
# depend on autogen...
130
 
 
131
 
#write_read_test.c: write_read_test.def write_read_test.tpl
132
 
#       autogen --writable write_read_test.def
133
 
#
134
 
#pcm_test.c: pcm_test.def pcm_test.tpl
135
 
#       autogen --writable pcm_test.def
136
 
#
137
 
#header_test.c: header_test.def header_test.tpl
138
 
#       autogen --writable header_test.def
139
 
#
140
 
#utils.c: utils.def utils.tpl
141
 
#       autogen --writable utils.def
142
 
#
143
 
#scale_clip_test.c: scale_clip_test.def scale_clip_test.tpl
144
 
#       autogen --writable scale_clip_test.def
145
 
#
146
 
#pipe_test.c: pipe_test.def pipe_test.tpl
147
 
#       autogen --writable pipe_test.def
148
 
#
149
 
#floating_point_test.c: floating_point_test.def floating_point_test.tpl
150
 
#       autogen --writable floating_point_test.def
151
 
#
152
 
#benchmark.c: benchmark.def benchmark.tpl
153
 
#       autogen --writable benchmark.def
154
 
 
155
 
genfiles : write_read_test.c pcm_test.c header_test.c utils.c \
156
 
                scale_clip_test.c pipe_test.c floating_point_test.c benchmark.c
157
 
 
158
 
#===============================================================================
159
 
 
160
 
check: generic-tests wav-tests aiff-tests au-tests caf-tests raw-tests \
161
 
        paf-tests svx-tests nist-tests ircam-tests voc-tests w64-tests mat4-tests \
162
 
        mat5-tests pvf-tests xi-tests htk-tests avr-tests sds-tests sd2-tests \
163
 
        flac-tests caf-tests io-tests
164
 
 
165
 
generic-tests : error_test ulaw_test alaw_test command_test floating_point_test pcm_test win32_ordinal_test
166
 
        uname -a
167
 
        ./error_test
168
 
        ./pcm_test
169
 
        ./ulaw_test
170
 
        ./alaw_test
171
 
        ./dwvw_test
172
 
        ./command_test ver
173
 
        ./command_test norm
174
 
        ./command_test format
175
 
        ./command_test peak
176
 
        ./command_test trunc
177
 
        ./command_test inst
178
 
        ./command_test bext
179
 
        ./floating_point_test
180
 
        ./scale_clip_test
181
 
        ./headerless_test
182
 
        ./locale_test
183
 
        ./win32_ordinal_test
184
 
        @echo "----------------------------------------------------------------------"
185
 
        @echo "  `./sfversion` passed common tests."
186
 
        @echo "----------------------------------------------------------------------"
187
 
 
188
 
wav-tests: write_read_test lossy_comp_test peak_chunk_test header_test misc_test multi_file_test
189
 
        ./write_read_test wav
190
 
        ./lossy_comp_test wav_ima
191
 
        ./lossy_comp_test wav_msadpcm
192
 
        ./lossy_comp_test wav_ulaw
193
 
        ./lossy_comp_test wav_alaw
194
 
        ./lossy_comp_test wav_gsm610
195
 
        ./lossy_comp_test wav_g721
196
 
        ./peak_chunk_test wav
197
 
        ./header_test wav
198
 
        ./misc_test wav
199
 
        ./string_test wav
200
 
        ./multi_file_test wav
201
 
        ./open_fail_test wav
202
 
        @echo "----------------------------------------------------------------------"
203
 
        @echo "  `./sfversion` passed tests on WAV files."
204
 
        @echo "----------------------------------------------------------------------"
205
 
 
206
 
aiff-tests: write_read_test lossy_comp_test peak_chunk_test header_test misc_test aiff_rw_test
207
 
        ./write_read_test aiff
208
 
        ./lossy_comp_test aiff_ulaw
209
 
        ./lossy_comp_test aiff_alaw
210
 
        ./lossy_comp_test aiff_gsm610
211
 
        @echo "=========================="
212
 
        @echo "./lossy_comp_test aiff_ima"
213
 
        @echo "=========================="
214
 
        ./peak_chunk_test aiff
215
 
        ./header_test aiff
216
 
        ./misc_test aiff
217
 
        ./string_test aiff
218
 
        ./multi_file_test aiff
219
 
        ./aiff_rw_test
220
 
        @echo "----------------------------------------------------------------------"
221
 
        @echo "  `./sfversion` passed tests on AIFF files."
222
 
        @echo "----------------------------------------------------------------------"
223
 
 
224
 
caf-tests: write_read_test lossy_comp_test header_test misc_test
225
 
        ./write_read_test caf
226
 
        ./lossy_comp_test caf_ulaw
227
 
        ./lossy_comp_test caf_alaw
228
 
        ./header_test caf
229
 
        ./misc_test caf
230
 
        @echo "----------------------------------------------------------------------"
231
 
        @echo "  `./sfversion` passed tests on CAF files."
232
 
        @echo "----------------------------------------------------------------------"
233
 
 
234
 
au-tests: write_read_test lossy_comp_test header_test misc_test
235
 
        ./write_read_test au
236
 
        ./lossy_comp_test au_ulaw
237
 
        ./lossy_comp_test au_alaw
238
 
        ./lossy_comp_test au_g721
239
 
        ./lossy_comp_test au_g723
240
 
        ./header_test au
241
 
        ./misc_test au
242
 
        ./multi_file_test wav
243
 
        @echo "----------------------------------------------------------------------"
244
 
        @echo "  `./sfversion` passed tests on AU files."
245
 
        @echo "----------------------------------------------------------------------"
246
 
 
247
 
raw-tests: write_read_test lossy_comp_test raw_test
248
 
        ./write_read_test raw
249
 
        ./lossy_comp_test raw_ulaw
250
 
        ./lossy_comp_test raw_alaw
251
 
        ./lossy_comp_test raw_gsm610
252
 
        ./lossy_comp_test vox_adpcm
253
 
        ./raw_test
254
 
        @echo "----------------------------------------------------------------------"
255
 
        @echo "  `./sfversion` passed tests on RAW (header-less) files."
256
 
        @echo "----------------------------------------------------------------------"
257
 
 
258
 
w64-tests: write_read_test lossy_comp_test misc_test
259
 
        ./write_read_test w64
260
 
        ./lossy_comp_test w64_ima
261
 
        ./lossy_comp_test w64_msadpcm
262
 
        ./lossy_comp_test w64_ulaw
263
 
        ./lossy_comp_test w64_alaw
264
 
        ./lossy_comp_test w64_gsm610
265
 
        ./header_test w64
266
 
        ./misc_test w64
267
 
        @echo "----------------------------------------------------------------------"
268
 
        @echo "  `./sfversion` passed tests on W64 files."
269
 
        @echo "----------------------------------------------------------------------"
270
 
 
271
 
# Lite remove start
272
 
paf-tests: write_read_test misc_test
273
 
        ./write_read_test paf
274
 
        ./header_test paf
275
 
        ./misc_test paf
276
 
        @echo "----------------------------------------------------------------------"
277
 
        @echo "  `./sfversion` passed tests on PAF files."
278
 
        @echo "----------------------------------------------------------------------"
279
 
 
280
 
svx-tests: write_read_test misc_test
281
 
        ./write_read_test svx
282
 
        ./header_test svx
283
 
        ./misc_test svx
284
 
        @echo "----------------------------------------------------------------------"
285
 
        @echo "  `./sfversion` passed tests on SVX files."
286
 
        @echo "----------------------------------------------------------------------"
287
 
 
288
 
nist-tests: write_read_test lossy_comp_test misc_test
289
 
        ./write_read_test nist
290
 
        ./lossy_comp_test nist_ulaw
291
 
        ./lossy_comp_test nist_alaw
292
 
        ./header_test nist
293
 
        ./misc_test nist
294
 
        @echo "----------------------------------------------------------------------"
295
 
        @echo "  `./sfversion` passed tests on NIST files."
296
 
        @echo "----------------------------------------------------------------------"
297
 
 
298
 
ircam-tests: write_read_test lossy_comp_test misc_test
299
 
        ./write_read_test ircam
300
 
        ./lossy_comp_test ircam_ulaw
301
 
        ./lossy_comp_test ircam_alaw
302
 
        ./header_test ircam
303
 
        ./misc_test ircam
304
 
        @echo "----------------------------------------------------------------------"
305
 
        @echo "  `./sfversion` passed tests on IRCAM files."
306
 
        @echo "----------------------------------------------------------------------"
307
 
 
308
 
voc-tests: write_read_test lossy_comp_test misc_test
309
 
        ./write_read_test voc
310
 
        ./lossy_comp_test voc_ulaw
311
 
        ./lossy_comp_test voc_alaw
312
 
        ./header_test voc
313
 
        ./misc_test voc
314
 
        @echo "----------------------------------------------------------------------"
315
 
        @echo "  `./sfversion` passed tests on VOC files."
316
 
        @echo "----------------------------------------------------------------------"
317
 
 
318
 
mat4-tests: write_read_test misc_test
319
 
        ./write_read_test mat4
320
 
        ./header_test mat4
321
 
        ./misc_test mat4
322
 
        @echo "----------------------------------------------------------------------"
323
 
        @echo "  `./sfversion` passed tests on MAT4 files."
324
 
        @echo "----------------------------------------------------------------------"
325
 
 
326
 
mat5-tests: write_read_test misc_test
327
 
        ./write_read_test mat5
328
 
        ./header_test mat5
329
 
        ./misc_test mat5
330
 
        @echo "----------------------------------------------------------------------"
331
 
        @echo "  `./sfversion` passed tests on MAT5 files."
332
 
        @echo "----------------------------------------------------------------------"
333
 
 
334
 
pvf-tests: write_read_test misc_test
335
 
        ./write_read_test pvf
336
 
        ./header_test pvf
337
 
        ./misc_test pvf
338
 
        @echo "----------------------------------------------------------------------"
339
 
        @echo "  `./sfversion` passed tests on PVF files."
340
 
        @echo "----------------------------------------------------------------------"
341
 
 
342
 
xi-tests: lossy_comp_test
343
 
        ./lossy_comp_test xi_dpcm
344
 
        @echo "----------------------------------------------------------------------"
345
 
        @echo "  `./sfversion` passed tests on XI files."
346
 
        @echo "----------------------------------------------------------------------"
347
 
 
348
 
htk-tests: write_read_test misc_test
349
 
        ./write_read_test htk
350
 
        ./header_test htk
351
 
        ./misc_test htk
352
 
        @echo "----------------------------------------------------------------------"
353
 
        @echo "  `./sfversion` passed tests on HTK files."
354
 
        @echo "----------------------------------------------------------------------"
355
 
 
356
 
avr-tests: write_read_test misc_test
357
 
        ./write_read_test avr
358
 
        ./header_test avr
359
 
        ./misc_test avr
360
 
        @echo "----------------------------------------------------------------------"
361
 
        @echo "  `./sfversion` passed tests on AVR files."
362
 
        @echo "----------------------------------------------------------------------"
363
 
 
364
 
sds-tests: write_read_test misc_test
365
 
        ./write_read_test sds
366
 
        ./header_test sds
367
 
        ./misc_test sds
368
 
        @echo "----------------------------------------------------------------------"
369
 
        @echo "  `./sfversion` passed tests on SDS files."
370
 
        @echo "----------------------------------------------------------------------"
371
 
 
372
 
sd2-tests: write_read_test
373
 
        ./write_read_test sd2
374
 
        @echo "----------------------------------------------------------------------"
375
 
        @echo "  `./sfversion` passed tests on SD2 files."
376
 
        @echo "----------------------------------------------------------------------"
377
 
 
378
 
flac-tests: write_read_test
379
 
        ./write_read_test flac
380
 
        @echo "----------------------------------------------------------------------"
381
 
        @echo "  `./sfversion` passed tests on FLAC files."
382
 
        @echo "----------------------------------------------------------------------"
383
 
 
384
 
# Lite remove end
385
 
 
386
 
io-tests: stdio_test stdin_test stdout_test pipe_test
387
 
        ./stdio_test
388
 
        ./pipe_test
389
 
        ./virtual_io_test
390
 
        @echo "----------------------------------------------------------------------"
391
 
        @echo "  `./sfversion` passed stdio/pipe/vio tests."
392
 
        @echo "----------------------------------------------------------------------"
393
 
 
394
 
## Do not edit or modify anything in this comment block.
395
 
## The arch-tag line is a file identity tag for the GNU Arch 
396
 
## revision control system.
397
 
##
398
 
## arch-tag: 820ec297-29b9-48a4-998f-48b17053f435
399