X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.lite;h=23743f6ecf59285b8f70c5c0fc118112952c1775;hb=0b736a56051b9b94b69c21d960fe79e64251478e;hp=2245bed39355fd3e987d732ffdbdfa38a9e14c07;hpb=0395dac13f87a0eb1837e4b67ab6d3732054f823;p=platform%2Fupstream%2Fflac.git diff --git a/Makefile.lite b/Makefile.lite index 2245bed..23743f6 100644 --- a/Makefile.lite +++ b/Makefile.lite @@ -1,5 +1,5 @@ # FLAC - Free Lossless Audio Codec -# Copyright (C) 2001,2002,2003,2004,2005,2006 Josh Coalson +# Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009 Josh Coalson # # This file is part the FLAC project. FLAC is comprised of several # components distributed under difference licenses. The codec libraries @@ -30,8 +30,8 @@ topdir = . -.PHONY: all doc src libFLAC libFLAC++ libOggFLAC libOggFLAC++ share plugin_common plugin_xmms flac metaflac test_grabbag test_libFLAC test_libFLAC++ test_libOggFLAC test_libOggFLAC++ test_seeking test_streams -all: doc src +.PHONY: all doc src examples libFLAC libFLAC++ share plugin_common plugin_xmms flac metaflac test_grabbag test_libFLAC test_libFLAC++ test_seeking test_streams utils flacdiff flactimer +all: doc src examples DEFAULT_CONFIG = release @@ -46,69 +46,31 @@ valgrind: all release : all doc: - (cd $@ ; $(MAKE) -f Makefile.lite) + (cd $@ && $(MAKE) -f Makefile.lite) -src: - (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) +src examples: + (cd $@ && $(MAKE) -f Makefile.lite $(CONFIG)) -libFLAC: - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) +libFLAC libFLAC++ share flac metaflac plugin_common plugin_xmms test_libs_common test_seeking test_streams test_grabbag test_libFLAC test_libFLAC++: + (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG)) -libFLAC++: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -libOggFLAC: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -libOggFLAC++: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -share: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -flac: libFLAC libOggFLAC share - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -metaflac: libFLAC share - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -plugin_common: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -plugin_xmms: libFLAC plugin_common - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_seeking: libFLAC libOggFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_streams: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_grabbag: share - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_libFLAC: libFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_libFLAC++: libFLAC libFLAC++ - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_libOggFLAC: libFLAC libOggFLAC - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) - -test_libOggFLAC++: libFLAC libOggFLAC libOggFLAC++ - (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG)) +flacdiff flactimer: + (cd src/utils/$@ && $(MAKE) -f Makefile.lite $(CONFIG)) test: debug - (cd test ; $(MAKE) -f Makefile.lite debug) + (cd test && $(MAKE) -f Makefile.lite debug) testv: valgrind - (cd test ; $(MAKE) -f Makefile.lite valgrind) + (cd test && $(MAKE) -f Makefile.lite valgrind) testr: release - (cd test ; $(MAKE) -f Makefile.lite release) + (cd test && $(MAKE) -f Makefile.lite release) clean: - -(cd doc ; $(MAKE) -f Makefile.lite clean) - -(cd src ; $(MAKE) -f Makefile.lite clean) - -(cd test ; $(MAKE) -f Makefile.lite clean) + -(cd doc && $(MAKE) -f Makefile.lite clean) + -(cd src && $(MAKE) -f Makefile.lite clean) + -(cd examples && $(MAKE) -f Makefile.lite clean) + -(cd test && $(MAKE) -f Makefile.lite clean) + +examples: libFLAC libFLAC++ share +include $(topdir)/Makefile.deps