2017-05-10 11:48:46 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2017/05/10 08:48:46 sevan Exp $
|
2010-11-05 00:01:28 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
|
|
|
|
|
|
|
|
LIB= rumpclient
|
2010-11-23 15:41:47 +03:00
|
|
|
USE_SHLIBDIR= yes
|
2011-02-17 02:45:40 +03:00
|
|
|
MAN= rumpclient.3
|
2010-11-23 15:41:47 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2010-11-05 00:01:28 +03:00
|
|
|
|
|
|
|
INCS= rumpclient.h
|
|
|
|
INCSDIR= /usr/include/rump
|
|
|
|
|
2013-05-16 00:27:00 +04:00
|
|
|
.for lib in ${RUMPCLIENT_EXTERNAL_DPLIBS}
|
|
|
|
LIBDO.${lib}= _external
|
|
|
|
LIBDPLIBS+= ${lib} lib
|
|
|
|
.endfor
|
|
|
|
|
2017-05-10 11:48:46 +03:00
|
|
|
CPPFLAGS+= -DRUMP_CLIENT -D_KERNTYPES
|
2013-09-10 20:53:06 +04:00
|
|
|
CPPFLAGS+= -I${.OBJDIR} -I${.CURDIR}
|
2013-09-10 21:39:10 +04:00
|
|
|
CPPFLAGS+= -I${.CURDIR}/../librumpuser
|
2010-11-05 00:01:28 +03:00
|
|
|
SRCS= rumpclient.c
|
|
|
|
SRCS+= rump_syscalls.c
|
|
|
|
|
2011-03-08 21:30:24 +03:00
|
|
|
CLEANFILES+= srcsys
|
|
|
|
|
2011-02-22 17:02:54 +03:00
|
|
|
COPTS.rump_syscalls.c+= -fno-strict-aliasing
|
|
|
|
|
2011-03-08 21:30:24 +03:00
|
|
|
.if !make(obj) && !make(clean) && !make(cleandir)
|
|
|
|
.BEGIN:
|
|
|
|
@rm -f srcsys
|
|
|
|
@ln -s ${NETBSDSRCDIR}/sys/sys srcsys
|
|
|
|
.endif
|
|
|
|
|
2010-11-05 00:01:28 +03:00
|
|
|
.include <bsd.lib.mk>
|