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