1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/zpool 4.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common 5.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 6 7PROG= zpool 8MAN= zpool.8 zpool-features.7 9SRCS= zpool_main.c zpool_vdev.c zpool_iter.c zpool_util.c zfs_comutil.c 10SRCS+= timestamp.c 11 12WARNS?= 0 13CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 14CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 15CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 16CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 17CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 18CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common 19CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libumem/common 20CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 21CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 22CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 23CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 24CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 25CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 26CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 27CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common 28 29DPADD= ${LIBAVL} ${LIBGEOM} ${LIBNVPAIR} \ 30 ${LIBUMEM} ${LIBUTIL} ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} 31LDADD= -lavl -lgeom -lnvpair -lumem -lutil -luutil -lzfs_core -lzfs 32 33.include <bsd.prog.mk> 34