2008-05-16 22:31:19 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2014-03-05 20:59:13 -05:00
|
|
|
SYSDIR?= ${.CURDIR}/../../..
|
|
|
|
|
|
2008-05-16 22:31:19 -04:00
|
|
|
KMOD= dtraceall
|
2012-09-01 03:35:16 -04:00
|
|
|
SRCS= dtraceall.c opt_compat.h opt_nfs.h
|
2008-05-16 22:31:19 -04:00
|
|
|
|
2014-03-05 20:59:13 -05:00
|
|
|
CFLAGS+= -I${SYSDIR}
|
2008-05-16 22:31:19 -04:00
|
|
|
|
2011-03-12 04:09:25 -05:00
|
|
|
.if !defined(KERNBUILDDIR)
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
2011-04-09 05:07:31 -04:00
|
|
|
opt_compat.h:
|
2011-03-12 04:09:25 -05:00
|
|
|
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
|
|
|
|
|
.endif
|
|
|
|
|
.endif
|
|
|
|
|
|
2008-05-16 22:31:19 -04:00
|
|
|
.include <bsd.kmod.mk>
|
2013-08-06 11:51:56 -04:00
|
|
|
|
2014-03-05 20:59:13 -05:00
|
|
|
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
|