2007-08-25 14:22:31 +04:00
|
|
|
# $NetBSD: Makefile.rump,v 1.5 2007/08/25 10:22:31 pooka Exp $
|
2007-08-06 02:28:00 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
.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}
|
2007-08-08 01:33:13 +04:00
|
|
|
CPPFLAGS+= -D_KERNEL -DDIAGNOSTIC -I${NETBSDSRCDIR}/common/include
|
2007-08-25 14:22:31 +04:00
|
|
|
CPPFLAGS+= -D_RUMPKERNEL
|
2007-08-06 02:28:00 +04:00
|
|
|
CPPFLAGS+= -nostdinc -I${NETBSDSRCDIR}/sys
|
|
|
|
.endif
|
|
|
|
|
2007-08-16 02:13:15 +04:00
|
|
|
LDFLAGS+= -Wl,--wrap=malloc
|
|
|
|
|
2007-08-06 02:28:00 +04:00
|
|
|
LIBRUMPDIR != cd ${NETBSDSRCDIR}/sys/rump/librump/rumpkern && ${PRINTOBJDIR}
|