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_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