aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/dtrace/kinst/Makefile
blob: edf97cbfda79455cc4afbce405be8962f8c8b1ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SYSDIR?=	${SRCTOP}/sys

.PATH:		${SYSDIR}/cddl/dev/kinst \
		${SYSDIR}/cddl/dev/kinst/${MACHINE_CPUARCH}

KMOD=		kinst
SRCS=		kinst.c kinst_isa.c trampoline.c

CFLAGS+=	${OPENZFS_CFLAGS} \
		-I${SYSDIR}/cddl/dev/kinst \
		-I${SYSDIR}/cddl/dev/dtrace/x86 \
		-I${SYSDIR}/cddl/dev/kinst/${MACHINE_CPUARCH}

.include <bsd.kmod.mk>

CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
CWARNFLAGS+=	${OPENZFS_CWARNFLAGS}