1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/contrib/openzfs/cmd 4 5PACKAGE= zfs 6PROG= zhack 7MAN= 8 9WARNS?= 0 10CSTD= c99 11 12WARNS?= 2 13CFLAGS+= -DIN_BASE 14CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 15CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 16CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 17CFLAGS+= -I${SRCTOP}/sys 18CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 20CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 21CFLAGS+= -DHAVE_ISSETUGID 22CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 23 24 25LIBADD= nvpair zfs spl zutil zpool 26 27CFLAGS+= -DDEBUG=1 28#DEBUG_FLAGS+= -g 29 30.include <bsd.prog.mk> 31