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}/../../../sys/cddl/contrib/opensolaris/common/zfs/ 20CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head 21CFLAGS+= -I${.CURDIR}/../../lib/libumem 22 23DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBUUTIL} \ 24 ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} 25LDADD= -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool 26 27.include <bsd.prog.mk> 28