release - Branch for 2.6, adjust sys/sys/param.h and sys/conf/newvers.sh
[dragonfly.git] / sys / boot / Makefile
blob9beebbee255146ad86641b7ef07e59f9ba38f7ab
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.5 2007/05/18 07:41:40 dillon Exp $
4 .if ${MACHINE_ARCH} == "x86_64"
5 .MAKEFLAGS: MACHINE_ARCH=i386 MACHINE_PLATFORM=pc32 REALLY_X86_64=true
6 .endif
8 .if !defined(NOFORTH) && ${MACHINE_ARCH} != "powerpc"
9 # Build the add-in FORTH interpreter
10 SUBDIR+= ficl
11 .endif
13 # Build OpenFirmware library
14 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
15 SUBDIR+= ofw
16 .endif
18 # Pick the machine-dependant subdir based on the target architecture.
19 SUBDIR+= ${MACHINE_PLATFORM}
21 # Build EFI executable on ia64
22 .if ${MACHINE_ARCH} == "ia64"
23 SUBDIR+= efi
24 .endif
26 .include <bsd.subdir.mk>