Commit 26c930b3 authored by Alexandre Julliard's avatar Alexandre Julliard

make_makefiles: Add rules for cross-compiling all import libs from the dlls directory.

parent e9a34e91
...@@ -676,99 +676,237 @@ IMPORT_LIBS = \ ...@@ -676,99 +676,237 @@ IMPORT_LIBS = \
wsock32/libwsock32.$(IMPLIBEXT) \ wsock32/libwsock32.$(IMPLIBEXT) \
wtsapi32/libwtsapi32.$(IMPLIBEXT) wtsapi32/libwtsapi32.$(IMPLIBEXT)
CROSS_IMPLIBS = \
libd3dx9.a \
libwinspool.a \
activeds/libactiveds.a \
advapi32/libadvapi32.a \
advpack/libadvpack.a \
atl/libatl.a \
avicap32/libavicap32.a \
avifil32/libavifil32.a \
cabinet/libcabinet.a \
capi2032/libcapi2032.a \
cards/libcards.a \
cfgmgr32/libcfgmgr32.a \
clusapi/libclusapi.a \
comctl32/libcomctl32.a \
comdlg32/libcomdlg32.a \
compstui/libcompstui.a \
credui/libcredui.a \
crtdll/libcrtdll.a \
crypt32/libcrypt32.a \
cryptdll/libcryptdll.a \
cryptnet/libcryptnet.a \
ctl3d32/libctl3d32.a \
d3d8/libd3d8.a \
d3d9/libd3d9.a \
d3dim/libd3dim.a \
d3drm/libd3drm.a \
d3dx8/libd3dx8.a \
d3dx9_36/libd3dx9.a \
d3dxof/libd3dxof.a \
dbghelp/libdbghelp.a \
dciman32/libdciman32.a \
ddraw/libddraw.a \
dinput8/libdinput8.a \
dmusic32/libdmusic32.a \
dnsapi/libdnsapi.a \
dplay/libdplay.a \
dplayx/libdplayx.a \
dpnet/libdpnet.a \
dsound/libdsound.a \
dwmapi/libdwmapi.a \
gdi32/libgdi32.a \
gdiplus/libgdiplus.a \
glu32/libglu32.a \
hid/libhid.a \
hlink/libhlink.a \
icmp/libicmp.a \
imagehlp/libimagehlp.a \
imm32/libimm32.a \
inetcomm/libinetcomm.a \
iphlpapi/libiphlpapi.a \
kernel32/libkernel32.a \
lz32/liblz32.a \
mapi32/libmapi32.a \
mlang/libmlang.a \
mpr/libmpr.a \
mprapi/libmprapi.a \
msacm32/libmsacm32.a \
mscms/libmscms.a \
msdmo/libmsdmo.a \
mshtml/libmshtml.a \
msi/libmsi.a \
msimg32/libmsimg32.a \
msvcr71/libmsvcr71.a \
msvcrt/libmsvcrt.a \
msvcrt20/libmsvcrt20.a \
msvcrt40/libmsvcrt40.a \
msvcrtd/libmsvcrtd.a \
msvfw32/libmsvfw32.a \
mswsock/libmswsock.a \
nddeapi/libnddeapi.a \
netapi32/libnetapi32.a \
newdev/libnewdev.a \
ntdll/libntdll.a \
ntdsapi/libntdsapi.a \
ntoskrnl.exe/libntoskrnl.exe.a \
odbc32/libodbc32.a \
odbccp32/libodbccp32.a \
ole32/libole32.a \
oleacc/liboleacc.a \
oleaut32/liboleaut32.a \
olecli32/libolecli32.a \
oledlg/liboledlg.a \
olepro32/libolepro32.a \
olesvr32/libolesvr32.a \
opengl32/libopengl32.a \
pdh/libpdh.a \
powrprof/libpowrprof.a \
psapi/libpsapi.a \
quartz/libquartz.a \
rasapi32/librasapi32.a \
resutils/libresutils.a \
riched20/libriched20.a \
rpcrt4/librpcrt4.a \
rsaenh/librsaenh.a \
secur32/libsecur32.a \
sensapi/libsensapi.a \
serialui/libserialui.a \
setupapi/libsetupapi.a \
sfc/libsfc.a \
sfc_os/libsfc_os.a \
shdocvw/libshdocvw.a \
shell32/libshell32.a \
shfolder/libshfolder.a \
shlwapi/libshlwapi.a \
slc/libslc.a \
snmpapi/libsnmpapi.a \
spoolss/libspoolss.a \
sti/libsti.a \
tapi32/libtapi32.a \
unicows/libunicows.a \
url/liburl.a \
urlmon/liburlmon.a \
user32/libuser32.a \
userenv/libuserenv.a \
usp10/libusp10.a \
uxtheme/libuxtheme.a \
vdmdbg/libvdmdbg.a \
version/libversion.a \
wined3d/libwined3d.a \
winedos/libwinedos.a \
winhttp/libwinhttp.a \
wininet/libwininet.a \
winmm/libwinmm.a \
winnls32/libwinnls32.a \
winscard/libwinscard.a \
winspool.drv/libwinspool.a \
wintab32/libwintab32.a \
wintrust/libwintrust.a \
wldap32/libwldap32.a \
wnaspi32/libwnaspi32.a \
wow32/libwow32.a \
ws2_32/libws2_32.a \
wsock32/libwsock32.a \
wtsapi32/libwtsapi32.a
$(TESTSUBDIRS:%=%/__crosstest__): $(CROSS_IMPLIBS)
implib: $(IMPORT_LIBS) implib: $(IMPORT_LIBS)
.PHONY: implib .PHONY: implib
activeds/libactiveds.$(IMPLIBEXT): activeds/activeds.spec $(WINEBUILD) activeds/libactiveds.def activeds/libactiveds.a: activeds/activeds.spec $(WINEBUILD)
@cd activeds && $(MAKE) libactiveds.$(IMPLIBEXT) @cd activeds && $(MAKE) `basename $@`
advapi32/libadvapi32.$(IMPLIBEXT): advapi32/advapi32.spec $(WINEBUILD) advapi32/libadvapi32.def advapi32/libadvapi32.a: advapi32/advapi32.spec $(WINEBUILD)
@cd advapi32 && $(MAKE) libadvapi32.$(IMPLIBEXT) @cd advapi32 && $(MAKE) `basename $@`
advpack/libadvpack.$(IMPLIBEXT): advpack/advpack.spec $(WINEBUILD) advpack/libadvpack.def advpack/libadvpack.a: advpack/advpack.spec $(WINEBUILD)
@cd advpack && $(MAKE) libadvpack.$(IMPLIBEXT) @cd advpack && $(MAKE) `basename $@`
atl/libatl.$(IMPLIBEXT): atl/atl.spec $(WINEBUILD) atl/libatl.def atl/libatl.a: atl/atl.spec $(WINEBUILD)
@cd atl && $(MAKE) libatl.$(IMPLIBEXT) @cd atl && $(MAKE) `basename $@`
avicap32/libavicap32.$(IMPLIBEXT): avicap32/avicap32.spec $(WINEBUILD) avicap32/libavicap32.def avicap32/libavicap32.a: avicap32/avicap32.spec $(WINEBUILD)
@cd avicap32 && $(MAKE) libavicap32.$(IMPLIBEXT) @cd avicap32 && $(MAKE) `basename $@`
avifil32/libavifil32.$(IMPLIBEXT): avifil32/avifil32.spec $(WINEBUILD) avifil32/libavifil32.def avifil32/libavifil32.a: avifil32/avifil32.spec $(WINEBUILD)
@cd avifil32 && $(MAKE) libavifil32.$(IMPLIBEXT) @cd avifil32 && $(MAKE) `basename $@`
cabinet/libcabinet.$(IMPLIBEXT): cabinet/cabinet.spec $(WINEBUILD) cabinet/libcabinet.def cabinet/libcabinet.a: cabinet/cabinet.spec $(WINEBUILD)
@cd cabinet && $(MAKE) libcabinet.$(IMPLIBEXT) @cd cabinet && $(MAKE) `basename $@`
capi2032/libcapi2032.$(IMPLIBEXT): capi2032/capi2032.spec $(WINEBUILD) capi2032/libcapi2032.def capi2032/libcapi2032.a: capi2032/capi2032.spec $(WINEBUILD)
@cd capi2032 && $(MAKE) libcapi2032.$(IMPLIBEXT) @cd capi2032 && $(MAKE) `basename $@`
cards/libcards.$(IMPLIBEXT): cards/cards.spec $(WINEBUILD) cards/libcards.def cards/libcards.a: cards/cards.spec $(WINEBUILD)
@cd cards && $(MAKE) libcards.$(IMPLIBEXT) @cd cards && $(MAKE) `basename $@`
cfgmgr32/libcfgmgr32.$(IMPLIBEXT): cfgmgr32/cfgmgr32.spec $(WINEBUILD) cfgmgr32/libcfgmgr32.def cfgmgr32/libcfgmgr32.a: cfgmgr32/cfgmgr32.spec $(WINEBUILD)
@cd cfgmgr32 && $(MAKE) libcfgmgr32.$(IMPLIBEXT) @cd cfgmgr32 && $(MAKE) `basename $@`
clusapi/libclusapi.$(IMPLIBEXT): clusapi/clusapi.spec $(WINEBUILD) clusapi/libclusapi.def clusapi/libclusapi.a: clusapi/clusapi.spec $(WINEBUILD)
@cd clusapi && $(MAKE) libclusapi.$(IMPLIBEXT) @cd clusapi && $(MAKE) `basename $@`
comctl32/libcomctl32.$(IMPLIBEXT): comctl32/comctl32.spec $(WINEBUILD) comctl32/libcomctl32.def comctl32/libcomctl32.a: comctl32/comctl32.spec $(WINEBUILD)
@cd comctl32 && $(MAKE) libcomctl32.$(IMPLIBEXT) @cd comctl32 && $(MAKE) `basename $@`
comdlg32/libcomdlg32.$(IMPLIBEXT): comdlg32/comdlg32.spec $(WINEBUILD) comdlg32/libcomdlg32.def comdlg32/libcomdlg32.a: comdlg32/comdlg32.spec $(WINEBUILD)
@cd comdlg32 && $(MAKE) libcomdlg32.$(IMPLIBEXT) @cd comdlg32 && $(MAKE) `basename $@`
compstui/libcompstui.$(IMPLIBEXT): compstui/compstui.spec $(WINEBUILD) compstui/libcompstui.def compstui/libcompstui.a: compstui/compstui.spec $(WINEBUILD)
@cd compstui && $(MAKE) libcompstui.$(IMPLIBEXT) @cd compstui && $(MAKE) `basename $@`
credui/libcredui.$(IMPLIBEXT): credui/credui.spec $(WINEBUILD) credui/libcredui.def credui/libcredui.a: credui/credui.spec $(WINEBUILD)
@cd credui && $(MAKE) libcredui.$(IMPLIBEXT) @cd credui && $(MAKE) `basename $@`
crtdll/libcrtdll.$(IMPLIBEXT): crtdll/crtdll.spec $(WINEBUILD) crtdll/libcrtdll.def crtdll/libcrtdll.a: crtdll/crtdll.spec $(WINEBUILD)
@cd crtdll && $(MAKE) libcrtdll.$(IMPLIBEXT) @cd crtdll && $(MAKE) `basename $@`
crypt32/libcrypt32.$(IMPLIBEXT): crypt32/crypt32.spec $(WINEBUILD) crypt32/libcrypt32.def crypt32/libcrypt32.a: crypt32/crypt32.spec $(WINEBUILD)
@cd crypt32 && $(MAKE) libcrypt32.$(IMPLIBEXT) @cd crypt32 && $(MAKE) `basename $@`
cryptdll/libcryptdll.$(IMPLIBEXT): cryptdll/cryptdll.spec $(WINEBUILD) cryptdll/libcryptdll.def cryptdll/libcryptdll.a: cryptdll/cryptdll.spec $(WINEBUILD)
@cd cryptdll && $(MAKE) libcryptdll.$(IMPLIBEXT) @cd cryptdll && $(MAKE) `basename $@`
cryptnet/libcryptnet.$(IMPLIBEXT): cryptnet/cryptnet.spec $(WINEBUILD) cryptnet/libcryptnet.def cryptnet/libcryptnet.a: cryptnet/cryptnet.spec $(WINEBUILD)
@cd cryptnet && $(MAKE) libcryptnet.$(IMPLIBEXT) @cd cryptnet && $(MAKE) `basename $@`
ctl3d32/libctl3d32.$(IMPLIBEXT): ctl3d32/ctl3d32.spec $(WINEBUILD) ctl3d32/libctl3d32.def ctl3d32/libctl3d32.a: ctl3d32/ctl3d32.spec $(WINEBUILD)
@cd ctl3d32 && $(MAKE) libctl3d32.$(IMPLIBEXT) @cd ctl3d32 && $(MAKE) `basename $@`
d3d8/libd3d8.$(IMPLIBEXT): d3d8/d3d8.spec $(WINEBUILD) d3d8/libd3d8.def d3d8/libd3d8.a: d3d8/d3d8.spec $(WINEBUILD)
@cd d3d8 && $(MAKE) libd3d8.$(IMPLIBEXT) @cd d3d8 && $(MAKE) `basename $@`
d3d9/libd3d9.$(IMPLIBEXT): d3d9/d3d9.spec $(WINEBUILD) d3d9/libd3d9.def d3d9/libd3d9.a: d3d9/d3d9.spec $(WINEBUILD)
@cd d3d9 && $(MAKE) libd3d9.$(IMPLIBEXT) @cd d3d9 && $(MAKE) `basename $@`
d3dim/libd3dim.$(IMPLIBEXT): d3dim/d3dim.spec $(WINEBUILD) d3dim/libd3dim.def d3dim/libd3dim.a: d3dim/d3dim.spec $(WINEBUILD)
@cd d3dim && $(MAKE) libd3dim.$(IMPLIBEXT) @cd d3dim && $(MAKE) `basename $@`
d3drm/libd3drm.$(IMPLIBEXT): d3drm/d3drm.spec $(WINEBUILD) d3drm/libd3drm.def d3drm/libd3drm.a: d3drm/d3drm.spec $(WINEBUILD)
@cd d3drm && $(MAKE) libd3drm.$(IMPLIBEXT) @cd d3drm && $(MAKE) `basename $@`
d3dx8/libd3dx8.$(IMPLIBEXT): d3dx8/d3dx8.spec $(WINEBUILD) d3dx8/libd3dx8.def d3dx8/libd3dx8.a: d3dx8/d3dx8.spec $(WINEBUILD)
@cd d3dx8 && $(MAKE) libd3dx8.$(IMPLIBEXT) @cd d3dx8 && $(MAKE) `basename $@`
d3dx9_36/libd3dx9.$(IMPLIBEXT): d3dx9_36/d3dx9_36.spec $(WINEBUILD) d3dx9_36/libd3dx9.def d3dx9_36/libd3dx9.a: d3dx9_36/d3dx9_36.spec $(WINEBUILD)
@cd d3dx9_36 && $(MAKE) libd3dx9.$(IMPLIBEXT) @cd d3dx9_36 && $(MAKE) `basename $@`
d3dxof/libd3dxof.$(IMPLIBEXT): d3dxof/d3dxof.spec $(WINEBUILD) d3dxof/libd3dxof.def d3dxof/libd3dxof.a: d3dxof/d3dxof.spec $(WINEBUILD)
@cd d3dxof && $(MAKE) libd3dxof.$(IMPLIBEXT) @cd d3dxof && $(MAKE) `basename $@`
dbghelp/libdbghelp.$(IMPLIBEXT): dbghelp/dbghelp.spec $(WINEBUILD) dbghelp/libdbghelp.def dbghelp/libdbghelp.a: dbghelp/dbghelp.spec $(WINEBUILD)
@cd dbghelp && $(MAKE) libdbghelp.$(IMPLIBEXT) @cd dbghelp && $(MAKE) `basename $@`
dciman32/libdciman32.$(IMPLIBEXT): dciman32/dciman32.spec $(WINEBUILD) dciman32/libdciman32.def dciman32/libdciman32.a: dciman32/dciman32.spec $(WINEBUILD)
@cd dciman32 && $(MAKE) libdciman32.$(IMPLIBEXT) @cd dciman32 && $(MAKE) `basename $@`
ddraw/libddraw.$(IMPLIBEXT): ddraw/ddraw.spec $(WINEBUILD) ddraw/libddraw.def ddraw/libddraw.a: ddraw/ddraw.spec $(WINEBUILD)
@cd ddraw && $(MAKE) libddraw.$(IMPLIBEXT) @cd ddraw && $(MAKE) `basename $@`
dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD) dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
@cd dinput && $(MAKE) libdinput.def @cd dinput && $(MAKE) libdinput.def
...@@ -776,317 +914,323 @@ dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD) ...@@ -776,317 +914,323 @@ dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
dinput/libdinput.$(STATIC_IMPLIBEXT): dummy dinput/libdinput.$(STATIC_IMPLIBEXT): dummy
@cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT) @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
dinput8/libdinput8.$(IMPLIBEXT): dinput8/dinput8.spec $(WINEBUILD) dinput8/libdinput8.def dinput8/libdinput8.a: dinput8/dinput8.spec $(WINEBUILD)
@cd dinput8 && $(MAKE) libdinput8.$(IMPLIBEXT) @cd dinput8 && $(MAKE) `basename $@`
dmusic32/libdmusic32.def dmusic32/libdmusic32.a: dmusic32/dmusic32.spec $(WINEBUILD)
@cd dmusic32 && $(MAKE) `basename $@`
dnsapi/libdnsapi.def dnsapi/libdnsapi.a: dnsapi/dnsapi.spec $(WINEBUILD)
@cd dnsapi && $(MAKE) `basename $@`
dmusic32/libdmusic32.$(IMPLIBEXT): dmusic32/dmusic32.spec $(WINEBUILD) dplay/libdplay.def dplay/libdplay.a: dplay/dplay.spec $(WINEBUILD)
@cd dmusic32 && $(MAKE) libdmusic32.$(IMPLIBEXT) @cd dplay && $(MAKE) `basename $@`
dnsapi/libdnsapi.$(IMPLIBEXT): dnsapi/dnsapi.spec $(WINEBUILD) dplayx/libdplayx.def dplayx/libdplayx.a: dplayx/dplayx.spec $(WINEBUILD)
@cd dnsapi && $(MAKE) libdnsapi.$(IMPLIBEXT) @cd dplayx && $(MAKE) `basename $@`
dplay/libdplay.$(IMPLIBEXT): dplay/dplay.spec $(WINEBUILD) dpnet/libdpnet.def dpnet/libdpnet.a: dpnet/dpnet.spec $(WINEBUILD)
@cd dplay && $(MAKE) libdplay.$(IMPLIBEXT) @cd dpnet && $(MAKE) `basename $@`
dplayx/libdplayx.$(IMPLIBEXT): dplayx/dplayx.spec $(WINEBUILD) dsound/libdsound.def dsound/libdsound.a: dsound/dsound.spec $(WINEBUILD)
@cd dplayx && $(MAKE) libdplayx.$(IMPLIBEXT) @cd dsound && $(MAKE) `basename $@`
dpnet/libdpnet.$(IMPLIBEXT): dpnet/dpnet.spec $(WINEBUILD) dwmapi/libdwmapi.def dwmapi/libdwmapi.a: dwmapi/dwmapi.spec $(WINEBUILD)
@cd dpnet && $(MAKE) libdpnet.$(IMPLIBEXT) @cd dwmapi && $(MAKE) `basename $@`
dsound/libdsound.$(IMPLIBEXT): dsound/dsound.spec $(WINEBUILD) gdi32/libgdi32.def gdi32/libgdi32.a: gdi32/gdi32.spec $(WINEBUILD)
@cd dsound && $(MAKE) libdsound.$(IMPLIBEXT) @cd gdi32 && $(MAKE) `basename $@`
dwmapi/libdwmapi.$(IMPLIBEXT): dwmapi/dwmapi.spec $(WINEBUILD) gdiplus/libgdiplus.def gdiplus/libgdiplus.a: gdiplus/gdiplus.spec $(WINEBUILD)
@cd dwmapi && $(MAKE) libdwmapi.$(IMPLIBEXT) @cd gdiplus && $(MAKE) `basename $@`
gdi32/libgdi32.$(IMPLIBEXT): gdi32/gdi32.spec $(WINEBUILD) glu32/libglu32.def glu32/libglu32.a: glu32/glu32.spec $(WINEBUILD)
@cd gdi32 && $(MAKE) libgdi32.$(IMPLIBEXT) @cd glu32 && $(MAKE) `basename $@`
gdiplus/libgdiplus.$(IMPLIBEXT): gdiplus/gdiplus.spec $(WINEBUILD) hid/libhid.def hid/libhid.a: hid/hid.spec $(WINEBUILD)
@cd gdiplus && $(MAKE) libgdiplus.$(IMPLIBEXT) @cd hid && $(MAKE) `basename $@`
glu32/libglu32.$(IMPLIBEXT): glu32/glu32.spec $(WINEBUILD) hlink/libhlink.def hlink/libhlink.a: hlink/hlink.spec $(WINEBUILD)
@cd glu32 && $(MAKE) libglu32.$(IMPLIBEXT) @cd hlink && $(MAKE) `basename $@`
hid/libhid.$(IMPLIBEXT): hid/hid.spec $(WINEBUILD) icmp/libicmp.def icmp/libicmp.a: icmp/icmp.spec $(WINEBUILD)
@cd hid && $(MAKE) libhid.$(IMPLIBEXT) @cd icmp && $(MAKE) `basename $@`
hlink/libhlink.$(IMPLIBEXT): hlink/hlink.spec $(WINEBUILD) imagehlp/libimagehlp.def imagehlp/libimagehlp.a: imagehlp/imagehlp.spec $(WINEBUILD)
@cd hlink && $(MAKE) libhlink.$(IMPLIBEXT) @cd imagehlp && $(MAKE) `basename $@`
icmp/libicmp.$(IMPLIBEXT): icmp/icmp.spec $(WINEBUILD) imm32/libimm32.def imm32/libimm32.a: imm32/imm32.spec $(WINEBUILD)
@cd icmp && $(MAKE) libicmp.$(IMPLIBEXT) @cd imm32 && $(MAKE) `basename $@`
imagehlp/libimagehlp.$(IMPLIBEXT): imagehlp/imagehlp.spec $(WINEBUILD) inetcomm/libinetcomm.def inetcomm/libinetcomm.a: inetcomm/inetcomm.spec $(WINEBUILD)
@cd imagehlp && $(MAKE) libimagehlp.$(IMPLIBEXT) @cd inetcomm && $(MAKE) `basename $@`
imm32/libimm32.$(IMPLIBEXT): imm32/imm32.spec $(WINEBUILD) iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a: iphlpapi/iphlpapi.spec $(WINEBUILD)
@cd imm32 && $(MAKE) libimm32.$(IMPLIBEXT) @cd iphlpapi && $(MAKE) `basename $@`
inetcomm/libinetcomm.$(IMPLIBEXT): inetcomm/inetcomm.spec $(WINEBUILD) kernel32/libkernel32.def kernel32/libkernel32.a: kernel32/kernel32.spec $(WINEBUILD)
@cd inetcomm && $(MAKE) libinetcomm.$(IMPLIBEXT) @cd kernel32 && $(MAKE) `basename $@`
iphlpapi/libiphlpapi.$(IMPLIBEXT): iphlpapi/iphlpapi.spec $(WINEBUILD) lz32/liblz32.def lz32/liblz32.a: lz32/lz32.spec $(WINEBUILD)
@cd iphlpapi && $(MAKE) libiphlpapi.$(IMPLIBEXT) @cd lz32 && $(MAKE) `basename $@`
kernel32/libkernel32.$(IMPLIBEXT): kernel32/kernel32.spec $(WINEBUILD) mapi32/libmapi32.def mapi32/libmapi32.a: mapi32/mapi32.spec $(WINEBUILD)
@cd kernel32 && $(MAKE) libkernel32.$(IMPLIBEXT) @cd mapi32 && $(MAKE) `basename $@`
lz32/liblz32.$(IMPLIBEXT): lz32/lz32.spec $(WINEBUILD) mlang/libmlang.def mlang/libmlang.a: mlang/mlang.spec $(WINEBUILD)
@cd lz32 && $(MAKE) liblz32.$(IMPLIBEXT) @cd mlang && $(MAKE) `basename $@`
mapi32/libmapi32.$(IMPLIBEXT): mapi32/mapi32.spec $(WINEBUILD) mpr/libmpr.def mpr/libmpr.a: mpr/mpr.spec $(WINEBUILD)
@cd mapi32 && $(MAKE) libmapi32.$(IMPLIBEXT) @cd mpr && $(MAKE) `basename $@`
mlang/libmlang.$(IMPLIBEXT): mlang/mlang.spec $(WINEBUILD) mprapi/libmprapi.def mprapi/libmprapi.a: mprapi/mprapi.spec $(WINEBUILD)
@cd mlang && $(MAKE) libmlang.$(IMPLIBEXT) @cd mprapi && $(MAKE) `basename $@`
mpr/libmpr.$(IMPLIBEXT): mpr/mpr.spec $(WINEBUILD) msacm32/libmsacm32.def msacm32/libmsacm32.a: msacm32/msacm32.spec $(WINEBUILD)
@cd mpr && $(MAKE) libmpr.$(IMPLIBEXT) @cd msacm32 && $(MAKE) `basename $@`
mprapi/libmprapi.$(IMPLIBEXT): mprapi/mprapi.spec $(WINEBUILD) mscms/libmscms.def mscms/libmscms.a: mscms/mscms.spec $(WINEBUILD)
@cd mprapi && $(MAKE) libmprapi.$(IMPLIBEXT) @cd mscms && $(MAKE) `basename $@`
msacm32/libmsacm32.$(IMPLIBEXT): msacm32/msacm32.spec $(WINEBUILD) msdmo/libmsdmo.def msdmo/libmsdmo.a: msdmo/msdmo.spec $(WINEBUILD)
@cd msacm32 && $(MAKE) libmsacm32.$(IMPLIBEXT) @cd msdmo && $(MAKE) `basename $@`
mscms/libmscms.$(IMPLIBEXT): mscms/mscms.spec $(WINEBUILD) mshtml/libmshtml.def mshtml/libmshtml.a: mshtml/mshtml.spec $(WINEBUILD)
@cd mscms && $(MAKE) libmscms.$(IMPLIBEXT) @cd mshtml && $(MAKE) `basename $@`
msdmo/libmsdmo.$(IMPLIBEXT): msdmo/msdmo.spec $(WINEBUILD) msi/libmsi.def msi/libmsi.a: msi/msi.spec $(WINEBUILD)
@cd msdmo && $(MAKE) libmsdmo.$(IMPLIBEXT) @cd msi && $(MAKE) `basename $@`
mshtml/libmshtml.$(IMPLIBEXT): mshtml/mshtml.spec $(WINEBUILD) msimg32/libmsimg32.def msimg32/libmsimg32.a: msimg32/msimg32.spec $(WINEBUILD)
@cd mshtml && $(MAKE) libmshtml.$(IMPLIBEXT) @cd msimg32 && $(MAKE) `basename $@`
msi/libmsi.$(IMPLIBEXT): msi/msi.spec $(WINEBUILD) msvcr71/libmsvcr71.def msvcr71/libmsvcr71.a: msvcr71/msvcr71.spec $(WINEBUILD)
@cd msi && $(MAKE) libmsi.$(IMPLIBEXT) @cd msvcr71 && $(MAKE) `basename $@`
msimg32/libmsimg32.$(IMPLIBEXT): msimg32/msimg32.spec $(WINEBUILD) msvcrt/libmsvcrt.def msvcrt/libmsvcrt.a: msvcrt/msvcrt.spec $(WINEBUILD)
@cd msimg32 && $(MAKE) libmsimg32.$(IMPLIBEXT) @cd msvcrt && $(MAKE) `basename $@`
msvcr71/libmsvcr71.$(IMPLIBEXT): msvcr71/msvcr71.spec $(WINEBUILD) msvcrt20/libmsvcrt20.def msvcrt20/libmsvcrt20.a: msvcrt20/msvcrt20.spec $(WINEBUILD)
@cd msvcr71 && $(MAKE) libmsvcr71.$(IMPLIBEXT) @cd msvcrt20 && $(MAKE) `basename $@`
msvcrt/libmsvcrt.$(IMPLIBEXT): msvcrt/msvcrt.spec $(WINEBUILD) msvcrt40/libmsvcrt40.def msvcrt40/libmsvcrt40.a: msvcrt40/msvcrt40.spec $(WINEBUILD)
@cd msvcrt && $(MAKE) libmsvcrt.$(IMPLIBEXT) @cd msvcrt40 && $(MAKE) `basename $@`
msvcrt20/libmsvcrt20.$(IMPLIBEXT): msvcrt20/msvcrt20.spec $(WINEBUILD) msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.a: msvcrtd/msvcrtd.spec $(WINEBUILD)
@cd msvcrt20 && $(MAKE) libmsvcrt20.$(IMPLIBEXT) @cd msvcrtd && $(MAKE) `basename $@`
msvcrt40/libmsvcrt40.$(IMPLIBEXT): msvcrt40/msvcrt40.spec $(WINEBUILD) msvfw32/libmsvfw32.def msvfw32/libmsvfw32.a: msvfw32/msvfw32.spec $(WINEBUILD)
@cd msvcrt40 && $(MAKE) libmsvcrt40.$(IMPLIBEXT) @cd msvfw32 && $(MAKE) `basename $@`
msvcrtd/libmsvcrtd.$(IMPLIBEXT): msvcrtd/msvcrtd.spec $(WINEBUILD) mswsock/libmswsock.def mswsock/libmswsock.a: mswsock/mswsock.spec $(WINEBUILD)
@cd msvcrtd && $(MAKE) libmsvcrtd.$(IMPLIBEXT) @cd mswsock && $(MAKE) `basename $@`
msvfw32/libmsvfw32.$(IMPLIBEXT): msvfw32/msvfw32.spec $(WINEBUILD) nddeapi/libnddeapi.def nddeapi/libnddeapi.a: nddeapi/nddeapi.spec $(WINEBUILD)
@cd msvfw32 && $(MAKE) libmsvfw32.$(IMPLIBEXT) @cd nddeapi && $(MAKE) `basename $@`
mswsock/libmswsock.$(IMPLIBEXT): mswsock/mswsock.spec $(WINEBUILD) netapi32/libnetapi32.def netapi32/libnetapi32.a: netapi32/netapi32.spec $(WINEBUILD)
@cd mswsock && $(MAKE) libmswsock.$(IMPLIBEXT) @cd netapi32 && $(MAKE) `basename $@`
nddeapi/libnddeapi.$(IMPLIBEXT): nddeapi/nddeapi.spec $(WINEBUILD) newdev/libnewdev.def newdev/libnewdev.a: newdev/newdev.spec $(WINEBUILD)
@cd nddeapi && $(MAKE) libnddeapi.$(IMPLIBEXT) @cd newdev && $(MAKE) `basename $@`
netapi32/libnetapi32.$(IMPLIBEXT): netapi32/netapi32.spec $(WINEBUILD) ntdll/libntdll.def ntdll/libntdll.a: ntdll/ntdll.spec $(WINEBUILD)
@cd netapi32 && $(MAKE) libnetapi32.$(IMPLIBEXT) @cd ntdll && $(MAKE) `basename $@`
newdev/libnewdev.$(IMPLIBEXT): newdev/newdev.spec $(WINEBUILD) ntdsapi/libntdsapi.def ntdsapi/libntdsapi.a: ntdsapi/ntdsapi.spec $(WINEBUILD)
@cd newdev && $(MAKE) libnewdev.$(IMPLIBEXT) @cd ntdsapi && $(MAKE) `basename $@`
ntdll/libntdll.$(IMPLIBEXT): ntdll/ntdll.spec $(WINEBUILD) ntoskrnl.exe/libntoskrnl.exe.def ntoskrnl.exe/libntoskrnl.exe.a: ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD)
@cd ntdll && $(MAKE) libntdll.$(IMPLIBEXT) @cd ntoskrnl.exe && $(MAKE) `basename $@`
ntdsapi/libntdsapi.$(IMPLIBEXT): ntdsapi/ntdsapi.spec $(WINEBUILD) odbc32/libodbc32.def odbc32/libodbc32.a: odbc32/odbc32.spec $(WINEBUILD)
@cd ntdsapi && $(MAKE) libntdsapi.$(IMPLIBEXT) @cd odbc32 && $(MAKE) `basename $@`
ntoskrnl.exe/libntoskrnl.exe.$(IMPLIBEXT): ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD) odbccp32/libodbccp32.def odbccp32/libodbccp32.a: odbccp32/odbccp32.spec $(WINEBUILD)
@cd ntoskrnl.exe && $(MAKE) libntoskrnl.exe.$(IMPLIBEXT) @cd odbccp32 && $(MAKE) `basename $@`
odbc32/libodbc32.$(IMPLIBEXT): odbc32/odbc32.spec $(WINEBUILD) ole32/libole32.def ole32/libole32.a: ole32/ole32.spec $(WINEBUILD)
@cd odbc32 && $(MAKE) libodbc32.$(IMPLIBEXT) @cd ole32 && $(MAKE) `basename $@`
odbccp32/libodbccp32.$(IMPLIBEXT): odbccp32/odbccp32.spec $(WINEBUILD) oleacc/liboleacc.def oleacc/liboleacc.a: oleacc/oleacc.spec $(WINEBUILD)
@cd odbccp32 && $(MAKE) libodbccp32.$(IMPLIBEXT) @cd oleacc && $(MAKE) `basename $@`
ole32/libole32.$(IMPLIBEXT): ole32/ole32.spec $(WINEBUILD) oleaut32/liboleaut32.def oleaut32/liboleaut32.a: oleaut32/oleaut32.spec $(WINEBUILD)
@cd ole32 && $(MAKE) libole32.$(IMPLIBEXT) @cd oleaut32 && $(MAKE) `basename $@`
oleacc/liboleacc.$(IMPLIBEXT): oleacc/oleacc.spec $(WINEBUILD) olecli32/libolecli32.def olecli32/libolecli32.a: olecli32/olecli32.spec $(WINEBUILD)
@cd oleacc && $(MAKE) liboleacc.$(IMPLIBEXT) @cd olecli32 && $(MAKE) `basename $@`
oleaut32/liboleaut32.$(IMPLIBEXT): oleaut32/oleaut32.spec $(WINEBUILD) oledlg/liboledlg.def oledlg/liboledlg.a: oledlg/oledlg.spec $(WINEBUILD)
@cd oleaut32 && $(MAKE) liboleaut32.$(IMPLIBEXT) @cd oledlg && $(MAKE) `basename $@`
olecli32/libolecli32.$(IMPLIBEXT): olecli32/olecli32.spec $(WINEBUILD) olepro32/libolepro32.def olepro32/libolepro32.a: olepro32/olepro32.spec $(WINEBUILD)
@cd olecli32 && $(MAKE) libolecli32.$(IMPLIBEXT) @cd olepro32 && $(MAKE) `basename $@`
oledlg/liboledlg.$(IMPLIBEXT): oledlg/oledlg.spec $(WINEBUILD) olesvr32/libolesvr32.def olesvr32/libolesvr32.a: olesvr32/olesvr32.spec $(WINEBUILD)
@cd oledlg && $(MAKE) liboledlg.$(IMPLIBEXT) @cd olesvr32 && $(MAKE) `basename $@`
olepro32/libolepro32.$(IMPLIBEXT): olepro32/olepro32.spec $(WINEBUILD) opengl32/libopengl32.def opengl32/libopengl32.a: opengl32/opengl32.spec $(WINEBUILD)
@cd olepro32 && $(MAKE) libolepro32.$(IMPLIBEXT) @cd opengl32 && $(MAKE) `basename $@`
olesvr32/libolesvr32.$(IMPLIBEXT): olesvr32/olesvr32.spec $(WINEBUILD) pdh/libpdh.def pdh/libpdh.a: pdh/pdh.spec $(WINEBUILD)
@cd olesvr32 && $(MAKE) libolesvr32.$(IMPLIBEXT) @cd pdh && $(MAKE) `basename $@`
opengl32/libopengl32.$(IMPLIBEXT): opengl32/opengl32.spec $(WINEBUILD) powrprof/libpowrprof.def powrprof/libpowrprof.a: powrprof/powrprof.spec $(WINEBUILD)
@cd opengl32 && $(MAKE) libopengl32.$(IMPLIBEXT) @cd powrprof && $(MAKE) `basename $@`
pdh/libpdh.$(IMPLIBEXT): pdh/pdh.spec $(WINEBUILD) psapi/libpsapi.def psapi/libpsapi.a: psapi/psapi.spec $(WINEBUILD)
@cd pdh && $(MAKE) libpdh.$(IMPLIBEXT) @cd psapi && $(MAKE) `basename $@`
powrprof/libpowrprof.$(IMPLIBEXT): powrprof/powrprof.spec $(WINEBUILD) quartz/libquartz.def quartz/libquartz.a: quartz/quartz.spec $(WINEBUILD)
@cd powrprof && $(MAKE) libpowrprof.$(IMPLIBEXT) @cd quartz && $(MAKE) `basename $@`
psapi/libpsapi.$(IMPLIBEXT): psapi/psapi.spec $(WINEBUILD) rasapi32/librasapi32.def rasapi32/librasapi32.a: rasapi32/rasapi32.spec $(WINEBUILD)
@cd psapi && $(MAKE) libpsapi.$(IMPLIBEXT) @cd rasapi32 && $(MAKE) `basename $@`
quartz/libquartz.$(IMPLIBEXT): quartz/quartz.spec $(WINEBUILD) resutils/libresutils.def resutils/libresutils.a: resutils/resutils.spec $(WINEBUILD)
@cd quartz && $(MAKE) libquartz.$(IMPLIBEXT) @cd resutils && $(MAKE) `basename $@`
rasapi32/librasapi32.$(IMPLIBEXT): rasapi32/rasapi32.spec $(WINEBUILD) riched20/libriched20.def riched20/libriched20.a: riched20/riched20.spec $(WINEBUILD)
@cd rasapi32 && $(MAKE) librasapi32.$(IMPLIBEXT) @cd riched20 && $(MAKE) `basename $@`
resutils/libresutils.$(IMPLIBEXT): resutils/resutils.spec $(WINEBUILD) rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
@cd resutils && $(MAKE) libresutils.$(IMPLIBEXT) @cd rpcrt4 && $(MAKE) `basename $@`
riched20/libriched20.$(IMPLIBEXT): riched20/riched20.spec $(WINEBUILD) rsaenh/librsaenh.def rsaenh/librsaenh.a: rsaenh/rsaenh.spec $(WINEBUILD)
@cd riched20 && $(MAKE) libriched20.$(IMPLIBEXT) @cd rsaenh && $(MAKE) `basename $@`
rpcrt4/librpcrt4.$(IMPLIBEXT): rpcrt4/rpcrt4.spec $(WINEBUILD) secur32/libsecur32.def secur32/libsecur32.a: secur32/secur32.spec $(WINEBUILD)
@cd rpcrt4 && $(MAKE) librpcrt4.$(IMPLIBEXT) @cd secur32 && $(MAKE) `basename $@`
rsaenh/librsaenh.$(IMPLIBEXT): rsaenh/rsaenh.spec $(WINEBUILD) sensapi/libsensapi.def sensapi/libsensapi.a: sensapi/sensapi.spec $(WINEBUILD)
@cd rsaenh && $(MAKE) librsaenh.$(IMPLIBEXT) @cd sensapi && $(MAKE) `basename $@`
secur32/libsecur32.$(IMPLIBEXT): secur32/secur32.spec $(WINEBUILD) serialui/libserialui.def serialui/libserialui.a: serialui/serialui.spec $(WINEBUILD)
@cd secur32 && $(MAKE) libsecur32.$(IMPLIBEXT) @cd serialui && $(MAKE) `basename $@`
sensapi/libsensapi.$(IMPLIBEXT): sensapi/sensapi.spec $(WINEBUILD) setupapi/libsetupapi.def setupapi/libsetupapi.a: setupapi/setupapi.spec $(WINEBUILD)
@cd sensapi && $(MAKE) libsensapi.$(IMPLIBEXT) @cd setupapi && $(MAKE) `basename $@`
serialui/libserialui.$(IMPLIBEXT): serialui/serialui.spec $(WINEBUILD) sfc/libsfc.def sfc/libsfc.a: sfc/sfc.spec $(WINEBUILD)
@cd serialui && $(MAKE) libserialui.$(IMPLIBEXT) @cd sfc && $(MAKE) `basename $@`
setupapi/libsetupapi.$(IMPLIBEXT): setupapi/setupapi.spec $(WINEBUILD) sfc_os/libsfc_os.def sfc_os/libsfc_os.a: sfc_os/sfc_os.spec $(WINEBUILD)
@cd setupapi && $(MAKE) libsetupapi.$(IMPLIBEXT) @cd sfc_os && $(MAKE) `basename $@`
sfc/libsfc.$(IMPLIBEXT): sfc/sfc.spec $(WINEBUILD) shdocvw/libshdocvw.def shdocvw/libshdocvw.a: shdocvw/shdocvw.spec $(WINEBUILD)
@cd sfc && $(MAKE) libsfc.$(IMPLIBEXT) @cd shdocvw && $(MAKE) `basename $@`
sfc_os/libsfc_os.$(IMPLIBEXT): sfc_os/sfc_os.spec $(WINEBUILD) shell32/libshell32.def shell32/libshell32.a: shell32/shell32.spec $(WINEBUILD)
@cd sfc_os && $(MAKE) libsfc_os.$(IMPLIBEXT) @cd shell32 && $(MAKE) `basename $@`
shdocvw/libshdocvw.$(IMPLIBEXT): shdocvw/shdocvw.spec $(WINEBUILD) shfolder/libshfolder.def shfolder/libshfolder.a: shfolder/shfolder.spec $(WINEBUILD)
@cd shdocvw && $(MAKE) libshdocvw.$(IMPLIBEXT) @cd shfolder && $(MAKE) `basename $@`
shell32/libshell32.$(IMPLIBEXT): shell32/shell32.spec $(WINEBUILD) shlwapi/libshlwapi.def shlwapi/libshlwapi.a: shlwapi/shlwapi.spec $(WINEBUILD)
@cd shell32 && $(MAKE) libshell32.$(IMPLIBEXT) @cd shlwapi && $(MAKE) `basename $@`
shfolder/libshfolder.$(IMPLIBEXT): shfolder/shfolder.spec $(WINEBUILD) slc/libslc.def slc/libslc.a: slc/slc.spec $(WINEBUILD)
@cd shfolder && $(MAKE) libshfolder.$(IMPLIBEXT) @cd slc && $(MAKE) `basename $@`
shlwapi/libshlwapi.$(IMPLIBEXT): shlwapi/shlwapi.spec $(WINEBUILD) snmpapi/libsnmpapi.def snmpapi/libsnmpapi.a: snmpapi/snmpapi.spec $(WINEBUILD)
@cd shlwapi && $(MAKE) libshlwapi.$(IMPLIBEXT) @cd snmpapi && $(MAKE) `basename $@`
slc/libslc.$(IMPLIBEXT): slc/slc.spec $(WINEBUILD) spoolss/libspoolss.def spoolss/libspoolss.a: spoolss/spoolss.spec $(WINEBUILD)
@cd slc && $(MAKE) libslc.$(IMPLIBEXT) @cd spoolss && $(MAKE) `basename $@`
snmpapi/libsnmpapi.$(IMPLIBEXT): snmpapi/snmpapi.spec $(WINEBUILD) sti/libsti.def sti/libsti.a: sti/sti.spec $(WINEBUILD)
@cd snmpapi && $(MAKE) libsnmpapi.$(IMPLIBEXT) @cd sti && $(MAKE) `basename $@`
spoolss/libspoolss.$(IMPLIBEXT): spoolss/spoolss.spec $(WINEBUILD) tapi32/libtapi32.def tapi32/libtapi32.a: tapi32/tapi32.spec $(WINEBUILD)
@cd spoolss && $(MAKE) libspoolss.$(IMPLIBEXT) @cd tapi32 && $(MAKE) `basename $@`
sti/libsti.$(IMPLIBEXT): sti/sti.spec $(WINEBUILD) unicows/libunicows.def unicows/libunicows.a: unicows/unicows.spec $(WINEBUILD)
@cd sti && $(MAKE) libsti.$(IMPLIBEXT) @cd unicows && $(MAKE) `basename $@`
tapi32/libtapi32.$(IMPLIBEXT): tapi32/tapi32.spec $(WINEBUILD) url/liburl.def url/liburl.a: url/url.spec $(WINEBUILD)
@cd tapi32 && $(MAKE) libtapi32.$(IMPLIBEXT) @cd url && $(MAKE) `basename $@`
unicows/libunicows.$(IMPLIBEXT): unicows/unicows.spec $(WINEBUILD) urlmon/liburlmon.def urlmon/liburlmon.a: urlmon/urlmon.spec $(WINEBUILD)
@cd unicows && $(MAKE) libunicows.$(IMPLIBEXT) @cd urlmon && $(MAKE) `basename $@`
url/liburl.$(IMPLIBEXT): url/url.spec $(WINEBUILD) user32/libuser32.def user32/libuser32.a: user32/user32.spec $(WINEBUILD)
@cd url && $(MAKE) liburl.$(IMPLIBEXT) @cd user32 && $(MAKE) `basename $@`
urlmon/liburlmon.$(IMPLIBEXT): urlmon/urlmon.spec $(WINEBUILD) userenv/libuserenv.def userenv/libuserenv.a: userenv/userenv.spec $(WINEBUILD)
@cd urlmon && $(MAKE) liburlmon.$(IMPLIBEXT) @cd userenv && $(MAKE) `basename $@`
user32/libuser32.$(IMPLIBEXT): user32/user32.spec $(WINEBUILD) usp10/libusp10.def usp10/libusp10.a: usp10/usp10.spec $(WINEBUILD)
@cd user32 && $(MAKE) libuser32.$(IMPLIBEXT) @cd usp10 && $(MAKE) `basename $@`
userenv/libuserenv.$(IMPLIBEXT): userenv/userenv.spec $(WINEBUILD) uxtheme/libuxtheme.def uxtheme/libuxtheme.a: uxtheme/uxtheme.spec $(WINEBUILD)
@cd userenv && $(MAKE) libuserenv.$(IMPLIBEXT) @cd uxtheme && $(MAKE) `basename $@`
usp10/libusp10.$(IMPLIBEXT): usp10/usp10.spec $(WINEBUILD) vdmdbg/libvdmdbg.def vdmdbg/libvdmdbg.a: vdmdbg/vdmdbg.spec $(WINEBUILD)
@cd usp10 && $(MAKE) libusp10.$(IMPLIBEXT) @cd vdmdbg && $(MAKE) `basename $@`
uxtheme/libuxtheme.$(IMPLIBEXT): uxtheme/uxtheme.spec $(WINEBUILD) version/libversion.def version/libversion.a: version/version.spec $(WINEBUILD)
@cd uxtheme && $(MAKE) libuxtheme.$(IMPLIBEXT) @cd version && $(MAKE) `basename $@`
vdmdbg/libvdmdbg.$(IMPLIBEXT): vdmdbg/vdmdbg.spec $(WINEBUILD) wined3d/libwined3d.def wined3d/libwined3d.a: wined3d/wined3d.spec $(WINEBUILD)
@cd vdmdbg && $(MAKE) libvdmdbg.$(IMPLIBEXT) @cd wined3d && $(MAKE) `basename $@`
version/libversion.$(IMPLIBEXT): version/version.spec $(WINEBUILD) winedos/libwinedos.def winedos/libwinedos.a: winedos/winedos.spec $(WINEBUILD)
@cd version && $(MAKE) libversion.$(IMPLIBEXT) @cd winedos && $(MAKE) `basename $@`
wined3d/libwined3d.$(IMPLIBEXT): wined3d/wined3d.spec $(WINEBUILD) winhttp/libwinhttp.def winhttp/libwinhttp.a: winhttp/winhttp.spec $(WINEBUILD)
@cd wined3d && $(MAKE) libwined3d.$(IMPLIBEXT) @cd winhttp && $(MAKE) `basename $@`
winedos/libwinedos.$(IMPLIBEXT): winedos/winedos.spec $(WINEBUILD) wininet/libwininet.def wininet/libwininet.a: wininet/wininet.spec $(WINEBUILD)
@cd winedos && $(MAKE) libwinedos.$(IMPLIBEXT) @cd wininet && $(MAKE) `basename $@`
winhttp/libwinhttp.$(IMPLIBEXT): winhttp/winhttp.spec $(WINEBUILD) winmm/libwinmm.def winmm/libwinmm.a: winmm/winmm.spec $(WINEBUILD)
@cd winhttp && $(MAKE) libwinhttp.$(IMPLIBEXT) @cd winmm && $(MAKE) `basename $@`
wininet/libwininet.$(IMPLIBEXT): wininet/wininet.spec $(WINEBUILD) winnls32/libwinnls32.def winnls32/libwinnls32.a: winnls32/winnls32.spec $(WINEBUILD)
@cd wininet && $(MAKE) libwininet.$(IMPLIBEXT) @cd winnls32 && $(MAKE) `basename $@`
winmm/libwinmm.$(IMPLIBEXT): winmm/winmm.spec $(WINEBUILD) winscard/libwinscard.def winscard/libwinscard.a: winscard/winscard.spec $(WINEBUILD)
@cd winmm && $(MAKE) libwinmm.$(IMPLIBEXT) @cd winscard && $(MAKE) `basename $@`
winnls32/libwinnls32.$(IMPLIBEXT): winnls32/winnls32.spec $(WINEBUILD) winspool.drv/libwinspool.def winspool.drv/libwinspool.a: winspool.drv/winspool.drv.spec $(WINEBUILD)
@cd winnls32 && $(MAKE) libwinnls32.$(IMPLIBEXT) @cd winspool.drv && $(MAKE) `basename $@`
winscard/libwinscard.$(IMPLIBEXT): winscard/winscard.spec $(WINEBUILD) wintab32/libwintab32.def wintab32/libwintab32.a: wintab32/wintab32.spec $(WINEBUILD)
@cd winscard && $(MAKE) libwinscard.$(IMPLIBEXT) @cd wintab32 && $(MAKE) `basename $@`
winspool.drv/libwinspool.$(IMPLIBEXT): winspool.drv/winspool.drv.spec $(WINEBUILD) wintrust/libwintrust.def wintrust/libwintrust.a: wintrust/wintrust.spec $(WINEBUILD)
@cd winspool.drv && $(MAKE) libwinspool.$(IMPLIBEXT) @cd wintrust && $(MAKE) `basename $@`
wintab32/libwintab32.$(IMPLIBEXT): wintab32/wintab32.spec $(WINEBUILD) wldap32/libwldap32.def wldap32/libwldap32.a: wldap32/wldap32.spec $(WINEBUILD)
@cd wintab32 && $(MAKE) libwintab32.$(IMPLIBEXT) @cd wldap32 && $(MAKE) `basename $@`
wintrust/libwintrust.$(IMPLIBEXT): wintrust/wintrust.spec $(WINEBUILD) wnaspi32/libwnaspi32.def wnaspi32/libwnaspi32.a: wnaspi32/wnaspi32.spec $(WINEBUILD)
@cd wintrust && $(MAKE) libwintrust.$(IMPLIBEXT) @cd wnaspi32 && $(MAKE) `basename $@`
wldap32/libwldap32.$(IMPLIBEXT): wldap32/wldap32.spec $(WINEBUILD) wow32/libwow32.def wow32/libwow32.a: wow32/wow32.spec $(WINEBUILD)
@cd wldap32 && $(MAKE) libwldap32.$(IMPLIBEXT) @cd wow32 && $(MAKE) `basename $@`
wnaspi32/libwnaspi32.$(IMPLIBEXT): wnaspi32/wnaspi32.spec $(WINEBUILD) ws2_32/libws2_32.def ws2_32/libws2_32.a: ws2_32/ws2_32.spec $(WINEBUILD)
@cd wnaspi32 && $(MAKE) libwnaspi32.$(IMPLIBEXT) @cd ws2_32 && $(MAKE) `basename $@`
wow32/libwow32.$(IMPLIBEXT): wow32/wow32.spec $(WINEBUILD) wsock32/libwsock32.def wsock32/libwsock32.a: wsock32/wsock32.spec $(WINEBUILD)
@cd wow32 && $(MAKE) libwow32.$(IMPLIBEXT) @cd wsock32 && $(MAKE) `basename $@`
ws2_32/libws2_32.$(IMPLIBEXT): ws2_32/ws2_32.spec $(WINEBUILD) wtsapi32/libwtsapi32.def wtsapi32/libwtsapi32.a: wtsapi32/wtsapi32.spec $(WINEBUILD)
@cd ws2_32 && $(MAKE) libws2_32.$(IMPLIBEXT) @cd wtsapi32 && $(MAKE) `basename $@`
wsock32/libwsock32.$(IMPLIBEXT): wsock32/wsock32.spec $(WINEBUILD) libd3dx9.a: d3dx9_36/libd3dx9.a
@cd wsock32 && $(MAKE) libwsock32.$(IMPLIBEXT) $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.a $@
wtsapi32/libwtsapi32.$(IMPLIBEXT): wtsapi32/wtsapi32.spec $(WINEBUILD) libd3dx9.def: d3dx9_36/libd3dx9.def
@cd wtsapi32 && $(MAKE) libwtsapi32.$(IMPLIBEXT) $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.def $@
libd3dx9.$(IMPLIBEXT): d3dx9_36/libd3dx9.$(IMPLIBEXT) libwinspool.a: winspool.drv/libwinspool.a
$(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.$(IMPLIBEXT) $@ $(RM) $@ && $(LN_S) winspool.drv/libwinspool.a $@
libwinspool.$(IMPLIBEXT): winspool.drv/libwinspool.$(IMPLIBEXT) libwinspool.def: winspool.drv/libwinspool.def
$(RM) $@ && $(LN_S) winspool.drv/libwinspool.$(IMPLIBEXT) $@ $(RM) $@ && $(LN_S) winspool.drv/libwinspool.def $@
$(BUILDSUBDIRS): $(IMPORT_LIBS) $(BUILDSUBDIRS): $(IMPORT_LIBS)
$(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS) $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
......
...@@ -528,7 +528,18 @@ sub update_dlls(@) ...@@ -528,7 +528,18 @@ sub update_dlls(@)
next unless defined $static_implibs{$mod}; next unless defined $static_implibs{$mod};
$text .= " \\\n\t$directories{$mod}/lib$importlibs{$mod}.\$(STATIC_IMPLIBEXT)"; $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 .= "\n\n";
$text .= "\$(TESTSUBDIRS:%=%/__crosstest__): \$(CROSS_IMPLIBS)\n\n";
$text .= "implib: \$(IMPORT_LIBS)\n\n"; $text .= "implib: \$(IMPORT_LIBS)\n\n";
$text .= ".PHONY: implib\n\n"; $text .= ".PHONY: implib\n\n";
...@@ -547,16 +558,19 @@ sub update_dlls(@) ...@@ -547,16 +558,19 @@ sub update_dlls(@)
} }
else else
{ {
$text .= sprintf "%s/lib%s.\$(IMPLIBEXT): %s/%s.spec \$(WINEBUILD)\n", $dir, $lib, $dir, $spec; $text .= sprintf "%s/lib%s.def %s/lib%s.a: %s/%s.spec \$(WINEBUILD)\n",
$text .= sprintf "\t\@cd %s && \$(MAKE) lib%s.\$(IMPLIBEXT)\n\n", $dir, $lib; $dir, $lib, $dir, $lib, $dir, $spec;
$text .= sprintf "\t\@cd %s && \$(MAKE) `basename \$\@`\n\n", $dir;
} }
} }
foreach my $mod (sort @lib_symlinks) foreach my $mod (sort @lib_symlinks)
{ {
my $dir = $directories{$mod}; my $dir = $directories{$mod};
my $lib = "lib" . $importlibs{$mod} . ".\$(IMPLIBEXT)"; my $lib = "lib" . $importlibs{$mod};
$text .= sprintf "%s: %s/%s\n", $lib, $dir, $lib; $text .= sprintf "%s.a: %s/%s.a\n", $lib, $dir, $lib;
$text .= sprintf "\t\$(RM) \$@ && \$(LN_S) %s/%s \$@\n\n", $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"; $text .= "\$(BUILDSUBDIRS): \$(IMPORT_LIBS)\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment