summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-06-03 11:42:19 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-06-03 11:42:19 +0000
commitd55b42b320963609e4b81df2695af1d1d392b34a (patch)
tree1ca1d996627a864390a514264d9ccd31e4065fa2 /src
parent93714727d953ebb4731c3bbc7732d27e20c592af (diff)
downloadxine-lib-d55b42b320963609e4b81df2695af1d1d392b34a.tar.gz
xine-lib-d55b42b320963609e4b81df2695af1d1d392b34a.tar.bz2
Install/remove linux kernel modules only on linux platform
CVS patchset: 1992 CVS date: 2002/06/03 11:42:19
Diffstat (limited to 'src')
-rw-r--r--src/video_out/libdha/kernelhelper/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_out/libdha/kernelhelper/Makefile.am b/src/video_out/libdha/kernelhelper/Makefile.am
index f11939fda..ffbddaee3 100644
--- a/src/video_out/libdha/kernelhelper/Makefile.am
+++ b/src/video_out/libdha/kernelhelper/Makefile.am
@@ -26,6 +26,7 @@ nodes:
all: $(KERNEL_MODULE)
install-exec-local: $(KERNEL_MODULE)
+if HAVE_LINUX
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(moddir)
@list='$(KERNEL_MODULE)'; \
@@ -39,15 +40,18 @@ install-exec-local: $(KERNEL_MODULE)
if test ! -c /dev/dhahelper; then \
$(MAKE) nodes; \
fi
+endif
uninstall-local:
+if HAVE_LINUX
@$(NORMAL_UNINSTALL)
@list='$(KERNEL_MODULE)'; \
for p in $$list; do \
echo "rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
+endif
debug:
install-debug: install