1# $FreeBSD$ 2 3SYSDIR?= ${.CURDIR}/../../.. 4 5.PATH: ${SYSDIR}/cddl/dev/fbt 6 7KMOD= fbt 8SRCS= fbt.c fbt_isa.c 9SRCS+= vnode_if.h 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+= -I${SYSDIR}/cddl/dev/fbt \ 20 -I${SYSDIR}/cddl/compat/opensolaris \ 21 -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \ 22 -I${SYSDIR} 23 24.include <bsd.kmod.mk> 25 26CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h 27