6b31f116cc
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T without conflict, as highlighted in PR kern/52206.
37 lines
692 B
Makefile
37 lines
692 B
Makefile
# $NetBSD: Makefile,v 1.14 2017/05/11 04:33:14 sevan Exp $
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
|
|
|
|
LIB= rumpclient
|
|
USE_SHLIBDIR= yes
|
|
MAN= rumpclient.3
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
INCS= rumpclient.h
|
|
INCSDIR= /usr/include/rump
|
|
|
|
.for lib in ${RUMPCLIENT_EXTERNAL_DPLIBS}
|
|
LIBDO.${lib}= _external
|
|
LIBDPLIBS+= ${lib} lib
|
|
.endfor
|
|
|
|
CPPFLAGS+= -DRUMP_CLIENT
|
|
CPPFLAGS+= -I${.OBJDIR} -I${.CURDIR}
|
|
CPPFLAGS+= -I${.CURDIR}/../librumpuser
|
|
SRCS= rumpclient.c
|
|
SRCS+= rump_syscalls.c
|
|
|
|
CLEANFILES+= srcsys
|
|
|
|
COPTS.rump_syscalls.c+= -fno-strict-aliasing
|
|
|
|
.if !make(obj) && !make(clean) && !make(cleandir)
|
|
.BEGIN:
|
|
@rm -f srcsys
|
|
@ln -s ${NETBSDSRCDIR}/sys/sys srcsys
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|