NetBSD/sys/rump/Makefile.rump

27 lines
567 B
Makefile

# $NetBSD: Makefile.rump,v 1.6 2008/01/24 22:41:07 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 -DDEBUG
CPPFLAGS+= -nostdinc -I${NETBSDSRCDIR}/sys
.endif
LDFLAGS+= -Wl,--wrap=malloc
LIBRUMPDIR != cd ${NETBSDSRCDIR}/sys/rump/librump/rumpkern && ${PRINTOBJDIR}