2007-04-06 01:09:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/zdb
|
2007-04-06 01:09:06 +00:00
|
|
|
|
|
|
|
PROG= zdb
|
|
|
|
MAN= zdb.8
|
2007-04-16 21:20:26 +00:00
|
|
|
SRCS= zdb.c zdb_il.c
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2010-03-02 19:04:07 +00:00
|
|
|
WARNS?= 0
|
|
|
|
CSTD= c99
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
|
2017-10-27 12:37:22 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libcmdutils
|
2017-03-04 11:30:04 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2015-12-24 11:56:37 +00:00
|
|
|
LIBADD= nvpair umem uutil zfs zpool
|
2007-04-06 01:09:06 +00:00
|
|
|
|
2013-08-27 04:01:31 +00:00
|
|
|
# Since there are many asserts in this program, it makes no sense to compile
|
|
|
|
# it without debugging.
|
|
|
|
CFLAGS+= -g -DDEBUG=1
|
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
|
|
|
|
2007-04-06 01:09:06 +00:00
|
|
|
.include <bsd.prog.mk>
|