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\s-f/ ||
32 $line =~ /.*make\s\s.*/ ||
33 $line =~ /make\s\sall-recursive/ ||
34 $line =~ /[A-z0-9-]*ar\s[A-z0-9]*\s([A-z0-9\-_\/\.]*)\s.*/ ||
35 $line =~ /^[A-z0-9-]*ranlib\s[A-z0-9-_]*plugin(.*)/ ||
36 $line =~ /^touch.*/ ||
37 $line =~ /^srcdir=.*/ ||
38 $line =~ /^.* (lib[A-z0-9-_]*plugin.so).*/ ||
39 $line =~ /^\sgcc\s-std=.*/ ||
40 $line =~ /^.*libtool.*\-o\s(lib.*\.la).*/ ||
41 $line =~ /^.*rm\s\-f\s(.*)/ ||
42 $line =~ /^rm\s-fr\s(.*)/ ||
43 $line =~ /^creating lib.*/ )
47 $line =~ s/^.*\-shared.*(lib.*\.so).*/ LINK : $1/g ||
48 $line =~ s/^.* (lib.*\.so).*/ LINK : $1/g ||
49 $line =~ s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2/g ||
50 $line =~ s/^.* (lib.*\.o)\s`.*`(.*);\ \\/ COMPILE : $2/ ||
51 $line =~ s/.*\-o\s([^\s]*)\s`.*`([^\s]*);.*/ COMPILE : $2/g ||
52 $line =~ s/^[A-z0-9-]*ranlib\s(.*)/ RANLIB : $1/g ||
53 $line =~ s/^Making\sall\sin\s(.*)/MAKE : $1/g ||
54 $line =~ s/^Making\sclean\sin\s(.*)/CLEAN : $1/g )
56 print $info.$line.$reset."\n";
60 $line =~ s/(.*):([0-9]*):\swarning\:(.*)/WARNING : $file$1: $lineno$2: $warn$3/g ||
61 $line =~ s/.*is\sdeprecated.*/WARNING : $line/g )
63 print $warn.$line.$reset."\n";
67 $line =~ s/(.*):([0-9]*):\serror\:(.*)/ERROR : $file$1: $lineno$2: $error$3/g )
69 print $error.$line.$reset."\n";
71 # Print unmatched lines