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 | 6a5fe43 | 2016-12-05 06:35:39 +1100 | [diff] [blame] | 3 | # Copyright (C) 2011-2016 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 | |
Erik de Castro Lopo | efaab3c | 2015-10-04 09:43:33 +1100 | [diff] [blame] | 19 | TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALGRIND=@FLAC__TEST_WITH_VALGRIND@ ECHO_N="@ECHO_N@" ECHO_C="@ECHO_C@" |
Josh Coalson | 2b7cc17 | 2002-12-23 19:49:56 +0000 | [diff] [blame] | 20 | |
Josh Coalson | 0faeaa1 | 2006-09-24 07:17:58 +0000 | [diff] [blame] | 21 | SUBDIRS = cuesheets flac-to-flac-metadata-test-files metaflac-test-files pictures |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 22 | |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 23 | check_SCRIPTS = \ |
| 24 | test_libFLAC.sh \ |
| 25 | test_libFLAC++.sh \ |
| 26 | test_grabbag.sh \ |
| 27 | test_flac.sh \ |
| 28 | test_metaflac.sh \ |
Erik de Castro Lopo | b01e568 | 2013-08-02 06:19:56 +1000 | [diff] [blame] | 29 | test_replaygain.sh \ |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 30 | test_seeking.sh \ |
Erik de Castro Lopo | 1f0dacc | 2012-10-14 21:40:40 +1100 | [diff] [blame] | 31 | test_streams.sh \ |
| 32 | test_compression.sh |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 33 | |
Karthik Periagaram | bc97640 | 2014-12-13 13:15:52 -0800 | [diff] [blame] | 34 | # This one should pass when building out-of-tree (e.g. 'make distcheck'). |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 35 | check: $(check_SCRIPTS) |
Martijn van Beurden | dec61ce | 2013-04-21 22:05:26 +0200 | [diff] [blame] | 36 | $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC.sh |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 37 | if FLaC__WITH_CPPLIBS |
Martijn van Beurden | dec61ce | 2013-04-21 22:05:26 +0200 | [diff] [blame] | 38 | $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC++.sh |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 39 | endif |
Erik de Castro Lopo | bd51618 | 2014-12-27 12:30:41 +1100 | [diff] [blame] | 40 | $(TESTS_ENVIRONMENT) $(srcdir)/test_grabbag.sh |
| 41 | $(TESTS_ENVIRONMENT) $(srcdir)/test_flac.sh |
| 42 | $(TESTS_ENVIRONMENT) $(srcdir)/test_metaflac.sh |
| 43 | $(TESTS_ENVIRONMENT) $(srcdir)/test_replaygain.sh |
Martijn van Beurden | dec61ce | 2013-04-21 22:05:26 +0200 | [diff] [blame] | 44 | $(TESTS_ENVIRONMENT) $(srcdir)/test_seeking.sh |
| 45 | $(TESTS_ENVIRONMENT) $(srcdir)/test_streams.sh |
| 46 | $(TESTS_ENVIRONMENT) $(srcdir)/test_compression.sh |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 47 | @echo "----------------" |
| 48 | @echo "All tests passed" |
| 49 | @echo "----------------" |
| 50 | |
Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 51 | EXTRA_DIST = \ |
Erik de Castro Lopo | 6d0e222 | 2019-09-29 11:57:21 +1000 | [diff] [blame] | 52 | CMakeLists.txt \ |
Josh Coalson | 1f99eac | 2002-08-23 06:45:23 +0000 | [diff] [blame] | 53 | Makefile.lite \ |
Josh Coalson | cb908a6 | 2002-11-23 02:21:48 +0000 | [diff] [blame] | 54 | cuesheet.ok \ |
Josh Coalson | 4b08c0b | 2003-01-11 06:23:34 +0000 | [diff] [blame] | 55 | metaflac.flac.in \ |
| 56 | metaflac.flac.ok \ |
Josh Coalson | 2824cec | 2006-11-21 01:40:44 +0000 | [diff] [blame] | 57 | picture.ok \ |
Erik de Castro Lopo | efffc25 | 2012-02-07 18:41:28 +1100 | [diff] [blame] | 58 | $(check_SCRIPTS) \ |
Josh Coalson | 7617cac | 2008-09-09 07:24:23 +0000 | [diff] [blame] | 59 | write_iff.pl |
Josh Coalson | 4c8f73a | 2001-07-22 07:27:45 +0000 | [diff] [blame] | 60 | |
Josh Coalson | 0f325b0 | 2007-09-11 06:29:04 +0000 | [diff] [blame] | 61 | clean-local: |
Josh Coalson | d7f5344 | 2008-09-09 07:49:19 +0000 | [diff] [blame] | 62 | -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core |