mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Martin Matuska](/assets/img/avatar_default.png)
Notable upstream pull request merges: #15769082338875
Add 'zpool status -e' flag to see unhealthy vdevs #15804a0d3fe72b
libzdb: Initial breakout of libzdb #15847229b9f4ed
LUA: Backport CVE-2020-24370's patch Obtained from: OpenZFS OpenZFS commit:229b9f4ed0
34 lines
706 B
Makefile
34 lines
706 B
Makefile
|
|
ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
|
|
|
|
.PATH: ${ZFSTOP}/cmd/zdb
|
|
.PATH: ${ZFSTOP}/man/man8
|
|
|
|
PACKAGE= zfs
|
|
PROG= zdb
|
|
MAN= zdb.8
|
|
INCS= zdb.h
|
|
SRCS= zdb.c zdb_il.c
|
|
|
|
WARNS?= 2
|
|
CSTD= c99
|
|
|
|
CFLAGS+= \
|
|
-DIN_BASE \
|
|
-I${ZFSTOP}/include \
|
|
-I${ZFSTOP}/lib/libspl/include \
|
|
-I${ZFSTOP}/lib/libspl/include/os/freebsd \
|
|
-I${ZFSTOP}/lib/libspl/include/os/freebsd/spl \
|
|
-I${SRCTOP}/sys \
|
|
-include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \
|
|
-DHAVE_ISSETUGID
|
|
|
|
LIBADD= nvpair umem uutil zdb zfs spl avl zutil zpool crypto
|
|
|
|
CFLAGS.gcc+= -fms-extensions
|
|
# Since there are many asserts in this program, it makes no sense to compile
|
|
# it without debugging.
|
|
CFLAGS+= -g -DDEBUG=1 -DZFS_DEBUG=1
|
|
|
|
.include <bsd.prog.mk>
|