summaryrefslogtreecommitdiff
path: root/rule.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1998-07-30 20:54:47 +0000
committerPaul Smith <psmith@gnu.org>1998-07-30 20:54:47 +0000
commite2403327e9913bbcbd515f9c38b8f4e26fb9b0d9 (patch)
tree8ac64ff471e0a976daf75ef913c084adba4972fc /rule.h
parent65a7296e2c81b04761b3f024572310a02c9de691 (diff)
downloadmake-e2403327e9913bbcbd515f9c38b8f4e26fb9b0d9.tar.gz
make-e2403327e9913bbcbd515f9c38b8f4e26fb9b0d9.tar.bz2
make-e2403327e9913bbcbd515f9c38b8f4e26fb9b0d9.zip
GNU make release 3.77.
Diffstat (limited to 'rule.h')
-rw-r--r--rule.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rule.h b/rule.h
index 9c6b1b0..4effeb0 100644
--- a/rule.h
+++ b/rule.h
@@ -30,6 +30,15 @@ struct rule
char in_use; /* If in use by a parent pattern_search. */
};
+struct pattern_var
+ {
+ struct pattern_var *next;
+ char *target;
+ unsigned int len;
+ char *suffix;
+ struct variable_set_list *vars;
+ };
+
/* For calling install_pattern_rule. */
struct pspec
{
@@ -51,3 +60,5 @@ extern unsigned int maxsuffix;
extern void install_pattern_rule PARAMS ((struct pspec *p, int terminal));
extern int new_pattern_rule PARAMS ((struct rule *rule, int override));
+extern struct pattern_var *create_pattern_var PARAMS ((char *target, char *suffix));
+extern struct pattern_var *lookup_pattern_var PARAMS ((char *target));