1SYSDIR?= ${SRCTOP}/sys 2 3KMOD= kinst 4SRCS= kinst.c kinst_isa.c trampoline.c 5 6CFLAGS+= ${OPENZFS_CFLAGS} \ 7 -I${SYSDIR}/cddl/dev/kinst \ 8 -I${SYSDIR}/cddl/dev/kinst/${MACHINE_CPUARCH} 9 10.PATH: ${SYSDIR}/cddl/dev/kinst \ 11 ${SYSDIR}/cddl/dev/kinst/${MACHINE_CPUARCH} 12 13.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" 14CFLAGS+= -I${SYSDIR}/cddl/dev/dtrace/x86 15.PATH: ${SYSDIR}/cddl/dev/dtrace/x86 16.else 17CFLAGS+= -I${SYSDIR}/cddl/dev/dtrace/${MACHINE_CPUARCH} 18.PATH: ${SYSDIR}/cddl/dev/dtrace/${MACHINE_CPUARCH} 19.endif 20 21.include <bsd.kmod.mk> 22 23CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h 24