summaryrefslogtreecommitdiff
path: root/src/video_out/libdha
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/video_out/libdha
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/video_out/libdha')
-rw-r--r--src/video_out/libdha/Makefile.am20
-rw-r--r--src/video_out/libdha/bin/Makefile.am13
-rw-r--r--src/video_out/libdha/kernelhelper/Makefile.am12
-rw-r--r--src/video_out/libdha/oth/Makefile.am13
-rw-r--r--src/video_out/libdha/sysdep/Makefile.am13
5 files changed, 9 insertions, 62 deletions
diff --git a/src/video_out/libdha/Makefile.am b/src/video_out/libdha/Makefile.am
index fb59a4f7a..d6f870384 100644
--- a/src/video_out/libdha/Makefile.am
+++ b/src/video_out/libdha/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
EXTRA_DIST = README pci_db2c.awk
SUBDIRS = bin kernelhelper oth sysdep
@@ -36,21 +38,3 @@ pci_names.lo: $(awk_generated)
depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
$(CCDEPMODE) $(depcomp) \
$(LTCOMPILE) -c -o $@ `test -f $*.c || echo '$(srcdir)/'`$*.c
-
-debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) @STATIC@ -DXINE_COMPILE"
-
-install-debug: debug
- @list='$(SUBDIRS)'; for subdir in $$list; do \
- (cd $$subdir && $(MAKE) $@) || exit;\
- done;
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#* test
- -rm -f $(awk_generated)
-
-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
diff --git a/src/video_out/libdha/bin/Makefile.am b/src/video_out/libdha/bin/Makefile.am
index 88eac9aca..24c6d3abf 100644
--- a/src/video_out/libdha/bin/Makefile.am
+++ b/src/video_out/libdha/bin/Makefile.am
@@ -1,12 +1,3 @@
-EXTRA_DIST = README mapdev.copyright mapdev.vxd
-
-debug:
-install-debug:
+include $(top_srcdir)/misc/Makefile.common
-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
+EXTRA_DIST = README mapdev.copyright mapdev.vxd
diff --git a/src/video_out/libdha/kernelhelper/Makefile.am b/src/video_out/libdha/kernelhelper/Makefile.am
index 772bec98b..82a37eae3 100644
--- a/src/video_out/libdha/kernelhelper/Makefile.am
+++ b/src/video_out/libdha/kernelhelper/Makefile.am
@@ -1,3 +1,4 @@
+include $(top_srcdir)/misc/Makefile.common
EXTRA_DIST = README dhahelper.c
@@ -50,14 +51,3 @@ uninstall-local:
@BUILD_DHA_KMOD_TRUE@ echo "rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
@BUILD_DHA_KMOD_TRUE@ rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
@BUILD_DHA_KMOD_TRUE@ done
-
-debug:
-install-debug: install
-
-mostlyclean-generic:
- -rm -f *~ \#* .*~ .\#* test
-
-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
diff --git a/src/video_out/libdha/oth/Makefile.am b/src/video_out/libdha/oth/Makefile.am
index 9d9956b41..55651d233 100644
--- a/src/video_out/libdha/oth/Makefile.am
+++ b/src/video_out/libdha/oth/Makefile.am
@@ -1,12 +1,3 @@
-EXTRA_DIST = pci.db
-
-debug:
-install-debug:
+include $(top_srcdir)/misc/Makefile.common
-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
+EXTRA_DIST = pci.db
diff --git a/src/video_out/libdha/sysdep/Makefile.am b/src/video_out/libdha/sysdep/Makefile.am
index 014ef0cf0..807572c39 100644
--- a/src/video_out/libdha/sysdep/Makefile.am
+++ b/src/video_out/libdha/sysdep/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/misc/Makefile.common
+
EXTRA_DIST = \
libdha_os2.c \
libdha_win32.c \
@@ -31,14 +33,3 @@ noinst_HEADERS = \
AsmMacros_powerpc.h \
AsmMacros_sparc.h \
AsmMacros_x86.h
-
-debug:
-install-debug:
-
-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