Makefile revision 123377
1# $FreeBSD: head/sys/boot/Makefile 123377 2003-12-10 09:18:42Z grehan $
2
3.if ${MACHINE_ARCH} == "amd64"
4.MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
5.endif
6
7.if !defined(NOFORTH)
8# Build the add-in FORTH interpreter
9SUBDIR+=		ficl
10.endif
11
12# Build OpenFirmware library
13.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
14SUBDIR+=		ofw
15.endif
16
17# Pick the machine-dependant subdir based on the target architecture.
18SUBDIR+=		${MACHINE}
19
20# Build ARC / AlphaBIOS executable on the Alpha
21# (this is a WIP (work in progress))
22#.if ${MACHINE_ARCH} == "alpha"
23#SUBDIR+=		arc
24#.endif
25
26# Build EFI executable on ia64
27.if ${MACHINE_ARCH} == "ia64"
28SUBDIR+=		efi
29.endif
30
31.include <bsd.subdir.mk>
32