xref: /freebsd/sys/modules/dtrace/dtraceall/Makefile (revision bb15ca603fa442c72dde3f3cb8b46db6970e3950)
1# $FreeBSD$
2
3KMOD=		dtraceall
4SRCS=		dtraceall.c opt_compat.h
5
6CFLAGS+=	-I${.CURDIR}/../../..
7
8.if !defined(KERNBUILDDIR)
9.if ${MACHINE_ARCH} == "amd64"
10opt_compat.h:
11	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
12.endif
13.endif
14
15.include <bsd.kmod.mk>
16