Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump add multi-inclusion protection



details:   https://anonhg.NetBSD.org/src/rev/df7d57d12121
branches:  trunk
changeset: 795487:df7d57d12121
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Apr 15 13:41:46 2014 +0000

description:
add multi-inclusion protection

diffstat:

 sys/rump/Makefile.rump |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 4e593c48f9a1 -r df7d57d12121 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Tue Apr 15 12:37:59 2014 +0000
+++ b/sys/rump/Makefile.rump    Tue Apr 15 13:41:46 2014 +0000
@@ -1,6 +1,9 @@
-#      $NetBSD: Makefile.rump,v 1.94 2014/03/16 15:31:03 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.95 2014/04/15 13:41:46 pooka Exp $
 #
 
+.if !defined(_RUMP_MK)
+_RUMP_MK= #defined
+
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
 NOLINT=                # kernel code
 
@@ -220,3 +223,5 @@
 
 .-include "${NETBSDSRCDIR}/sys/arch/${MACHINE_CPU}/include/Makefile.inc"
 .-include "${NETBSDSRCDIR}/sys/arch/${MACHINE}/include/Makefile.inc"
+
+.endif # _RUMP_MK



Home | Main Index | Thread Index | Old Index