NetBSD/sys/rump/Makefile.rump
2008-05-31 19:28:36 +00:00

25 lines
527 B
Makefile

# $NetBSD: Makefile.rump,v 1.8 2008/05/31 19:28:36 ad Exp $
#
.include <bsd.own.mk>
LIBISPRIVATE= yes
NOMAN= wizd
WARNS?= 4
DBG= -g -O0
CPPFLAGS+= -I${.CURDIR} -I.
.if "${RUMPKERNEL}" != "no"
CFLAGS+= -ffreestanding
CPPFLAGS:= -I${NETBSDSRCDIR}/sys/rump/include ${CPPFLAGS}
CPPFLAGS+= -D_KERNEL -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}