1# $FreeBSD$ 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" 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