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