add 2206 to copyright notice
[platform/upstream/flac.git] / src / share / Makefile.lite
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003,2004,2005,2006  Josh Coalson
3 #
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.
12 #
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.
17
18 .PHONY: all getopt grabbag replaygain_analysis replaygain_synthesis utf8
19 all: getopt grabbag replaygain_analysis replaygain_synthesis utf8
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
33 getopt:
34         (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
35
36 grabbag:
37         (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
38
39 replaygain_analysis:
40         (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
41
42 replaygain_synthesis:
43         (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
44
45 utf8:
46         (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
47
48 clean:
49         -(cd getopt ; $(MAKE) -f Makefile.lite clean)
50         -(cd grabbag ; $(MAKE) -f Makefile.lite clean)
51         -(cd replaygain_analysis ; $(MAKE) -f Makefile.lite clean)
52         -(cd replaygain_synthesis ; $(MAKE) -f Makefile.lite clean)
53         -(cd utf8 ; $(MAKE) -f Makefile.lite clean)