Add 2003 to copyright notice
[platform/upstream/flac.git] / src / Makefile.lite
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003  Josh Coalson
3 #
4 #  This program is part of FLAC; you can redistribute it and/or
5 #  modify it under the terms of the GNU General Public License
6 #  as published by the Free Software Foundation; either version 2
7 #  of the License, or (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU General Public License
15 #  along with this program; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
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_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_streams
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 flac libFLAC libFLAC++ libOggFLAC libOggFLAC++ metaflac plugin_common plugin_xmms share test_grabbag test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_streams:
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)
51         -(cd test_streams ; $(MAKE) -f Makefile.lite clean)
52
53 flac: libFLAC libOggFLAC share
54 libFLAC++: libFLAC
55 libOggFLAC++: libFLAC
56 libOggFLAC: libFLAC
57 metaflac: libFLAC share
58 plugin_common: libFLAC
59 plugin_xmms: libFLAC plugin_common
60 share: libFLAC
61 test_grabbag: share
62 test_libFLAC++: libFLAC libFLAC++
63 test_libFLAC: libFLAC
64 test_libOggFLAC++: libFLAC libOggFLAC libOggFLAC++
65 test_libOggFLAC: libFLAC libOggFLAC
66 test_streams: libFLAC