1 2.PATH: ${SRCTOP}/sys/contrib/openzfs/module/nvpair 3.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libnvpair 4.PATH: ${SRCTOP}/sys/contrib/openzfs/include 5 6LIB= nvpair 7LIBADD= spl 8 9PACKAGE= zfs 10# user 11INCS= libnvpair.h 12SRCS= libnvpair.c \ 13 libnvpair_json.c \ 14 nvpair_alloc_system.c 15# kernel 16SRCS+= nvpair_alloc_fixed.c \ 17 nvpair.c \ 18 fnvpair.c 19 20WARNS?= 2 21CFLAGS+= -DIN_BASE -DHAVE_RPC_TYPES 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}/sys 26CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 27CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 28CFLAGS+= -DHAVE_ISSETUGID -DHAVE_CONFIG_H -DHAVE_XDR_BYTESREC 29 30.include <bsd.lib.mk> 31