1 # FLAC - Free Lossless Audio Codec
2 # Copyright (C) 2001-2009 Josh Coalson
3 # Copyright (C) 2011-2013 Xiph.Org Foundation
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
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
19 ifeq ($(findstring Windows,$(OS)),Windows) # "Windows" is provided by GNU Make's internal $(OS)
20 LIBFLAC_DEPS = share/win_utf8_io
25 libFLAC: $(LIBFLAC_DEPS)
28 metaflac: libFLAC share
29 plugin_common: libFLAC
30 plugin_xmms: libFLAC plugin_common
33 test_libs_common: libFLAC
34 test_libFLAC++: libFLAC libFLAC++ test_libs_common
35 test_libFLAC: libFLAC test_libs_common
38 flacdiff: libFLAC libFLAC++
39 flactimer: libFLAC libFLAC++
40 utils: flacdiff flactimer