don't define RUMP_ACTION if MKRUMP = no

This commit is contained in:
christos 2012-08-08 14:10:38 +00:00
parent aa24bb3ca4
commit 54abeff8fd

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.52 2011/08/14 12:15:15 christos Exp $
# $NetBSD: Makefile,v 1.53 2012/08/08 14:10:38 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# when making a change to this file, please check if the change is
@ -21,7 +21,9 @@ SRCS+= af_inet6.c
.PATH: ${.CURDIR}/../../lib/libc/net
RUMPSRCS= getifaddrs.c
.if (${MKRUMP} != "no")
CPPFLAGS+= -DRUMP_ACTION
.endif
CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
SRCS+= pfsync.c