Revert "rename amd64 architecture to x86_64"
[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.5 2007/05/18 07:41:40 dillon Exp $
3
4 .if ${MACHINE_ARCH} == "amd64"
5 .MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE_PLATFORM=pc32 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_PLATFORM}
20
21 # Build EFI executable on ia64
22 .if ${MACHINE_ARCH} == "ia64"
23 SUBDIR+=                efi
24 .endif
25
26 .include <bsd.subdir.mk>