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