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 16CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 18CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 19CFLAGS+= -DHAVE_ISSETUGID 20CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 21 22 23LIBADD= nvpair zfs spl zutil zpool 24 25CFLAGS+= -DDEBUG=1 26#DEBUG_FLAGS+= -g 27 28.include <bsd.prog.mk> 29