summaryrefslogtreecommitdiff
path: root/src/libspucc
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-05-14 16:21:44 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-05-14 16:21:44 +0000
commit8e1d76f47f530f3b76cfe81eb9da1348df17e801 (patch)
tree71ad00b972db4f7ecd0a79dbf2519cb6c1c8f5ae /src/libspucc
parent204f53f90ab41ffad6a6cbc5aac4dcce6b609b47 (diff)
downloadxine-lib-8e1d76f47f530f3b76cfe81eb9da1348df17e801.tar.gz
xine-lib-8e1d76f47f530f3b76cfe81eb9da1348df17e801.tar.bz2
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
Diffstat (limited to 'src/libspucc')
-rw-r--r--src/libspucc/Makefile.am43
1 files changed, 1 insertions, 42 deletions
diff --git a/src/libspucc/Makefile.am b/src/libspucc/Makefile.am
index fd15735ef..fb746bd41 100644
--- a/src/libspucc/Makefile.am
+++ b/src/libspucc/Makefile.am
@@ -1,52 +1,11 @@
-LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
+include $(top_srcdir)/misc/Makefile.common
libdir = $(XINE_PLUGINDIR)
lib_LTLIBRARIES = xineplug_decode_spucc.la
-XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
xineplug_decode_spucc_la_SOURCES = cc_decoder.c xine_decoder.c
xineplug_decode_spucc_la_LIBADD = $(XINE_LIB)
xineplug_decode_spucc_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
noinst_HEADERS = cc_decoder.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