Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 1 | # FLAC - Free Lossless Audio Codec |
Erik de Castro Lopo | b1982fb | 2013-05-25 17:11:19 +1000 | [diff] [blame] | 2 | # Copyright (C) 2001-2009 Josh Coalson |
Erik de Castro Lopo | 1437391 | 2014-11-24 22:07:15 +1100 | [diff] [blame^] | 3 | # Copyright (C) 2011-2014 Xiph.Org Foundation |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 4 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 5 | # This file is part the FLAC project. FLAC is comprised of several |
Ulrich Klauer | cd4ddab | 2013-05-26 22:53:43 +0200 | [diff] [blame] | 6 | # components distributed under different licenses. The codec libraries |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 7 | # are distributed under Xiph.Org's BSD-like license (see the file |
| 8 | # COPYING.Xiph in this distribution). All other programs, libraries, and |
| 9 | # plugins are distributed under the GPL (see COPYING.GPL). The documentation |
| 10 | # is distributed under the Gnu FDL (see COPYING.FDL). Each file in the |
| 11 | # FLAC distribution contains at the top the terms under which it may be |
| 12 | # distributed. |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 13 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 14 | # Since this particular file is relevant to all components of FLAC, |
| 15 | # it may be distributed under the Xiph.Org license, which is the least |
| 16 | # restrictive of those mentioned above. See the file COPYING.Xiph in this |
| 17 | # distribution. |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 18 | |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 19 | # |
| 20 | # GNU makefile |
| 21 | # |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 22 | |
| 23 | topdir = .. |
| 24 | |
Josh Coalson | f3becfd | 2004-12-30 03:49:15 +0000 | [diff] [blame] | 25 | DEFAULT_CONFIG = release |
| 26 | |
| 27 | CONFIG = $(DEFAULT_CONFIG) |
| 28 | |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 29 | all: clean |
Josh Coalson | de9091e | 2006-05-25 02:48:22 +0000 | [diff] [blame] | 30 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC.sh $(CONFIG) |
| 31 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC++.sh $(CONFIG) |
Josh Coalson | 8da98c8 | 2006-10-15 04:24:05 +0000 | [diff] [blame] | 32 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_grabbag.sh $(CONFIG) |
Josh Coalson | de9091e | 2006-05-25 02:48:22 +0000 | [diff] [blame] | 33 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_flac.sh $(CONFIG) |
| 34 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_metaflac.sh $(CONFIG) |
Josh Coalson | de9091e | 2006-05-25 02:48:22 +0000 | [diff] [blame] | 35 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_seeking.sh $(CONFIG) |
| 36 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_streams.sh $(CONFIG) |
| 37 | $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_bins.sh $(CONFIG) |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 38 | |
Josh Coalson | de9091e | 2006-05-25 02:48:22 +0000 | [diff] [blame] | 39 | debug : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2 |
| 40 | valgrind: FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=1 |
| 41 | release : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2 |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 42 | |
Josh Coalson | de9091e | 2006-05-25 02:48:22 +0000 | [diff] [blame] | 43 | debug : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no |
| 44 | valgrind: FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=yes |
| 45 | release : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no |
Josh Coalson | 34c1ea8 | 2002-12-04 04:57:33 +0000 | [diff] [blame] | 46 | |
Josh Coalson | f3becfd | 2004-12-30 03:49:15 +0000 | [diff] [blame] | 47 | debug : CONFIG = debug |
Josh Coalson | cc12687 | 2005-01-28 16:24:02 +0000 | [diff] [blame] | 48 | valgrind: CONFIG = debug |
Josh Coalson | f3becfd | 2004-12-30 03:49:15 +0000 | [diff] [blame] | 49 | release : CONFIG = release |
Josh Coalson | b43d3cb | 2004-11-09 01:28:05 +0000 | [diff] [blame] | 50 | |
Josh Coalson | 34c1ea8 | 2002-12-04 04:57:33 +0000 | [diff] [blame] | 51 | debug : all |
| 52 | valgrind: all |
| 53 | release : all |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 54 | |
| 55 | clean: |
Josh Coalson | d7f5344 | 2008-09-09 07:49:19 +0000 | [diff] [blame] | 56 | rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core flac-to-flac-metadata-test-files/out.* metaflac-test-files/out.* |