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