Move some global variables to the correct files.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.232)
This commit is contained in:
parent
e30f38a08e
commit
0ec9b6feef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146134
@ -93,10 +93,6 @@ extern Boolean usePipes;
|
||||
* targets are out-of-date */
|
||||
extern Boolean queryFlag;
|
||||
|
||||
/* TRUE if environment should be searched for all variables before
|
||||
* the global context */
|
||||
extern Boolean checkEnvFirst;
|
||||
|
||||
/* List of specific variables for which the environment should be
|
||||
* searched before the global context */
|
||||
extern Lst envFirstVars;
|
||||
|
@ -121,7 +121,6 @@ static Boolean expandVars; /* fully expand printed variables */
|
||||
/* list of variables to print */
|
||||
static Lst variables = Lst_Initializer(variables);
|
||||
|
||||
int maxJobs; /* -j argument */
|
||||
static Boolean forceJobs; /* -j argument given */
|
||||
Boolean compatMake; /* -B argument */
|
||||
Boolean debug; /* -d flag */
|
||||
@ -133,8 +132,6 @@ Boolean usePipes; /* !-P flag */
|
||||
Boolean ignoreErrors; /* -i flag */
|
||||
Boolean beSilent; /* -s flag */
|
||||
Boolean beVerbose; /* -v flag */
|
||||
Boolean oldVars; /* variable substitution style */
|
||||
Boolean checkEnvFirst; /* -e flag */
|
||||
|
||||
/* (-E) vars to override from env */
|
||||
Lst envFirstVars = Lst_Initializer(envFirstVars);
|
||||
|
@ -180,9 +180,12 @@ static char varNoError[] = "";
|
||||
* The four contexts are searched in the reverse order from which they are
|
||||
* listed.
|
||||
*/
|
||||
GNode *VAR_ENV; /* variables from the environment */
|
||||
GNode *VAR_GLOBAL; /* variables from the makefile */
|
||||
GNode *VAR_CMD; /* variables defined on the command-line */
|
||||
static GNode *VAR_ENV; /* variables from the environment */
|
||||
GNode *VAR_GLOBAL; /* variables from the makefile */
|
||||
GNode *VAR_CMD; /* variables defined on the command-line */
|
||||
|
||||
Boolean oldVars; /* variable substitution style */
|
||||
Boolean checkEnvFirst; /* -e flag */
|
||||
|
||||
#define OPEN_PAREN '('
|
||||
#define CLOSE_PAREN ')'
|
||||
|
@ -57,6 +57,12 @@ extern struct GNode *VAR_CMD;
|
||||
*/
|
||||
extern char var_Error[];
|
||||
|
||||
/*
|
||||
* TRUE if environment should be searched for all variables before
|
||||
* the global context
|
||||
*/
|
||||
extern Boolean checkEnvFirst;
|
||||
|
||||
/* Do old-style variable substitution */
|
||||
extern Boolean oldVars;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user