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 7PACKAGE= runtime 8PROG= zpool 9MAN= zpool.8 zpool-features.7 10SRCS= zpool_main.c zpool_vdev.c zpool_iter.c zpool_util.c zfs_comutil.c 11SRCS+= timestamp.c 12 13WARNS?= 0 14CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 15CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 16CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 17CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 18CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 19CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 20CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libumem/common 21CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 22CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 23CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 24CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 25CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 26CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 27CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 28CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/cmd/stat/common 29 30LIBADD= geom nvpair uutil zfs 31 32.include <bsd.prog.mk> 33