]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/sparc64/loader/Makefile
Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
[FreeBSD/FreeBSD.git] / stand / sparc64 / loader / Makefile
1 # $FreeBSD$
2
3 LOADER_DISK_SUPPORT?=   yes
4 LOADER_UFS_SUPPORT?=    yes
5 LOADER_CD9660_SUPPORT?= yes
6 LOADER_EXT2FS_SUPPORT?= no
7 LOADER_MSDOS_SUPPORT?=  no
8 LOADER_NET_SUPPORT?=    yes
9 LOADER_NFS_SUPPORT?=    yes
10 LOADER_TFTP_SUPPORT?=   yes
11 LOADER_GZIP_SUPPORT?=   yes
12 LOADER_BZIP2_SUPPORT?=  no
13 LOADER_DEBUG?=          no
14
15 .include <bsd.init.mk>
16 MK_SSP=         no
17 MAN=
18
19 PROG?=          loader
20 NEWVERSWHAT?=   "bootstrap loader" sparc64
21 VERSION_FILE=   ${.CURDIR}/../loader/version
22 INSTALLFLAGS=   -b
23
24 # Architecture-specific loader code
25 .PATH:          ${BOOTSRC}/sparc64/loader
26 SRCS=           locore.S main.c metadata.c vers.c
27
28 .if ${LOADER_DEBUG} == "yes"
29 CFLAGS+=        -DLOADER_DEBUG
30 .endif
31
32 .if exists(${.CURDIR}/help.sparc64)
33 HELP_FILES=     ${.CURDIR}/help.sparc64
34 .endif
35
36 # Always add MI sources
37 .include        "${BOOTSRC}/loader.mk"
38
39 LDFLAGS+=       -static
40
41 # Open Firmware standalone support library
42 LIBOFW=         ${BOOTOBJ}/ofw/libofw/libofw.a
43 CFLAGS+=        -I${BOOTSRC}/ofw/libofw/
44
45 DPADD=          ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
46 LDADD=          ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
47
48 .include <bsd.prog.mk>