Replace Sys.time by Unix.time in main.ml.
[Faustine.git] / interpreter / lib / src / libsndfile-1.0.25 / tests / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 if ENABLE_TEST_COVERAGE
4 CPP_TEST =
5 else
6 CPP_TEST = cpp_test
7 endif
8
9 INCLUDES = -I$(top_srcdir)/src
10
11 check_PROGRAMS = sfversion floating_point_test write_read_test \
12 lossy_comp_test error_test ulaw_test alaw_test dwvw_test \
13 peak_chunk_test command_test stdin_test stdout_test stdio_test \
14 pcm_test headerless_test pipe_test benchmark header_test misc_test \
15 raw_test string_test multi_file_test dither_test \
16 scale_clip_test win32_test fix_this aiff_rw_test virtual_io_test \
17 locale_test largefile_test win32_ordinal_test ogg_test vorbis_test \
18 checksum_test external_libs_test rdwr_test format_check_test $(CPP_TEST)
19
20 noinst_HEADERS = dft_cmp.h utils.h generate.h
21
22 autogen_sources = write_read_test.tpl write_read_test.def \
23 pcm_test.tpl pcm_test.def \
24 header_test.tpl header_test.def \
25 utils.tpl utils.def \
26 scale_clip_test.tpl scale_clip_test.def \
27 pipe_test.tpl pipe_test.def \
28 rdwr_test.tpl rdwr_test.def \
29 floating_point_test.tpl floating_point_test.def \
30 benchmark.tpl benchmark.def
31
32 EXTRA_DIST = $(autogen_sources)
33
34 CLEANFILES = *~
35
36 #===============================================================================
37 # If we're cross compiling from Linux to Windows and running the test suite
38 # under Wine, we need a symbolic link to the generated libsndfile DLL.
39
40 if LINUX_MINGW_CROSS_TEST
41
42 $(check_PROGRAMS) : libsndfile-1.dll
43
44 libsndfile-1.dll :
45 ln -s $(top_builddir)/src/.libs/$@ $@
46
47 clean-local :
48 -rm -f libsndfile-1.dll
49
50 endif
51
52 #===============================================================================
53
54 check: test_wrapper.sh
55 sh test_wrapper.sh
56
57 # Need this target to force building of test programs.
58 checkprograms : $(check_PROGRAMS)
59
60 #===============================================================================
61
62 sfversion_SOURCES = sfversion.c
63 sfversion_LDADD = $(top_builddir)/src/libsndfile.la
64
65 write_read_test_SOURCES = utils.c generate.c write_read_test.c
66 write_read_test_LDADD = $(top_builddir)/src/libsndfile.la
67
68 lossy_comp_test_SOURCES = utils.c lossy_comp_test.c
69 lossy_comp_test_LDADD = $(top_builddir)/src/libsndfile.la
70
71 fix_this_SOURCES = utils.c fix_this.c
72 fix_this_LDADD = $(top_builddir)/src/libsndfile.la
73
74 error_test_SOURCES = error_test.c utils.c
75 error_test_LDADD = $(top_builddir)/src/libsndfile.la
76
77 ulaw_test_SOURCES = utils.c ulaw_test.c
78 ulaw_test_LDADD = $(top_builddir)/src/libsndfile.la
79
80 alaw_test_SOURCES = utils.c alaw_test.c
81 alaw_test_LDADD = $(top_builddir)/src/libsndfile.la
82
83 aiff_rw_test_SOURCES = utils.c aiff_rw_test.c
84 aiff_rw_test_LDADD = $(top_builddir)/src/libsndfile.la
85
86 command_test_SOURCES = command_test.c utils.c
87 command_test_LDADD = $(top_builddir)/src/libsndfile.la
88
89 locale_test_SOURCES = locale_test.c utils.c
90 locale_test_LDADD = $(top_builddir)/src/libsndfile.la
91
92 largefile_test_SOURCES = largefile_test.c utils.c
93 largefile_test_LDADD = $(top_builddir)/src/libsndfile.la
94
95 pcm_test_SOURCES = pcm_test.c utils.c
96 pcm_test_LDADD = $(top_builddir)/src/libsndfile.la
97
98 headerless_test_SOURCES = utils.c headerless_test.c
99 headerless_test_LDADD = $(top_builddir)/src/libsndfile.la
100
101 stdin_test_SOURCES = stdin_test.c utils.c
102 stdin_test_LDADD = $(top_builddir)/src/libsndfile.la
103
104 stdout_test_SOURCES = stdout_test.c
105 stdout_test_LDADD = $(top_builddir)/src/libsndfile.la
106
107 stdio_test_SOURCES = stdio_test.c utils.c
108 stdio_test_LDADD = $(top_builddir)/src/libsndfile.la
109
110 pipe_test_SOURCES = pipe_test.c utils.c
111 pipe_test_LDADD = $(top_builddir)/src/libsndfile.la
112
113 benchmark_SOURCES = benchmark.c
114 benchmark_LDADD = $(top_builddir)/src/libsndfile.la
115
116 header_test_SOURCES = header_test.c utils.c
117 header_test_LDADD = $(top_builddir)/src/libsndfile.la
118
119 misc_test_SOURCES = misc_test.c utils.c
120 misc_test_LDADD = $(top_builddir)/src/libsndfile.la
121
122 raw_test_SOURCES = raw_test.c utils.c
123 raw_test_LDADD = $(top_builddir)/src/libsndfile.la
124
125 string_test_SOURCES = string_test.c utils.c
126 string_test_LDADD = $(top_builddir)/src/libsndfile.la
127
128 dither_test_SOURCES = dither_test.c utils.c
129 dither_test_LDADD = $(top_builddir)/src/libsndfile.la
130
131 multi_file_test_SOURCES = multi_file_test.c utils.c
132 multi_file_test_LDADD = $(top_builddir)/src/libsndfile.la
133
134 virtual_io_test_SOURCES = virtual_io_test.c utils.c
135 virtual_io_test_LDADD = $(top_builddir)/src/libsndfile.la
136
137 ogg_test_SOURCES = ogg_test.c utils.c
138 ogg_test_LDADD = $(top_builddir)/src/libsndfile.la
139
140 vorbis_test_SOURCES = vorbis_test.c utils.c
141 vorbis_test_LDADD = $(top_builddir)/src/libsndfile.la
142
143 rdwr_test_SOURCES = rdwr_test.c utils.c
144 rdwr_test_LDADD = $(top_builddir)/src/libsndfile.la
145
146 win32_test_SOURCES = win32_test.c
147 # Link lib here so that generating the testsuite tarball works correctly.
148 win32_test_LDADD = $(top_builddir)/src/libsndfile.la
149
150 win32_ordinal_test_SOURCES = win32_ordinal_test.c utils.c
151 win32_ordinal_test_LDADD = $(top_builddir)/src/libsndfile.la
152
153 external_libs_test_SOURCES = external_libs_test.c utils.c
154 external_libs_test_LDADD = $(top_builddir)/src/libsndfile.la
155
156 format_check_test_SOURCES = format_check_test.c utils.c
157 format_check_test_LDADD = $(top_builddir)/src/libsndfile.la
158
159 cpp_test_SOURCES = cpp_test.cc utils.c
160 cpp_test_LDADD = $(top_builddir)/src/libsndfile.la
161
162 checksum_test_SOURCES = checksum_test.c utils.c
163 checksum_test_LDADD = $(top_builddir)/src/libsndfile.la
164
165 # Lite remove start
166 dwvw_test_SOURCES = utils.c dwvw_test.c
167 dwvw_test_LDADD = $(top_builddir)/src/libsndfile.la
168
169 floating_point_test_SOURCES = utils.c dft_cmp.c floating_point_test.c
170 floating_point_test_LDADD = $(top_builddir)/src/libsndfile.la
171
172 peak_chunk_test_SOURCES = peak_chunk_test.c utils.c
173 peak_chunk_test_LDADD = $(top_builddir)/src/libsndfile.la
174
175 scale_clip_test_SOURCES = scale_clip_test.c utils.c
176 scale_clip_test_LDADD = $(top_builddir)/src/libsndfile.la
177 # Lite remove end
178
179 #===============================================================================
180
181 write_read_test.c: write_read_test.def write_read_test.tpl
182 autogen --writable write_read_test.def
183
184 pcm_test.c: pcm_test.def pcm_test.tpl
185 autogen --writable pcm_test.def
186
187 header_test.c: header_test.def header_test.tpl
188 autogen --writable header_test.def
189
190 utils.c utils.h : utils.def utils.tpl
191 autogen --writable utils.def
192
193 scale_clip_test.c: scale_clip_test.def scale_clip_test.tpl
194 autogen --writable scale_clip_test.def
195
196 pipe_test.c: pipe_test.def pipe_test.tpl
197 autogen --writable pipe_test.def
198
199 rdwr_test.c: rdwr_test.def rdwr_test.tpl
200 autogen --writable rdwr_test.def
201
202 floating_point_test.c: floating_point_test.def floating_point_test.tpl
203 autogen --writable floating_point_test.def
204
205 benchmark.c: benchmark.def benchmark.tpl
206 autogen --writable benchmark.def
207
208 genfiles : write_read_test.c pcm_test.c header_test.c utils.c \
209 scale_clip_test.c pipe_test.c floating_point_test.c rdwr_test.c \
210 benchmark.c
211