NetBSD/lib/libpuffs/Makefile
pooka edb40ac9bf Add some very initial support for a threading worker model as an
alternative to the (vastly superior ;) continuation model.  This
is very preliminary stuff and not compiled by default (which it
even won't do without some other patches I cannot commit yet).

The raison d'commit of the patch is a snippet which ensures proper
in-order dispatching of all operations, including those which don't
require a response.  Previously many of them would be dispatched
simultaneosly, e.g. fsync and reclaim on the same node, which
obviously isn't all that nice for correct operation.
2007-10-26 17:35:01 +00:00

28 lines
735 B
Makefile

# $NetBSD: Makefile,v 1.21 2007/10/26 17:35:01 pooka Exp $
#
.include <bsd.own.mk>
USE_FORT?= yes # data-driven bugs?
WARNS= 4
LIB= puffs
# don't enable this unless you know what you're doing (or if you don't
# know what you're doing, it's still ok to enable this if you're me)
#LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
#CPPFLAGS+= -DPUFFS_WITH_THREADS
SRCS= puffs.c callcontext.c creds.c dispatcher.c flush.c \
framebuf.c null.c opdump.c paths.c pnode.c requests.c \
subr.c suspend.c
MAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_flush.3 \
puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3 \
puffs_req.3 puffs_suspend.3
INCS= puffs.h puffsdump.h
INCSDIR= /usr/include
LINTFLAGS+=-S -w
.include <bsd.lib.mk>