NetBSD/lib/librumpuser/Makefile

39 lines
808 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2014/07/09 23:41:40 justin Exp $
#
2013-05-16 00:47:20 +04:00
.include <bsd.own.mk>
2012-03-21 09:37:42 +04:00
WARNS?= 5
# rumpuser.h is in sys/rump for inclusion by kernel components
.PATH: ${.CURDIR}/../../sys/rump/include/rump
LIB= rumpuser
2010-11-30 17:08:39 +03:00
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
.for lib in ${RUMPUSER_EXTERNAL_DPLIBS}
LIBDO.${lib}= _external
LIBDPLIBS+= ${lib} lib
.endfor
CPPFLAGS+= -DLIBRUMPUSER
2010-11-30 17:08:39 +03:00
#CPPFLAGS+= -D_DIAGNOSTIC
SRCS= rumpuser.c
SRCS+= rumpuser_pth.c
SRCS+= rumpuser_component.c rumpuser_bio.c
SRCS+= rumpuser_file.c rumpuser_mem.c
SRCS+= rumpuser_errtrans.c rumpuser_sigtrans.c
# optional
SRCS+= rumpuser_dl.c rumpuser_sp.c rumpuser_daemonize.c
INCSDIR= /usr/include/rump
2013-09-10 20:51:24 +04:00
INCS= rumpuser.h rumpuser_component.h rumpuser_port.h
MAN= rumpuser.3
CPPFLAGS+= -D_REENTRANT
.include <bsd.lib.mk>