Home | History | Annotate | Download | only in make-3.81

Lines Matching refs:variable

21 /* Codes in a variable definition saying where the definition came from.
25 o_default, /* Variable from the default set. */
26 o_env, /* Variable from environment. */
27 o_file, /* Variable given in a makefile. */
28 o_env_override, /* Variable from environment, if -e. */
29 o_command, /* Variable given by user. */
30 o_override, /* Variable from an `override' directive. */
31 o_automatic, /* Automatic variable -- cannot be set. */
44 /* Structure that represents one variable definition.
51 struct variable
53 char *name; /* Variable name. */
55 char *value; /* Variable value. */
56 struct floc fileinfo; /* Where the variable was defined. */
59 variable. */
61 unsigned int per_target:1; /* Nonzero if a target-specific variable. */
62 unsigned int special:1; /* Nonzero if this is a special variable. */
63 unsigned int exportable:1; /* Nonzero if the variable _could_ be
70 flavor ENUM_BITFIELD (3); /* Variable flavor. */
72 origin ENUM_BITFIELD (3); /* Variable origin. */
75 v_export, /* Export this variable. */
76 v_noexport, /* Don't export this variable. */
82 /* Structure that represents a variable set. */
89 /* Structure that represents a list of variable sets. */
94 struct variable_set *set; /* Variable set. */
105 struct variable variable;
133 extern char *recursively_expand_for_file PARAMS ((struct variable *v,
137 /* variable.c */
147 extern struct variable *do_variable_definition PARAMS ((const struct floc *flocp, const char *name, char *value, enum variable_origin origin, enum variable_flavor flavor, int target_var));
148 extern struct variable *parse_variable_definition PARAMS ((struct variable *v, char *line));
149 extern struct variable *try_variable_definition PARAMS ((const struct floc *flocp, char *line, enum variable_origin origin, int target_var));
152 extern struct variable *lookup_variable PARAMS ((const char *name, unsigned int length));
153 extern struct variable *lookup_variable_in_set PARAMS ((const char *name,
157 extern struct variable *define_variable_in_set
162 /* Define a variable in the current variable set. */
168 /* Define a variable with a location in the current variable set. */
174 /* Define a variable with a location in the global variable set. */
179 /* Define a variable in FILE's variable set. */
184 /* Warn that NAME is an undefined variable. */
189 _("warning: undefined variable `%.*s'"), \