blob: f2c2bd276e92aa8cd34218aa88b31a851446a09d [file] [log] [blame]
Josh Coalsonfcd85f82002-12-28 07:02:38 +00001# FLAC - Free Lossless Audio Codec
Josh Coalson0395dac2006-04-25 06:59:33 +00002# Copyright (C) 2001,2002,2003,2004,2005,2006 Josh Coalson
Josh Coalsonfcd85f82002-12-28 07:02:38 +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 Coalsonfcd85f82002-12-28 07:02:38 +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 Coalsonfcd85f82002-12-28 07:02:38 +000017
Josh Coalson6b21f662006-09-13 01:42:27 +000018.PHONY: all flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libs_common test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams
19all: flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libs_common test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams
Josh Coalsonfcd85f82002-12-28 07:02:38 +000020
21DEFAULT_CONFIG = release
22
23CONFIG = $(DEFAULT_CONFIG)
24
25debug : CONFIG = debug
26valgrind: CONFIG = valgrind
27release : CONFIG = release
28
29debug : all
30valgrind: all
31release : all
32
Josh Coalson6b21f662006-09-13 01:42:27 +000033flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libs_common test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams:
Josh Coalsonfcd85f82002-12-28 07:02:38 +000034 (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
35
36clean:
37 -(cd flac ; $(MAKE) -f Makefile.lite clean)
38 -(cd libFLAC ; $(MAKE) -f Makefile.lite clean)
39 -(cd libFLAC++ ; $(MAKE) -f Makefile.lite clean)
40 -(cd libOggFLAC ; $(MAKE) -f Makefile.lite clean)
41 -(cd libOggFLAC++ ; $(MAKE) -f Makefile.lite clean)
42 -(cd metaflac ; $(MAKE) -f Makefile.lite clean)
43 -(cd plugin_common ; $(MAKE) -f Makefile.lite clean)
44 -(cd plugin_xmms ; $(MAKE) -f Makefile.lite clean)
45 -(cd share ; $(MAKE) -f Makefile.lite clean)
46 -(cd test_grabbag ; $(MAKE) -f Makefile.lite clean)
Josh Coalson6b21f662006-09-13 01:42:27 +000047 -(cd test_libs_common ; $(MAKE) -f Makefile.lite clean)
Josh Coalsonfcd85f82002-12-28 07:02:38 +000048 -(cd test_libFLAC ; $(MAKE) -f Makefile.lite clean)
49 -(cd test_libFLAC++ ; $(MAKE) -f Makefile.lite clean)
50 -(cd test_libOggFLAC ; $(MAKE) -f Makefile.lite clean)
51 -(cd test_libOggFLAC++ ; $(MAKE) -f Makefile.lite clean)
Josh Coalson94b54992004-09-21 05:41:23 +000052 -(cd test_seeking ; $(MAKE) -f Makefile.lite clean)
Josh Coalsonfcd85f82002-12-28 07:02:38 +000053 -(cd test_streams ; $(MAKE) -f Makefile.lite clean)
54
55flac: libFLAC libOggFLAC share
56libFLAC++: libFLAC
57libOggFLAC++: libFLAC
58libOggFLAC: libFLAC
59metaflac: libFLAC share
60plugin_common: libFLAC
61plugin_xmms: libFLAC plugin_common
62share: libFLAC
63test_grabbag: share
Josh Coalson6b21f662006-09-13 01:42:27 +000064test_libFLAC++: libFLAC libFLAC++ test_libs_common
65test_libFLAC: libFLAC test_libs_common
66test_libOggFLAC++: libFLAC libOggFLAC libOggFLAC++ test_libs_common
67test_libOggFLAC: libFLAC libOggFLAC test_libs_common
Josh Coalson94b54992004-09-21 05:41:23 +000068test_seeking: libFLAC libOggFLAC
Josh Coalsonfcd85f82002-12-28 07:02:38 +000069test_streams: libFLAC