NetBSD/sys/rump/Makefile.rump
pooka 1cf445da3e Don't play rename & typecast games with kauth_cred_t, but rather
declare the type in rump.h only if necessary with the help of ifdef
magic.
2007-08-25 10:22:31 +00:00

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}