freebsd-nq/sys/boot/Makefile

33 lines
710 B
Makefile

# $FreeBSD$
# Build the add-in FORTH interpreter
.if ${MACHINE_ARCH} != "ia64"
SUBDIR+= ficl
.endif
# Build OpenFirmware library on PowerPC
.if ${MACHINE_ARCH} == "powerpc"
SUBDIR+= ofw
.endif
# Pick the machine-dependant subdir based on the target architecture.
# XXX pc98 is basicly a special i386 with MACHINE_ARCH=i386 and MACHINE=pc98.
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"
SUBDIR+= ${MACHINE}
.else
SUBDIR+= ${MACHINE_ARCH}
.endif
# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress))
#.if ${MACHINE_ARCH} == "alpha"
#SUBDIR+= arc
#.endif
# Build EFI executable on ia64
.if ${MACHINE_ARCH} == "ia64"
SUBDIR+= efi
.endif
.include <bsd.subdir.mk>