blob: e8242e11b9ddb73d894f3222752a3e90463d6ecf [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# FLAC - Free Lossless Audio Codec
Josh Coalson95643902004-01-17 04:14:43 +00002# Copyright (C) 2001,2002,2003,2004 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
Josh Coalsone8a76012003-02-07 00:14:32 +00004# 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.
Josh Coalson6b05bc52001-06-08 00:13:21 +000012#
Josh Coalsone8a76012003-02-07 00:14:32 +000013# 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.
Josh Coalson6b05bc52001-06-08 00:13:21 +000017
Josh Coalson9b145182002-08-30 05:39:36 +000018if FLaC__EXHAUSTIVE_TESTS
Josh Coalson2b7cc172002-12-23 19:49:56 +000019FLAC__EXHAUSTIVE_TESTS = yes
Josh Coalson9b145182002-08-30 05:39:36 +000020else
Josh Coalson2b7cc172002-12-23 19:49:56 +000021FLAC__EXHAUSTIVE_TESTS = no
Josh Coalson9b145182002-08-30 05:39:36 +000022endif
23
Josh Coalson34c1ea82002-12-04 04:57:33 +000024if FLaC__VALGRIND_TESTING
Josh Coalson2b7cc172002-12-23 19:49:56 +000025FLAC__VALGRIND = yes
Josh Coalson34c1ea82002-12-04 04:57:33 +000026else
Josh Coalson2b7cc172002-12-23 19:49:56 +000027FLAC__VALGRIND = no
Josh Coalson34c1ea82002-12-04 04:57:33 +000028endif
29
Josh Coalson2b7cc172002-12-23 19:49:56 +000030TESTS_ENVIRONMENT = FLAC__EXHAUSTIVE_TESTS=$(FLAC__EXHAUSTIVE_TESTS) FLAC__VALGRIND=$(FLAC__VALGRIND)
31
Josh Coalsoncb908a62002-11-23 02:21:48 +000032SUBDIRS = cuesheets
33
Josh Coalson1f99eac2002-08-23 06:45:23 +000034if FLaC__HAS_OGG
35OGG_TESTS = \
36 ./test_libOggFLAC.sh \
37 ./test_libOggFLAC++.sh
38endif
39
Josh Coalsona86f8702002-08-20 04:03:24 +000040TESTS = \
41 ./test_libFLAC.sh \
42 ./test_libFLAC++.sh \
Josh Coalson1f99eac2002-08-23 06:45:23 +000043 $(OGG_TESTS) \
Josh Coalsond3fe7282002-12-10 06:42:15 +000044 ./test_flac.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000045 ./test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000046 ./test_grabbag.sh \
Josh Coalsonb43d3cb2004-11-09 01:28:05 +000047 ./test_seeking.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000048 ./test_streams.sh \
49 ./test_bins.sh
Josh Coalson9f429ba2001-01-19 22:39:39 +000050
Josh Coalson57ba6f42002-06-07 05:27:37 +000051EXTRA_DIST = \
Josh Coalson1f99eac2002-08-23 06:45:23 +000052 Makefile.lite \
Josh Coalsoncb908a62002-11-23 02:21:48 +000053 cuesheet.ok \
Josh Coalson4b08c0b2003-01-11 06:23:34 +000054 metaflac.flac.in \
55 metaflac.flac.ok \
Josh Coalson57ba6f42002-06-07 05:27:37 +000056 test_libFLAC.sh \
57 test_libFLAC++.sh \
Josh Coalsona86f8702002-08-20 04:03:24 +000058 test_libOggFLAC.sh \
59 test_libOggFLAC++.sh \
Josh Coalsond3fe7282002-12-10 06:42:15 +000060 test_flac.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000061 test_metaflac.sh \
Josh Coalsoncb908a62002-11-23 02:21:48 +000062 test_grabbag.sh \
Josh Coalsonb43d3cb2004-11-09 01:28:05 +000063 test_seeking.sh \
Josh Coalson4c8f73a2001-07-22 07:27:45 +000064 test_streams.sh \
Josh Coalson273e1682002-06-15 05:12:05 +000065 test_bins.sh
Josh Coalson4c8f73a2001-07-22 07:27:45 +000066
Josh Coalson51e36422001-07-18 23:42:07 +000067CLEANFILES = \
Josh Coalson9b145182002-08-30 05:39:36 +000068 $(wildcard *.raw) \
69 $(wildcard *.flac) \
70 $(wildcard *.ogg) \
71 $(wildcard *.cmp) \
Josh Coalson291b4fc2002-12-17 08:15:20 +000072 $(wildcard *.aiff) \
Josh Coalson9b145182002-08-30 05:39:36 +000073 $(wildcard *.wav) \
Josh Coalson3c75a392002-11-27 04:46:14 +000074 $(wildcard *.diff) \
75 $(wildcard *.log) \
76 $(wildcard *.cue) \
77 core