blob: 16fb4c1fcad15ea94ddf9fe38b61e7ca66a1c3d2 [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# FLAC - Free Lossless Audio Codec
Josh Coalson1152f9f2002-01-26 18:05:12 +00002# Copyright (C) 2001,2002 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
4# This program is part of FLAC; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# as published by the Free Software Foundation; either version 2
7# of the License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
Josh Coalson9b145182002-08-30 05:39:36 +000018if FLaC__EXHAUSTIVE_TESTS
19TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=yes
20else
21TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=no
22endif
23
Josh Coalson34c1ea82002-12-04 04:57:33 +000024if FLaC__VALGRIND_TESTING
25TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=yes
26else
27TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=no
28endif
29
Josh Coalsoncb908a62002-11-23 02:21:48 +000030SUBDIRS = cuesheets
31
Josh Coalson1f99eac2002-08-23 06:45:23 +000032if FLaC__HAS_OGG
33OGG_TESTS = \
34 ./test_libOggFLAC.sh \
35 ./test_libOggFLAC++.sh
36endif
37
Josh Coalsona86f8702002-08-20 04:03:24 +000038TESTS = \
39 ./test_libFLAC.sh \
40 ./test_libFLAC++.sh \
Josh Coalson1f99eac2002-08-23 06:45:23 +000041 $(OGG_TESTS) \
Josh Coalsond3fe7282002-12-10 06:42:15 +000042 ./test_flac.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000043 ./test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000044 ./test_grabbag.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000045 ./test_streams.sh \
46 ./test_bins.sh
Josh Coalson9f429ba2001-01-19 22:39:39 +000047
Josh Coalson57ba6f42002-06-07 05:27:37 +000048EXTRA_DIST = \
Josh Coalson1f99eac2002-08-23 06:45:23 +000049 Makefile.lite \
Josh Coalsoncb908a62002-11-23 02:21:48 +000050 cuesheet.ok \
Josh Coalson57ba6f42002-06-07 05:27:37 +000051 test_libFLAC.sh \
52 test_libFLAC++.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000053 test_libOggFLAC.sh \
54 test_libOggFLAC++.sh \
Josh Coalsond3fe7282002-12-10 06:42:15 +000055 test_flac.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000056 test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000057 test_grabbag.sh \
Josh Coalson4c8f73a2001-07-22 07:27:45 +000058 test_streams.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000059 test_bins.sh
Josh Coalson4c8f73a2001-07-22 07:27:45 +000060
Josh Coalson51e36422001-07-18 23:42:07 +000061CLEANFILES = \
Josh Coalson9b145182002-08-30 05:39:36 +000062 $(wildcard *.raw) \
63 $(wildcard *.flac) \
64 $(wildcard *.ogg) \
65 $(wildcard *.cmp) \
Josh Coalson291b4fc2002-12-17 08:15:20 +000066 $(wildcard *.aiff) \
Josh Coalson9b145182002-08-30 05:39:36 +000067 $(wildcard *.wav) \
Josh Coalson9e03c442001-06-06 16:38:22 +000068 $(wildcard ../../test_files/bins/*.raw) \
69 $(wildcard ../../test_files/bins/*.flac) \
70 $(wildcard ../../test_files/bins/*.cmp) \
Josh Coalson3c75a392002-11-27 04:46:14 +000071 $(wildcard *.diff) \
72 $(wildcard *.log) \
73 $(wildcard *.cue) \
74 core