Lines Matching defs:conditional

98 extern	void		reset_locals(register Name target, register Property old_locals, register Property conditional, register int index);
348 * unless it depends on conditional macros or a delayed assignment,
453 /* Activate conditional macros for the target */
912 * doing_subtree True if building a conditional macro subtree
1587 /* Hack for handling conditional macros in DMake. */
2184 /* We have to check if a target depends on conditional macros */
2880 register Property conditional;
2891 for (conditional = get_prop(conditionals->prop, conditional_prop);
2892 conditional != NULL;
2893 conditional = get_prop(conditional->next, conditional_prop)) {
2894 wcb1.init(conditional->body.conditional.target);
2911 ((*previous)->body.conditional.sequence >
2912 conditional->body.conditional.sequence)) {
2925 new_prop->body.conditional = conditional->body.conditional;
2932 * Sets any conditional macros for the target.
2933 * Each target carries a possibly empty set of conditional properties.
2936 * target The target to set conditional macros for
2947 register Property conditional;
2959 /* Scan the list of conditional properties and apply each one */
2960 for (conditional = get_prop(target->prop, conditional_prop), i = 0;
2961 conditional != NULL;
2962 conditional = get_prop(conditional->next, conditional_prop),
2966 maybe_append_prop(conditional->body.conditional.name,
2969 (void) printf(gettext("%*sActivating conditional value: "),
2973 /* Set the conditional value. Macros are expanded when the */
2975 if ((conditional->body.conditional.name != virtual_root) ||
2976 (conditional->body.conditional.value != virtual_root)) {
2977 (void) SETVAR(conditional->body.conditional.name,
2978 conditional->body.conditional.value,
2979 (Boolean) conditional->body.conditional.append);
2982 cond_name->name = conditional->body.conditional.name;
2984 /* Put this target on the front of the chain of conditional targets */
2993 * reset_locals(target, old_locals, conditional, index)
2995 * Removes any conditional macros for the target.
3000 * conditional The first conditional block for the target
3007 reset_locals(register Name target, register Property old_locals, register Property conditional, register int index)
3016 /* Scan the list of conditional properties and restore the old value */
3018 this_conditional = get_prop(conditional->next, conditional_prop);
3022 /* Remove conditional target from chain */
3032 get_prop(conditional->body.conditional.name->prop,
3034 if (conditional->body.conditional.name == virtual_root) {
3039 (void) printf(gettext("%*sdeactivating conditional value: %s= %s\n"),
3042 conditional->body.conditional.name->
3047 (void) printf(gettext("%*sdeactivating conditional value: %s =\n"),
3050 conditional->body.conditional.name->