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