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
fec95db0
Commit
fec95db0
authored
Mar 01, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Store the list of .ok files per-architecture.
parent
a375ff9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
makedep.c
tools/makedep.c
+8
-8
No files found.
tools/makedep.c
View file @
fec95db0
...
...
@@ -203,7 +203,6 @@ struct makefile
/* values generated at output time */
struct
strarray
in_files
;
struct
strarray
ok_files
;
struct
strarray
pot_files
;
struct
strarray
test_files
;
struct
strarray
clean_files
;
...
...
@@ -218,6 +217,7 @@ struct makefile
struct
strarray
dependencies
;
struct
strarray
object_files
[
MAX_ARCHS
];
struct
strarray
implib_files
[
MAX_ARCHS
];
struct
strarray
ok_files
[
MAX_ARCHS
];
struct
strarray
res_files
[
MAX_ARCHS
];
struct
strarray
all_targets
[
MAX_ARCHS
];
struct
strarray
install_rules
[
NB_INSTALL_RULES
];
...
...
@@ -3163,7 +3163,7 @@ static void output_source_one_arch( struct makefile *make, struct incl_file *sou
ok_file
=
strmake
(
"%s%s.ok"
,
arch_dirs
[
arch
],
obj
);
test_exe
=
replace_extension
(
make
->
testdll
,
".dll"
,
"_test.exe"
);
strarray_add
(
&
make
->
ok_files
,
ok_file
);
strarray_add
(
&
make
->
ok_files
[
arch
]
,
ok_file
);
output
(
"%s:
\n
"
,
obj_dir_path
(
make
,
ok_file
));
output
(
"
\t
%s%s $(RUNTESTFLAGS) -T . -M %s -p %s %s && touch $@
\n
"
,
cmd_prefix
(
"TEST"
),
...
...
@@ -3484,10 +3484,10 @@ static void output_test_module( struct makefile *make, unsigned int arch )
if
(
make
->
disabled
[
arch
]
||
(
parent
&&
parent
->
disabled
[
arch
]))
{
make
->
ok_files
=
empty_strarray
;
make
->
ok_files
[
arch
]
=
empty_strarray
;
return
;
}
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
[
arch
]
);
output
(
": %s"
,
obj_dir_path
(
make
,
testmodule
));
if
(
parent
)
{
...
...
@@ -3497,15 +3497,15 @@ static void output_test_module( struct makefile *make, unsigned int arch )
}
output
(
"
\n
"
);
output
(
"%s %s:"
,
obj_dir_path
(
make
,
"check"
),
obj_dir_path
(
make
,
"test"
));
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
[
arch
]
);
output
(
"
\n
"
);
strarray_add_uniq
(
&
make
->
phony_targets
,
obj_dir_path
(
make
,
"check"
));
strarray_add_uniq
(
&
make
->
phony_targets
,
obj_dir_path
(
make
,
"test"
));
output
(
"%s::
\n
"
,
obj_dir_path
(
make
,
"testclean"
));
output
(
"
\t
rm -f"
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
[
arch
]
);
output
(
"
\n
"
);
strarray_addall
(
&
make
->
clean_files
,
make
->
ok_files
);
strarray_addall
(
&
make
->
clean_files
,
make
->
ok_files
[
arch
]
);
strarray_add_uniq
(
&
make
->
phony_targets
,
obj_dir_path
(
make
,
"testclean"
));
}
...
...
@@ -3594,13 +3594,13 @@ static void output_subdirs( struct makefile *make )
strarray_addall_path
(
&
distclean_files
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
distclean_files
);
strarray_addall_path
(
&
distclean_dirs
,
submakes
[
i
]
->
obj_dir
,
subclean
);
strarray_addall_path
(
&
make
->
maintainerclean_files
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
maintainerclean_files
);
strarray_addall_path
(
&
testclean_files
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
ok_files
);
strarray_addall_path
(
&
make
->
pot_files
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
pot_files
);
for
(
arch
=
0
;
arch
<
archs
.
count
;
arch
++
)
{
if
(
submakes
[
i
]
->
disabled
[
arch
])
continue
;
strarray_addall_path
(
&
all_targets
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
all_targets
[
arch
]
);
strarray_addall_path
(
&
testclean_files
,
submakes
[
i
]
->
obj_dir
,
submakes
[
i
]
->
ok_files
[
arch
]
);
}
if
(
submakes
[
i
]
->
disabled
[
0
])
continue
;
...
...
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