diff Makefile @ 26902:95d324b7de18

Merge vidix/dhahelper/Makefile into top-level Makefile.
author diego
date Fri, 30 May 2008 19:39:00 +0000
parents cb9430d7bf56
children 5ed6787022c4
line wrap: on
line diff
--- a/Makefile	Fri May 30 19:17:20 2008 +0000
+++ b/Makefile	Fri May 30 19:39:00 2008 +0000
@@ -989,6 +989,19 @@
 driversclean:
 	rm -f drivers/*.o drivers/*~ drivers/mga_vid_test drivers/tdfx_vid_test
 
+dhahelper: vidix/dhahelper/dhahelper.o vidix/dhahelper/test
+
+vidix/dhahelper/dhahelper.o vidix/dhahelper/test: CFLAGS = $(KERNEL_CFLAGS)
+vidix/dhahelper/dhahelper.o: vidix/dhahelper/dhahelper.c vidix/dhahelper/dhahelper.h
+
+install-dhahelper: vidix/dhahelper/dhahelper.o
+	-mkdir -p $(MODULES_DIR)
+	install -m 644 $< $(MODULES_DIR)
+	depmod -a
+
+dhahelperclean:
+	rm -f vidix/dhahelper/*.o vidix/dhahelper/*~ vidix/dhahelper/test
+
 
 
 -include $(DEPS)