1# $FreeBSD$ 2 3ZFSTOP= ${SRCTOP}/sys/contrib/openzfs 4 5.PATH: ${ZFSTOP}/cmd/zstream 6.PATH: ${ZFSTOP}/man/man8 7 8PACKAGE= zfs 9PROG= zstream 10MAN= zstream.8 11MLINKS= zstream.8 zstreamdump.8 12INCS= zstream.h 13SRCS= \ 14 zstream.c \ 15 zstream_decompress.c \ 16 zstream_dump.c \ 17 zstream_recompress.c \ 18 zstream_redup.c \ 19 zstream_token.c 20 21SYMLINKS= ${BINDIR}/zstream ${BINDIR}/zstreamdump 22 23WARNS?= 2 24CFLAGS+= \ 25 -DIN_BASE \ 26 -I${ZFSTOP}/include \ 27 -I${ZFSTOP}/lib/libspl/include \ 28 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 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