Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/dtrace/dtraceall/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
SYSDIR?= ${SRCTOP}/sys | SYSDIR?= ${SRCTOP}/sys | ||||
KMOD= dtraceall | KMOD= dtraceall | ||||
SRCS= dtraceall.c opt_compat.h opt_nfs.h | SRCS= dtraceall.c opt_compat.h opt_nfs.h | ||||
CFLAGS+= -I${SYSDIR} | CFLAGS+= -I${SYSDIR} | ||||
.if !defined(KERNBUILDDIR) | .if !defined(KERNBUILDDIR) | ||||
.if ${MACHINE_ARCH} == "amd64" | .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "mips64" | ||||
opt_compat.h: | opt_compat.h: | ||||
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET} | echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET} | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> | ||||
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h | CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h |