Lines Matching defs:dependency

121  *		automatic	Are we building a hidden dependency?
152 * (hidden) dependency, we just ignore it.
187 Dependency dependency;
195 for (dependency = source_line->body.line.dependencies;
196 dependency != NULL;
197 dependency = dependency->next) {
198 enter_dependency(line, dependency->name, false);
291 register Dependency dependency;
403 for (dependency = line->body.line.dependencies;
404 dependency != NULL;
405 dependency = dependency->next) {
406 dependency->built = false;
416 * First run thru the dependency list to see how many
419 for (dependency = line->body.line.dependencies;
420 dependency != NULL;
421 dependency = dependency->next) {
422 if (dependency->automatic && !dependency->stale) {
430 for (p = automatics, dependency = line->body.line.dependencies;
431 dependency != NULL;
432 dependency = dependency->next) {
433 if (dependency->automatic && !dependency->stale) {
434 *p++ = dependency->name;
931 register Dependency dependency;
946 for (dependency = line->body.line.dependencies;
947 dependency != NULL;
948 dependency = dependency->next) {
951 if (!dependency->automatic &&
959 if (dependency->name == wait_name) {
967 } else if ((!parallel_ok(dependency->name, false)) &&
970 * If we can't execute the current dependency in
971 * parallel, hold off the dependency processing
980 depe_time = exists(dependency->name);
982 if (dependency->built ||
983 (dependency->name->state == build_failed)) {
984 dep_result = (Doname) dependency->name->state;
986 dep_result = doname_check(dependency->name,
989 (Boolean) dependency->automatic);
991 if (true_target->is_member || dependency->name->is_member) {
993 if (depe_time.tv_sec != dependency->name->stat.time.tv_sec) {
999 if (depe_time != dependency->name->stat.time) {
1005 dependency->built = true;
1015 * If make can't figure out how to make a dependency, maybe the dependency
1017 * and go on. If we really need the dependency, the make'ing of the target
1024 * Make sure the dependency is not saved
1027 dependency->stale = true;
1032 (void) printf(gettext("Target %s rebuilt because dependency %s does not exist\n"),
1034 dependency->name->string_mb);
1038 if (dependency->name->depends_on_conditional) {
1041 if (dependency->name == force) {
1043 dependency->name->stat.time;
1049 (void) exists(dependency->name);
1051 /* Collect the timestamp of the youngest dependency */
1053 MAX(dependency->name->stat.time,
1057 if(true_target->is_member || dependency->name->is_member) {
1065 dependency->name->string_mb,
1066 time_to_string(dependency->name->
1068 if (dependency->name->stat.time > line->body.line.dependency_time) {
1081 true_target->stat.time = dependency->name->stat.time;
1087 * if dependency hasn't changed
1102 if (true_target->is_member || dependency->name->is_member) {
1104 dependency->name->stat.time);
1107 dependency->name->stat.time);
1110 (dependency->name != force) &&
1111 (dependency->stale == false)) {
1113 if (dependency->name->is_member &&
1114 (get_prop(dependency->name->prop,
1117 get_prop(dependency->name->prop,
1122 dependency->name;
1127 if (dependency->name->stat.time == file_max_time) {
1132 dependency->name->string_mb);
1138 dependency->name->string_mb);
1142 if (dependency->name == force) {
1178 * dependency.
1181 for (dependency = line->body.line.dependencies;
1182 dependency != NULL;
1183 dependency = dependency->next) {
1186 if ((tmp_line = get_prop(dependency->name->prop, line_prop)) != NULL) {
1281 * Checks if any dependency contains a macro ref
1282 * If so, it replaces the dependency with the expanded version.
1292 * Note, to enter "$@" on a dependency line in a makefile
1294 * macros in dependency lists upon reading them.
1297 * search the directory, and replace the dependency
1315 register Dependency dependency;
1340 for (dependency = line->body.line.dependencies;
1341 dependency != NULL;
1342 dependency = dependency->next) {
1343 if (!dependency->name->dollar) {
1354 /* Expand this dependency string */
1356 expand_value(dependency->name, &string, false);
1365 dependency->name = NULL;
1376 /* We use the original dependency cell for the first */
1377 /* dependency from the expansion */
1385 first_member = dependency;
1402 /* Enter dependency from expansion */
1404 /* Create new dependency cell if */
1405 /* this is not the first dependency */
1409 new_depe->next = dependency->next;
1413 dependency->next = new_depe;
1414 dependency = new_depe;
1417 /* Internalize the dependency name */
1420 //dependency->name = GETNAME(start, p - start);
1421 dependency->name = normalize_name(start, p - start);
1424 (void) printf(gettext("%*sDynamic dependency `%s' for target `%s'\n"),
1427 dependency->name->string_mb,
1459 (void) printf(gettext("%*sDynamic dependency `%s' for target `%s'\n"),
1473 if (first_member == dependency) {
1482 for (remove = &line->body.line.dependencies, dependency = *remove;
1483 dependency != NULL;
1484 dependency = *remove) {
1485 if (dependency->name == NULL) {
1486 dependency = *remove = (*remove)->next;
1489 /* If dependency name string contains shell wildcards */
1491 if (dependency->name->wildcard) {
1492 wcb.init(dependency->name);
1504 (int) (dependency->name->hash.length-(start-wcb.get_string())-2));
1505 pattern[dependency->name->hash.length -
1512 (int) dependency->name->hash.length);
1513 pattern[dependency->name->hash.length] =
1528 remove = &dependency->next;
1531 remove = &dependency->next;
1637 "%s/.make.dependency.%08x.%d.%d",
1944 * temp_file_name The auto dependency temp file
1957 * contain dependency reports from utilities
2266 for (Dependency dependency = line->body.line.dependencies;
2267 dependency != NULL;
2268 dependency = dependency->next) {
2270 if (!dependency->automatic) {
2271 if ((dependency->name != force) &&
2272 (dependency->stale == false)) {
2275 if (dependency->name->is_member &&
2276 (get_prop(dependency->name->prop, member_prop) != NULL)) {
2278 get_prop(dependency->name->prop,
2281 (*hat_list_tail)->name = dependency->name;
3059 * Returns true if the target now has a dependency
3063 * true if new dependency found
3079 Dependency dependency;
3086 for (dependency = line->body.line.dependencies;
3087 dependency != NULL;
3088 dependency = dependency->next) {
3091 if (dependency->automatic && !dependency->stale) {
3095 if (*p++ == dependency->name) {