Lines Matching defs:conditional
96 extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index);
346 * unless it depends on conditional macros or a delayed assignment,
451 /* Activate conditional macros for the target */
910 * doing_subtree True if building a conditional macro subtree
1585 /* Hack for handling conditional macros in DMake. */
2182 /* We have to check if a target depends on conditional macros */
2878 register Property conditional;
2889 for (conditional = get_prop(conditionals->prop, conditional_prop);
2890 conditional != NULL;
2891 conditional = get_prop(conditional->next, conditional_prop)) {
2892 wcb1.init(conditional->body.conditional.target);
2905 ((*previous)->body.conditional.sequence >
2906 conditional->body.conditional.sequence)) {
2919 new_prop->body.conditional = conditional->body.conditional;
2926 * Sets any conditional macros for the target.
2927 * Each target carries a possibly empty set of conditional properties.
2930 * target The target to set conditional macros for
2941 register Property conditional;
2953 /* Scan the list of conditional properties and apply each one */
2954 for (conditional = get_prop(target->prop, conditional_prop), i = 0;
2955 conditional != NULL;
2956 conditional = get_prop(conditional->next, conditional_prop),
2960 maybe_append_prop(conditional->body.conditional.name,
2963 (void) printf(gettext("%*sActivating conditional value: "),
2967 /* Set the conditional value. Macros are expanded when the */
2969 if ((conditional->body.conditional.name != virtual_root) ||
2970 (conditional->body.conditional.value != virtual_root)) {
2971 (void) SETVAR(conditional->body.conditional.name,
2972 conditional->body.conditional.value,
2973 (Boolean) conditional->body.conditional.append);
2976 cond_name->name = conditional->body.conditional.name;
2978 /* Put this target on the front of the chain of conditional targets */
2987 * reset_locals(target, old_locals, conditional, index)
2989 * Removes any conditional macros for the target.
2994 * conditional The first conditional block for the target
3001 reset_locals(register Name target, register Property old_locals, register Property conditional, register int index)
3010 /* Scan the list of conditional properties and restore the old value */
3012 this_conditional = get_prop(conditional->next, conditional_prop);
3016 /* Remove conditional target from chain */
3026 get_prop(conditional->body.conditional.name->prop,
3028 if (conditional->body.conditional.name == virtual_root) {
3033 (void) printf(gettext("%*sdeactivating conditional value: %s= %s\n"),
3036 conditional->body.conditional.name->
3041 (void) printf(gettext("%*sdeactivating conditional value: %s =\n"),
3044 conditional->body.conditional.name->