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