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