mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
Define this helper variable in one place and make it available while building the entire base system. Reviewed by: sjg Obtained from: CheriBSD (mostly) Differential Revision: https://reviews.freebsd.org/D53790
26 lines
537 B
Makefile
26 lines
537 B
Makefile
.PATH: ${ZFSTOP}/cmd/zpool_influxdb
|
|
.PATH: ${ZFSTOP}/man/man8
|
|
|
|
PACKAGE=zfs
|
|
PROG= zpool_influxdb
|
|
MAN= zpool_influxdb.8
|
|
BINDIR?= /usr/libexec/zfs
|
|
|
|
WARNS?= 0
|
|
CSTD= c99
|
|
|
|
CFLAGS+= \
|
|
-DIN_BASE \
|
|
-I${ZFSTOP}/include \
|
|
-I${ZFSTOP}/lib/libspl/include \
|
|
-I${ZFSTOP}/lib/libspl/include/os/freebsd \
|
|
-include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \
|
|
-DHAVE_ISSETUGID \
|
|
-include ${SRCTOP}/sys/modules/zfs/zfs_config.h \
|
|
-DSYSCONFDIR=\"/etc\" \
|
|
-DPKGDATADIR=\"/usr/share/zfs\"
|
|
|
|
LIBADD= nvpair spl zfs pthread
|
|
|
|
.include <bsd.prog.mk>
|