Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/15/1999 03:47:46
Module Name: basesrc
Committed By: mycroft
Date: Wed Sep 15 10:47:46 UTC 1999
Modified Files:
basesrc/usr.bin/make: main.c make.c nonints.h parse.c suff.c targ.c
Log Message:
Rework how :: dependencies are handled.
Build a list of `cohorts' as before, but do *not* link each one into all the
parent nodes; instead, copy the `cohort' lists into the stream of targets to
be built inside Make_ExpandUse(). Also do the attribute propagation as a
separate pass after parsing.
This eliminates several O(n^2) algorithms.
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 basesrc/usr.bin/make/main.c
cvs rdiff -r1.22 -r1.23 basesrc/usr.bin/make/make.c
cvs rdiff -r1.17 -r1.18 basesrc/usr.bin/make/nonints.h
cvs rdiff -r1.45 -r1.46 basesrc/usr.bin/make/parse.c
cvs rdiff -r1.25 -r1.26 basesrc/usr.bin/make/suff.c
cvs rdiff -r1.18 -r1.19 basesrc/usr.bin/make/targ.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.