freebsd-skq/sys/boot/Makefile

33 lines
622 B
Makefile
Raw Normal View History

# $FreeBSD$
2003-04-30 22:13:36 +00:00
.if ${MACHINE_ARCH} == "amd64"
MACHINE_ARCH=i386
MACHINE=i386
.endif
.if !defined(NOFORTH)
# Build the add-in FORTH interpreter
SUBDIR+= ficl
.endif
2002-03-28 01:37:10 +00:00
# Build OpenFirmware library
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR+= ofw
.endif
# Pick the machine-dependant subdir based on the target architecture.
SUBDIR+= ${MACHINE}
# 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>