Debian Codegraph @

src/globals.h

raw symbols SCIP
1 #ifndef GLOBALS_H
2 #define GLOBALS_H
3
4 #include "types.h"
5 #include "variable.h"
6
7 #define OUTPUT_SYNC_NONE 0
8 #define OUTPUT_SYNC_LINE 1
9 #define OUTPUT_SYNC_TARGET 2
10 #define OUTPUT_SYNC_RECURSE 3
11
12 extern int env_overrides;
13
14 /* Nonzero means ignore status codes returned by commands
15 executed to remake files. Just treat them all as successful (-i). */
16 extern int ignore_errors_flag;
17
18 /* Nonzero means don't remake anything, just print the data base
19 that results from reading the makefile (-p). */
20 extern int print_data_base_flag;
21
22 /* Nonzero means don't remake anything; just return a nonzero status
23 if the specified targets are not up to date (-q). */
24 extern int question_flag;
25
26 /* Nonzero means do not use any of the builtin rules (-r) / variables (-R). */
27
28 extern int no_builtin_rules_flag;
29 extern int no_builtin_variables_flag;
30
31 /* Nonzero means check symlink mtimes. */
32 extern int check_symlink_flag;
33
34 /* Nonzero means print directory before starting and when done (-w). */
35 extern int print_directory;
36
37 /* Nonzero means print version information. */
38 extern int print_version_flag;
39
40 /*! Nonzero means --trace and shell trace with input. */
41 extern int shell_trace;
42
43 /*! Nonzero means profiling is enabled with specific output requested. (option --profile=callgrind|json) */
44 extern int profile_flag;
45
46 /* Path to directory to dump profiling data */
47 extern const char *profile_directory;
48
49 /*! Nonzero means look in parent directories for a Makefile if one isn't found
50 in the current directory (option --search-parent). */
51 extern int search_parent_flag;
52
53 /* Nonzero means do extra verification (that may slow things down). */
54 extern int verify_flag;
55
56 /* Nonzero means do not print commands to be executed (-s). */
57 extern int silent_flag;
58
59 /* Nonzero means just touch the files
60 that would appear to need remaking (-t) */
61 extern int touch_flag;
62
63 /* Nonzero means just print what commands would need to be executed,
64 don't actually execute them (-n). */
65 extern int just_print_flag;
66
67 /*! If 1, we don't give additional error reporting information. */
68 extern int no_extended_errors;
69
70 extern int db_level;
71
72 /*! Value of the MAKELEVEL variable at startup (or 0). */
73 extern unsigned int makelevel;
74
75 /*! Value of the MAKEPARENT_PID variable at startup (or 0). */
76 extern pid_t makeparent_pid;
77
78 /*! Value of the MAKEPARENT_TARGET variable at startup (or 0). */
79 extern char *makeparent_target;
80
81 /*! Nonzero gives a list of explicit target names and exits. Set by option
82 --targets
83 */
84 extern int show_targets_flag;
85
86 /*! Nonzero gives a list of explicit target names that have commands
87 associated with them and exits. Set by option --tasks
88 */
89 extern int show_tasks_flag;
90
91 /*! If 1, same as --debugger=preaction */
92 extern int debugger_flag;
93
94 /** True if we are inside the debugger, false otherwise. */
95 extern int in_debugger;
96
97 /*! If true, enter the debugger before reading any makefiles. */
98 extern bool b_debugger_preread;
99
100 /* Remember the original value of the SHELL variable, from the environment. */
101 extern struct variable shell_var;
102
103 #endif /*GLOBALS_H*/