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