Chris@1: # FLAC - Free Lossless Audio Codec Chris@1: # Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Josh Coalson Chris@1: # Chris@1: # This file is part the FLAC project. FLAC is comprised of several Chris@1: # components distributed under difference licenses. The codec libraries Chris@1: # are distributed under Xiph.Org's BSD-like license (see the file Chris@1: # COPYING.Xiph in this distribution). All other programs, libraries, and Chris@1: # plugins are distributed under the GPL (see COPYING.GPL). The documentation Chris@1: # is distributed under the Gnu FDL (see COPYING.FDL). Each file in the Chris@1: # FLAC distribution contains at the top the terms under which it may be Chris@1: # distributed. Chris@1: # Chris@1: # Since this particular file is relevant to all components of FLAC, Chris@1: # it may be distributed under the Xiph.Org license, which is the least Chris@1: # restrictive of those mentioned above. See the file COPYING.Xiph in this Chris@1: # distribution. Chris@1: Chris@1: # Chris@1: # GNU makefile Chris@1: # Chris@1: Chris@1: topdir = .. Chris@1: Chris@1: DEFAULT_CONFIG = release Chris@1: Chris@1: CONFIG = $(DEFAULT_CONFIG) Chris@1: Chris@1: all: clean Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC++.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_grabbag.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_flac.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_metaflac.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_seeking.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_streams.sh $(CONFIG) Chris@1: $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_bins.sh $(CONFIG) Chris@1: Chris@1: debug : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2 Chris@1: valgrind: FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=1 Chris@1: release : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2 Chris@1: Chris@1: debug : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no Chris@1: valgrind: FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=yes Chris@1: release : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no Chris@1: Chris@1: debug : CONFIG = debug Chris@1: valgrind: CONFIG = debug Chris@1: release : CONFIG = release Chris@1: Chris@1: debug : all Chris@1: valgrind: all Chris@1: release : all Chris@1: Chris@1: clean: Chris@1: rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.diff *.log *.cue core flac-to-flac-metadata-test-files/out.* metaflac-test-files/out.*