1 # FLAC - Free Lossless Audio Codec
2 # Copyright (C) 2001-2009 Josh Coalson
3 # Copyright (C) 2011-2016 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 WIN_DEPS = share/win_utf8_io
25 flac: libFLAC share $(WIN_DEPS)
27 metaflac: libFLAC share $(WIN_DEPS)
28 plugin_common: libFLAC
29 plugin_xmms: libFLAC plugin_common
32 test_libs_common: libFLAC
33 test_libFLAC++: libFLAC libFLAC++ test_libs_common
34 test_libFLAC: libFLAC test_libs_common
37 flacdiff: libFLAC libFLAC++ $(WIN_DEPS)
39 utils: flacdiff flactimer