12d9cf57eSMartin Matuska# $FreeBSD$ 22d9cf57eSMartin Matuska 3716fd348SMartin Matuska.PATH: ${SRCTOP}/sys/contrib/openzfs/cmd 42d9cf57eSMartin Matuska 5*a71ea7beSEmmanuel VadotPACKAGE= zfs 62d9cf57eSMartin MatuskaPROG= zhack 73bdf7758SWarner LoshMAN= 82d9cf57eSMartin Matuska 92d9cf57eSMartin MatuskaWARNS?= 0 102d9cf57eSMartin MatuskaCSTD= c99 112d9cf57eSMartin Matuska 129e5787d2SMatt MacyWARNS?= 2 139e5787d2SMatt MacyCFLAGS+= -DIN_BASE 149e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 159e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 169e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 179e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys 18acc37ca1SEnji CooperCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 199e5787d2SMatt MacyCFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 209e5787d2SMatt MacyCFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 219e5787d2SMatt MacyCFLAGS+= -DHAVE_ISSETUGID 229e5787d2SMatt MacyCFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 232d9cf57eSMartin Matuska 249e5787d2SMatt Macy 259e5787d2SMatt MacyLIBADD= nvpair zfs spl zutil zpool 262d9cf57eSMartin Matuska 274c5238d5SMartin MatuskaCFLAGS+= -DDEBUG=1 284c5238d5SMartin Matuska#DEBUG_FLAGS+= -g 294c5238d5SMartin Matuska 302d9cf57eSMartin Matuska.include <bsd.prog.mk> 31