From 4b97c5dc4ef7cc049c18f9636859d341eeb531c5 Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Fri, 22 Nov 2002 05:25:14 +0000 Subject: 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 --- src/libmpeg2/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libmpeg2') 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)" -- cgit v1.2.3