NetBSD/lib/librumpclient/Makefile

36 lines
680 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2013/05/15 20:27:00 pooka 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
2011-03-08 22:11:27 +03:00
CPPFLAGS+= -DRUMP_CLIENT
CPPFLAGS+= -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../librumpuser
SRCS= rumpclient.c
SRCS+= rump_syscalls.c
2011-03-08 21:30:24 +03:00
CLEANFILES+= srcsys
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
.include <bsd.lib.mk>