1 2.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfsbootenv 3.PATH: ${SRCTOP}/sys/contrib/openzfs/include 4 5PACKAGE= zfs 6LIB= zfsbootenv 7SHLIB_MAJOR= 1 8 9LIBADD= zfs 10LIBADD+= nvpair 11 12INCS= libzfsbootenv.h 13USER_C= \ 14 lzbe_device.c \ 15 lzbe_util.c \ 16 lzbe_pair.c 17 18SRCS= $(USER_C) 19 20CSTD= c99 21CFLAGS+= -DIN_BASE 22CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 23CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 24CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 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