From d55b42b320963609e4b81df2695af1d1d392b34a Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Mon, 3 Jun 2002 11:42:19 +0000 Subject: Install/remove linux kernel modules only on linux platform CVS patchset: 1992 CVS date: 2002/06/03 11:42:19 --- src/video_out/libdha/kernelhelper/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3