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