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