]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/sparc64/loader/Makefile
Re-sync loader.mk and ficl.mk to where they should be
[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+=    help.sparc64
34 .else
35 HELP_FILES=
36 .endif
37
38 # Always add MI sources
39 .include        "${BOOTSRC}/loader.mk"
40
41 LDFLAGS+=       -static
42
43 # Open Firmware standalone support library
44 LIBOFW=         ${BOOTOBJ}/ofw/libofw/libofw.a
45 CFLAGS+=        -I${BOOTSRC}/ofw/libofw/
46
47 DPADD=          ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
48 LDADD=          ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
49
50 .include <bsd.prog.mk>