1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/zhack 4 5PROG= zhack 6MAN= 7 8WARNS?= 0 9CSTD= c99 10 11CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 12CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 13CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 14CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 15CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 16CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 17CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 18CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 19CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 20CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 21CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys 22CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 23CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 24 25LIBADD= nvpair zfs zpool 26 27CFLAGS+= -DDEBUG=1 28#DEBUG_FLAGS+= -g 29 30.include <bsd.prog.mk> 31