| 1 | # FLAC - Free Lossless Audio Codec |
| 2 | # Copyright (C) 2001-2009 Josh Coalson |
| 3 | # Copyright (C) 2011-2016 Xiph.Org Foundation |
| 4 | # |
| 5 | # This file is part the FLAC project. FLAC is comprised of several |
| 6 | # components distributed under different licenses. The codec libraries |
| 7 | # are distributed under Xiph.Org's BSD-like license (see the file |
| 8 | # COPYING.Xiph in this distribution). All other programs, libraries, and |
| 9 | # plugins are distributed under the GPL (see COPYING.GPL). The documentation |
| 10 | # is distributed under the Gnu FDL (see COPYING.FDL). Each file in the |
| 11 | # FLAC distribution contains at the top the terms under which it may be |
| 12 | # distributed. |
| 13 | # |
| 14 | # Since this particular file is relevant to all components of FLAC, |
| 15 | # it may be distributed under the Xiph.Org license, which is the least |
| 16 | # restrictive of those mentioned above. See the file COPYING.Xiph in this |
| 17 | # distribution. |
| 18 | |
| 19 | .PHONY: all getopt grabbag replaygain_analysis replaygain_synthesis utf8 |
| 20 | all: getopt replaygain_analysis grabbag replaygain_synthesis utf8 |
| 21 | |
| 22 | DEFAULT_CONFIG = release |
| 23 | |
| 24 | CONFIG = $(DEFAULT_CONFIG) |
| 25 | |
| 26 | debug : CONFIG = debug |
| 27 | valgrind: CONFIG = valgrind |
| 28 | release : CONFIG = release |
| 29 | |
| 30 | debug : all |
| 31 | valgrind: all |
| 32 | release : all |
| 33 | |
| 34 | getopt: |
| 35 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 36 | |
| 37 | replaygain_analysis: |
| 38 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 39 | |
| 40 | grabbag: |
| 41 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 42 | |
| 43 | replaygain_synthesis: |
| 44 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 45 | |
| 46 | utf8: |
| 47 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 48 | |
| 49 | win_utf8_io: |
| 50 | (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG)) |
| 51 | |
| 52 | clean: |
| 53 | -(cd getopt ; $(MAKE) -f Makefile.lite clean) |
| 54 | -(cd grabbag ; $(MAKE) -f Makefile.lite clean) |
| 55 | -(cd replaygain_analysis ; $(MAKE) -f Makefile.lite clean) |
| 56 | -(cd replaygain_synthesis ; $(MAKE) -f Makefile.lite clean) |
| 57 | -(cd utf8 ; $(MAKE) -f Makefile.lite clean) |
| 58 | -(cd win_utf8_io ; $(MAKE) -f Makefile.lite clean) |