Makefile revision 42434
142434Sdfr# Makefile for building the sample syscall module 242434Sdfr 342434SdfrSRCS = syscall.c 442434SdfrKMOD = syscall 542434SdfrKO = ${KMOD}.ko 642434SdfrKLDMOD = t 742434Sdfr 842434SdfrKLDLOAD = /sbin/kldload 942434SdfrKLDUNLOAD = /sbin/kldunload 1042434Sdfr 1142434Sdfrload: ${KO} 1242434Sdfr ${KLDLOAD} -v ./${KO} 1342434Sdfr 1442434Sdfrunload: ${KO} 1542434Sdfr ${KLDUNLOAD} -v -n ${KO} 1642434Sdfr 1742434Sdfr.include <bsd.kmod.mk> 18