2014-07-10 03:41:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.19 2014/07/09 23:41:40 justin Exp $
|
2008-07-29 17:17:40 +04:00
|
|
|
#
|
|
|
|
|
2013-05-16 00:47:20 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-03-21 09:37:42 +04:00
|
|
|
WARNS?= 5
|
2008-07-29 17:17:40 +04:00
|
|
|
|
2010-02-26 21:54:20 +03:00
|
|
|
# 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
|
2013-05-16 00:27:00 +04:00
|
|
|
.for lib in ${RUMPUSER_EXTERNAL_DPLIBS}
|
|
|
|
LIBDO.${lib}= _external
|
|
|
|
LIBDPLIBS+= ${lib} lib
|
|
|
|
.endfor
|
2013-03-01 17:52:31 +04:00
|
|
|
CPPFLAGS+= -DLIBRUMPUSER
|
2010-11-30 17:08:39 +03:00
|
|
|
#CPPFLAGS+= -D_DIAGNOSTIC
|
2010-02-26 21:54:20 +03:00
|
|
|
|
2013-03-18 17:14:10 +04:00
|
|
|
SRCS= rumpuser.c
|
2010-02-26 21:54:20 +03:00
|
|
|
SRCS+= rumpuser_pth.c
|
2014-02-20 04:42:27 +04:00
|
|
|
SRCS+= rumpuser_component.c rumpuser_bio.c
|
2014-07-10 03:41:40 +04:00
|
|
|
SRCS+= rumpuser_file.c rumpuser_mem.c
|
2014-02-20 04:42:27 +04:00
|
|
|
|
|
|
|
SRCS+= rumpuser_errtrans.c rumpuser_sigtrans.c
|
2013-04-30 19:48:29 +04:00
|
|
|
|
|
|
|
# optional
|
|
|
|
SRCS+= rumpuser_dl.c rumpuser_sp.c rumpuser_daemonize.c
|
2010-02-26 21:54:20 +03:00
|
|
|
|
|
|
|
INCSDIR= /usr/include/rump
|
2013-09-10 20:51:24 +04:00
|
|
|
INCS= rumpuser.h rumpuser_component.h rumpuser_port.h
|
2010-02-26 21:54:20 +03:00
|
|
|
|
2008-07-29 17:17:40 +04:00
|
|
|
MAN= rumpuser.3
|
|
|
|
|
2010-02-26 21:54:20 +03:00
|
|
|
CPPFLAGS+= -D_REENTRANT
|
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|