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
86ffc2b5
Commit
86ffc2b5
authored
Oct 09, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcmaker: Don't generate project files for DLLs that can't be compiled with MSVC.
parent
1627377d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
msvcmaker
tools/winapi/msvcmaker
+27
-2
No files found.
tools/winapi/msvcmaker
View file @
86ffc2b5
...
...
@@ -36,6 +36,22 @@ my $no_release = 1;
my
%
modules
;
# These DLLs don't have a hope of compiling properly
my
@unix_dependent_dlls
=
qw(iphlpapi mountmgr.sys ntdll mswsock opengl32
secur32 winex11 wnaspi32 ws2_32)
;
sub
is_unix_dependent_dll
($)
{
my
$dll
=
shift
;
foreach
my
$unix_only_dll
(
@unix_dependent_dlls
)
{
if
(
$dll
eq
$unix_only_dll
)
{
return
1
;
}
}
return
0
;
}
sub
read_spec_file
($)
{
my
$spec_file
=
shift
;
...
...
@@ -85,7 +101,11 @@ sub read_spec_file($) {
if
(
$options
->
wine
||
$options
->
winetest
)
{
foreach
my
$spec_file
(
@spec_files
)
{
read_spec_file
(
$spec_file
);
my
$dll
=
$spec_file
;
$dll
=~
s%dlls/([^/]+)/[^/]+\.spec%$1%
;
if
(
!
is_unix_dependent_dll
(
$dll
))
{
read_spec_file
(
$spec_file
);
}
}
}
...
...
@@ -121,13 +141,18 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
my
$testdll
;
my
@imports
;
my
$type
;
my
$dll
;
my
%
vars
;
my
$again
=
0
;
my
$lookahead
=
0
;
if
(
$makefile_in_file
eq
"loader/Makefile.in"
)
{
$dll
=
$makefile_in_file
;
$dll
=~
s%dlls/([^/]+)/Makefile\.in%$1%
;
if
(
$makefile_in_file
eq
"loader/Makefile.in"
||
is_unix_dependent_dll
(
$dll
))
{
next
;
}
...
...
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