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