freebsd-skq/stand/zfs/Makefile
2017-11-14 23:02:19 +00:00

23 lines
419 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
LIB= zfsboot
INTERNALLIB=
.PATH: ${ZFSSRC}
SRCS+= zfs.c skein.c skein_block.c
# Do not unroll skein loops, reduce code size
CFLAGS+= -DSKEIN_LOOP=111
.PATH: ${SYSDIR}/crypto/skein
CFLAGS+= -DBOOTPROG=\"zfsloader\"
CFLAGS+= -I${LDRSRC}
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS+= -I${SYSDIR}/crypto/skein
CFLAGS+= -Wformat -Wall
.include <bsd.stand.mk>
.include <bsd.lib.mk>