1ZFSTOP= ${SRCTOP}/sys/contrib/openzfs 2 3.PATH: ${ZFSTOP}/cmd/zstream 4.PATH: ${ZFSTOP}/man/man8 5 6PACKAGE= zfs 7PROG= zstream 8MAN= zstream.8 9MLINKS= zstream.8 zstreamdump.8 10INCS= zstream.h 11SRCS= \ 12 zstream.c \ 13 zstream_decompress.c \ 14 zstream_dump.c \ 15 zstream_recompress.c \ 16 zstream_redup.c \ 17 zstream_token.c 18 19SYMLINKS= ${BINDIR}/zstream ${BINDIR}/zstreamdump 20 21WARNS?= 2 22CFLAGS+= \ 23 -DIN_BASE \ 24 -DZFS_DEBUG \ 25 -I${ZFSTOP}/include \ 26 -I${ZFSTOP}/lib/libspl/include \ 27 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 28 -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include \ 29 -I${SRCTOP}/sys \ 30 -I${SRCTOP}/cddl/compat/opensolaris/include \ 31 -I${ZFSTOP}/module/icp/include \ 32 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \ 33 -DHAVE_ISSETUGID \ 34 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 35 36LIBADD= geom m nvpair umem uutil avl spl zfs_core zfs zutil zpool 37 38.include <bsd.prog.mk> 39