1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/zhack 4 5PROG= zhack 6NO_MAN= 7 8WARNS?= 0 9CSTD= c99 10 11CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris 12CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include 13CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem 14CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair 15CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common 16CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common 17CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common 18CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 19CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common 20CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys 21CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs 22CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head 23CFLAGS+= -I${.CURDIR}/../../lib/libumem 24 25DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \ 26 ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} 27LDADD= -lgeom -lm -lnvpair -lpthread -lumem -luutil -lzfs_core -lzfs -lzpool 28 29CFLAGS+= -DDEBUG=1 30#DEBUG_FLAGS+= -g 31 32.include <bsd.prog.mk> 33