Subject: CVS commit: src/usr.bin/make
To: None <source-changes@netbsd.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 03/23/2003 01:41:03
Module Name:	src
Committed By:	sjg
Date:		Sat Mar 22 23:41:03 UTC 2003

Modified Files:
	src/usr.bin/make: parse.c

Log Message:
ParseDoSpecialSrc: since we're already being called for each target
make it depend only on the expansion of src that matches.
Otherwise given:

a b c:  ${.TARGET}.x

a b and c will each depend on a.x, b.x and c.x

Further, we only _need_ to do ParseDoSpecialSrc if a .WAIT appears
in the source list - so establish that up front.


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/usr.bin/make/parse.c

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