1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/zfs 4 5PROG= zfs 6MAN= zfs.8 7SRCS= zfs_main.c zfs_iter.c 8 9CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common 10CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include 11CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem 12CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris 13CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head 14CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libuutil/common 15CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzfs/common 16CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libumem/common 17CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair 18CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common 19CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs 20CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys 21 22DPADD= ${LIBZFS} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} \ 23 ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBUTIL} 24LDADD= -lzfs -lgeom -lbsdxml -lsbuf \ 25 -lm -lnvpair -luutil -lutil 26 27.include <bsd.prog.mk> 28