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
9da7d620
Commit
9da7d620
authored
Sep 11, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Also store the basename without object dir for generated files.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
22628bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
makedep.c
tools/makedep.c
+4
-2
No files found.
tools/makedep.c
View file @
9da7d620
...
...
@@ -76,6 +76,7 @@ struct incl_file
struct
file
*
file
;
char
*
name
;
char
*
filename
;
char
*
basename
;
/* base target name for generated files */
char
*
sourcename
;
/* source file name for generated headers */
struct
incl_file
*
included_by
;
/* file that included this one */
int
included_line
;
/* line where this file was included */
...
...
@@ -975,7 +976,8 @@ static struct incl_file *add_generated_source( struct makefile *make,
memset
(
file
,
0
,
sizeof
(
*
file
)
);
file
->
file
=
add_file
(
name
);
file
->
name
=
xstrdup
(
name
);
file
->
filename
=
obj_dir_path
(
make
,
filename
?
filename
:
name
);
file
->
basename
=
xstrdup
(
filename
?
filename
:
name
);
file
->
filename
=
obj_dir_path
(
make
,
file
->
basename
);
file
->
file
->
flags
=
FLAG_GENERATED
;
file
->
use_msvcrt
=
make
->
use_msvcrt
;
list_add_tail
(
&
make
->
sources
,
&
file
->
entry
);
...
...
@@ -3122,7 +3124,7 @@ static void output_source_default( struct makefile *make, struct incl_file *sour
if
((
source
->
file
->
flags
&
FLAG_GENERATED
)
&&
(
!
make
->
testdll
||
!
strendswith
(
source
->
filename
,
"testlist.c"
)))
strarray_add
(
&
make
->
clean_files
,
source
->
fil
ename
);
strarray_add
(
&
make
->
clean_files
,
source
->
bas
ename
);
if
(
source
->
file
->
flags
&
FLAG_C_IMPLIB
)
strarray_add
(
&
make
->
implib_objs
,
strmake
(
"%s.o"
,
obj
));
if
(
need_obj
)
...
...
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