xref: /freebsd/cddl/sbin/zpool/Makefile (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
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/libzfs_core/common
22CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
23CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
24CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
25CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
26CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
27CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
28CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common
29
30DPADD=	${LIBAVL} ${LIBGEOM} ${LIBNVPAIR} \
31	${LIBUMEM} ${LIBUTIL} ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS}
32LDADD=	-lavl -lgeom -lnvpair -lumem -lutil -luutil -lzfs_core -lzfs
33
34.include <bsd.prog.mk>
35