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
cd0af885
Commit
cd0af885
authored
Jan 11, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate makefile dependencies from makedep.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba416a57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
aclocal.m4
aclocal.m4
+0
-2
configure
configure
+0
-2
makedep.c
tools/makedep.c
+7
-0
No files found.
aclocal.m4
View file @
cd0af885
...
...
@@ -231,8 +231,6 @@ wine_fn_has_flag ()
wine_fn_depend_rules ()
{
wine_fn_append_file SUBDIRS $ac_dir
wine_fn_append_rule \
"Makefile: $srcdir/$ac_dir/Makefile.in"
}
wine_fn_pot_rules ()
...
...
configure
View file @
cd0af885
...
...
@@ -7426,8 +7426,6 @@ wine_fn_has_flag ()
wine_fn_depend_rules
()
{
wine_fn_append_file SUBDIRS
$ac_dir
wine_fn_append_rule
\
"Makefile:
$srcdir
/
$ac_dir
/Makefile.in"
}
wine_fn_pot_rules
()
...
...
tools/makedep.c
View file @
cd0af885
...
...
@@ -2845,15 +2845,22 @@ static struct strarray output_sources( const struct makefile *make )
if
(
make
->
subdirs
.
count
)
{
struct
strarray
makefile_deps
=
empty_strarray
;
struct
strarray
distclean_files
=
empty_strarray
;
for
(
i
=
0
;
i
<
make
->
subdirs
.
count
;
i
++
)
{
strarray_add
(
&
makefile_deps
,
top_dir_path
(
make
,
base_dir_path
(
make
->
submakes
[
i
],
strmake
(
"%s.in"
,
output_makefile_name
))));
strarray_add
(
&
distclean_files
,
base_dir_path
(
make
->
submakes
[
i
],
output_makefile_name
));
if
(
!
make
->
src_dir
)
strarray_add
(
&
distclean_files
,
base_dir_path
(
make
->
submakes
[
i
],
".gitignore"
));
if
(
make
->
submakes
[
i
]
->
testdll
)
strarray_add
(
&
distclean_files
,
base_dir_path
(
make
->
submakes
[
i
],
"testlist.c"
));
}
output
(
"Makefile:"
);
output_filenames
(
makefile_deps
);
output
(
"
\n
"
);
output
(
"distclean::
\n
"
);
output
(
"
\t
rm -f"
);
output_filenames
(
distclean_files
);
...
...
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