NetBSD/sys/rump/Makefile.rump

27 lines
559 B
Makefile

# $NetBSD: Makefile.rump,v 1.5 2007/08/25 10:22:31 pooka Exp $
#
.include <bsd.own.mk>
MKPRIVATELIB= yes
NOMAN= wizd
MKLINT?= no
MKPIC?= no
WARNS?= 4
DBG= -g -O0
CPPFLAGS+= -I${.CURDIR} -I.
.if "${RUMPKERNEL}" != "no"
CFLAGS+= -ffreestanding
CPPFLAGS:= -I${NETBSDSRCDIR}/sys/rump/include ${CPPFLAGS}
CPPFLAGS+= -D_KERNEL -DDIAGNOSTIC -I${NETBSDSRCDIR}/common/include
CPPFLAGS+= -D_RUMPKERNEL
CPPFLAGS+= -nostdinc -I${NETBSDSRCDIR}/sys
.endif
LDFLAGS+= -Wl,--wrap=malloc
LIBRUMPDIR != cd ${NETBSDSRCDIR}/sys/rump/librump/rumpkern && ${PRINTOBJDIR}