Specify RUMP_WITHOUT_THREADS only in one place.

This commit is contained in:
pooka 2008-05-29 13:12:29 +00:00
parent 3bca2d2000
commit 11e4a43ad9
3 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 2008/05/29 13:12:29 pooka Exp $
#
CPPFLAGS+= -DRUMP_WITHOUT_THREADS

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2008/05/04 12:52:58 ad Exp $
# $NetBSD: Makefile,v 1.34 2008/05/29 13:12:29 pooka Exp $
#
.include <bsd.own.mk>
@ -44,7 +44,6 @@ OBJS+= ${RUMPUSEROBJDIR}/rumpuser.o ${RUMPUSEROBJDIR}/rumpuser_pth.o
CPPFLAGS+= -I${NETBSDSRCDIR}/sys -I${NETBSDSRCDIR}/common/include \
-I${NETBSDSRCDIR}/sys/rump/librump/rumpuser \
-I${.CURDIR}/opt -DMAXUSERS=32
CPPFLAGS+= -DRUMP_WITHOUT_THREADS
CFLAGS+= -Wno-pointer-sign

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2008/03/11 10:50:16 pooka Exp $
# $NetBSD: Makefile,v 1.7 2008/05/29 13:12:29 pooka Exp $
#
.include <bsd.own.mk>
@ -7,8 +7,6 @@ LIB= rumpuser
SRCS= rumpuser.c rumpuser_pth.c
CPPFLAGS+= -DRUMP_WITHOUT_THREADS
RUMPKERNEL= no
.include "${NETBSDSRCDIR}/sys/rump/Makefile.rump"