1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/zdb 4 5PROG= zdb 6MAN= zdb.8 7SRCS= zdb.c zdb_il.c 8 9CFLAGS+= -std=c99 10 11CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 12CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 13CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 14CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 15CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common 16CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 17CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 18CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 19CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 20CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 21CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 22CFLAGS+= -I${.CURDIR}/../../lib/libumem 23 24DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \ 25 ${LIBUUTIL} ${LIBZ} ${LIBZFS} ${LIBZPOOL} 26LDADD= -lavl -lgeom -lm -lnvpair -lpthread -lumem -luutil -lz -lzfs -lzpool 27 28.include <bsd.prog.mk> 29