Makefile.rump revision 1.19
1#	$NetBSD: Makefile.rump,v 1.19 2008/12/30 19:05:40 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" && \
9    ${MACHINE_ARCH} != "x86_64"
10CPPFLAGS:=	-I${RUMPTOP}/include ${CPPFLAGS}
11.endif
12
13CFLAGS+=	-ffreestanding
14CPPFLAGS+=	-D_RUMPKERNEL	# XXX: this should die
15CPPFLAGS+=	-D_KERNEL -DMULTIPROCESSOR -D_MODULE
16CPPFLAGS+=	-DDIAGNOSTIC
17CPPFLAGS+=	-I${.CURDIR} -I.
18CPPFLAGS+=	-I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch
19CPPFLAGS+=	-I${RUMPTOP}/include
20CPPFLAGS+=	-nostdinc -I${RUMPTOP}/..
21#CPPFLAGS+=	-DDEBUG
22
23RUMPKERNEL=	This is NetBSD and I am the rump.  Good evening.
24
25# workaround: evbppc is not a well-defined arch
26.if (${MACHINE} == "evbppc")
27CPPFLAGS+=	-DPPC_OEA
28.endif
29
30# If an options are changed, trigger a rebuild
31${SRCS:S/.c/.o/g}: ${RUMPTOP}/Makefile.rump
32