Makefile.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ## $Id$
  2. include $(top_srcdir)/Makefile.am.global
  3. .PHONY: test
  4. SUBDIRS = mpglib libmp3lame frontend Dll doc include misc dshow ACM \
  5. mac macosx vc_solution
  6. CLEANFILES = testcase.new.mp3
  7. EXTRA_DIST = \
  8. API \
  9. DEFINES \
  10. HACKING \
  11. INSTALL.configure \
  12. LICENSE \
  13. Makefile.MSVC \
  14. Makefile.unix \
  15. Makefile.am.global \
  16. README.WINGTK \
  17. STYLEGUIDE \
  18. USAGE \
  19. configMS.h \
  20. debian \
  21. lame.bat \
  22. lame.spec.in \
  23. lame.spec \
  24. testcase.mp3 \
  25. testcase.wav
  26. #
  27. # The differences depend on the used processor architecture, the used
  28. # compiler and the used options for the compiler, so make test may
  29. # show some differences. You should only be concerned if you are a
  30. # LAME developer and the number of differences change after you
  31. # modified the source.
  32. #
  33. testcase.new.mp3: testcase.wav frontend/lame$(EXEEXT)
  34. time frontend/lame$(EXEEXT) --nores $(top_srcdir)/testcase.wav testcase.new.mp3 || $(RM_F) testcase.new.mp3
  35. test: testcase.mp3 testcase.new.mp3
  36. @echo
  37. @echo "The following output has value only for a LAME-developer, do not make _any_"
  38. @echo "assumptions about what this number means. You do not need to care about it."
  39. @cmp -l testcase.new.mp3 $(top_srcdir)/testcase.mp3 | wc -l
  40. testupdate: testcase.mp3 testcase.new.mp3
  41. cp testcase.new.mp3 $(top_srcdir)/testcase.mp3
  42. testg: frontend/mp3x$(EXEEXT) $(top_srcdir)/../test/castanets.wav
  43. frontend/mp3x$(EXEEXT) -h $(top_srcdir)/../test/castanets.wav
  44. update:
  45. cd $(top_srcdir) && CVS_RSH=ssh cvs -z3 -q update -dAP || true
  46. diff:
  47. cd $(top_srcdir) && CVS_RSH=ssh cvs -z3 diff -u || true
  48. frontend/lame$(EXEEXT):
  49. $(MAKE) $(MAKEFLAGS)
  50. frontend/mp3x$(EXEEXT): frontend/lame$(EXEEXT)