Makefile revision 42434
1# Makefile for building the sample syscall module
2
3SRCS	= syscall.c
4KMOD	= syscall
5KO	= ${KMOD}.ko
6KLDMOD	= t
7
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>
18