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}/sys/contrib/openzfs/lib/libzpool/include 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 30CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 31CFLAGS.lzbe_device.c= -Wno-cast-qual 32CFLAGS.lzbe_util.c= -Wno-cast-qual 33CFLAGS.lzbe_pair.c= -Wno-cast-qual 34 35.include <bsd.lib.mk> 36