Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
77536f83
Commit
77536f83
authored
Nov 18, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge make wrapper from 0.8.5-zorglub
parent
f6c8f882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
extras/make.pl
extras/make.pl
+68
-0
No files found.
extras/make.pl
0 → 100755
View file @
77536f83
#! /usr/bin/perl
# Attributes
$bold
=
"
\
033[1m
";
# Colors
$white
=
"
\
033[37m
";
$yellow
=
"
\
033[33m
";
$magenta
=
"
\
033[35m
";
$blue
=
"
\
033[34m
";
$red
=
"
\
033[31m
";
$reset
=
"
\
033[0m
";
# Combinations
$info
=
$white
.
$bold
;
$warn
=
$yellow
.
$bold
;
$error
=
$red
.
$bold
;
$file
=
$magenta
.
$bold
;
$lineno
=
$blue
.
$bold
;
while
(
<
STDIN
>
)
{
$line
=
$_
;
chomp
$line
;
# Skip entering/leaving directories and incomplete lines
if
(
$line
=~
/make\[([0-9]*)\]:.*/
||
# $line =~ /.*\s\\$/ ||
$line
=~
/^test\s\-z\s/
||
$line
=~
/^Making\sclean\sin\s\./
||
$line
=~
/^then\smv/
||
$line
=~
/make\s\sall-recursive/
)
{}
# Info
elsif
(
$line
=~
s/^.* (lib.*\.so).*/ LINK : $1/g
||
$line
=~
s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2 -> $1/g
||
$line
=~
s/^.* (lib.*\.o)\s`.*`(.*);/ COMPILE : $2 -> $1/g
||
$line
=~
s/^ar\s[A-z0-9]*\s([A-z0-9\-_\/\.]*)\s.*/ ARCHIVE : $1/g
||
$line
=~
s/^ranlib\s(.*)/ RANLIB : $1/g
||
$line
=~
s/^Making\sall\sin\s(.*)/MAKE : $1/g
||
$line
=~
s/^Making\sclean\sin\s(.*)/CLEAN : $1/g
||
$line
=~
s/^rm\s\-f\s(.*)/ REMOVE : $1/g
||
$line
=~
s/.*\-o\s([^\s]*)\s.*/ BUILD : $1/g
)
{
print
$info
.
$line
.
$reset
.
"
\n
";
}
# Warning
elsif
(
$line
=~
s/(.*):([0-9]*):\swarning\:(.*)/WARNING : $file$1: $lineno$2: $warn$3/g
||
$line
=~
s/.*is\sdeprecated.*/WARNING : $line/g
)
{
print
$warn
.
$line
.
$reset
.
"
\n
";
}
# Error
elsif
(
$line
=~
s/(.*):([0-9]*):\serror\:(.*)/ERROR : $file$1: $lineno$2: $error$3/g
)
{
print
$error
.
$line
.
$reset
.
"
\n
";
}
# Print unmatched lines
else
{
print
$line
.
"
\n
";
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment