From 8e1d76f47f530f3b76cfe81eb9da1348df17e801 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 14 May 2003 16:21:44 +0000 Subject: as announced on xine-devel, this is the big Makefile refactoring: extracted some common targets and variables into a common Makefile which is then included CVS patchset: 4844 CVS date: 2003/05/14 16:21:44 --- src/libmpeg2/Makefile.am | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'src/libmpeg2') diff --git a/src/libmpeg2/Makefile.am b/src/libmpeg2/Makefile.am index 5f1d1b64b..d84b43780 100644 --- a/src/libmpeg2/Makefile.am +++ b/src/libmpeg2/Makefile.am @@ -1,17 +1,12 @@ +include $(top_srcdir)/misc/Makefile.common + AM_CFLAGS = $(LIBMPEG2_CFLAGS) -#DEBUG_CFLAGS = @DEBUG_CFLAGS@ $(LIBMPEG2_CFLAGS) EXTRA_DIST = idct_mlib.c idct_mlib.h motion_comp_mlib.c -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 xineplug_decode_mpeg2_la_SOURCES = \ cpu_state.c \ @@ -33,20 +28,3 @@ 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)" - -install-debug: debug - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -mostlyclean-generic: - -rm -f *~ \#* .*~ .\#* - -maintainer-clean-generic: - -@echo "This command is intended for maintainers to use;" - -@echo "it deletes files that may require special tools to rebuild." - -rm -f Makefile.in -- cgit v1.2.3