change license verbiage
[platform/upstream/flac.git] / test / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003  Josh Coalson
3 #
4 #  This file is part the FLAC project.  FLAC is comprised of several
5 #  components distributed under difference licenses.  The codec libraries
6 #  are distributed under Xiph.Org's BSD-like license (see the file
7 #  COPYING.Xiph in this distribution).  All other programs, libraries, and
8 #  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
9 #  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
10 #  FLAC distribution contains at the top the terms under which it may be
11 #  distributed.
12 #
13 #  Since this particular file is relevant to all components of FLAC,
14 #  it may be distributed under the Xiph.Org license, which is the least
15 #  restrictive of those mentioned above.  See the file COPYING.Xiph in this
16 #  distribution.
17
18 if FLaC__EXHAUSTIVE_TESTS
19 FLAC__EXHAUSTIVE_TESTS = yes
20 else
21 FLAC__EXHAUSTIVE_TESTS = no
22 endif
23
24 if FLaC__VALGRIND_TESTING
25 FLAC__VALGRIND = yes
26 else
27 FLAC__VALGRIND = no
28 endif
29
30 TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=$(FLAC__EXHAUSTIVE_TESTS) FLAC__VALGRIND=$(FLAC__VALGRIND)
31
32 SUBDIRS = cuesheets
33
34 if FLaC__HAS_OGG
35 OGG_TESTS = \
36         ./test_libOggFLAC.sh \
37         ./test_libOggFLAC++.sh
38 endif
39
40 TESTS = \
41         ./test_libFLAC.sh \
42         ./test_libFLAC++.sh \
43         $(OGG_TESTS) \
44         ./test_flac.sh \
45         ./test_metaflac.sh \
46         ./test_grabbag.sh \
47         ./test_streams.sh \
48         ./test_bins.sh
49
50 EXTRA_DIST = \
51         Makefile.lite \
52         cuesheet.ok \
53         metaflac.flac.in \
54         metaflac.flac.ok \
55         test_libFLAC.sh \
56         test_libFLAC++.sh \
57         test_libOggFLAC.sh \
58         test_libOggFLAC++.sh \
59         test_flac.sh \
60         test_metaflac.sh \
61         test_grabbag.sh \
62         test_streams.sh \
63         test_bins.sh
64
65 CLEANFILES = \
66         $(wildcard *.raw) \
67         $(wildcard *.flac) \
68         $(wildcard *.ogg) \
69         $(wildcard *.cmp) \
70         $(wildcard *.aiff) \
71         $(wildcard *.wav) \
72         $(wildcard ../../test_files/bins/*.raw) \
73         $(wildcard ../../test_files/bins/*.flac) \
74         $(wildcard ../../test_files/bins/*.cmp) \
75         $(wildcard *.diff) \
76         $(wildcard *.log) \
77         $(wildcard *.cue) \
78         core