1 |
|
Sun Feb 27 22:03:36 2005 Boris Kolpackov <boris@kolpackov.net> |
2 |
|
|
3 |
|
Implementation of the second expansion in explicit rules, |
4 |
|
static pattern rules and implicit rules. |
5 |
|
|
6 |
|
* read.c (eval): Refrain from chopping up rule's dependencies. |
7 |
|
Store them in a struct dep as a single dependency line. Remove |
8 |
|
the code that implements SySV-style automatic variables. |
9 |
|
|
10 |
|
* read.c (record_files): Adjust the code that handles static |
11 |
|
pattern rules to expand all percents instead of only the first |
12 |
|
one. Reverse the order in which dependencies are stored so that |
13 |
|
when the second expansion reverses them again they appear in |
14 |
|
the makefile order (with some exceptions, see comments in |
15 |
|
the code). Remove the code that implements SySV-style automatic |
16 |
|
variables. |
17 |
|
|
18 |
|
* file.c (snap_deps): Implement the second expansion and chopping |
19 |
|
of dependency lines for explicit rules. |
20 |
|
|
21 |
|
* implicit.c (struct idep): Define an auxiliary data type to hold |
22 |
|
implicit rule's dependencies after stem substitution and |
23 |
|
expansion. |
24 |
|
|
25 |
|
* implicit.c (free_idep_chain): Implement. |
26 |
|
|
27 |
|
* implicit.c (get_next_word): Implement helper function for |
28 |
|
parsing implicit rule's dependency lines into words taking |
29 |
|
into account variable expansion requests. Used in the stem |
30 |
|
splitting code. |
31 |
|
|
32 |
|
* implicit.c (pattern_search): Implement the second expansion |
33 |
|
for implicit rules. Also fixes bug #12091. |
34 |
|
|
35 |
|
* commands.h (set_file_variables): Declare. |
36 |
|
* commands.c (set_file_variables): Remove static specifier. |
37 |
|
|
38 |
|
* dep.h (free_dep_chain): Declare. |
39 |
|
* misc.c (free_dep_chain): Implement. |
40 |
|
|
41 |
|
* variable.h (variable_expand_for_file): Declare. |
42 |
|
* expand.c (variable_expand_for_file): Remove static specifier. |
43 |
|
|
44 |
|
* make.h (strip_whitespace): Declare. |
45 |
|
* function.c (strip_whitespace): Remove static specifier. |
46 |
|
|
47 |
2005-02-24 Jonathan Grant <jg@jguk.org> |
2005-02-24 Jonathan Grant <jg@jguk.org> |
48 |
|
|
49 |
* configure.in: Add MinGW configuration options, and extra w32 code |
* configure.in: Add MinGW configuration options, and extra w32 code |