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