16 $warn = $yellow.$bold;
18 $file = $magenta.$bold;
19 $lineno = $blue.$bold;
25 # Skip entering/leaving directories and incomplete lines
27 $line =~ /make\[([0-9]*)\]:.*/ ||
28 # $line =~ /.*\s\\$/ ||
29 $line =~ /^test\s\-z\s/ ||
30 $line =~ /^Making\sclean\sin\s\./ ||
31 $line =~ /^then\smv/ ||
32 $line =~ /make\s\sall-recursive/ ||
33 $line =~ s/^[A-z0-9-]*ar\s[A-z0-9]*\s([A-z0-9\-_\/\.]*)\s.*//g ||
34 $line =~ s/^rm\s\-f\s(.*)//g )
38 $line =~ s/^.* (lib.*\.so).*/ LINK : $1/g ||
39 $line =~ s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2/g ||
40 $line =~ s/^.* (lib.*\.o)\s`.*`(.*);\ \\/ COMPILE : $2/ ||
41 $line =~ s/^[A-z0-9-]*ranlib\s(.*)/ RANLIB : $1/g ||
42 $line =~ s/^Making\sall\sin\s(.*)/MAKE : $1/g ||
43 $line =~ s/^Making\sclean\sin\s(.*)/CLEAN : $1/g ||
44 $line =~ s/.*\-o\s([^\s]*)\s.*/ BUILD : $1/g)
47 print $info.$line.$reset."\n";
51 $line =~ s/(.*):([0-9]*):\swarning\:(.*)/WARNING : $file$1: $lineno$2: $warn$3/g ||
52 $line =~ s/.*is\sdeprecated.*/WARNING : $line/g )
54 print $warn.$line.$reset."\n";
58 $line =~ s/(.*):([0-9]*):\serror\:(.*)/ERROR : $file$1: $lineno$2: $error$3/g )
60 print $error.$line.$reset."\n";
62 # Print unmatched lines