xref: /freebsd/sys/modules/dtrace/Makefile (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1# $FreeBSD$
2
3.include "Makefile.inc"
4
5SUBDIR=		dtaudit		\
6		dtmalloc	\
7		dtnfscl		\
8		dtrace		\
9		dtraceall	\
10		dtrace_test	\
11		profile		\
12		prototype	\
13		sdt		\
14		systrace
15
16.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
17SUBDIR+=	fasttrap fbt systrace_linux
18.endif
19.if ${MACHINE_CPUARCH} == "amd64"
20SUBDIR+=	systrace_linux32
21.endif
22.if ${MACHINE_CPUARCH} == "amd64" || \
23    ${MACHINE_CPUARCH} == "aarch64" || \
24    ${MACHINE_ARCH} == "powerpc64"
25SUBDIR+=	systrace_freebsd32
26.endif
27.if ${MACHINE_CPUARCH} == "aarch64" || \
28    ${MACHINE_CPUARCH} == "arm" || \
29    ${MACHINE_CPUARCH} == "powerpc" || \
30    ${MACHINE_CPUARCH} == "riscv"
31SUBDIR+=	fbt
32.endif
33
34.include <bsd.subdir.mk>
35