opnsense-src/share/examples/kld/syscall/module/Makefile
Doug Rabson 380a989b32 Replace the misc example with a simpler syscall example using the new
module registration hooks for syscalls.

Submitted by: Assar Westerlund <assar@sics.se>
1999-01-09 14:26:22 +00:00

17 lines
265 B
Makefile

# Makefile for building the sample syscall module
SRCS = syscall.c
KMOD = syscall
KO = ${KMOD}.ko
KLDMOD = t
KLDLOAD = /sbin/kldload
KLDUNLOAD = /sbin/kldunload
load: ${KO}
${KLDLOAD} -v ./${KO}
unload: ${KO}
${KLDUNLOAD} -v -n ${KO}
.include <bsd.kmod.mk>