summaryrefslogtreecommitdiff
path: root/src/libmpeg2
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmpeg2')
-rw-r--r--src/libmpeg2/Makefile.am26
1 files changed, 2 insertions, 24 deletions
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