xref: /trueos/sys/boot/Makefile (revision 8943816bb4812ac55b5f3738b955ac07db05a3b2)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4.include <bsd.arch.inc.mk>
5
6.if ${MK_FORTH} != "no"
7# Build the add-in FORTH interpreter.
8SUBDIR+=		ficl
9SUBDIR+=		forth
10.endif
11
12# Pick the machine-dependent subdir based on the target architecture.
13ADIR=			${MACHINE:S/powerpc64/powerpc/}
14.if exists(${.CURDIR}/${ADIR}/.)
15SUBDIR+=		${ADIR}
16.endif
17.if ${MACHINE} == "amd64"
18SUBDIR+=		i386
19.endif
20
21.include <bsd.subdir.mk>
22