Lines Matching refs:variable
103 * variable.c (do_variable_definition) [WINDOWS32]: Call the shell
109 * variable.c (merge_variable_set_lists): It's legal for *setlist0
147 * variable.c (merge_variable_set_lists): Don't try to merge the
158 * expand.c (expanding_var): Keep track of which variable we're
159 expanding. If no variable is being expanded, it's the same as
163 current variable we're expanding, unless there's no file info in
165 variable). Restore it before we exit.
180 * implicit.c (pattern_search): If we allocated a variable set for
182 * variable.c (free_variable_set): New function.
183 * variable.h: Declare it.
189 * main.c (main): Add "archives" to the .FEATURES variable if
278 variable st is not used when it's not initialized.
386 * read.c (record_target_var): Initialize variable's export field
399 and don't re-expand the variable list. Along with the other
417 returns the flavor of a variable.
424 variable.
452 * main.c (second_expansion): Declare a global variable to remember
466 * main.c (main): Set CURDIR to be a file variable instead of a
511 * job.c (reap_children): Use a static variable, rather than err,
518 DWORD variable to GetExitCodeProcess. If the exit code is
522 (main_thread) [WINDOWS32]: New global variable.
664 inside a variable reference. Make this function static as it's
679 * main.c (always_make_set): New variable. Change the -B option to
718 * variable.c (push_new_variable_scope): File variables point
719 directly to the global_setlist variable. So, inserting a new
723 that the new setlist is in the global_setlist variable, and
724 next points to a new setlist with the global variable set.
800 recursive variable contains a $(shell ...) function reference: in
803 * job.c, job.h: Add variable jobserver_tokens: counts the tokens
812 * main.c: Add variable master_job_slots.
832 * main.c (main): Be careful to not core if a variable setting in
867 * variable.c (sync_Path_environment): Ditto.
870 * main.c (main): Define the .FEATURES variable.
910 the .DEFAULT_TARGET special variable.
913 special variable. Fixes Savannah bug #12266.
976 * variable.c (do_variable_definition): Ditto.
990 * main.c: New variable: check_symlink_flag.
1005 * file.c: New variable snapped_deps remember whether we've run
1015 Implementation of the .DEFAULT_TARGET special variable.
1022 * main.c (main): Enter .DEFAULT_TARGET as make variable. If
1059 into account variable expansion requests. Used in the stem
1071 * variable.h (variable_expand_for_file): Declare.
1131 * main.c (main): Change char* env_shell to struct variable shell_var.
1132 * variable.c (target_environment): Use new shell_var.
1166 original environment setting of SHELL in the env_shell variable.
1167 * main.h: Export new env_shell variable.
1168 * variable.c (target_environment): If we find a v_noexport
1169 variable for SHELL, add a SHELL variable with the env_shell value.
1206 variable.
1207 * variable.c (initialize_file_variables): Do not expand simple
1208 pattern-specific variable.
1217 * variable.c (initialize_file_variables): Mark pattern-specific
1218 variable as a per-target and copy export status.
1265 * variable.h: Remove SUFFIX_ONLY from subst_expand() prototype.
1278 whether we're rebuilding makefiles to be a global variable,
1332 * variable.c (do_variable_definition): Don't append from the
1333 global set if a previous non-appending target-specific variable
1354 environment variable is sometimes already defined which causes the
1530 variable with no file context, then use the variable's context.
1595 variable.c, where they've always belonged.
1597 * variable.c (initialize_file_variables): Invoke
1599 If a match is found, create a new variable set for the target's
1601 pattern variable set into the target's pattern variable set.
1604 beginning; if non-NULL, start with the pattern variable after that
1609 process the variable handling properly even when the same pattern
1612 of a variable definition line from try_variable_definition.
1616 * variable.h (struct variable): Remember when a variable is
1618 (struct pattern_var): Instead of keeping a variable set, we just
1619 keep a single variable for each pattern.
1620 * read.c (record_target_var): Each pattern variable contains only a
1621 single variable, not a set, so create it properly.
1648 * file.c (print_file): Fix variable initialization.
1674 in DOS. Handle the TEMP environment variable as in DOS. Don't
1710 variable so that eval() can be invoked recursively.
1713 target-specific variable lines.
1791 * variable.h: Prototypes for {install,restore}_variable_buffer.
1808 (Recursion): Add a variable index entry for CURDIR.
1827 for automatic variable values like $^, etc. In the case of very
1829 a static buffer (resizeable) for each variable.
1832 target-specific variable definitions. Check for it and set an
1859 * variable.c: Ditto.
1897 add this variable to the "root" double-colon target.
1899 * variable.c (initialize_file_variables): If this file is a
1901 the root and make the root's variable list the parent of our
1902 variable list.
1930 * read.c (eval): Expand variable lists given to export and
1984 * main.c (main): Don't create the .TARGETS variable.
1985 * variable.c (handle_special_var): Don't handle .TARGETS.
2003 Add new introspection variable .VARIABLES and .TARGETS.
2005 * variable.c (handle_special_var): New function. If the variable
2019 * variable.h (struct variable): Add a new flag "exportable" which
2020 is true if the variable name is valid for export.
2021 * variable.c (define_variable_in_set): Set "exportable" when a new
2022 variable is defined.
2042 * variable.c (pop_variable_scope): Remove variable made unused by
2046 * variable.h: Add a prototype for new hash_init_function_table().
2074 * variable.h (hash.h): New #include.
2141 * variable.c (variable_hash_1, variable_hash_2,
2165 * read.c (record_files): Replace any $@, $(@D), and $(@F) variable
2170 that looks like a SysV prerequisite variable reference.
2200 * variable.c (do_variable_definition) [W32]: On W32 using cmd
2202 the variable. Patch provided by Eli Zaretskii <eliz@is.elta.co.il>.
2220 the value of the variable VARNAME without expanding it any
2238 contents of the define/endef variable from the ebuffer.
2246 * variable.c (do_variable_definition): Make sure that all
2249 ...) or other function which has pushed a variable scope; we still
2286 * variable.c (do_variable_definition): New function: extract the
2290 parsing the variable definition string.
2293 * variable.h (enum variable_flavor): Make public.
2296 * read.c (read_all_makefiles): Create a new built-in variable,
2298 (read_makefile): Add each makefile read in to this variable value.
2335 the variable scope to that of the file before expanding.
2336 * variable.h (recursively_expand): Make this a macro that invokes
2338 * variable.c (target_environment): Call the renamed function and
2349 * variable.h (struct variable): Add a new field: exp_count, and
2352 * variable.c (define_variable_in_set): Initialize it.
2354 of a variable, check the exp_count field. If it's greater than 0
2356 (warn_undefined): Remove this (now a macro in variable.h).
2524 * variable.c (lookup_variable) [VMS]: Null-terminate the variable
2530 * read.c (record_target_var): If we reset the variable due to a
2531 command-line variable setting overriding it, turn off the "append"
2536 * variable.c (lookup_variable) [VMS]: When getting values from the
2550 expanding each appended variable then adding all the expanded
2552 through the variable set contexts, then expand the final result.
2553 This behaves just like non-target-specific appended variable
2556 value of a variable, walking from the outermost variable scope to
2558 * variable.c (lookup_variable): Remove the code that looked up the
2559 variable set list if the found variable was "append". We don't
2565 * variable.h: Add a prototype for the now non-static
2613 * variable.c (try_variable_definition): Change how we handle
2614 target-specific append variable defns: instead of just setting the
2617 variable is appended more than once within the current target
2700 * variable.c (lookup_variable) [VMS]: Remove vestigial references