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 19ifeq ($(findstring Windows,$(OS)),Windows) # "Windows" is provided by GNU Make's internal $(OS) 20 WIN_DEPS = share/win_utf8_io 21else 22 WIN_DEPS = 23endif 24 25flac: libFLAC share $(WIN_DEPS) 26libFLAC++: libFLAC 27metaflac: libFLAC share $(WIN_DEPS) 28plugin_common: libFLAC 29plugin_xmms: libFLAC plugin_common 30share: libFLAC 31test_grabbag: share 32test_libs_common: libFLAC 33test_libFLAC++: libFLAC libFLAC++ test_libs_common 34test_libFLAC: libFLAC test_libs_common 35test_seeking: libFLAC 36test_streams: share 37flacdiff: libFLAC libFLAC++ $(WIN_DEPS) 38flactimer: 39utils: flacdiff flactimer 40