f3f587e74f3790bd4f4079d48715690bcd4901c3
[dragonfly.git] / sys / boot / Makefile
1 # $FreeBSD: src/sys/boot/Makefile,v 1.18 2003/08/16 02:48:20 obrien Exp $
2 # $DragonFly: src/sys/boot/Makefile,v 1.3 2003/11/10 06:08:19 dillon Exp $
3
4 .if ${MACHINE_ARCH} == "amd64"
5 .MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true
6 .endif
7
8 .if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc"
9 # Build the add-in FORTH interpreter
10 SUBDIR+=                ficl
11 .endif
12
13 # Build OpenFirmware library
14 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
15 SUBDIR+=                ofw
16 .endif
17
18 # Pick the machine-dependant subdir based on the target architecture.
19 SUBDIR+=                ${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"
29 SUBDIR+=                efi
30 .endif
31
32 .include <bsd.subdir.mk>