comparison decoders/libmpg123/Makefile.am-original @ 562:7e08477b0fc1

MP3 decoder upgrade work. Ripped out SMPEG and mpglib support, replaced it with "mpg123.c" and libmpg123. libmpg123 is a much better version of mpglib, so it should solve all the problems about MP3's not seeking, or most modern MP3's not playing at all, etc. Since you no longer have to make a tradeoff with SMPEG for features, and SMPEG is basically rotting, I removed it from the project. There is still work to be done with libmpg123...there are MMX, 3DNow, SSE, Altivec, etc decoders which we don't have enabled at the moment, and the build system could use some work to make this compile more cleanly, etc. Still: huge win.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 30 Jan 2009 02:44:47 -0500
parents
children
comparison
equal deleted inserted replaced
561:f2985e08589c 562:7e08477b0fc1
1 ## Makefile.am: produce Makefile.in from this
2
3 ## copyright by the mpg123 project - free software under the terms of the LGPL 2.1
4 ## see COPYING and AUTHORS files in distribution or http://mpg123.org
5 ## initially written by Nicholas J. Humfrey
6
7 #AM_CFLAGS = @AUDIO_CFLAGS@
8 #AM_LDFLAGS =
9 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libmpg123
10
11 EXTRA_DIST = mpg123.h.in dnoise.sh dnoise.dat
12
13 EXTRA_PROGRAMS = testcpu
14 testcpu_dependencies = getcpuflags.$(OBJEXT)
15 testcpu_sources = testcpu.c
16 testcpu_LDADD = getcpuflags.$(OBJEXT)
17
18
19 CLEANFILES = *.a
20
21
22 #lib_LIBRARIES = libmpg123.a
23 lib_LTLIBRARIES = libmpg123.la
24 nodist_include_HEADERS = mpg123.h
25
26 #libmpg123_a_LIBADD = @DECODER_OBJ@
27 #libmpg123_a_DEPENDENCIES = @DECODER_OBJ@
28
29 libmpg123_la_LDFLAGS = -no-undefined -version-info @LIBMPG123_VERSION@ -export-symbols $(top_srcdir)/src/libmpg123/libmpg123.sym
30 libmpg123_la_LIBADD = @DECODER_LOBJ@
31 libmpg123_la_DEPENDENCIES = @DECODER_LOBJ@ $(top_srcdir)/src/libmpg123/libmpg123.sym
32
33 libmpg123_la_SOURCES = \
34 compat.c \
35 compat.h \
36 parse.c \
37 parse.h \
38 frame.c \
39 format.c \
40 frame.h \
41 reader.h \
42 debug.h \
43 decode.h \
44 decode_2to1.c \
45 decode_4to1.c \
46 decode_ntom.c \
47 equalizer.c \
48 huffman.h \
49 icy.c \
50 icy.h \
51 icy2utf8.c \
52 icy2utf8.h \
53 id3.c \
54 id3.h \
55 true.h \
56 l2tables.h \
57 layer1.c \
58 layer2.c \
59 layer3.c \
60 getbits.h \
61 optimize.h \
62 optimize.c \
63 readers.c \
64 tabinit.c \
65 stringbuf.c \
66 libmpg123.c \
67 mpg123lib_intern.h \
68 mangle.h \
69 getcpuflags.h \
70 index.h \
71 index.c \
72 libmpg123.sym
73
74 EXTRA_libmpg123_la_SOURCES = \
75 dct36_3dnowext.S \
76 dct36_3dnow.S \
77 dct64_3dnowext.S \
78 dct64_3dnow.S \
79 dct64_altivec.c \
80 dct64.c \
81 dct64_i386.c \
82 dct64_i486.c \
83 dct64_mmx.S \
84 dct64_sse.S \
85 decode_3dnowext.S \
86 decode_3dnow.S \
87 decode_altivec.c \
88 decode.c \
89 decode_i386.c \
90 decode_i486.c \
91 decode_i586_dither.S \
92 decode_i586.S \
93 decode_mmx.S \
94 decode_sse3d.h \
95 decode_sse.S \
96 equalizer_3dnow.S \
97 tabinit_mmx.S \
98 getcpuflags.S
99
100 # explicit preprocessing since mingw32 does not honor the big .S
101 .S.o:
102 $(CPP) $(AM_CPPFLAGS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $< > $<.s
103 $(CCAS) $(CCASFLAGS) -c -o $@ $<.s && rm $<.s
104
105 .S.lo:
106 $(LTCCASCOMPILE) $(DEFAULT_INCLUDES) -c -o $@ $<
107
108 dnoise.c: dnoise.dat dnoise.sh
109 sh dnoise.sh "$<" > "$@"