mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Remove, unbind and obsolete libuutil and libtpool Update zfs_configh and zfs_gitrev.h
31 lines
713 B
Makefile
31 lines
713 B
Makefile
.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${ZFSTOP}/lib/libzpool/include \
|
|
-I${SRCTOP}/sys \
|
|
-include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \
|
|
-DHAVE_ISSETUGID
|
|
|
|
LIBADD= nvpair umem zdb zfs_core zfs spl avl zutil zpool crypto pthread
|
|
|
|
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>
|