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