3 ZFSTOP
= ${SRCTOP}/sys
/contrib
/openzfs
6 .PATH
: ${ZFSTOP}/man
/man1
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 \
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
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
35 SUBDIR.
${MK_TESTS}+= tests
37 .
include <bsd.prog.mk
>