1 # If KERNELRELEASE is defined, we've been invoked from the
2 # kernel build system and can use its language.
3 #KERNELDIR = "/usr/src/experimental/linux-source-2.6.22-utrace-viewos"
4 #KERNELDIR = "/mnt/sorgenti/KernelStuff/kernels/linux-2.6.22.1/"
5 #KERNELDIR = "/extra/renzo/linux-2.6.24-rc5-ipn-curr"
7 ifneq ($(KERNELRELEASE
),)
8 kvde_switch-objs
:= kvde_switch_main.o
11 # Otherwise we were called directly from the command
12 # line; invoke the kernel build system.
14 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
18 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
21 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
25 rm -rf
*.o
*~ core .depend .
*.cmd
*.ko
*.mod.c .tmp_versions