Source-Changes-HG archive

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

[src/trunk]: src/tools Don't put commands in the suffix rule override (avoids...



details:   https://anonhg.NetBSD.org/src/rev/4c1e05d10ba5
branches:  trunk
changeset: 517452:4c1e05d10ba5
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Nov 13 06:03:41 2001 +0000

description:
Don't put commands in the suffix rule override (avoids target graph cycles).
Protect from multiple inclusion.

diffstat:

 tools/Makefile.gnuwrap |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 93a774a58ba8 -r 4c1e05d10ba5 tools/Makefile.gnuwrap
--- a/tools/Makefile.gnuwrap    Tue Nov 13 05:32:49 2001 +0000
+++ b/tools/Makefile.gnuwrap    Tue Nov 13 06:03:41 2001 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile.gnuwrap,v 1.5 2001/11/13 04:38:13 tv Exp $
+#      $NetBSD: Makefile.gnuwrap,v 1.6 2001/11/13 06:03:41 tv Exp $
 #
 # Wrapper for GNU Makefiles.
 
+.ifndef _WRAPPER_INCLUDED
+_WRAPPER_INCLUDED=1
 .ifndef _NOWRAPPER
 .include "${.CURDIR}/Makefile"
 .endif
@@ -13,10 +15,10 @@
 
 # Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
 .po.gmo .l.c .y.c .y.h:
-       @true
 
 # Make sure this file gets re-loaded recursively.
 .ifndef _NOWRAPPER
 _GNUWRAPPER:=  ${.PARSEDIR}/${.PARSEFILE}
 MAKE:=         ${MAKE} -f ${_GNUWRAPPER}
 .endif
+.endif



Home | Main Index | Thread Index | Old Index