Changeset View
Changeset View
Standalone View
Standalone View
stand/libsa/zfs/Makefile.inc
# $FreeBSD$ | # $FreeBSD$ | ||||
.PATH: ${ZFSSRC} | .PATH: ${ZFSSRC} | ||||
SRCS+= zfs.c nvlist.c skein.c skein_block.c list.c | SRCS+= zfs.c nvlist.c skein.c skein_block.c list.c zstd_shim.c zstd.c | ||||
.PATH: ${SYSDIR}/crypto/skein | .PATH: ${SYSDIR}/crypto/skein | ||||
.PATH: ${SYSDIR}/cddl/contrib/opensolaris/uts/common/os | .PATH: ${ZFSOSSRC}/spl | ||||
.PATH: ${OZFS}/module/zstd/lib | |||||
CFLAGS+= -I${LDRSRC} | CFLAGS+= -I${LDRSRC} | ||||
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs | CFLAGS+= -I${SYSDIR}/cddl/boot/zfs | ||||
CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common | |||||
CFLAGS+= -I${SYSDIR}/crypto/skein | CFLAGS+= -I${SYSDIR}/crypto/skein | ||||
CFLAGS+= -include ${ZFSOSINC}/spl/sys/ccompile.h | |||||
ZFS_EARLY= -I${ZFSOSINC} \ | |||||
-I${ZFSOSINC}/spl \ | |||||
-I${ZFSOSINC}/zfs | |||||
CFLAGS_EARLY.list.c+= ${ZFS_EARLY} | |||||
CFLAGS_EARLY.zstd_shim.c+= ${ZFS_EARLY} | |||||
# Can't use the early flags because there's two conflicting definitions of boolean_t in | |||||
# the zfs code that need to be unified. | |||||
CFLAGS.nvlist.c+= -I${ZFSOSINC}/spl | |||||
CFLAGS.zfs.c+= -I${ZFSOSINC}/spl \ | |||||
-I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | |||||
CFLAGS.zstd_shim.c+= -DIN_BASE -I${OZFS}/include | |||||
# Do not unroll skein loops, reduce code size | # Do not unroll skein loops, reduce code size | ||||
CFLAGS.skein_block.c+= -DSKEIN_LOOP=111 | CFLAGS.skein_block.c+= -DSKEIN_LOOP=111 | ||||
CFLAGS.zfs.c+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 | |||||
CFLAGS+= -Wformat -Wall | CFLAGS+= -Wformat -Wall | ||||
mmacy: Clever. | |||||
Done Inline Actionsthanks. imp: thanks. |
Clever.