Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/userboot/userboot/Makefile
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
CFLAGS+= -DBF_DICTSIZE=15000 | CFLAGS+= -DBF_DICTSIZE=15000 | ||||
LIBFICL= ${.OBJDIR}/../ficl/libficl.a | LIBFICL= ${.OBJDIR}/../ficl/libficl.a | ||||
LIBSTAND= ${.OBJDIR}/../libstand/libstand.a | LIBSTAND= ${.OBJDIR}/../libstand/libstand.a | ||||
.endif | .endif | ||||
.if ${MK_ZFS} != "no" | .if ${MK_ZFS} != "no" | ||||
CFLAGS+= -DUSERBOOT_ZFS_SUPPORT | CFLAGS+= -DUSERBOOT_ZFS_SUPPORT | ||||
LIBZFSBOOT= ${.OBJDIR}/../zfs/libzfsboot.a | LIBZFSBOOT= ${.OBJDIR}/../zfs/libzfsboot.a | ||||
LIBCRYPTOBOOT= ${.OBJDIR}/../libcryptoboot/libcryptoboot.a | |||||
.endif | .endif | ||||
# Always add MI sources | # Always add MI sources | ||||
.PATH: ${.CURDIR}/../../common | .PATH: ${.CURDIR}/../../common | ||||
.include "${.CURDIR}/../../common/Makefile.inc" | .include "${.CURDIR}/../../common/Makefile.inc" | ||||
CFLAGS+= -I${.CURDIR}/../../common | CFLAGS+= -I${.CURDIR}/../../common | ||||
CFLAGS+= -I. | CFLAGS+= -I. | ||||
DPADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBSTAND} | DPADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBCRYPTOBOOT} ${LIBSTAND} | ||||
LDADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBSTAND} | LDADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBCRYPTOBOOT} ${LIBSTAND} | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |