Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Don't add the .h rule for yacc if we are not really...
details: https://anonhg.NetBSD.org/src/rev/8a2a86950b5b
branches: trunk
changeset: 749960:8a2a86950b5b
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 13 18:40:50 2009 +0000
description:
Don't add the .h rule for yacc if we are not really building (-n)
diffstat:
share/mk/bsd.sys.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 74d5a4d57960 -r 8a2a86950b5b share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun Dec 13 18:27:02 2009 +0000
+++ b/share/mk/bsd.sys.mk Sun Dec 13 18:40:50 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.186 2009/11/30 16:13:23 uebayasi Exp $
+# $NetBSD: bsd.sys.mk,v 1.187 2009/12/13 18:40:50 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -200,7 +200,9 @@
${YACC.y} -o ${.TARGET} ${.IMPSRC}
.ifdef YHEADER
+.if empty(.MAKEFLAGS:M-n)
.y.h: ${.TARGET:.h=.c}
.endif
+.endif
.endif # !defined(_BSD_SYS_MK_)
Home |
Main Index |
Thread Index |
Old Index