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