]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/Makefile
Fix ICMPv6 / MLDv2 out-of-bounds memory access.
[FreeBSD/FreeBSD.git] / stand / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 # For amd64 we have to build 32 and 64 bit versions of things. For
6 # others we don't. LIB32LIST is a list of libraries, which if
7 # included, need to be built 32-bit as well.
8 .if ${MACHINE_ARCH} == "amd64"
9 LIB32LIST=libsa ficl zfs
10 .endif
11
12 S.yes+=                 libsa
13
14 S.${MK_FORTH}+=         ficl
15 S.${MK_FORTH}+=         forth
16 S.${MK_FDT}+=           fdt
17 S.${MK_LOADER_OFW}+=    ofw
18 S.${MK_ZFS}+=           zfs
19 S.yes+=                 defaults
20 S.yes+=                 man
21
22 S.${MK_LOADER_GELI}+=   geli
23
24 .include <bsd.arch.inc.mk>
25
26 S.${MK_EFI}+=           efi
27 S.${MK_LOADER_UBOOT}+=  uboot
28
29 .if exists(${.CURDIR}/${MACHINE}/.)
30 S.yes+=         ${MACHINE}
31 .endif
32
33 # Build the actual subdir list from S.yes, adding in the 32-bit
34 # variant if necessary.
35 .for _x in ${S.yes}
36 SUBDIR+=${_x}
37 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}}
38 SUBDIR+=${_x}32
39 .endif
40 .endfor
41
42 .include <bsd.subdir.mk>