1.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfsbootenv 2.PATH: ${SRCTOP}/sys/contrib/openzfs/include 3 4PACKAGE= zfs 5LIB= zfsbootenv 6SHLIB_MAJOR= 1 7 8LIBADD= zfs 9LIBADD+= nvpair 10 11INCS= libzfsbootenv.h 12USER_C= \ 13 lzbe_device.c \ 14 lzbe_util.c \ 15 lzbe_pair.c 16 17SRCS= $(USER_C) 18 19CSTD= c99 20CFLAGS+= -DIN_BASE 21CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 22CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 23CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 24CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 25CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 26CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 27CFLAGS+= -DHAVE_ISSETUGID 28CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 29CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 30CFLAGS.lzbe_device.c= -Wno-cast-qual 31CFLAGS.lzbe_util.c= -Wno-cast-qual 32CFLAGS.lzbe_pair.c= -Wno-cast-qual 33 34.include <bsd.lib.mk> 35