1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/zdb 4 5PROG= zdb 6MAN= zdb.8 7SRCS= zdb.c zdb_il.c 8 9WARNS?= 0 10CSTD= c99 11 12CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 13CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 14CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 15CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 16CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 17CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 18CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 19CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 20CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 21CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 22CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys 23CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 24CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 25 26LIBADD= nvpair umem uutil zfs zpool 27 28# Since there are many asserts in this program, it makes no sense to compile 29# it without debugging. 30CFLAGS+= -g -DDEBUG=1 31 32.include <bsd.prog.mk> 33