Makefile revision 344377
1# $FreeBSD: stable/11/stand/sparc64/loader/Makefile 344377 2019-02-20 19:13:09Z 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.if ${MK_ZFS} != "no" 23HAVE_ZFS= yes 24.endif 25 26# Architecture-specific loader code 27.PATH: ${BOOTSRC}/sparc64/loader 28SRCS= locore.S main.c vers.c 29 30.if ${LOADER_DEBUG} == "yes" 31CFLAGS+= -DLOADER_DEBUG 32.endif 33 34.if exists(${.CURDIR}/help.sparc64) 35HELP_FILES= ${.CURDIR}/help.sparc64 36.endif 37 38# Always add MI sources 39.include "${BOOTSRC}/loader.mk" 40 41LDFLAGS+= -static 42 43# Open Firmware standalone support library 44LIBOFW= ${BOOTOBJ}/ofw/libofw/libofw.a 45CFLAGS+= -I${BOOTSRC}/ofw/libofw/ 46 47DPADD= ${LDR_INTERP} ${LIBOFW} ${LIBSA} 48LDADD= ${LDR_INTERP} ${LIBOFW} ${LIBSA} 49 50.include <bsd.prog.mk> 51