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