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