Makefile revision 123377
153152Smarcel# $FreeBSD: head/sys/boot/Makefile 123377 2003-12-10 09:18:42Z grehan $
253152Smarcel
3114343Speter.if ${MACHINE_ARCH} == "amd64"
4116864Speter.MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
5114343Speter.endif
6114343Speter
7123377Sgrehan.if !defined(NOFORTH)
840843Smsmith# Build the add-in FORTH interpreter
940843SmsmithSUBDIR+=		ficl
10110783Sbenno.endif
1138465Smsmith
1293307Sobrien# Build OpenFirmware library
1393307Sobrien.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
1468546SbennoSUBDIR+=		ofw
1568546Sbenno.endif
1668546Sbenno
1740843Smsmith# Pick the machine-dependant subdir based on the target architecture.
1853181SmarcelSUBDIR+=		${MACHINE}
1940843Smsmith
2049192Sse# Build ARC / AlphaBIOS executable on the Alpha
2174798Sobrien# (this is a WIP (work in progress))
2274798Sobrien#.if ${MACHINE_ARCH} == "alpha"
2374798Sobrien#SUBDIR+=		arc
2474798Sobrien#.endif
2549192Sse
2677943Sdfr# Build EFI executable on ia64
2777943Sdfr.if ${MACHINE_ARCH} == "ia64"
2877943SdfrSUBDIR+=		efi
2977943Sdfr.endif
3077943Sdfr
3138465Smsmith.include <bsd.subdir.mk>
32