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
c873db8c
Commit
c873db8c
authored
Jun 12, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Also build import libs for extra test modules.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b531e51c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
makedep.c
tools/makedep.c
+9
-2
No files found.
tools/makedep.c
View file @
c873db8c
...
@@ -183,6 +183,7 @@ struct makefile
...
@@ -183,6 +183,7 @@ struct makefile
struct
strarray
install_lib
;
struct
strarray
install_lib
;
struct
strarray
install_dev
;
struct
strarray
install_dev
;
struct
strarray
extra_targets
;
struct
strarray
extra_targets
;
struct
strarray
extra_imports
;
struct
list
sources
;
struct
list
sources
;
struct
list
includes
;
struct
list
includes
;
const
char
*
base_dir
;
const
char
*
base_dir
;
...
@@ -1958,6 +1959,12 @@ static void add_generated_sources( struct makefile *make )
...
@@ -1958,6 +1959,12 @@ static void add_generated_sources( struct makefile *make )
if
(
!
make
->
disabled
)
if
(
!
make
->
disabled
)
strarray_add_uniq
(
&
linguas
,
replace_extension
(
source
->
name
,
".po"
,
""
));
strarray_add_uniq
(
&
linguas
,
replace_extension
(
source
->
name
,
".po"
,
""
));
}
}
if
(
strendswith
(
source
->
name
,
".spec"
))
{
char
*
obj
=
replace_extension
(
source
->
name
,
".spec"
,
""
);
strarray_addall_uniq
(
&
make
->
extra_imports
,
get_expanded_file_local_var
(
make
,
obj
,
"IMPORTS"
));
}
}
}
if
(
make
->
testdll
)
if
(
make
->
testdll
)
{
{
...
@@ -4361,8 +4368,8 @@ static void load_sources( struct makefile *make )
...
@@ -4361,8 +4368,8 @@ static void load_sources( struct makefile *make )
if
(
make
->
is_cross
)
if
(
make
->
is_cross
)
{
{
for
(
i
=
0
;
i
<
make
->
imports
.
count
;
i
++
)
strarray_addall_uniq
(
&
cross_import_libs
,
make
->
imports
);
strarray_add_uniq
(
&
cross_import_libs
,
make
->
imports
.
str
[
i
]
);
strarray_addall_uniq
(
&
cross_import_libs
,
make
->
extra_imports
);
if
(
make
->
is_win16
)
strarray_add_uniq
(
&
cross_import_libs
,
"kernel"
);
if
(
make
->
is_win16
)
strarray_add_uniq
(
&
cross_import_libs
,
"kernel"
);
strarray_add_uniq
(
&
cross_import_libs
,
"winecrt0"
);
strarray_add_uniq
(
&
cross_import_libs
,
"winecrt0"
);
strarray_add_uniq
(
&
cross_import_libs
,
"kernel32"
);
strarray_add_uniq
(
&
cross_import_libs
,
"kernel32"
);
...
...
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