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