]> git.sesse.net Git - vlc/blobdiff - extras/buildsystem/make.pl
raop: handle VLC_ADD_LIBS
[vlc] / extras / buildsystem / make.pl
index 33e21ce22f1de188228e36d5623b0321132c95ad..2fd4d33d70ca0a1938df2ee913182dd878a25c98 100755 (executable)
@@ -23,8 +23,7 @@ while(<STDIN>)
      $line = $_;
      chomp $line;
      # Skip entering/leaving directories and incomplete lines
-     if(
-       $line =~ /make\[([0-9]*)\]:.*/ ||
+     if($line =~ /make\[([0-9]*)\]:.*/ ||
 #       $line =~ /.*\s\\$/ ||
         $line =~ /^test\s\-z\s/ ||
         $line =~ /^Making\sclean\sin\s\./ ||
@@ -36,23 +35,34 @@ while(<STDIN>)
         $line =~ /^touch.*/ ||
         $line =~ /^srcdir=.*/ ||
         $line =~ /^.* (lib[A-z0-9-_]*plugin.so).*/ ||
-       $line =~ /^\s*gcc\s-std=.*/ ||
-        $line =~ /^\sgcc\s-mmacosx.*/ ||
-        $line =~ /^\sg\+\+\s.*/ ||
+       $line =~ /^\s*gcc(-.*)?\s-std=.*/ ||
+        $line =~ /^\sgcc(-.*)?\s-mmacosx.*/ ||
+        $line =~ /^\sg\+\+(-.*)?\s.*/ ||
 #    $line =~ /^.*moc.*/ ||
        $line =~ /^.*libtool.*\-o\s(lib.*\.la).*/ ||
         $line =~ /^.*rm\s\-f\s(.*)/ ||
        $line =~ /^rm\s-fr\s(.*)/ ||
        $line =~ /^mv\s-f\s(.*)/ ||
        $line =~ /^ln\s-s\s(.*)/ ||
-       $line =~ /^creating lib.*/ ||
-        $line =~ /^\// )
+       $line =~ /^\s*echo\s/ ||
+       $line =~ /^mkdir\s/ ||
+       $line =~ /^\s*cat\s/ ||
+       $line =~ /^grep\s/ ||
+       $line =~ /^cd\s/ ||
+       $line =~ /^sed\s/ ||
+       $line =~ /^bindir=\s/ ||
+       $line =~ /^libtool:\s/ ||
+       $line =~ /^\/bin\/sh/ ||
+       $line =~ /^\/usr\/bin\/moc-qt4/ ||
+       $line =~ /^\/usr\/bin\/uic-qt4/ ||
+       $line =~ /^creating lib.*/)
      {}
      # Info
      elsif(
          $line =~ s/^.*\-shared.*(lib.*\.so).*/ LINK    : $1/g ||
           $line =~ s/^.* (lib.*\.so).*/ LINK    : $1/g ||
           $line =~ s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2/g ||
+          $line =~ s/^.*(lib.*\.lo)\s.*/ COMPILE : $1/g ||
           $line =~ s/^.* (lib.*\.o)\s`.*`(.*);\ \\/ COMPILE : $2/ ||
           $line =~ s/.*\-o\s([^\s]*)\s`.*`([^\s]*);.*/ COMPILE : $2/g ||
           $line =~ s/^[A-z0-9-]*ranlib\s(.*)/ RANLIB  : $1/g ||