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