Makefile.am 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # FLAC - Free Lossless Audio Codec
  2. # Copyright (C) 2001-2009 Josh Coalson
  3. # Copyright (C) 2011-2023 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. TESTS_ENVIRONMENT = FLAC__TEST_LEVEL=@FLAC__TEST_LEVEL@ FLAC__TEST_WITH_VALGRIND=@FLAC__TEST_WITH_VALGRIND@ ECHO_N="@ECHO_N@" ECHO_C="@ECHO_C@"
  19. SUBDIRS = cuesheets foreign-metadata-test-files flac-to-flac-metadata-test-files metaflac-test-files pictures
  20. check_SCRIPTS = \
  21. test_libFLAC.sh \
  22. test_libFLAC++.sh \
  23. test_grabbag.sh \
  24. test_flac.sh \
  25. test_metaflac.sh \
  26. test_replaygain.sh \
  27. test_seeking.sh \
  28. test_streams.sh \
  29. test_compression.sh
  30. # This one should pass when building out-of-tree (e.g. 'make distcheck').
  31. check: $(check_SCRIPTS)
  32. $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC.sh
  33. if FLaC__WITH_CPPLIBS
  34. $(TESTS_ENVIRONMENT) $(srcdir)/test_libFLAC++.sh
  35. endif
  36. $(TESTS_ENVIRONMENT) $(srcdir)/test_grabbag.sh
  37. $(TESTS_ENVIRONMENT) $(srcdir)/test_flac.sh
  38. $(TESTS_ENVIRONMENT) $(srcdir)/test_metaflac.sh
  39. $(TESTS_ENVIRONMENT) $(srcdir)/test_replaygain.sh
  40. $(TESTS_ENVIRONMENT) $(srcdir)/test_seeking.sh
  41. $(TESTS_ENVIRONMENT) $(srcdir)/test_streams.sh
  42. $(TESTS_ENVIRONMENT) $(srcdir)/test_compression.sh
  43. @echo "----------------"
  44. @echo "All tests passed"
  45. @echo "----------------"
  46. EXTRA_DIST = \
  47. CMakeLists.txt \
  48. cuesheet.ok \
  49. generate_streams.sh \
  50. metaflac.flac.in \
  51. metaflac.flac.ok \
  52. picture.ok \
  53. $(check_SCRIPTS) \
  54. write_iff.pl
  55. clean-local:
  56. -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff *.wav *.w64 *.rf64 *.diff *.log *.cue core