Lines Matching defs:macro

41 #include <mksh/macro.h>		/* getvar() */
167 * makeflags The Name "MAKEFLAGS", used to get macro
380 dmake_value2 = prop2->body.macro.value;
423 dmake_value2 = prop2->body.macro.value;
498 body.macro.exported = true;
501 body.macro.exported = false;
1002 gettext(" [ -q ][ -r ][ -s ][ -S ][ -t ][ -v ][ -V ][ target... ][ macro=value... ][ \"macro +=value\"... ]\n"));
1728 * empty_name The Name "", use as macro value
1732 * makeflags The Name "MAKEFLAGS", used to set macro value
1756 register Property macro;
1827 * If the user did not redefine the MAKE macro in the
1829 * change the macro value of MAKE to be some form
1836 (IS_EQUAL(def_make_macro->body.macro.value->string_mb,
1855 ->body.macro.exported = true;
2037 body.macro.exported = true;
2056 * Add command line macro to POSIX makeflags_string
2068 * Now set the value of MAKEFLAGS macro in accordance
2071 macro = maybe_append_prop(makeflags, macro_prop);
2072 temp = (Boolean) macro->body.macro.read_only;
2073 macro->body.macro.read_only = false;
2101 macro->body.macro.read_only = temp;
2282 * If the user did not redefine the ARFLAGS macro in the
2284 * change the macro value of ARFLAGS to be in accordance
2289 macro = get_prop(name->prop, macro_prop);
2290 if ((macro != NULL) && /* Maybe (macro == NULL) || ? */
2291 (IS_EQUAL(macro->body.macro.value->string_mb,
2309 macro = get_prop(keep_state_name->prop, macro_prop);
2310 if ((macro != NULL) &&
2311 macro->body.macro.exported) {
2315 if (macro == NULL) {
2316 macro = maybe_append_prop(keep_state_name,
2319 macro->body.macro.exported = true;
2331 /* just in case macro references are used in make_state file
2411 Property macro;
2531 * Combine all macro in dynamic array
2576 macro = maybe_append_prop(name, macro_prop);
2577 macro->body.macro.exported = true;
2578 SETVAR(name, value, false)->body.macro.read_only = true;
2611 if( prop == 0 || prop->body.macro.value == 0 ||
2612 prop->body.macro.value->string_mb == 0 ) {
2617 strcat(mbs_value, prop->body.macro.value->string_mb);
2643 register Name macro;
2678 * If the MAKEFLAGS macro is subsequently set by the makefile,
2701 macro = GETNAME(name, value - name);
2702 maybe_append_prop(macro, macro_prop)->body.macro.exported =
2705 val = setvar_daemon(macro,
2709 val = setvar_daemon(macro,
2713 val->body.macro.read_only = read_only_saved;
3045 append_or_replace_macro_in_dyn_array(ASCII_Dyn_Array *Ar, char *macro)
3047 register char *cp0; /* work pointer in macro */
3051 register char *name; /* macro name */
3052 register char *value; /* macro value */
3059 if (!(len_macro = strlen(macro))) return;
3060 name = macro;
3065 /* no '=' in macro */
3101 /* Look for the next macro name in array */
3116 cp2 = cp1; /* remove old macro */