xref: /freebsd/sys/modules/dtrace/Makefile (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
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} == "powerpc"
23SUBDIR+=	fbt fasttrap
24.endif
25.if ${MACHINE_CPUARCH} == "amd64" || \
26    ${MACHINE_ARCH} == "mips64" || \
27    ${MACHINE_ARCH} == "powerpc64"
28SUBDIR+=	systrace_freebsd32
29.endif
30.if ${MACHINE_CPUARCH} == "aarch64" || \
31    ${MACHINE_CPUARCH} == "arm" || \
32    ${MACHINE_CPUARCH} == "mips" || \
33    ${MACHINE_CPUARCH} == "riscv"
34SUBDIR+=	fbt
35.endif
36.include <bsd.subdir.mk>
37