summaryrefslogtreecommitdiff
path: root/variable.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
committerPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
commitebb733c0f9ab045b6fd6245df2baf2e87463e1bc (patch)
treebf5d793b4cc99724673804160f2e5e73889da8cc /variable.h
parent3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a (diff)
downloadgunmake-ebb733c0f9ab045b6fd6245df2baf2e87463e1bc.tar.gz
* Many cleanups and bugfixes.
* New handling of += in target-specific variables.
Diffstat (limited to 'variable.h')
-rw-r--r--variable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/variable.h b/variable.h
index 4826c76..19ec31e 100644
--- a/variable.h
+++ b/variable.h
@@ -45,6 +45,8 @@ struct variable
unsigned int recursive:1; /* Gets recursively re-evaluated. */
unsigned int expanding:1; /* Nonzero if currently being expanded. */
unsigned int per_target:1; /* Nonzero if a target-specific variable. */
+ unsigned int append:1; /* Nonzero if an appending target-specific
+ variable. */
enum variable_export
{
v_export, /* Export this variable. */
@@ -103,7 +105,7 @@ extern void initialize_file_variables PARAMS ((struct file *file));
extern void print_file_variables PARAMS ((struct file *file));
extern void print_variable_set PARAMS ((struct variable_set *set, char *prefix));
extern void merge_variable_set_lists PARAMS ((struct variable_set_list **setlist0, struct variable_set_list *setlist1));
-extern struct variable *try_variable_definition PARAMS ((const struct floc *flocp, char *line, enum variable_origin origin));
+extern struct variable *try_variable_definition PARAMS ((const struct floc *flocp, char *line, enum variable_origin origin, int target_var));
extern struct variable *lookup_variable PARAMS ((char *name, unsigned int length));
extern struct variable *define_variable PARAMS ((char *name, unsigned int length, char *value,