freebsd-skq/sys/modules/dtrace/fasttrap/Makefile

20 lines
439 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../cddl/dev/fasttrap
KMOD= fasttrap
SRCS= fasttrap.c
SRCS+= vnode_if.h
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \
-I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/common \
-I${.CURDIR}/../../..
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/uts/intel
.endif
CFLAGS+= -DSMP -DDEBUG
.include <bsd.kmod.mk>