summaryrefslogtreecommitdiff
path: root/src/liba52
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2002-11-22 05:25:14 +0000
committerStephen Torri <storri@users.sourceforge.net>2002-11-22 05:25:14 +0000
commit4b97c5dc4ef7cc049c18f9636859d341eeb531c5 (patch)
tree6ca8dd54f4f0a3aa793cdad525fed8b003429181 /src/liba52
parent73db8a7c28401f6e53db42c53346f497c318e561 (diff)
downloadxine-lib-4b97c5dc4ef7cc049c18f9636859d341eeb531c5.tar.gz
xine-lib-4b97c5dc4ef7cc049c18f9636859d341eeb531c5.tar.bz2
Developers can now run "make" in their work area (e.g. src/libffmpeg) and it
will build all dependent parts (e.g. libxine.la). The directory must still be prepared by running autogen.sh. CVS patchset: 3331 CVS date: 2002/11/22 05:25:14
Diffstat (limited to 'src/liba52')
-rw-r--r--src/liba52/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am
index fa7e56cdb..15b0c41a6 100644
--- a/src/liba52/Makefile.am
+++ b/src/liba52/Makefile.am
@@ -2,7 +2,7 @@ AM_CFLAGS = $(LIBA52_CFLAGS)
DEBUG_CFLAGS = @DEBUG_CFLAGS@ $(LIBA52_CFLAGS)
LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
-
+XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
libdir = $(XINE_PLUGINDIR)
lib_LTLIBRARIES = xineplug_decode_a52.la
@@ -15,7 +15,7 @@ xineplug_decode_a52_la_SOURCES = \
parse.c \
xine_decoder.c
-xineplug_decode_a52_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la
+xineplug_decode_a52_la_LIBADD = $(XINE_LIB)
xineplug_decode_a52_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
noinst_HEADERS = \
@@ -24,6 +24,9 @@ noinst_HEADERS = \
bitstream.h \
tables.h
+$(XINE_LIB):
+ @cd $(top_builddir)/src/xine-engine && $(MAKE)
+
##
## Install header files (default=$includedir/xine)
##