Makefile.deps 1.5 KB

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