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