1# $FreeBSD$ 2 3ZFSTOP= ${SRCTOP}/sys/contrib/openzfs 4 5.PATH: ${ZFSTOP}/cmd/zstream 6.PATH: ${ZFSTOP}/man/man8 7 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_redup.c \ 17 zstream_token.c 18 19SYMLINKS= ${BINDIR}/zstream ${BINDIR}/zstreamdump 20 21WARNS?= 2 22CFLAGS+= \ 23 -DIN_BASE \ 24 -I${ZFSTOP}/include \ 25 -I${ZFSTOP}/lib/libspl/include \ 26 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 27 -I${SRCTOP}/sys \ 28 -I${SRCTOP}/cddl/compat/opensolaris/include \ 29 -I${ZFSTOP}/module/icp/include \ 30 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \ 31 -DHAVE_ISSETUGID \ 32 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 33 34LIBADD= geom m nvpair umem uutil avl spl zfs_core zfs zutil zpool 35 36.include <bsd.prog.mk> 37