1.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzdb 2.PATH: ${SRCTOP}/sys/contrib/openzfs/include 3 4LIB= zdb 5PACKAGE= zfs 6 7INCS = libzdb.h 8 9SRCS = libzdb.c 10 11WARNS?= 2 12CSTD= c99 13 14CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 15CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include 16CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 19CFLAGS+= -I${SRCTOP}/sys 20CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 21CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 22CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzutil 23CFLAGS+= -DHAVE_ISSETUGID -DIN_BASE 24CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 25 26.include <bsd.lib.mk> 27