1 2.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil 3.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil/os/freebsd 4.PATH: ${SRCTOP}/sys/contrib/openzfs/module/os/freebsd/zfs 5 6LIB= zutil 7LIBADD= avl geom m tpool 8PACKAGE= zfs 9 10INCS = zutil_import.h 11 12SRCS = \ 13 zutil_device_path.c \ 14 zutil_import.c \ 15 zutil_import.h \ 16 zutil_nicenum.c \ 17 zutil_pool.c 18 19SRCS += \ 20 os/freebsd/zutil_device_path_os.c \ 21 os/freebsd/zutil_import_os.c 22 23SRCS += zfs_ioctl_compat.c 24 25 26WARNS?= 2 27CSTD= c99 28 29CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 30CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 31CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 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