Makefile revision 176371
1# $FreeBSD: head/sys/boot/Makefile 176371 2008-02-17 20:34:35Z marcel $
2
3.include <bsd.own.mk>
4
5.if ${MK_FORTH} != "no"
6# Build the add-in FORTH interpreter.
7SUBDIR+=		ficl
8.endif
9
10# Build EFI library.
11.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "ia64"
12SUBDIR+=		efi
13.endif
14
15# Build Open Firmware library.
16.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
17SUBDIR+=		ofw
18.endif
19
20# Build U-Boot library.
21.if ${MACHINE_ARCH} == "powerpc"
22SUBDIR+=		uboot
23.endif
24
25# Pick the machine-dependent subdir based on the target architecture.
26SUBDIR+=		${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
27
28.include <bsd.subdir.mk>
29