diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/decoders/libmpg123/Makefile.am-original	Fri Jan 30 02:44:47 2009 -0500
@@ -0,0 +1,109 @@
+## Makefile.am: produce Makefile.in from this
+
+## copyright by the mpg123 project - free software under the terms of the LGPL 2.1
+## see COPYING and AUTHORS files in distribution or http://mpg123.org
+## initially written by Nicholas J. Humfrey
+
+#AM_CFLAGS = @AUDIO_CFLAGS@
+#AM_LDFLAGS = 
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libmpg123
+
+EXTRA_DIST = mpg123.h.in dnoise.sh dnoise.dat
+
+EXTRA_PROGRAMS = testcpu
+testcpu_dependencies = getcpuflags.$(OBJEXT)
+testcpu_sources = testcpu.c
+testcpu_LDADD = getcpuflags.$(OBJEXT)
+
+
+CLEANFILES = *.a
+
+
+#lib_LIBRARIES = libmpg123.a
+lib_LTLIBRARIES = libmpg123.la
+nodist_include_HEADERS = mpg123.h
+
+#libmpg123_a_LIBADD = @DECODER_OBJ@
+#libmpg123_a_DEPENDENCIES = @DECODER_OBJ@
+
+libmpg123_la_LDFLAGS = -no-undefined -version-info @LIBMPG123_VERSION@ -export-symbols $(top_srcdir)/src/libmpg123/libmpg123.sym
+libmpg123_la_LIBADD = @DECODER_LOBJ@
+libmpg123_la_DEPENDENCIES = @DECODER_LOBJ@ $(top_srcdir)/src/libmpg123/libmpg123.sym
+
+libmpg123_la_SOURCES = \
+	compat.c \
+	compat.h \
+	parse.c \
+	parse.h \
+	frame.c \
+	format.c \
+	frame.h \
+	reader.h \
+	debug.h \
+	decode.h \
+	decode_2to1.c \
+	decode_4to1.c \
+	decode_ntom.c \
+	equalizer.c \
+	huffman.h \
+	icy.c \
+	icy.h \
+	icy2utf8.c \
+	icy2utf8.h \
+	id3.c \
+	id3.h \
+	true.h \
+	l2tables.h \
+	layer1.c \
+	layer2.c \
+	layer3.c \
+	getbits.h \
+	optimize.h \
+	optimize.c \
+	readers.c \
+	tabinit.c \
+	stringbuf.c \
+	libmpg123.c \
+	mpg123lib_intern.h \
+	mangle.h \
+	getcpuflags.h \
+	index.h \
+	index.c \
+	libmpg123.sym
+
+EXTRA_libmpg123_la_SOURCES = \
+	dct36_3dnowext.S \
+	dct36_3dnow.S \
+	dct64_3dnowext.S \
+	dct64_3dnow.S \
+	dct64_altivec.c \
+	dct64.c \
+	dct64_i386.c \
+	dct64_i486.c \
+	dct64_mmx.S \
+	dct64_sse.S \
+	decode_3dnowext.S \
+	decode_3dnow.S \
+	decode_altivec.c \
+	decode.c \
+	decode_i386.c \
+	decode_i486.c \
+	decode_i586_dither.S \
+	decode_i586.S \
+	decode_mmx.S \
+	decode_sse3d.h \
+	decode_sse.S \
+	equalizer_3dnow.S \
+	tabinit_mmx.S \
+	getcpuflags.S
+
+# explicit preprocessing since mingw32 does not honor the big .S
+.S.o:
+	$(CPP) $(AM_CPPFLAGS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $< > $<.s
+	$(CCAS) $(CCASFLAGS) -c -o $@ $<.s && rm $<.s
+
+.S.lo:
+	$(LTCCASCOMPILE) $(DEFAULT_INCLUDES) -c -o $@ $<
+
+dnoise.c: dnoise.dat dnoise.sh
+	sh dnoise.sh "$<" > "$@"