summaryrefslogtreecommitdiff
path: root/src/libmpeg2
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/libmpeg2
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/libmpeg2')
-rw-r--r--src/libmpeg2/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libmpeg2/Makefile.am b/src/libmpeg2/Makefile.am
index 278bd22f3..5f1d1b64b 100644
--- a/src/libmpeg2/Makefile.am
+++ b/src/libmpeg2/Makefile.am
@@ -8,6 +8,7 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
libdir = $(XINE_PLUGINDIR)
lib_LTLIBRARIES = xineplug_decode_mpeg2.la
+XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
#libmpeg2_la_SOURCES = slice.c header.c stats.c idct.c motion_comp.c\
# decode.c idct_mmx.c motion_comp_mmx.c
@@ -28,11 +29,14 @@ xineplug_decode_mpeg2_la_SOURCES = \
stats.c \
xine_decoder.c
-xineplug_decode_mpeg2_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la
+xineplug_decode_mpeg2_la_LIBADD = $(XINE_LIB)
xineplug_decode_mpeg2_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
noinst_HEADERS = vlc.h mpeg2.h mpeg2_internal.h
+$(XINE_LIB):
+ @cd $(top_builddir)/src/xine-engine && $(MAKE)
+
debug:
@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"