1 2.PATH: ${SRCTOP}/sys/contrib/openzfs/cmd 3 4PACKAGE= zfs 5PROG= zhack 6MAN= 7 8WARNS?= 0 9CSTD= c99 10 11WARNS?= 2 12CFLAGS+= -DIN_BASE 13CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 14CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 15CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 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