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