1380a989bSDoug Rabson# Makefile for building the sample syscall module 2380a989bSDoug Rabson 3380a989bSDoug RabsonSRCS = syscall.c 4380a989bSDoug RabsonKMOD = syscall 5380a989bSDoug RabsonKO = ${KMOD}.ko 6380a989bSDoug RabsonKLDMOD = t 7380a989bSDoug Rabson 8380a989bSDoug RabsonKLDLOAD = /sbin/kldload 9380a989bSDoug RabsonKLDUNLOAD = /sbin/kldunload 10380a989bSDoug Rabson 11380a989bSDoug Rabsonload: ${KO} 12380a989bSDoug Rabson ${KLDLOAD} -v ./${KO} 13380a989bSDoug Rabson 14380a989bSDoug Rabsonunload: ${KO} 15380a989bSDoug Rabson ${KLDUNLOAD} -v -n ${KO} 16380a989bSDoug Rabson 17380a989bSDoug Rabson.include <bsd.kmod.mk> 18