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/liba52/Makefile.am | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) (limited to 'src/liba52') diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am index 15b0c41a6..45349b507 100644 --- a/src/liba52/Makefile.am +++ b/src/liba52/Makefile.am @@ -1,8 +1,8 @@ +include $(top_srcdir)/misc/Makefile.common + 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 @@ -23,43 +23,3 @@ noinst_HEADERS = \ a52_internal.h \ bitstream.h \ tables.h - -$(XINE_LIB): - @cd $(top_builddir)/src/xine-engine && $(MAKE) - -## -## Install header files (default=$includedir/xine) -## -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(includedir)/xine - @list='$(include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \ - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \ - done - - -## -## Remove them -## -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - list='$(include_HEADERS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(includedir)/xine/$$p; \ - done - - -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