Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c2fbb406
Commit
c2fbb406
authored
Mar 10, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not create symlinks for the PE build since they can conflict with
the directory names.
parent
86a8f4cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
14 deletions
+21
-14
Makefile.in
dlls/Makefile.in
+0
-0
make_dlls
dlls/make_dlls
+21
-14
No files found.
dlls/Makefile.in
View file @
c2fbb406
This diff is collapsed.
Click to expand it.
dlls/make_dlls
View file @
c2fbb406
...
@@ -145,11 +145,11 @@ my %targets16 = ();
...
@@ -145,11 +145,11 @@ my %targets16 = ();
foreach
my
$mod
(
sort
keys
%
directories
)
foreach
my
$mod
(
sort
keys
%
directories
)
{
{
next
if
defined
(
$special_dlls
{
$directories
{
$mod
}});
# skip special dlls
next
if
defined
(
$special_dlls
{
$directories
{
$mod
}});
# skip special dlls
$targets
{
$mod
.
"
\$(DLLEXT)
"
}
=
1
;
$targets
{
$mod
.
"
.so
"
}
=
1
;
next
unless
defined
$altnames
{
$mod
};
next
unless
defined
$altnames
{
$mod
};
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
{
{
$targets16
{
sprintf
(
"%s
\$(DLLEXT)
"
,
$i
)}
=
1
;
$targets16
{
sprintf
(
"%s
.so
"
,
$i
)}
=
1
;
}
}
}
}
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
{
$targets
{
$mod
}
=
1
;
}
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
{
$targets
{
$mod
}
=
1
;
}
...
@@ -166,8 +166,8 @@ printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets16 );
...
@@ -166,8 +166,8 @@ printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets16 );
print
NEWMAKE
<<EOF;
print
NEWMAKE
<<EOF;
SYMLINKS = \\
SYMLINKS
_SO
= \\
\$(EXTRADIRS:%=%.dll
\$(DLLEXT)
) \\
\$(EXTRADIRS:%=%.dll
.so
) \\
\@WIN16_FILES\@ \\
\@WIN16_FILES\@ \\
EOF
EOF
printf
NEWMAKE
"\t%s\n"
,
join
(
" \\\n\t"
,
sort
keys
%
targets
);
printf
NEWMAKE
"\t%s\n"
,
join
(
" \\\n\t"
,
sort
keys
%
targets
);
...
@@ -176,7 +176,16 @@ print NEWMAKE <<EOF;
...
@@ -176,7 +176,16 @@ print NEWMAKE <<EOF;
# Main target
# Main target
all: \$(SYMLINKS)
all: symlinks\$(DLLEXT)
.PHONY: symlinks symlinks.so implib
symlinks.so: \$(SYMLINKS_SO)
symlinks: \$(BUILDSUBDIRS)
implib: \$(ALL_IMPORT_LIBS)
EOF
EOF
################################################################
################################################################
...
@@ -190,8 +199,8 @@ EOF
...
@@ -190,8 +199,8 @@ EOF
foreach
my
$mod
(
sort
keys
%
directories
)
foreach
my
$mod
(
sort
keys
%
directories
)
{
{
printf
NEWMAKE
"%s
\$(DLLEXT): %s/%s\$(DLLEXT)
\n"
,
$mod
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"%s
.so: %s/%s.so
\n"
,
$mod
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s
\$(DLLEXT)
\$@\n\n"
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s
.so
\$@\n\n"
,
$directories
{
$mod
},
$mod
;
if
(
defined
$altnames
{
$mod
})
if
(
defined
$altnames
{
$mod
})
{
{
...
@@ -199,10 +208,10 @@ foreach my $mod (sort keys %directories)
...
@@ -199,10 +208,10 @@ foreach my $mod (sort keys %directories)
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
foreach
my
$i
(
sort
@
{
$altnames
{
$mod
}})
{
{
if
(
$count
++
==
3
)
{
printf
NEWMAKE
"\\\n "
;
$count
=
1
;
}
if
(
$count
++
==
3
)
{
printf
NEWMAKE
"\\\n "
;
$count
=
1
;
}
printf
NEWMAKE
"%s
\$(DLLEXT)
"
,
$i
;
printf
NEWMAKE
"%s
.so
"
,
$i
;
}
}
printf
NEWMAKE
": %s
\$(DLLEXT)
\n"
,
$mod
;
printf
NEWMAKE
": %s
.so
\n"
,
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s
\$(DLLEXT)
\$@\n\n"
,
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s
.so
\$@\n\n"
,
$mod
;
}
}
}
}
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
...
@@ -266,7 +275,7 @@ print NEWMAKE "# Map library name to the corresponding directory\n\n";
...
@@ -266,7 +275,7 @@ print NEWMAKE "# Map library name to the corresponding directory\n\n";
foreach
my
$mod
(
sort
keys
%
directories
)
foreach
my
$mod
(
sort
keys
%
directories
)
{
{
printf
NEWMAKE
"%s/%s
\$(DLLEXT)
: %s\n"
,
$directories
{
$mod
},
$mod
,
$directories
{
$mod
};
printf
NEWMAKE
"%s/%s
.so
: %s\n"
,
$directories
{
$mod
},
$mod
,
$directories
{
$mod
};
}
}
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
foreach
my
$mod
(
sort
keys
%
implib_dirs
)
{
{
...
@@ -295,7 +304,7 @@ doc-html: \$(SUBDIRS:%=%/__doc_html__)
...
@@ -295,7 +304,7 @@ doc-html: \$(SUBDIRS:%=%/__doc_html__)
doc-sgml: \$(SUBDIRS:%=%/__doc_sgml__)
doc-sgml: \$(SUBDIRS:%=%/__doc_sgml__)
.PHONY: man doc-html doc-sgml
implib
\$(SUBDIRS:%=%/__man__) \$(SUBDIRS:%=%/__doc_html__) \$(SUBDIRS:%=%/__doc_sgml__)
.PHONY: man doc-html doc-sgml \$(SUBDIRS:%=%/__man__) \$(SUBDIRS:%=%/__doc_html__) \$(SUBDIRS:%=%/__doc_sgml__)
# Misc rules
# Misc rules
...
@@ -309,8 +318,6 @@ uninstall::
...
@@ -309,8 +318,6 @@ uninstall::
\$(RM) \$(ALL_IMPORT_LIBS:%=\$(dlldir)/%)
\$(RM) \$(ALL_IMPORT_LIBS:%=\$(dlldir)/%)
-rmdir \$(dlldir)
-rmdir \$(dlldir)
implib: \$(ALL_IMPORT_LIBS)
clean::
clean::
\$(RM) \$(ALL_IMPORT_LIBS) \$(SYMLINKS)
\$(RM) \$(ALL_IMPORT_LIBS) \$(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