blob: 32a9207d7ee271f3e4bce7b2d56b86302f810a7e [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 Coalsonf3becfd2004-12-30 03:49:15 +000024DEFAULT_CONFIG = release
25
26CONFIG = $(DEFAULT_CONFIG)
27
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000028all: clean
Josh Coalsonf3becfd2004-12-30 03:49:15 +000029 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC.sh $(CONFIG)
30 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC++.sh $(CONFIG)
31 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC.sh $(CONFIG)
32 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC++.sh $(CONFIG)
33 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_flac.sh $(CONFIG)
34 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_metaflac.sh $(CONFIG)
35 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_grabbag.sh $(CONFIG)
36 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_seeking.sh $(CONFIG)
37 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_streams.sh $(CONFIG)
38 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_bins.sh $(CONFIG)
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000039
Josh Coalson34c1ea82002-12-04 04:57:33 +000040debug : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
41valgrind: FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=no
42release : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000043
Josh Coalson34c1ea82002-12-04 04:57:33 +000044debug : FLAC__VALGRIND=FLAC__VALGRIND=no
45valgrind: FLAC__VALGRIND=FLAC__VALGRIND=yes
46release : FLAC__VALGRIND=FLAC__VALGRIND=no
47
Josh Coalsonf3becfd2004-12-30 03:49:15 +000048debug : CONFIG = debug
49valgrind: CONFIG = valgrind
50release : CONFIG = release
Josh Coalsonb43d3cb2004-11-09 01:28:05 +000051
Josh Coalson34c1ea82002-12-04 04:57:33 +000052debug : all
53valgrind: all
54release : all
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000055
56clean:
Josh Coalson1baba262004-09-28 01:14:55 +000057 rm -f *.raw *.flac *.ogg *.cmp *.aiff *.wav *.diff *.log *.cue core