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?= 2 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/libcmdutils 16CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 17CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 18CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 19CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 20CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 21CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 22CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 23CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys 24CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 25CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 26 27LIBADD= nvpair umem uutil zfs zpool 28 29# Since there are many asserts in this program, it makes no sense to compile 30# it without debugging. 31CFLAGS+= -g -DDEBUG=1 32 33.include <bsd.prog.mk> 34