Makefile.rump revision 1.20
1# $NetBSD: Makefile.rump,v 1.20 2008/12/30 21:31:10 pooka Exp $ 2# 3 4WARNS?= 4 5NOLINT= # kernel code 6 7.include <bsd.own.mk> 8 9# use kernel ABI instead of rump ABI (needs md code) 10.ifndef(RUMPKMOD) 11CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} 12.endif 13 14CFLAGS+= -ffreestanding 15CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die 16CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE 17CPPFLAGS+= -DDIAGNOSTIC 18CPPFLAGS+= -I${.CURDIR} -I. 19CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch 20CPPFLAGS+= -I${RUMPTOP}/include 21CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. 22#CPPFLAGS+= -DDEBUG 23 24RUMPKERNEL= This is NetBSD and I am the rump. Good evening. 25 26# workaround: evbppc is not a well-defined arch 27.if (${MACHINE} == "evbppc") 28CPPFLAGS+= -DPPC_OEA 29.endif 30 31# If an options are changed, trigger a rebuild 32${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump 33