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
ec329ab3
Commit
ec329ab3
authored
May 14, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated make_dlls script for new import scheme.
parent
d919c27a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
58 deletions
+26
-58
Makefile.in
dlls/Makefile.in
+19
-28
make_dlls
dlls/make_dlls
+7
-30
No files found.
dlls/Makefile.in
View file @
ec329ab3
...
...
@@ -521,8 +521,8 @@ avifil32/avifil32.dll$(DLLEXT): dummy msvfw32.dll$(DLLEXT) kernel32.dll$(DLLEXT)
ntdll.dll$(DLLEXT)
@
cd
avifil32
&&
$(MAKE)
avifil32.dll
$(DLLEXT)
comctl32/comctl32.dll$(DLLEXT)
:
dummy
winmm.dll$(DLLEXT) user
32.dll$(DLLEXT)
\
gdi32.dll$(DLLEXT) advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll
.dll$(DLLEXT)
comctl32/comctl32.dll$(DLLEXT)
:
dummy
user32.dll$(DLLEXT) gdi
32.dll$(DLLEXT)
\
advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT) winmm
.dll$(DLLEXT)
@
cd
comctl32
&&
$(MAKE)
comctl32.dll
$(DLLEXT)
commdlg/comdlg32.dll$(DLLEXT)
:
dummy shell32.dll$(DLLEXT) shlwapi.dll$(DLLEXT)
\
...
...
@@ -560,8 +560,8 @@ dplayx/dplayx.dll$(DLLEXT): dummy winmm.dll$(DLLEXT) ole32.dll$(DLLEXT) \
user32.dll$(DLLEXT) advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
dplayx
&&
$(MAKE)
dplayx.dll
$(DLLEXT)
dsound/dsound.dll$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
kernel
32.dll$(DLLEXT)
\
ntdll.dll$(DLLEXT)
dsound/dsound.dll$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
advapi
32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT)
ntdll.dll$(DLLEXT)
@
cd
dsound
&&
$(MAKE)
dsound.dll
$(DLLEXT)
gdi/gdi32.dll$(DLLEXT)
:
dummy advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT)
\
...
...
@@ -600,8 +600,7 @@ msacm/msacm32.dll$(DLLEXT): dummy winmm.dll$(DLLEXT) user32.dll$(DLLEXT) \
advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
msacm
&&
$(MAKE)
msacm32.dll
$(DLLEXT)
msacm/msg711/msg711.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT) user32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
msacm/msg711/msg711.drv$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
@
cd
msacm/msg711
&&
$(MAKE)
msg711.drv
$(DLLEXT)
msdmo/msdmo.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
...
...
@@ -616,8 +615,7 @@ msisys/msisys.ocx$(DLLEXT): dummy ntdll.dll$(DLLEXT)
msnet32/msnet32.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
@
cd
msnet32
&&
$(MAKE)
msnet32.dll
$(DLLEXT)
msrle32/msrle32.dll$(DLLEXT)
:
dummy winmm.dll$(DLLEXT) user32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
msrle32/msrle32.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
@
cd
msrle32
&&
$(MAKE)
msrle32.dll
$(DLLEXT)
msvcrt/msvcrt.dll$(DLLEXT)
:
dummy kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
...
...
@@ -631,8 +629,7 @@ msvideo/msvfw32.dll$(DLLEXT): dummy winmm.dll$(DLLEXT) comctl32.dll$(DLLEXT) \
ntdll.dll$(DLLEXT)
@
cd
msvideo
&&
$(MAKE)
msvfw32.dll
$(DLLEXT)
netapi32/netapi32.dll$(DLLEXT)
:
dummy user32.dll$(DLLEXT) advapi32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
netapi32/netapi32.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
@
cd
netapi32
&&
$(MAKE)
netapi32.dll
$(DLLEXT)
ntdll/ntdll.dll$(DLLEXT)
:
dummy
...
...
@@ -645,9 +642,9 @@ ole32/ole32.dll$(DLLEXT): dummy advapi32.dll$(DLLEXT) user32.dll$(DLLEXT) \
gdi32.dll$(DLLEXT) rpcrt4.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
ole32
&&
$(MAKE)
ole32.dll
$(DLLEXT)
oleaut32/oleaut32.dll$(DLLEXT)
:
dummy
comctl32.dll$(DLLEXT) ole
32.dll$(DLLEXT)
\
user32.dll$(DLLEXT) gdi32.dll$(DLLEXT) advapi32.dll$(DLLEXT) kernel32
.dll$(DLLEXT)
\
ntdll
.dll$(DLLEXT)
oleaut32/oleaut32.dll$(DLLEXT)
:
dummy
ole32.dll$(DLLEXT) user
32.dll$(DLLEXT)
\
gdi32.dll$(DLLEXT) advapi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll
.dll$(DLLEXT)
\
comctl32
.dll$(DLLEXT)
@
cd
oleaut32
&&
$(MAKE)
oleaut32.dll
$(DLLEXT)
olecli/olecli32.dll$(DLLEXT)
:
dummy ole32.dll$(DLLEXT) gdi32.dll$(DLLEXT)
\
...
...
@@ -706,8 +703,8 @@ shell32/shell32.dll$(DLLEXT): dummy ole32.dll$(DLLEXT) shlwapi.dll$(DLLEXT) \
shfolder/shfolder.dll$(DLLEXT)
:
dummy shell32.dll$(DLLEXT)
@
cd
shfolder
&&
$(MAKE)
shfolder.dll
$(DLLEXT)
shlwapi/shlwapi.dll$(DLLEXT)
:
dummy
advapi32.dll$(DLLEXT) user
32.dll$(DLLEXT)
\
gd
i32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
shlwapi/shlwapi.dll$(DLLEXT)
:
dummy
user32.dll$(DLLEXT) gdi
32.dll$(DLLEXT)
\
advap
i32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
shlwapi
&&
$(MAKE)
shlwapi.dll
$(DLLEXT)
snmpapi/snmpapi.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
...
...
@@ -731,8 +728,7 @@ twain/twain_32.dll$(DLLEXT): dummy user32.dll$(DLLEXT) gdi32.dll$(DLLEXT) \
url/url.dll$(DLLEXT)
:
dummy ntdll.dll$(DLLEXT)
@
cd
url
&&
$(MAKE)
url.dll
$(DLLEXT)
urlmon/urlmon.dll$(DLLEXT)
:
dummy ole32.dll$(DLLEXT) kernel32.dll$(DLLEXT)
\
ntdll.dll$(DLLEXT)
urlmon/urlmon.dll$(DLLEXT)
:
dummy ole32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
urlmon
&&
$(MAKE)
urlmon.dll
$(DLLEXT)
user/user32.dll$(DLLEXT)
:
dummy gdi32.dll$(DLLEXT) advapi32.dll$(DLLEXT)
\
...
...
@@ -775,16 +771,16 @@ winmm/mciavi/mciavi.drv$(DLLEXT): dummy msvfw32.dll$(DLLEXT) winmm.dll$(DLLEXT)
user32.dll$(DLLEXT) gdi32.dll$(DLLEXT) kernel32.dll$(DLLEXT) ntdll.dll$(DLLEXT)
@
cd
winmm/mciavi
&&
$(MAKE)
mciavi.drv
$(DLLEXT)
winmm/mcicda/mcicda.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
user
32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll
.dll$(DLLEXT)
winmm/mcicda/mcicda.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
kernel
32.dll$(DLLEXT)
\
ntdll.dll$(DLLEXT) user32
.dll$(DLLEXT)
@
cd
winmm/mcicda
&&
$(MAKE)
mcicda.drv
$(DLLEXT)
winmm/mciseq/mciseq.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
user
32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll
.dll$(DLLEXT)
winmm/mciseq/mciseq.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
kernel
32.dll$(DLLEXT)
\
ntdll.dll$(DLLEXT) user32
.dll$(DLLEXT)
@
cd
winmm/mciseq
&&
$(MAKE)
mciseq.drv
$(DLLEXT)
winmm/mciwave/mciwave.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
user
32.dll$(DLLEXT)
\
kernel32.dll$(DLLEXT) ntdll
.dll$(DLLEXT)
winmm/mciwave/mciwave.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT)
kernel
32.dll$(DLLEXT)
\
ntdll.dll$(DLLEXT) user32
.dll$(DLLEXT)
@
cd
winmm/mciwave
&&
$(MAKE)
mciwave.drv
$(DLLEXT)
winmm/midimap/midimap.drv$(DLLEXT)
:
dummy winmm.dll$(DLLEXT) user32.dll$(DLLEXT)
\
...
...
@@ -852,9 +848,6 @@ libkernel32.dll.$(LIBEXT): kernel/kernel32.dll$(DLLEXT)
$(SUBDIRS
:
%=%/__checklink__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
checklink
$(SUBDIRS
:
%=%/__debug_channels__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
debug_channels
install
::
$(SUBDIRS:%=%/__install__)
uninstall
::
$(SUBDIRS:%=%/__uninstall__)
...
...
@@ -863,5 +856,3 @@ uninstall:: $(SUBDIRS:%=%/__uninstall__)
check test
::
$(SUBDIRS:%=%/__test__)
checklink
::
$(SUBDIRS:%=%/__checklink__)
debug_channels
::
$(SUBDIRS:%=%/__debug_channels__)
dlls/make_dlls
View file @
ec329ab3
...
...
@@ -45,6 +45,7 @@ foreach $i (split(/\s/,$makefiles))
if
(
/^MODULE\s*=\s*([a-zA-Z0-9_.]+)/
)
{
$module
=
$1
;
$imports
{
$module
}
=
[
];
(
$directories
{
$module
}
=
$i
)
=~
s/^\.\/(.*)\/[^\/]+$/$1/
;
next
;
}
...
...
@@ -54,35 +55,16 @@ foreach $i (split(/\s/,$makefiles))
$altnames
{
$module
}
=
\
@list
;
next
;
}
if
(
/^
IMPORTS
\s*=\s*(.*)/
)
if
(
/^
(DELAYIMPORTS|IMPORTS)
\s*=\s*(.*)/
)
{
my
@list
=
split
(
/\s/
,
$1
);
$linked_dlls
{
$module
}
=
\
@list
;
next
;
}
}
}
foreach
$mod
(
sort
keys
%
directories
)
{
my
$dll
=
$mod
;
$dll
=~
s/\.dll$//
;
my
$spec
=
sprintf
(
"%s/%s.spec"
,
$directories
{
$mod
},
$dll
);
open
SPEC
,
$spec
or
die
"cannot open $spec"
;
$imports
{
$mod
}
=
[
];
while
(
<
SPEC
>
)
{
if
(
/^\#?import\s+(-delay\s+)?([a-zA-Z0-9_]+)\.dll/
)
{
my
$imp
=
$2
.
".dll"
;
push
@
{
$imports
{
$mod
}},
$imp
;
my
@list
=
map
{
/\./
?
$_
:
$_
.
".dll"
;
}
split
(
/\s/
,
$2
);
push
@
{
$imports
{
$module
}},
@list
;
next
;
}
if
(
/^
\#?import\s+(-delay\s+)?([a-zA-Z0-9_.]+
)/
)
if
(
/^
LDIMPORTS\s*=\s*(.*
)/
)
{
my
$imp
=
$2
;
$imp
.=
".dll"
unless
(
$imp
=~
/\./
);
push
@
{
$imports
{
$mod
}},
$imp
;
my
@list
=
map
{
/\./
?
$_
:
$_
.
".dll"
;
}
split
(
/\s/
,
$1
);
$linked_dlls
{
$module
}
=
\
@list
;
next
;
}
}
...
...
@@ -249,9 +231,6 @@ print NEWMAKE <<EOF;
\$(SUBDIRS:%=%/__checklink__): dummy
\@cd `dirname \$\@` && \$(MAKE) checklink
\$(SUBDIRS:%=%/__debug_channels__): dummy
\@cd `dirname \$\@` && \$(MAKE) debug_channels
install:: \$(SUBDIRS:%=%/__install__)
uninstall:: \$(SUBDIRS:%=%/__uninstall__)
...
...
@@ -260,8 +239,6 @@ uninstall:: \$(SUBDIRS:%=%/__uninstall__)
check test:: \$(SUBDIRS:%=%/__test__)
checklink:: \$(SUBDIRS:%=%/__checklink__)
debug_channels:: \$(SUBDIRS:%=%/__debug_channels__)
EOF
close
NEWMAKE
;
...
...
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