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