2001-06-08 00:13:21 +00:00
|
|
|
# FLAC - Free Lossless Audio Codec
|
2013-05-25 17:11:19 +10:00
|
|
|
# Copyright (C) 2001-2009 Josh Coalson
|
2016-12-05 06:35:39 +11:00
|
|
|
# Copyright (C) 2011-2016 Xiph.Org Foundation
|
2001-06-08 00:13:21 +00:00
|
|
|
#
|
2003-02-07 00:14:32 +00:00
|
|
|
# This file is part the FLAC project. FLAC is comprised of several
|
2013-05-26 22:53:43 +02:00
|
|
|
# components distributed under different licenses. The codec libraries
|
2003-02-07 00:14:32 +00:00
|
|
|
# are distributed under Xiph.Org's BSD-like license (see the file
|
|
|
|
|
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
|
|
|
|
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
|
|
|
|
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
|
|
|
|
# FLAC distribution contains at the top the terms under which it may be
|
|
|
|
|
# distributed.
|
2001-06-08 00:13:21 +00:00
|
|
|
#
|
2003-02-07 00:14:32 +00:00
|
|
|
# Since this particular file is relevant to all components of FLAC,
|
|
|
|
|
# it may be distributed under the Xiph.Org license, which is the least
|
|
|
|
|
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
|
|
|
|
# distribution.
|
2001-06-08 00:13:21 +00:00
|
|
|
|
2000-12-10 04:09:52 +00:00
|
|
|
#
|
|
|
|
|
# GNU makefile
|
|
|
|
|
#
|
2002-10-23 22:08:13 +00:00
|
|
|
|
|
|
|
|
topdir = ..
|
|
|
|
|
|
2004-12-30 03:49:15 +00:00
|
|
|
DEFAULT_CONFIG = release
|
|
|
|
|
|
|
|
|
|
CONFIG = $(DEFAULT_CONFIG)
|
|
|
|
|
|
2000-12-10 04:09:52 +00:00
|
|
|
all: clean
|
2016-12-21 16:42:15 +11:00
|
|
|
sed 's|@top_srcdir@|$(topdir)|;s|@EXEEXT@| |' common.sh.in > common.sh
|
2006-05-25 02:48:22 +00:00
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC.sh $(CONFIG)
|
|
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC++.sh $(CONFIG)
|
2006-10-15 04:24:05 +00:00
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_grabbag.sh $(CONFIG)
|
2006-05-25 02:48:22 +00:00
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_flac.sh $(CONFIG)
|
|
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_metaflac.sh $(CONFIG)
|
|
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_seeking.sh $(CONFIG)
|
|
|
|
|
$(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_streams.sh $(CONFIG)
|
|
|
|
|
|
|
|
|
|
debug : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
|
|
|
|
|
valgrind: FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=1
|
|
|
|
|
release : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
|
|
|
|
|
|
|
|
|
|
debug : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
|
|
|
|
|
valgrind: FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=yes
|
|
|
|
|
release : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
|
2002-12-04 04:57:33 +00:00
|
|
|
|
2004-12-30 03:49:15 +00:00
|
|
|
debug : CONFIG = debug
|
2005-01-28 16:24:02 +00:00
|
|
|
valgrind: CONFIG = debug
|
2004-12-30 03:49:15 +00:00
|
|
|
release : CONFIG = release
|
2004-11-09 01:28:05 +00:00
|
|
|
|
2002-12-04 04:57:33 +00:00
|
|
|
debug : all
|
|
|
|
|
valgrind: all
|
|
|
|
|
release : all
|
2000-12-10 04:09:52 +00:00
|
|
|
|
|
|
|
|
clean:
|
2008-09-09 07:49:19 +00:00
|
|
|
rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core flac-to-flac-metadata-test-files/out.* metaflac-test-files/out.*
|