1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../..//contrib/opensolaris/cmd/ztest 4 5PROG= ztest 6NO_MAN= 7 8WARNS?= 0 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/libzpool/common 13CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/lib/libnvpair 14CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 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= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ 22 ${LIBPTHREAD} ${LIBAVL} ${LIBZFS_CORE} ${LIBZFS} ${LIBUUTIL} 23LDADD= -lgeom -lm -lnvpair -lumem -lzpool -lpthread -lavl -lzfs_core -lzfs \ 24 -luutil 25 26CSTD= c99 27 28# Since there are many asserts in this program, it makes no sense to compile 29# it without debugging. 30CFLAGS+= -g -DDEBUG=1 31 32.include <bsd.prog.mk> 33