1.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil 2.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil/os/freebsd 3.PATH: ${SRCTOP}/sys/contrib/openzfs/module/os/freebsd/zfs 4 5LIB= zutil 6LIBADD= avl geom m tpool 7PACKAGE= zfs 8 9INCS = zutil_import.h 10 11SRCS = \ 12 zutil_device_path.c \ 13 zutil_import.c \ 14 zutil_import.h \ 15 zutil_nicenum.c \ 16 zutil_pool.c 17 18SRCS += \ 19 os/freebsd/zutil_device_path_os.c \ 20 os/freebsd/zutil_import_os.c 21 22SRCS += zfs_ioctl_compat.c 23 24 25WARNS?= 2 26CSTD= c99 27 28CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 29CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 30CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 31CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include 32CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 33CFLAGS+= -I${SRCTOP}/sys 34CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 35CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 36CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzutil 37CFLAGS+= -DHAVE_ISSETUGID -DIN_BASE 38CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 39 40.include <bsd.lib.mk> 41