Makefile.lite 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. # GNU makefile
  20. #
  21. topdir = ..
  22. DEFAULT_CONFIG = release
  23. CONFIG = $(DEFAULT_CONFIG)
  24. all: clean
  25. sed 's|@top_srcdir@|$(topdir)|;s|@EXEEXT@| |' common.sh.in > common.sh
  26. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC.sh $(CONFIG)
  27. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_libFLAC++.sh $(CONFIG)
  28. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_grabbag.sh $(CONFIG)
  29. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_flac.sh $(CONFIG)
  30. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_metaflac.sh $(CONFIG)
  31. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_seeking.sh $(CONFIG)
  32. $(FLAC__TEST_LEVEL) $(FLAC__TEST_WITH_VALGRIND) ./test_streams.sh $(CONFIG)
  33. debug : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
  34. valgrind: FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=1
  35. release : FLAC__TEST_LEVEL=FLAC__TEST_LEVEL=2
  36. debug : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
  37. valgrind: FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=yes
  38. release : FLAC__TEST_WITH_VALGRIND=FLAC__TEST_WITH_VALGRIND=no
  39. debug : CONFIG = debug
  40. valgrind: CONFIG = debug
  41. release : CONFIG = release
  42. debug : all
  43. valgrind: all
  44. release : all
  45. clean:
  46. rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core flac-to-flac-metadata-test-files/out.* metaflac-test-files/out.*