| line |
true |
false |
branch |
|
191
|
0 |
0 |
if (ref $opts eq '') |
|
206
|
0 |
0 |
if $ENV{'CFLAGS'} |
|
207
|
0 |
0 |
if $ENV{'LDFLAGS'} |
|
209
|
0 |
0 |
if $$opts{'cflags'} |
|
210
|
0 |
0 |
if $$opts{'ldflags'} |
|
215
|
0 |
0 |
if ($ENV{'CC'}) |
|
222
|
0 |
0 |
if $$opts{$_} |
|
229
|
0 |
0 |
if ($$ab{'clean'} or not $$ab{'default'} or $$ab{'default'}{$bin}) |
|
246
|
0 |
0 |
if ($$ab{'verbose'} > 0) |
|
279
|
0 |
0 |
if (-e $meta_file) { } |
|
303
|
0 |
0 |
if ($$self{'clean'}) { } |
|
319
|
0 |
0 |
if ($_ =~ /^-(v+)$/) { } |
|
|
0 |
0 |
elsif ($_ =~ /^-(d+)$/) { } |
|
|
0 |
0 |
elsif ($_ eq '-q') { } |
|
|
0 |
0 |
elsif ($_ eq 'clean') { } |
|
|
0 |
0 |
elsif ($_ =~ /^--cc=(.+)$/) { } |
|
|
0 |
0 |
elsif ($_ =~ /^--program=(.+)$/) { } |
|
|
0 |
0 |
elsif ($_ eq '-h' or $_ eq '--help') { } |
|
374
|
0 |
0 |
if ($v) |
|
383
|
0 |
0 |
if ($v) |
|
410
|
0 |
0 |
if (substr($cfile, -4, 4) eq '.cpp') |
|
421
|
0 |
0 |
if (my $existing_jid = $$self{'job_index'}{$job_key}) |
|
460
|
0 |
0 |
if $recursed{$i} |
|
463
|
0 |
0 |
unless $n |
|
466
|
0 |
0 |
unless ($dups{$id}) |
|
491
|
0 |
0 |
if ($$job{'needs'} and scalar @{$$job{'needs'};}) |
|
496
|
0 |
0 |
if ($$job{'done'}) |
|
514
|
0 |
0 |
if ($$job{'done'}) |
|
523
|
0 |
0 |
unless ($$self{'jobs'}[$ni]{'done'}) |
|
529
|
0 |
0 |
if ($met) |
|
539
|
0 |
0 |
if ($$self{'verbose'} > 1) |
|
544
|
0 |
0 |
if ($self->exec_job($i)) |
|
558
|
0 |
0 |
if ($$job{'task'} eq 'cc') |
|
570
|
0 |
0 |
if ($$rule{'file'} and $$rule{'file'} eq $cfile || $$rule{'file'} eq $ofile or $fm and $cfile =~ /$fm/ || $ofile =~ /$fm/) |
|
575
|
0 |
0 |
if ($add) |
|
579
|
0 |
0 |
unless (grep {$_ eq $f;} @cflags) |
|
585
|
0 |
0 |
if ($del) |
|
592
|
0 |
0 |
$$job{'cpp'} ? : |
|
606
|
0 |
0 |
if substr($_, 0, 1) eq '/' |
|
612
|
0 |
0 |
if ($$self{'meta'}{$ofile}) |
|
614
|
0 |
0 |
if ($$self{'meta'}{$ofile}{'exec'} and $$self{'meta'}{$ofile}{'exec'} eq $exec_str) { } |
|
|
0 |
0 |
elsif ($$self{'debug'}) { } |
|
617
|
0 |
0 |
if ($$self{'debug'} > 2) |
|
629
|
0 |
0 |
if ($self->file_changed($f)) { } |
|
632
|
0 |
0 |
if ($$self{'debug'}) |
|
638
|
0 |
0 |
if ($$self{'debug'} > 2) |
|
645
|
0 |
0 |
if ($$self{'clean'}) { } |
|
|
0 |
0 |
elsif ($changed) { } |
|
652
|
0 |
0 |
if ($$self{'verbose'}) { } |
|
|
0 |
0 |
elsif (not $$self{'quiet'}) { } |
|
657
|
0 |
0 |
$$job{'cpp'} ? : |
|
669
|
0 |
0 |
if ($self->file_update($ofile)) |
|
677
|
0 |
0 |
if substr($_, 0, 1) eq '/' |
|
687
|
0 |
0 |
if substr($hfile, 0, 1) eq '/' |
|
691
|
0 |
0 |
unless -e $c |
|
692
|
0 |
0 |
unless -e $c |
|
703
|
0 |
0 |
if ($$job{'task'} eq 'ld') |
|
715
|
0 |
0 |
if ($$oj{'updated'}) |
|
718
|
0 |
0 |
if ($$self{'debug'}) |
|
728
|
0 |
0 |
if ($$rule{'file'} and $$rule{'file'} eq $out) |
|
732
|
0 |
0 |
if ($add) |
|
736
|
0 |
0 |
unless (grep {$_ eq $f;} @ldflags) |
|
742
|
0 |
0 |
if ($del) |
|
749
|
0 |
0 |
$$self{'cpp_ld'} ? : |
|
758
|
0 |
0 |
if (not $$self{'meta'}{$out} && $$self{'meta'}{$out}{'exec'} or $$self{'meta'}{$out}{'exec'} ne $exec_str) { } |
|
761
|
0 |
0 |
if ($$self{'debug'}) |
|
767
|
0 |
0 |
if ($$self{'debug'} > 2) |
|
773
|
0 |
0 |
if ($$self{'clean'}) { } |
|
|
0 |
0 |
elsif ($any_changed) { } |
|
779
|
0 |
0 |
if ($$self{'verbose'}) { } |
|
|
0 |
0 |
elsif (not $$self{'quiet'}) { } |
|
784
|
0 |
0 |
$$self{'cpp_ld'} ? : |
|
796
|
0 |
0 |
if ($$self{'verbose'}) |
|
813
|
0 |
0 |
unless open my $dat, '<', $depfile |
|
815
|
0 |
0 |
unless close $dat |
|
839
|
0 |
0 |
if (defined $$self{'changed_this_run'}{$file}) |
|
844
|
0 |
0 |
if (-e $file) |
|
849
|
0 |
0 |
if ($$self{'meta'}{$file} and $$self{'meta'}{$file}{'mtime'} and $$self{'meta'}{$file}{'mtime'} == $mtime) |
|
881
|
0 |
0 |
if ($$self{'mtime_this_run'}{$file}) |
|
885
|
0 |
0 |
if ($$self{'debug'} > 1) |
|
897
|
0 |
0 |
if ($$self{'md5_this_run'}{$file}) |
|
901
|
0 |
0 |
if ($$self{'debug'} > 1) |
|
905
|
0 |
0 |
unless open my $dat, '<', $file |
|
918
|
0 |
0 |
if (-e $file) |
|
920
|
0 |
0 |
if ($$self{'verbose'}) |
|
924
|
0 |
0 |
unless unlink $file |