269 free_name(source);
270 }
271 continue;
272 }
273 }
274 }
275
276 if (command != NULL) {
277 if(!name_found) {
278 store_name(source);
279 }
280 /*
281 * The source file is a file.
282 * Make sure it is up to date.
283 */
284 if (dependency_exists(source,
285 get_prop(target->prop,
286 line_prop))) {
287 result = (Doname) source->state;
288 } else {
289 #ifdef NSE
290 nse_check_derived_src(target, source->string,
291 source_suffix->body.suffix.command_template);
292 #endif
293 #if 0 /* with_squiggle sends false, which is buggy. : djay */
294 result = doname(source,
295 (Boolean) source_suffix->body.
296 suffix.suffix->with_squiggle,
297 true);
298 #else
299 result = doname(source,
300 true,
301 true);
302 #endif
303 }
304 } else {
305 result = target_can_be_built(source);
306
307 if (result == build_ok) {
308 return result;
309 } else {
310 if(!name_found) {
311 free_name(source);
312 }
|
269 free_name(source);
270 }
271 continue;
272 }
273 }
274 }
275
276 if (command != NULL) {
277 if(!name_found) {
278 store_name(source);
279 }
280 /*
281 * The source file is a file.
282 * Make sure it is up to date.
283 */
284 if (dependency_exists(source,
285 get_prop(target->prop,
286 line_prop))) {
287 result = (Doname) source->state;
288 } else {
289 #if 0 /* with_squiggle sends false, which is buggy. : djay */
290 result = doname(source,
291 (Boolean) source_suffix->body.
292 suffix.suffix->with_squiggle,
293 true);
294 #else
295 result = doname(source,
296 true,
297 true);
298 #endif
299 }
300 } else {
301 result = target_can_be_built(source);
302
303 if (result == build_ok) {
304 return result;
305 } else {
306 if(!name_found) {
307 free_name(source);
308 }
|