Chris@1
|
1 # FLAC - Free Lossless Audio Codec
|
Chris@1
|
2 # Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
Chris@1
|
3 #
|
Chris@1
|
4 # This file is part the FLAC project. FLAC is comprised of several
|
Chris@1
|
5 # components distributed under difference licenses. The codec libraries
|
Chris@1
|
6 # are distributed under Xiph.Org's BSD-like license (see the file
|
Chris@1
|
7 # COPYING.Xiph in this distribution). All other programs, libraries, and
|
Chris@1
|
8 # plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
Chris@1
|
9 # is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
Chris@1
|
10 # FLAC distribution contains at the top the terms under which it may be
|
Chris@1
|
11 # distributed.
|
Chris@1
|
12 #
|
Chris@1
|
13 # Since this particular file is relevant to all components of FLAC,
|
Chris@1
|
14 # it may be distributed under the Xiph.Org license, which is the least
|
Chris@1
|
15 # restrictive of those mentioned above. See the file COPYING.Xiph in this
|
Chris@1
|
16 # distribution.
|
Chris@1
|
17
|
Chris@1
|
18 #
|
Chris@1
|
19 # GNU makefile
|
Chris@1
|
20 #
|
Chris@1
|
21
|
Chris@1
|
22 topdir = ..
|
Chris@1
|
23
|
Chris@1
|
24 DEFAULT_CONFIG = release
|
Chris@1
|
25
|
Chris@1
|
26 CONFIG = $(DEFAULT_CONFIG)
|
Chris@1
|
27
|
Chris@1
|
28 all: clean
|
Chris@1
|
29 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC.sh $(CONFIG)
|
Chris@1
|
30 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC++.sh $(CONFIG)
|
Chris@1
|
31 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_grabbag.sh $(CONFIG)
|
Chris@1
|
32 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_flac.sh $(CONFIG)
|
Chris@1
|
33 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_metaflac.sh $(CONFIG)
|
Chris@1
|
34 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_seeking.sh $(CONFIG)
|
Chris@1
|
35 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_streams.sh $(CONFIG)
|
Chris@1
|
36 $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_bins.sh $(CONFIG)
|
Chris@1
|
37
|
Chris@1
|
38 debug : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
|
Chris@1
|
39 valgrind: FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=1
|
Chris@1
|
40 release : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
|
Chris@1
|
41
|
Chris@1
|
42 debug : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
|
Chris@1
|
43 valgrind: FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=yes
|
Chris@1
|
44 release : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
|
Chris@1
|
45
|
Chris@1
|
46 debug : CONFIG = debug
|
Chris@1
|
47 valgrind: CONFIG = debug
|
Chris@1
|
48 release : CONFIG = release
|
Chris@1
|
49
|
Chris@1
|
50 debug : all
|
Chris@1
|
51 valgrind: all
|
Chris@1
|
52 release : all
|
Chris@1
|
53
|
Chris@1
|
54 clean:
|
Chris@1
|
55 rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.diff *.log *.cue core flac-to-flac-metadata-test-files/out.* metaflac-test-files/out.*
|