1.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs_core 2.PATH: ${SRCTOP}/sys/contrib/openzfs/include 3.PATH: ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 4.PATH: ${SRCTOP}/sys/contrib/openzfs/module/os/freebsd/zfs 5 6 7LIB= zfs_core 8LIBADD= nvpair spl zutil 9PACKAGE= zfs 10 11INCS= libzfs_core.h 12SRCS= libzfs_core.c \ 13 os/freebsd/libzfs_core_ioctl.c \ 14 zfs_ioctl_compat.c 15 16WARNS?= 2 17CSTD= c99 18CFLAGS+= -DIN_BASE 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 20CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzfs_core/common 21CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 22CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 23CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 24CFLAGS+= -I${SRCTOP}/sys 25CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 26CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 27CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 28CFLAGS+= -DHAVE_ISSETUGID 29CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 30 31.include <bsd.lib.mk> 32