1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/ztest 4 5PROG= ztest 6NO_MAN= 7 8CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 9CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 10CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 11CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 12CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 13CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 14CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 15CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 16CFLAGS+= -I${.CURDIR}/../../lib/libumem 17 18DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ 19 ${LIBPTHREAD} ${LIBZ} ${LIBAVL} 20LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl 21 22.include <bsd.prog.mk> 23