Makefile.rump revision 1.23
1# $NetBSD: Makefile.rump,v 1.23 2009/01/02 11:13:38 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 -fno-strict-aliasing 15CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die 16CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR 17CPPFLAGS+= -DMAXUSERS=32 18CPPFLAGS+= -DDIAGNOSTIC 19CPPFLAGS+= -I${.CURDIR} -I. 20CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch 21CPPFLAGS+= -I${RUMPTOP}/include 22CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt 23CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. 24#CPPFLAGS+= -DDEBUG 25 26RUMPKERNEL= This is NetBSD and I am the rump. Good evening. 27 28# workaround: evbppc is not a well-defined arch 29.if (${MACHINE} == "evbppc") 30CPPFLAGS+= -DPPC_OEA 31.endif 32 33# If an options are changed, trigger a rebuild 34${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump 35