1# $FreeBSD: stable/11/sys/modules/dtrace/dtraceall/Makefile 332566 2018-04-16 14:39:04Z lidl $
2
3SYSDIR?=	${SRCTOP}/sys
4
5KMOD=		dtraceall
6SRCS=		dtraceall.c opt_compat.h opt_nfs.h
7
8CFLAGS+=	-I${SYSDIR}
9
10.if !defined(KERNBUILDDIR)
11.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "mips64"
12opt_compat.h:
13	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
14.endif
15.endif
16
17.include <bsd.kmod.mk>
18
19CFLAGS+=	-include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
20