1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../contrib/opensolaris/cmd/zinject 4 5PROG= zinject 6SRCS= zinject.c translate.c 7NO_MAN= 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/libzpool/common 15CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/lib/libnvpair 16CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 17CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 18CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 19CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head 20CFLAGS+= -I${.CURDIR}/../../lib/libumem 21 22DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBUUTIL} \ 23 ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} 24LDADD= -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool 25 26.include <bsd.prog.mk> 27