1# $FreeBSD$ 2 3ZFSTOP= ${SRCTOP}/sys/contrib/openzfs 4 5.PATH: ${ZFSTOP}/cmd/zpool_influxdb 6.PATH: ${ZFSTOP}/man/man8 7 8PROG= zpool_influxdb 9MAN= zpool_influxdb.8 10BINDIR?= /usr/libexec/zfs 11 12WARNS?= 0 13CSTD= c99 14 15CFLAGS+= \ 16 -DIN_BASE \ 17 -I${ZFSTOP}/include \ 18 -I${ZFSTOP}/lib/libspl/include \ 19 -I${ZFSTOP}/lib/libspl/include/os/freebsd \ 20 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \ 21 -DHAVE_ISSETUGID \ 22 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h \ 23 -DSYSCONFDIR=\"/etc\" \ 24 -DPKGDATADIR=\"/usr/share/zfs\" 25 26LIBADD= nvpair spl zfs 27 28.include <bsd.prog.mk> 29