dtrace: Address KMSAN warnings in dtrace_disx86
[freebsd/src.git] / cddl / usr.bin / ztest / Makefile
blobef4bd561b41ae4558fdb85e11aa6b9d3fcfc5ac4
1 .include <src.opts.mk>
3 ZFSTOP= ${SRCTOP}/sys/contrib/openzfs
5 .PATH: ${ZFSTOP}/cmd
6 .PATH: ${ZFSTOP}/man/man1
8 PACKAGE= zfs
9 PROG= ztest
10 MAN= ztest.1
12 WARNS?= 2
13 CFLAGS+= \
14 -DIN_BASE \
15 -I${ZFSTOP}/include \
16 -I${ZFSTOP}/lib/libspl/include \
17 -I${ZFSTOP}/lib/libspl/include/os/freebsd \
18 -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include \
19 -I${SRCTOP}/cddl/compat/opensolaris/include \
20 -I${ZFSTOP}/module/icp/include \
21 -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h \
22 -DHAVE_ISSETUGID \
23 -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
25 LIBADD= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs uutil icp
27 CSTD= c99
29 # Since there are many asserts in this program, it makes no sense to compile
30 # it without debugging.
31 CFLAGS+= -g -DDEBUG=1 -Wno-format -DZFS_DEBUG=1
32 CFLAGS.gcc+= -fms-extensions
34 HAS_TESTS=
35 SUBDIR.${MK_TESTS}+= tests
37 .include <bsd.prog.mk>