2012-06-11 11:35:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/zhack
|
|
|
|
|
|
|
|
PROG= zhack
|
2014-04-13 05:21:56 +00:00
|
|
|
MAN=
|
2012-06-11 11:35:22 +00:00
|
|
|
|
|
|
|
WARNS?= 0
|
|
|
|
CSTD= c99
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
|
|
|
|
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/libzpool/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libumem
|
|
|
|
|
|
|
|
DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \
|
2013-03-05 08:09:53 +00:00
|
|
|
${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL}
|
|
|
|
LDADD= -lgeom -lm -lnvpair -lpthread -lumem -luutil -lzfs_core -lzfs -lzpool
|
2012-06-11 11:35:22 +00:00
|
|
|
|
Merge recent zfs vendor changes, sync code and adjust userland DEBUG.
Illumos issued covered:
1884 Empty "used" field for zfs *space commands
3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument
is zero
3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID
3048 zfs {user,group}space [-s|-S] is broken
3049 zfs {user,group}space -t doesn't really filter the results
3060 zfs {user,group}space -H output isn't tab-delimited
3061 zfs {user,group}space -o doesn't use specified fields order
3064 usr/src/cmd/zpool/zpool_main.c misspells "successful"
3093 zfs {user,group}space's -i is noop
3098 zfs userspace/groupspace fail without saying why when run as non-root
References:
https://www.illumos.org/issues/ + [issue_id]
Obtained from: illumos (vendor/illumos, vendor/illumos-sys)
MFC after: 2 weeks
2012-09-12 18:05:43 +00:00
|
|
|
CFLAGS+= -DDEBUG=1
|
|
|
|
#DEBUG_FLAGS+= -g
|
|
|
|
|
2012-06-11 11:35:22 +00:00
|
|
|
.include <bsd.prog.mk>
|