Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/sparc64/loader/Makefile
Show All 33 Lines | |||||
.if ${LOADER_CD9660_SUPPORT} == "yes" | .if ${LOADER_CD9660_SUPPORT} == "yes" | ||||
CFLAGS+= -DLOADER_CD9660_SUPPORT | CFLAGS+= -DLOADER_CD9660_SUPPORT | ||||
.endif | .endif | ||||
.if ${LOADER_ZFS_SUPPORT} == "yes" | .if ${LOADER_ZFS_SUPPORT} == "yes" | ||||
CFLAGS+= -DLOADER_ZFS_SUPPORT | CFLAGS+= -DLOADER_ZFS_SUPPORT | ||||
CFLAGS+= -I${.CURDIR}/../../zfs | CFLAGS+= -I${.CURDIR}/../../zfs | ||||
CFLAGS+= -I${.CURDIR}/../../../cddl/boot/zfs | CFLAGS+= -I${.CURDIR}/../../../cddl/boot/zfs | ||||
LIBZFSBOOT= ${.OBJDIR}/../../zfs/libzfsboot.a | LIBZFSBOOT= ${.OBJDIR}/../../zfs/libzfsboot.a | ||||
LIBCRYPTOBOOT= ${.OBJDIR}/../../libcryptoboot/libcryptoboot.a | |||||
.endif | .endif | ||||
.if ${LOADER_GZIP_SUPPORT} == "yes" | .if ${LOADER_GZIP_SUPPORT} == "yes" | ||||
CFLAGS+= -DLOADER_GZIP_SUPPORT | CFLAGS+= -DLOADER_GZIP_SUPPORT | ||||
.endif | .endif | ||||
.if ${LOADER_BZIP2_SUPPORT} == "yes" | .if ${LOADER_BZIP2_SUPPORT} == "yes" | ||||
CFLAGS+= -DLOADER_BZIP2_SUPPORT | CFLAGS+= -DLOADER_BZIP2_SUPPORT | ||||
.endif | .endif | ||||
.if ${LOADER_NET_SUPPORT} == "yes" | .if ${LOADER_NET_SUPPORT} == "yes" | ||||
Show All 30 Lines | |||||
# Open Firmware standalone support library | # Open Firmware standalone support library | ||||
LIBOFW= ${.OBJDIR}/../../ofw/libofw/libofw.a | LIBOFW= ${.OBJDIR}/../../ofw/libofw/libofw.a | ||||
CFLAGS+= -I${.CURDIR}/../../ofw/libofw/ | CFLAGS+= -I${.CURDIR}/../../ofw/libofw/ | ||||
# where to get libstand from | # where to get libstand from | ||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ | CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ | ||||
DPADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSTAND} | DPADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBCRYPTOBOOT} ${LIBOFW} ${LIBSTAND} | ||||
LDADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} -lstand | LDADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBCRYPTOBOOT} ${LIBOFW} -lstand | ||||
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../loader/version | vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../loader/version | ||||
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../loader/version \ | sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../loader/version \ | ||||
${NEWVERSWHAT} | ${NEWVERSWHAT} | ||||
loader.help: help.common help.sparc64 | loader.help: help.common help.sparc64 | ||||
cat ${.ALLSRC} | \ | cat ${.ALLSRC} | \ | ||||
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} | ||||
.PATH: ${.CURDIR}/../../forth | .PATH: ${.CURDIR}/../../forth | ||||
.include "${.CURDIR}/../../forth/Makefile.inc" | .include "${.CURDIR}/../../forth/Makefile.inc" | ||||
FILES+= loader.rc menu.rc | FILES+= loader.rc menu.rc | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |