2007-04-06 01:09:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-04-16 21:20:26 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../contrib/opensolaris/cmd/zpool
|
2007-04-06 01:09:06 +00:00
|
|
|
|
|
|
|
PROG= zpool
|
|
|
|
MAN= zpool.8
|
2007-04-16 21:20:26 +00:00
|
|
|
SRCS= zpool_main.c zpool_vdev.c zpool_iter.c zpool_util.c
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2007-04-16 21:20:26 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libuutil/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libumem/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzfs/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libnvpair
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2007-10-01 18:17:24 +00:00
|
|
|
DPADD= ${LIBAVL} ${LIBZFS} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} \
|
|
|
|
${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBUTIL}
|
|
|
|
LDADD= -lavl -lzfs -lgeom -lbsdxml -lsbuf \
|
|
|
|
-lm -lnvpair -luutil -lutil
|
2007-04-06 01:09:06 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|