xref: /freebsd/cddl/sbin/zpool/Makefile (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
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
30LIBADD=	geom nvpair uutil zfs
31
32.include <bsd.prog.mk>
33