shithub: aacdec

Download patch

ref: 815548b57ccb4f5813c405b9fd23566642e5a520
parent: bb4d5f6e30689298bab8060996cc20e4ec689588
author: menno <menno>
date: Mon Jan 26 17:51:44 EST 2009

Build libmp4ff statically

--- a/common/mp4ff/Makefile.am
+++ b/common/mp4ff/Makefile.am
@@ -1,8 +1,8 @@
-noinst_LTLIBRARIES = libmp4ff.la
+lib_LIBRARIES = libmp4ff.a
+include_HEADERS = mp4ff.h mp4ffint.h
 
-libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
+libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
 
-libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-   mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
-   drms.h drms.c drmstables.h
-
+libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
+		     mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
+		     drms.h drms.c drmstables.h
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -1,11 +1,11 @@
 bin_PROGRAMS = faad
 
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
-   -I$(top_srcdir)/common/mp4ff
+	   -I$(top_srcdir)/common/mp4ff
 
 faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
-	$(top_builddir)/common/mp4ff/libmp4ff.la
+	     $(top_builddir)/common/mp4ff/libmp4ff.a
 
 faad_SOURCES = main.c \
-	audio.c audio.h \
-	$(top_srcdir)/common/faad/getopt.c
+	       audio.c audio.h \
+	       $(top_srcdir)/common/faad/getopt.c
--- a/plugins/xmms/src/Makefile.am
+++ b/plugins/xmms/src/Makefile.am
@@ -7,7 +7,7 @@
        -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4ff
 
 libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
-       $(top_builddir)/common/mp4ff/libmp4ff.la
+       $(top_builddir)/common/mp4ff/libmp4ff.a
 
 libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread