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