60 (*x != (int) equal_char)) { \
61 x++; \
62 }
63
64 #define SKIPTOEND(x) while (*x && \
65 (*x != (int) newline_char)) { \
66 x++; \
67 }
68
69 #define PMAKE_DEF_MAX_JOBS 2 /* Default number of parallel jobs. */
70
71 #define OUT_OF_DATE(a,b) \
72 (((a) < (b)) || (((a) == file_doesnt_exist) && ((b) == file_doesnt_exist)))
73
74 #define OUT_OF_DATE_SEC(a,b) \
75 (((a).tv_sec < (b).tv_sec) || (((a).tv_sec == file_doesnt_exist.tv_sec) && ((b).tv_sec == file_doesnt_exist.tv_sec)))
76
77 #define SETVAR(name, value, append) \
78 setvar_daemon(name, value, append, no_daemon, \
79 true, debug_level)
80 #ifdef SUN5_0
81 #define MAX(a,b) (((a)>(b))?(a):(b))
82 /*
83 * New feature added to SUN5_0 make, invoke the vanilla svr4 make when
84 * the USE_SVR4_MAKE environment variable is set.
85 */
86 #define SVR4_MAKE "/usr/ccs/lib/svr4.make"
87 #define USE_SVR4_MAKE "USE_SVR4_MAKE"
88 #endif
89 /*
90 * The standard MAXHOSTNAMELEN is 64. We want 32.
91 */
92 #define MAX_HOSTNAMELEN 32
93
94
95 /*
96 * typedefs & structs
97 */
98 typedef enum {
99 no_state,
100 scan_name_state,
101 scan_command_state,
102 enter_dependencies_state,
103 enter_conditional_state,
104 enter_equal_state,
105 illegal_bytes_state,
106 illegal_eoln_state,
107 poorly_formed_macro_state,
108 exit_state
|
60 (*x != (int) equal_char)) { \
61 x++; \
62 }
63
64 #define SKIPTOEND(x) while (*x && \
65 (*x != (int) newline_char)) { \
66 x++; \
67 }
68
69 #define PMAKE_DEF_MAX_JOBS 2 /* Default number of parallel jobs. */
70
71 #define OUT_OF_DATE(a,b) \
72 (((a) < (b)) || (((a) == file_doesnt_exist) && ((b) == file_doesnt_exist)))
73
74 #define OUT_OF_DATE_SEC(a,b) \
75 (((a).tv_sec < (b).tv_sec) || (((a).tv_sec == file_doesnt_exist.tv_sec) && ((b).tv_sec == file_doesnt_exist.tv_sec)))
76
77 #define SETVAR(name, value, append) \
78 setvar_daemon(name, value, append, no_daemon, \
79 true, debug_level)
80 #define MAX(a,b) (((a)>(b))?(a):(b))
81 /*
82 * New feature added to SUN5_0 make, invoke the vanilla svr4 make when
83 * the USE_SVR4_MAKE environment variable is set.
84 */
85 #define SVR4_MAKE "/usr/ccs/lib/svr4.make"
86 #define USE_SVR4_MAKE "USE_SVR4_MAKE"
87 /*
88 * The standard MAXHOSTNAMELEN is 64. We want 32.
89 */
90 #define MAX_HOSTNAMELEN 32
91
92
93 /*
94 * typedefs & structs
95 */
96 typedef enum {
97 no_state,
98 scan_name_state,
99 scan_command_state,
100 enter_dependencies_state,
101 enter_conditional_state,
102 enter_equal_state,
103 illegal_bytes_state,
104 illegal_eoln_state,
105 poorly_formed_macro_state,
106 exit_state
|