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