NetBSD/lib/librumpuser/Makefile
pooka 7332ad1515 Require server to be explicitly initialized with rump_init_server(url).
Also, add rump_daemonize_begin() / rump_daemonize_end() to help
with the "can't daemon() after pthread_create()" problem.  Applications
could accomplish the same, but since it's such a common operation,
provide a little help.
2010-11-30 14:23:24 +00:00

26 lines
496 B
Makefile

# $NetBSD: Makefile,v 1.5 2010/11/30 14:23:24 pooka Exp $
#
WARNS= 4
# rumpuser.h is in sys/rump for inclusion by kernel components
.PATH: ${.CURDIR}/../../sys/rump/include/rump
LIB= rumpuser
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
#CPPFLAGS+= -D_DIAGNOSTIC
SRCS= rumpuser.c rumpuser_net.c
SRCS+= rumpuser_pth.c
SRCS+= rumpuser_dl.c rumpuser_sp.c rumpuser_daemonize.c
INCSDIR= /usr/include/rump
INCS= rumpuser.h
MAN= rumpuser.3
CPPFLAGS+= -D_REENTRANT
.include <bsd.lib.mk>