aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/Makefile
blob: 2984bd5c89cfa7084a59a89c046a51167d2b17b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

.include <src.opts.mk>
.include <bsd.arch.inc.mk>

.if ${MK_FORTH} != "no"
# Build the add-in FORTH interpreter.
SUBDIR+=		ficl
.endif

# Pick the machine-dependent subdir based on the target architecture.
ADIR=			${MACHINE:S/powerpc64/powerpc/}
.if exists(${.CURDIR}/${ADIR}/.)
SUBDIR+=		${ADIR}
.endif
.if ${MACHINE} == "amd64"
SUBDIR+=		i386
.endif

.include <bsd.subdir.mk>