Module Name:    src
Committed By:   pooka
Date:           Mon Mar  3 14:01:30 UTC 2014

Modified Files:
        src/sys/rump/net/lib/libnpf: Makefile

Log Message:
For now, make it possible to not specify -D_NPF_TESTING by compiling
with RUMP_NPF_TESTING_=no.  This in turn makes it possible to use npf
in a rump kernel for real packet filtering instead of just testing.

no change to default


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/rump/net/lib/libnpf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libnpf/Makefile
diff -u src/sys/rump/net/lib/libnpf/Makefile:1.9 src/sys/rump/net/lib/libnpf/Makefile:1.10
--- src/sys/rump/net/lib/libnpf/Makefile:1.9	Fri Nov  8 00:38:27 2013
+++ src/sys/rump/net/lib/libnpf/Makefile	Mon Mar  3 14:01:30 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2013/11/08 00:38:27 rmind Exp $
+#	$NetBSD: Makefile,v 1.10 2014/03/03 14:01:30 pooka Exp $
 #
 # Public Domain.
 #
@@ -19,7 +19,9 @@ SRCS+=	npf_ext_log.c npf_ext_normalize.c
 
 SRCS+=	component.c
 
+.if ${RUMP_NPF_TESTING:Uyes} == "yes"
 CPPFLAGS+=	-D_NPF_TESTING
+.endif
 CPPFLAGS+=	-I${.CURDIR}/../../../librump/rumpvfs
 
 .include <bsd.lib.mk>

Reply via email to