]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/dtrace/dtraceall/Makefile
Copy ^/vendor/NetBSD/tests/dist to contrib/netbsd-tests
[FreeBSD/FreeBSD.git] / sys / modules / dtrace / dtraceall / Makefile
1 # $FreeBSD$
2
3 SYSDIR?=        ${.CURDIR}/../../..
4
5 KMOD=           dtraceall
6 SRCS=           dtraceall.c opt_compat.h opt_nfs.h
7
8 CFLAGS+=        -I${SYSDIR}
9
10 .if !defined(KERNBUILDDIR)
11 .if ${MACHINE_ARCH} == "amd64"
12 opt_compat.h:
13         echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
14 .endif
15 .endif
16
17 .include <bsd.kmod.mk>
18
19 CFLAGS+=        -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h