1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/zpool 4.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/stat/common 5.PATH: ${SRCTOP}/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${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 14CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 15CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 16CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 17CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 18CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 19CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libumem/common 20CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 21CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 22CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 23CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 24CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 25CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 26CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 27CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/cmd/stat/common 28 29LIBADD= geom nvpair uutil zfs 30 31.include <bsd.prog.mk> 32