1# Makefile for building the sample syscall module
| 1# Makefile for building the sample syscall module
|
| 2# $FreeBSD: head/share/examples/kld/syscall/module/Makefile 83608 2001-09-18 12:03:42Z ru $
|
2
| 3
|
3SRCS = syscall.c 4KMOD = syscall 5KO = ${KMOD}.ko 6KLDMOD = t
| 4KMOD= syscall 5SRCS= syscall.c
|
7
| 6
|
8KLDLOAD = /sbin/kldload 9KLDUNLOAD = /sbin/kldunload 10 11load: ${KO} 12 ${KLDLOAD} -v ./${KO} 13 14unload: ${KO} 15 ${KLDUNLOAD} -v -n ${KO} 16
| |
17.include <bsd.kmod.mk>
| 7.include <bsd.kmod.mk>
|