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