Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 1 | # FLAC - Free Lossless Audio Codec |
Josh Coalson | 1152f9f | 2002-01-26 18:05:12 +0000 | [diff] [blame] | 2 | # Copyright (C) 2001,2002 Josh Coalson |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 3 | # |
| 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 Coalson | 9b14518 | 2002-08-30 05:39:36 +0000 | [diff] [blame] | 18 | if FLaC__EXHAUSTIVE_TESTS |
| 19 | TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=yes |
| 20 | else |
| 21 | TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=no |
| 22 | endif |
| 23 | |
Josh Coalson | 34c1ea8 | 2002-12-04 04:57:33 +0000 | [diff] [blame] | 24 | if FLaC__VALGRIND_TESTING |
| 25 | TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=yes |
| 26 | else |
| 27 | TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT) FLAC__VALGRIND=no |
| 28 | endif |
| 29 | |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 30 | SUBDIRS = cuesheets |
| 31 | |
Josh Coalson | 1f99eac | 2002-08-23 06:45:23 +0000 | [diff] [blame] | 32 | if FLaC__HAS_OGG |
| 33 | OGG_TESTS = \ |
| 34 | ./test_libOggFLAC.sh \ |
| 35 | ./test_libOggFLAC++.sh |
| 36 | endif |
| 37 | |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 38 | TESTS = \ |
| 39 | ./test_libFLAC.sh \ |
| 40 | ./test_libFLAC++.sh \ |
Josh Coalson | 1f99eac | 2002-08-23 06:45:23 +0000 | [diff] [blame] | 41 | $(OGG_TESTS) \ |
Josh Coalson | d3fe728 | 2002-12-10 06:42:15 +0000 | [diff] [blame^] | 42 | ./test_flac.sh \ |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 43 | ./test_metaflac.sh \ |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 44 | ./test_grabbag.sh \ |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 45 | ./test_streams.sh \ |
| 46 | ./test_bins.sh |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 47 | |
Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 48 | EXTRA_DIST = \ |
Josh Coalson | 1f99eac | 2002-08-23 06:45:23 +0000 | [diff] [blame] | 49 | Makefile.lite \ |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 50 | cuesheet.ok \ |
Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 51 | test_libFLAC.sh \ |
| 52 | test_libFLAC++.sh \ |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 53 | test_libOggFLAC.sh \ |
| 54 | test_libOggFLAC++.sh \ |
Josh Coalson | d3fe728 | 2002-12-10 06:42:15 +0000 | [diff] [blame^] | 55 | test_flac.sh \ |
Josh Coalson | 273e168 | 2002-06-15 05:12:05 +0000 | [diff] [blame] | 56 | test_metaflac.sh \ |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 57 | test_grabbag.sh \ |
Josh Coalson | 4c8f73a | 2001-07-22 07:27:45 +0000 | [diff] [blame] | 58 | test_streams.sh \ |
Josh Coalson | 273e168 | 2002-06-15 05:12:05 +0000 | [diff] [blame] | 59 | test_bins.sh |
Josh Coalson | 4c8f73a | 2001-07-22 07:27:45 +0000 | [diff] [blame] | 60 | |
Josh Coalson | 51e3642 | 2001-07-18 23:42:07 +0000 | [diff] [blame] | 61 | CLEANFILES = \ |
Josh Coalson | 9b14518 | 2002-08-30 05:39:36 +0000 | [diff] [blame] | 62 | $(wildcard *.raw) \ |
| 63 | $(wildcard *.flac) \ |
| 64 | $(wildcard *.ogg) \ |
| 65 | $(wildcard *.cmp) \ |
| 66 | $(wildcard *.wav) \ |
Josh Coalson | 9e03c44 | 2001-06-06 16:38:22 +0000 | [diff] [blame] | 67 | $(wildcard ../../test_files/bins/*.raw) \ |
| 68 | $(wildcard ../../test_files/bins/*.flac) \ |
| 69 | $(wildcard ../../test_files/bins/*.cmp) \ |
Josh Coalson | 3c75a39 | 2002-11-27 04:46:14 +0000 | [diff] [blame] | 70 | $(wildcard *.diff) \ |
| 71 | $(wildcard *.log) \ |
| 72 | $(wildcard *.cue) \ |
| 73 | core |