| @@ -1,29 +1,29 @@ | | | @@ -1,29 +1,29 @@ |
1 | # $NetBSD: Makefile.rump,v 1.22 2009/01/01 22:16:35 pooka Exp $ | | 1 | # $NetBSD: Makefile.rump,v 1.23 2009/01/02 11:13:38 pooka Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | WARNS?= 4 | | 4 | WARNS?= 4 |
5 | NOLINT= # kernel code | | 5 | NOLINT= # kernel code |
6 | | | 6 | |
7 | .include <bsd.own.mk> | | 7 | .include <bsd.own.mk> |
8 | | | 8 | |
9 | # use kernel ABI instead of rump ABI (needs md code) | | 9 | # use kernel ABI instead of rump ABI (needs md code) |
10 | .ifndef(RUMPKMOD) | | 10 | .ifndef(RUMPKMOD) |
11 | CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} | | 11 | CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} |
12 | .endif | | 12 | .endif |
13 | | | 13 | |
14 | CFLAGS+= -ffreestanding -fno-strict-aliasing | | 14 | CFLAGS+= -ffreestanding -fno-strict-aliasing |
15 | CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die | | 15 | CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die |
16 | CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE | | 16 | CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR |
17 | CPPFLAGS+= -DMAXUSERS=32 | | 17 | CPPFLAGS+= -DMAXUSERS=32 |
18 | CPPFLAGS+= -DDIAGNOSTIC | | 18 | CPPFLAGS+= -DDIAGNOSTIC |
19 | CPPFLAGS+= -I${.CURDIR} -I. | | 19 | CPPFLAGS+= -I${.CURDIR} -I. |
20 | CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch | | 20 | CPPFLAGS+= -I${RUMPTOP}/../../common/include -I${RUMPTOP}/../arch |
21 | CPPFLAGS+= -I${RUMPTOP}/include | | 21 | CPPFLAGS+= -I${RUMPTOP}/include |
22 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt | | 22 | CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern/opt |
23 | CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. | | 23 | CPPFLAGS+= -nostdinc -I${RUMPTOP}/.. |
24 | #CPPFLAGS+= -DDEBUG | | 24 | #CPPFLAGS+= -DDEBUG |
25 | | | 25 | |
26 | RUMPKERNEL= This is NetBSD and I am the rump. Good evening. | | 26 | RUMPKERNEL= This is NetBSD and I am the rump. Good evening. |
27 | | | 27 | |
28 | # workaround: evbppc is not a well-defined arch | | 28 | # workaround: evbppc is not a well-defined arch |
29 | .if (${MACHINE} == "evbppc") | | 29 | .if (${MACHINE} == "evbppc") |