Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
59ee6d83
Commit
59ee6d83
authored
Jan 01, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Automatically add missing source variables in make_makefiles.
parent
5eee9204
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
Makefile.in
dlls/wineps.drv/Makefile.in
+1
-1
Makefile.in
programs/iexplore/Makefile.in
+2
-0
make_makefiles
tools/make_makefiles
+7
-1
No files found.
dlls/wineps.drv/Makefile.in
View file @
59ee6d83
...
...
@@ -63,7 +63,7 @@ C_SRCS = \
type1afm.c
\
type42.c
RC_SRCS
=
\
RC_SRCS
=
\
wps_Bg.rc
\
wps_Cs.rc
\
wps_Da.rc
\
...
...
programs/iexplore/Makefile.in
View file @
59ee6d83
...
...
@@ -8,4 +8,6 @@ C_SRCS = \
RC_SRCS
=
iexplore.rc
SVG_SRCS
=
iexplore.svg
@MAKE_PROG_RULES@
tools/make_makefiles
View file @
59ee6d83
...
...
@@ -241,6 +241,7 @@ sub replace_makefile_variable($$)
{
my
(
$file
,
$var
)
=
@_
;
my
$make
=
$makefiles
{
$file
};
my
$replaced
=
0
;
return
unless
defined
$
{
$make
}{
"=$var"
};
...
...
@@ -252,7 +253,7 @@ sub replace_makefile_variable($$)
open
OLD_FILE
,
"$file.in"
or
die
"cannot open $file.in"
;
while
(
<
OLD_FILE
>
)
{
if
(
/^\s*($var\s
+
)=/
)
if
(
/^\s*($var\s
*
)=/
)
{
# try to preserve formatting
my
$prefix
=
$1
;
...
...
@@ -270,8 +271,13 @@ sub replace_makefile_variable($$)
{
print
NEW_FILE
"$prefix= @values\n"
;
}
$replaced
=
1
;
next
;
}
if
(
/^\@MAKE/
&&
!
$replaced
)
{
print
NEW_FILE
"$var = \\\n\t"
.
join
(
" \\\n\t"
,
sort
@values
)
.
"\n"
;
}
print
NEW_FILE
$_
;
}
close
OLD_FILE
;
...
...
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