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
26c930b3
Commit
26c930b3
authored
Jul 09, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make_makefiles: Add rules for cross-compiling all import libs from the dlls directory.
parent
e9a34e91
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
Makefile.in
dlls/Makefile.in
+0
-0
make_makefiles
tools/make_makefiles
+19
-5
No files found.
dlls/Makefile.in
View file @
26c930b3
This diff is collapsed.
Click to expand it.
tools/make_makefiles
View file @
26c930b3
...
...
@@ -528,7 +528,18 @@ sub update_dlls(@)
next
unless
defined
$static_implibs
{
$mod
};
$text
.=
" \\\n\t$directories{$mod}/lib$importlibs{$mod}.\$(STATIC_IMPLIBEXT)"
;
}
$text
.=
"\n\nCROSS_IMPLIBS ="
;
foreach
my
$mod
(
sort
@lib_symlinks
)
{
$text
.=
sprintf
" \\\n\tlib%s.a"
,
$importlibs
{
$mod
};
}
foreach
my
$mod
(
sort
keys
%
importlibs
)
{
next
if
defined
$static_implibs
{
$mod
};
$text
.=
" \\\n\t$directories{$mod}/lib$importlibs{$mod}.a"
;
}
$text
.=
"\n\n"
;
$text
.=
"\$(TESTSUBDIRS:%=%/__crosstest__): \$(CROSS_IMPLIBS)\n\n"
;
$text
.=
"implib: \$(IMPORT_LIBS)\n\n"
;
$text
.=
".PHONY: implib\n\n"
;
...
...
@@ -547,16 +558,19 @@ sub update_dlls(@)
}
else
{
$text
.=
sprintf
"%s/lib%s.\$(IMPLIBEXT): %s/%s.spec \$(WINEBUILD)\n"
,
$dir
,
$lib
,
$dir
,
$spec
;
$text
.=
sprintf
"\t\@cd %s && \$(MAKE) lib%s.\$(IMPLIBEXT)\n\n"
,
$dir
,
$lib
;
$text
.=
sprintf
"%s/lib%s.def %s/lib%s.a: %s/%s.spec \$(WINEBUILD)\n"
,
$dir
,
$lib
,
$dir
,
$lib
,
$dir
,
$spec
;
$text
.=
sprintf
"\t\@cd %s && \$(MAKE) `basename \$\@`\n\n"
,
$dir
;
}
}
foreach
my
$mod
(
sort
@lib_symlinks
)
{
my
$dir
=
$directories
{
$mod
};
my
$lib
=
"lib"
.
$importlibs
{
$mod
}
.
".\$(IMPLIBEXT)"
;
$text
.=
sprintf
"%s: %s/%s\n"
,
$lib
,
$dir
,
$lib
;
$text
.=
sprintf
"\t\$(RM) \$@ && \$(LN_S) %s/%s \$@\n\n"
,
$dir
,
$lib
;
my
$lib
=
"lib"
.
$importlibs
{
$mod
};
$text
.=
sprintf
"%s.a: %s/%s.a\n"
,
$lib
,
$dir
,
$lib
;
$text
.=
sprintf
"\t\$(RM) \$@ && \$(LN_S) %s/%s.a \$@\n\n"
,
$dir
,
$lib
;
$text
.=
sprintf
"%s.def: %s/%s.def\n"
,
$lib
,
$dir
,
$lib
;
$text
.=
sprintf
"\t\$(RM) \$@ && \$(LN_S) %s/%s.def \$@\n\n"
,
$dir
,
$lib
;
}
$text
.=
"\$(BUILDSUBDIRS): \$(IMPORT_LIBS)\n"
;
...
...
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