1# $FreeBSD: head/sys/modules/dtrace/fbt/Makefile 262818 2014-03-06 01:59:13Z marcel $
| 1# $FreeBSD: head/sys/modules/dtrace/fbt/Makefile 270067 2014-08-16 21:42:55Z markj $
|
2 3SYSDIR?= ${.CURDIR}/../../.. 4 5.PATH: ${SYSDIR}/cddl/dev/fbt 6 7KMOD= fbt
| 2 3SYSDIR?= ${.CURDIR}/../../.. 4 5.PATH: ${SYSDIR}/cddl/dev/fbt 6 7KMOD= fbt
|
8.if ${MACHINE_CPUARCH} == "powerpc" 9SRCS= fbt_powerpc.c
| 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
|
10.else
| 14.else
|
11SRCS= fbt.c
| 15CFLAGS+= -I${SYSDIR}/cddl/dev/fbt/${MACHINE_CPUARCH} 16.PATH: ${SYSDIR}/cddl/dev/fbt/${MACHINE_CPUARCH}
|
12.endif
| 17.endif
|
13SRCS+= vnode_if.h
| |
14
| 18
|
15CFLAGS+= -I${SYSDIR}/cddl/compat/opensolaris \
| 19CFLAGS+= -I${SYSDIR}/cddl/dev/fbt \ 20 -I${SYSDIR}/cddl/compat/opensolaris \
|
16 -I${SYSDIR}/cddl/contrib/opensolaris/uts/common \ 17 -I${SYSDIR} 18 19.include <bsd.kmod.mk> 20 21CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
| 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
|