Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 1 | # FLAC - Free Lossless Audio Codec |
Josh Coalson | 0395dac | 2006-04-25 06:59:33 +0000 | [diff] [blame] | 2 | # Copyright (C) 2001,2002,2003,2004,2005,2006 Josh Coalson |
Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 3 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 4 | # 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 Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 12 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 13 | # 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 Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 17 | |
Josh Coalson | 94b5499 | 2004-09-21 05:41:23 +0000 | [diff] [blame] | 18 | .PHONY: all flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams |
| 19 | all: flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams |
Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 20 | |
| 21 | DEFAULT_CONFIG = release |
| 22 | |
| 23 | CONFIG = $(DEFAULT_CONFIG) |
| 24 | |
| 25 | debug : CONFIG = debug |
| 26 | valgrind: CONFIG = valgrind |
| 27 | release : CONFIG = release |
| 28 | |
| 29 | debug : all |
| 30 | valgrind: all |
| 31 | release : all |
| 32 | |
Josh Coalson | 94b5499 | 2004-09-21 05:41:23 +0000 | [diff] [blame] | 33 | flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams: |
Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 34 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 35 | |
| 36 | clean: |
| 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) |
| 47 | -(cd test_libFLAC ; $(MAKE) -f Makefile.lite clean) |
| 48 | -(cd test_libFLAC++ ; $(MAKE) -f Makefile.lite clean) |
| 49 | -(cd test_libOggFLAC ; $(MAKE) -f Makefile.lite clean) |
| 50 | -(cd test_libOggFLAC++ ; $(MAKE) -f Makefile.lite clean) |
Josh Coalson | 94b5499 | 2004-09-21 05:41:23 +0000 | [diff] [blame] | 51 | -(cd test_seeking ; $(MAKE) -f Makefile.lite clean) |
Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 52 | -(cd test_streams ; $(MAKE) -f Makefile.lite clean) |
| 53 | |
| 54 | flac: libFLAC libOggFLAC share |
| 55 | libFLAC++: libFLAC |
| 56 | libOggFLAC++: libFLAC |
| 57 | libOggFLAC: libFLAC |
| 58 | metaflac: libFLAC share |
| 59 | plugin_common: libFLAC |
| 60 | plugin_xmms: libFLAC plugin_common |
| 61 | share: libFLAC |
| 62 | test_grabbag: share |
| 63 | test_libFLAC++: libFLAC libFLAC++ |
| 64 | test_libFLAC: libFLAC |
| 65 | test_libOggFLAC++: libFLAC libOggFLAC libOggFLAC++ |
| 66 | test_libOggFLAC: libFLAC libOggFLAC |
Josh Coalson | 94b5499 | 2004-09-21 05:41:23 +0000 | [diff] [blame] | 67 | test_seeking: libFLAC libOggFLAC |
Josh Coalson | fcd85f8 | 2002-12-28 07:02:38 +0000 | [diff] [blame] | 68 | test_streams: libFLAC |