1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libtpool 4.PATH: ${SRCTOP}/sys/contrib/openzfs/include 5 6 7LIB= tpool 8LIBADD= spl 9PACKAGE= zfs 10 11INCS= thread_pool_impl.h 12SRCS= thread_pool.c 13 14WARNS?= 2 15CSTD= c99 16CFLAGS+= -DIN_BASE 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 20CFLAGS+= -I${SRCTOP}/sys 21CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 22CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 23CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 24CFLAGS+= -DHAVE_ISSETUGID 25CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 26 27.include <bsd.lib.mk> 28