]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/Makefile
add -n option to suppress clearing the build tree and add -DNO_CLEAN
[FreeBSD/FreeBSD.git] / sys / boot / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .if ${MACHINE_ARCH} == "mips"
6 MK_FORTH=no     # not yet
7 .endif
8
9 .if ${MK_FORTH} != "no"
10 # Build the add-in FORTH interpreter.
11 SUBDIR+=                ficl
12 .endif
13
14 # Build EFI library.
15 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "ia64"
16 SUBDIR+=                efi
17 .endif
18
19 # Build Open Firmware library.
20 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
21 SUBDIR+=                ofw
22 .endif
23
24 # Build U-Boot library.
25 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
26 SUBDIR+=                uboot
27 .endif
28
29 # Pick the machine-dependent subdir based on the target architecture.
30 ADIR=                   ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
31 .if exists(${.CURDIR}/${ADIR}/.)
32 SUBDIR+=                ${ADIR}
33 .endif
34
35 .include <bsd.subdir.mk>