Source-Changes-HG archive

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

[src/trunk]: src/share/mk Protect from multiple inclusion.



details:   https://anonhg.NetBSD.org/src/rev/841bb4503d9e
branches:  trunk
changeset: 517706:841bb4503d9e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Nov 17 22:55:24 2001 +0000

description:
Protect from multiple inclusion.

diffstat:

 share/mk/bsd.sys.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r cb371014504b -r 841bb4503d9e share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sat Nov 17 22:48:48 2001 +0000
+++ b/share/mk/bsd.sys.mk       Sat Nov 17 22:55:24 2001 +0000
@@ -1,7 +1,10 @@
-#      $NetBSD: bsd.sys.mk,v 1.63 2001/11/17 22:48:48 thorpej Exp $
+#      $NetBSD: bsd.sys.mk,v 1.64 2001/11/17 22:55:24 thorpej Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
+.if !target(__bsd_sys_mk__)
+__bsd_sys_mk__:
+
 .if defined(WARNS)
 .if ${WARNS} > 0
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
@@ -102,3 +105,5 @@
 .ifdef YHEADER
 .y.h: ${.TARGET:.h=.c}
 .endif
+
+.endif # __bsd_sys_mk__



Home | Main Index | Thread Index | Old Index