Merge branch 'vendor/GCC50'
[dragonfly.git] / sys / boot / Makefile
1 # $FreeBSD: src/sys/boot/Makefile,v 1.18 2003/08/16 02:48:20 obrien Exp $
2
3 .if ${MACHINE_ARCH} == "x86_64"
4 .MAKEFLAGS:  MACHINE_ARCH=i386 MACHINE_PLATFORM=pc32 REALLY_X86_64=true
5 .else
6 .MAKEFLAGS:  REALLY_X86_64=false
7 .endif
8
9 # Build DLoader
10 SUBDIR+=                dloader
11
12 # Pick the machine-dependant subdir based on the target architecture.
13 .if ${REALLY_X86_64} == "true"
14 SUBDIR+=                pc32
15 .else
16 SUBDIR+=                ${MACHINE_PLATFORM}
17 .endif
18
19 .include <bsd.subdir.mk>