blob: 95d16c422c01f215b3f0d67babd13ab33aa8dc0b [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 Coalsonbb7f6b92000-12-10 04:09:52 +000018#
19# GNU makefile
20#
Josh Coalsoncd0e3222002-10-23 22:08:13 +000021
22topdir = ..
23
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000024all: clean
Josh Coalsonb43d3cb2004-11-09 01:28:05 +000025 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC.sh $(BUILD)
26 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC++.sh $(BUILD)
27 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC.sh $(BUILD)
28 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC++.sh $(BUILD)
29 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_flac.sh $(BUILD)
30 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_metaflac.sh $(BUILD)
31 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_grabbag.sh $(BUILD)
32 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_seeking.sh $(BUILD)
33 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_streams.sh $(BUILD)
34 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_bins.sh $(BUILD)
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000035
Josh Coalson34c1ea82002-12-04 04:57:33 +000036debug : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
37valgrind: FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=no
38release : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000039
Josh Coalson34c1ea82002-12-04 04:57:33 +000040debug : FLAC__VALGRIND=FLAC__VALGRIND=no
41valgrind: FLAC__VALGRIND=FLAC__VALGRIND=yes
42release : FLAC__VALGRIND=FLAC__VALGRIND=no
43
Josh Coalsonb43d3cb2004-11-09 01:28:05 +000044debug : BUILD=debug
45valgrind: BUILD=debug
46release : BUILD=release
47
Josh Coalson34c1ea82002-12-04 04:57:33 +000048debug : all
49valgrind: all
50release : all
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000051
52clean:
Josh Coalson1baba262004-09-28 01:14:55 +000053 rm -f *.raw *.flac *.ogg *.cmp *.aiff *.wav *.diff *.log *.cue core