summaryrefslogtreecommitdiff
path: root/usr.bin/make/init.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-11-24 15:41:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-11-24 15:41:02 +0000
commit9d45f9da3fe3b46b7915754c3cef8f37ef9f576c (patch)
treefd22627d7aa40fc4992317e0c72e55b50e6fade6 /usr.bin/make/init.h
parent0d60c2df9e2d0d2958bba34ede70f02f926e8a0c (diff)
more parallel make fixes.
Preparations to fix the engine: - new function has_been_built(gn), that tells you what's the status of a given node. Allows us to run Suff_FindDeps later, by updating the number of unmade children correctly. - take out the code that handles shell expansions in an expand_children* set of functions, called by Suff_FindDeps, among others. These must be called early in the engine to avoid creating bogus nodes. Engine fixes: - take the predecessor/successor special handling out, deal with it in separate functions. - don't count nodes. Explicitly track them all in a hash table (better way to deal with non-built issues). - don't run Suff_FindDeps at start, but just before building an actual node. This allows make to find all dependencies correctly, as in groff. Pfiou! now it works.
Diffstat (limited to 'usr.bin/make/init.h')
0 files changed, 0 insertions, 0 deletions