Makefile (b754c27916c5d1b0fe2f57d6d4ba94c7de1b541b) Makefile (6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd)
1# $FreeBSD$
2
3SYSDIR?= ${SRCTOP}/sys
4
5KMOD= dtraceall
1# $FreeBSD$
2
3SYSDIR?= ${SRCTOP}/sys
4
5KMOD= dtraceall
6SRCS= dtraceall.c opt_compat.h opt_nfs.h
6SRCS= dtraceall.c opt_nfs.h
7
8CFLAGS+= -I${SYSDIR}
9
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
10.include <bsd.kmod.mk>
11
12CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h