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
02fa42dc
Commit
02fa42dc
authored
Mar 21, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dlls: Removed a number of dll symlinks that are no longer needed.
parent
d6df0ac7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
20 deletions
+24
-20
Makefile.in
dlls/Makefile.in
+0
-0
Maketest.rules.in
dlls/Maketest.rules.in
+1
-1
make_dlls
dlls/make_dlls
+23
-19
No files found.
dlls/Makefile.in
View file @
02fa42dc
This diff is collapsed.
Click to expand it.
dlls/Maketest.rules.in
View file @
02fa42dc
...
...
@@ -52,7 +52,7 @@ depend: $(TESTLIST)
check test:: $(TESTRESULTS) $(SUBDIRS:%=%/__test__)
$(TESTRESULTS): $(MODULE)$(DLLEXT)
$(DLLDIR)
/$(TESTDLL)$(DLLEXT)
$(TESTRESULTS): $(MODULE)$(DLLEXT)
..
/$(TESTDLL)$(DLLEXT)
# Rules for cross-compiling tests
...
...
dlls/make_dlls
View file @
02fa42dc
...
...
@@ -44,6 +44,12 @@ my %special_dlls =
"x11drv"
=>
"XFILES"
);
sub
needs_symlink
($)
{
(
my
$mod
=
$_
[
0
])
=~
s/\.dll$//
;
return
$mod
ne
$directories
{
$_
[
0
]};
}
foreach
my
$i
(
split
(
/\s/
,
$makefiles
))
{
my
$module
;
...
...
@@ -167,7 +173,7 @@ my %targets16 = ();
foreach
my
$mod
(
sort
keys
%
directories
)
{
next
if
defined
(
$special_dlls
{
$directories
{
$mod
}});
# skip special dlls
$targets
{
$mod
.
".so"
}
=
1
;
$targets
{
$mod
.
".so"
}
=
1
if
needs_symlink
(
$mod
)
;
next
unless
defined
$altnames
{
$mod
};
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
{
...
...
@@ -188,7 +194,7 @@ printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets16 );
print
NEWMAKE
<<EOF;
SYMLINKS_SO = \\
\$(
EXTRADIR
S:%=%.dll.so) \\
\$(
XFILE
S:%=%.dll.so) \\
\@WIN16_FILES\@ \\
EOF
printf
NEWMAKE
"\t%s\n"
,
join
(
" \\\n\t"
,
sort
keys
%
targets
);
...
...
@@ -197,7 +203,7 @@ print NEWMAKE <<EOF;
# Main target
all: symlinks\$(DLLEXT)
all:
\$(BUILDSUBDIRS)
symlinks\$(DLLEXT)
.PHONY: symlinks symlinks.so implib
...
...
@@ -213,34 +219,32 @@ EOF
################################################################
# output the lib name -> directory rules
print
NEWMAKE
<<EOF;
# Map symlink name to the corresponding library
EOF
print
NEWMAKE
"# Map symlink name to the corresponding library\n\n"
;
foreach
my
$mod
(
sort
keys
%
directories
)
{
next
unless
(
needs_symlink
(
$mod
)
||
$mod
eq
"ddraw.dll"
);
# FIXME: hack because of x11drv
printf
NEWMAKE
"%s.so: %s/%s.so\n"
,
$mod
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s.so \$@\n\n"
,
$directories
{
$mod
},
$mod
;
}
if
(
defined
$altnames
{
$mod
})
print
NEWMAKE
"# Placeholders for 16-bit libraries\n\n"
;
foreach
my
$mod
(
sort
keys
%
directories
)
{
next
unless
defined
$altnames
{
$mod
};
my
$count
=
0
;
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
{
my
$count
=
0
;
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
{
if
(
$count
++
==
3
)
{
printf
NEWMAKE
"\\\n "
;
$count
=
1
;
}
printf
NEWMAKE
"%s16 "
,
$i
;
}
printf
NEWMAKE
": %s.so\n"
,
$mod
;
printf
NEWMAKE
"\techo \"%s\" >\$\@\n\n"
,
$mod
;
if
(
$count
++
==
3
)
{
printf
NEWMAKE
"\\\n "
;
$count
=
1
;
}
printf
NEWMAKE
"%s16 "
,
$i
;
}
printf
NEWMAKE
": %s/%s.so\n"
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\techo \"%s\" >\$\@\n\n"
,
$mod
;
}
################################################################
# output the import libraries rules
print
NEWMAKE
"
\n
# Import libraries\n\n"
;
print
NEWMAKE
"# Import libraries\n\n"
;
print
NEWMAKE
"STATIC_IMPLIBEXT = \$(IMPLIBEXT:def=def.a)\n\n"
;
my
@lib_symlinks
=
();
...
...
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