ntdll: Use the heap flags instead of debug channels to test for enabled debug features.
[wine] / dlls / Makefile.in
1 # Automatically generated by make_makefiles; DO NOT EDIT!!
2
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR    = @srcdir@
6 VPATH     = @srcdir@
7
8 INSTALLDIRS = $(DESTDIR)$(dlldir)
9
10 DLLSUBDIRS     = @ALL_DLL_DIRS@
11 IMPLIBSUBDIRS  = @ALL_IMPLIB_DIRS@
12 TESTSUBDIRS    = @ALL_TEST_DIRS@
13 SUBDIRS        = $(DLLSUBDIRS) $(IMPLIBSUBDIRS) $(TESTSUBDIRS)
14 BUILDSUBDIRS   = $(DLLSUBDIRS) $(TESTSUBDIRS)
15 INSTALLSUBDIRS = $(DLLSUBDIRS) $(IMPLIBSUBDIRS)
16 DOCSUBDIRS     = $(DLLSUBDIRS)
17
18 @MAKE_RULES@
19
20 # Main target
21
22 all: $(BUILDSUBDIRS)
23
24 # Import libraries
25
26 STATIC_IMPLIBEXT = $(IMPLIBEXT:def=def.a)
27
28 IMPORT_SYMLINKS = \
29         libd3dx9.$(IMPLIBEXT) \
30         libkernel.$(IMPLIBEXT) \
31         libwinspool.$(IMPLIBEXT) \
32         libxinput.$(IMPLIBEXT)
33
34 IMPORT_LIBS = \
35         $(IMPORT_SYMLINKS) \
36         adsiid/libadsiid.a \
37         dxerr8/libdxerr8.a \
38         dxerr9/libdxerr9.a \
39         dxguid/libdxguid.a \
40         strmiids/libstrmiids.a \
41         uuid/libuuid.a \
42         winecrt0/libwinecrt0.a \
43         aclui/libaclui.$(IMPLIBEXT) \
44         activeds/libactiveds.$(IMPLIBEXT) \
45         advapi32/libadvapi32.$(IMPLIBEXT) \
46         advpack/libadvpack.$(IMPLIBEXT) \
47         atl/libatl.$(IMPLIBEXT) \
48         avicap32/libavicap32.$(IMPLIBEXT) \
49         avifil32/libavifil32.$(IMPLIBEXT) \
50         avrt/libavrt.$(IMPLIBEXT) \
51         cabinet/libcabinet.$(IMPLIBEXT) \
52         capi2032/libcapi2032.$(IMPLIBEXT) \
53         cards/libcards.$(IMPLIBEXT) \
54         cfgmgr32/libcfgmgr32.$(IMPLIBEXT) \
55         clusapi/libclusapi.$(IMPLIBEXT) \
56         comctl32/libcomctl32.$(IMPLIBEXT) \
57         comdlg32/libcomdlg32.$(IMPLIBEXT) \
58         compstui/libcompstui.$(IMPLIBEXT) \
59         credui/libcredui.$(IMPLIBEXT) \
60         crtdll/libcrtdll.$(IMPLIBEXT) \
61         crypt32/libcrypt32.$(IMPLIBEXT) \
62         cryptdll/libcryptdll.$(IMPLIBEXT) \
63         cryptnet/libcryptnet.$(IMPLIBEXT) \
64         cryptui/libcryptui.$(IMPLIBEXT) \
65         ctl3d32/libctl3d32.$(IMPLIBEXT) \
66         d3d10/libd3d10.$(IMPLIBEXT) \
67         d3d10core/libd3d10core.$(IMPLIBEXT) \
68         d3d8/libd3d8.$(IMPLIBEXT) \
69         d3d9/libd3d9.$(IMPLIBEXT) \
70         d3dim/libd3dim.$(IMPLIBEXT) \
71         d3drm/libd3drm.$(IMPLIBEXT) \
72         d3dx9_36/libd3dx9.$(IMPLIBEXT) \
73         d3dxof/libd3dxof.$(IMPLIBEXT) \
74         dbghelp/libdbghelp.$(IMPLIBEXT) \
75         dciman32/libdciman32.$(IMPLIBEXT) \
76         ddraw/libddraw.$(IMPLIBEXT) \
77         dinput/libdinput.$(IMPLIBEXT) \
78         dinput/libdinput.$(STATIC_IMPLIBEXT) \
79         dinput8/libdinput8.$(IMPLIBEXT) \
80         dmusic32/libdmusic32.$(IMPLIBEXT) \
81         dnsapi/libdnsapi.$(IMPLIBEXT) \
82         dplay/libdplay.$(IMPLIBEXT) \
83         dplayx/libdplayx.$(IMPLIBEXT) \
84         dpnet/libdpnet.$(IMPLIBEXT) \
85         dsound/libdsound.$(IMPLIBEXT) \
86         dwmapi/libdwmapi.$(IMPLIBEXT) \
87         dxgi/libdxgi.$(IMPLIBEXT) \
88         gdi32/libgdi32.$(IMPLIBEXT) \
89         gdiplus/libgdiplus.$(IMPLIBEXT) \
90         glu32/libglu32.$(IMPLIBEXT) \
91         hid/libhid.$(IMPLIBEXT) \
92         hlink/libhlink.$(IMPLIBEXT) \
93         imagehlp/libimagehlp.$(IMPLIBEXT) \
94         imm32/libimm32.$(IMPLIBEXT) \
95         inetcomm/libinetcomm.$(IMPLIBEXT) \
96         iphlpapi/libiphlpapi.$(IMPLIBEXT) \
97         kernel32/libkernel32.$(IMPLIBEXT) \
98         krnl386.exe16/libkernel.$(IMPLIBEXT) \
99         loadperf/libloadperf.$(IMPLIBEXT) \
100         lz32/liblz32.$(IMPLIBEXT) \
101         mapi32/libmapi32.$(IMPLIBEXT) \
102         mlang/libmlang.$(IMPLIBEXT) \
103         mpr/libmpr.$(IMPLIBEXT) \
104         mprapi/libmprapi.$(IMPLIBEXT) \
105         msacm32/libmsacm32.$(IMPLIBEXT) \
106         mscms/libmscms.$(IMPLIBEXT) \
107         msdmo/libmsdmo.$(IMPLIBEXT) \
108         mshtml/libmshtml.$(IMPLIBEXT) \
109         msi/libmsi.$(IMPLIBEXT) \
110         msimg32/libmsimg32.$(IMPLIBEXT) \
111         msvcr71/libmsvcr71.$(IMPLIBEXT) \
112         msvcrt/libmsvcrt.$(IMPLIBEXT) \
113         msvcrt20/libmsvcrt20.$(IMPLIBEXT) \
114         msvcrt40/libmsvcrt40.$(IMPLIBEXT) \
115         msvcrtd/libmsvcrtd.$(IMPLIBEXT) \
116         msvfw32/libmsvfw32.$(IMPLIBEXT) \
117         mswsock/libmswsock.$(IMPLIBEXT) \
118         nddeapi/libnddeapi.$(IMPLIBEXT) \
119         netapi32/libnetapi32.$(IMPLIBEXT) \
120         newdev/libnewdev.$(IMPLIBEXT) \
121         ntdll/libntdll.$(IMPLIBEXT) \
122         ntdsapi/libntdsapi.$(IMPLIBEXT) \
123         ntoskrnl.exe/libntoskrnl.exe.$(IMPLIBEXT) \
124         odbc32/libodbc32.$(IMPLIBEXT) \
125         odbccp32/libodbccp32.$(IMPLIBEXT) \
126         ole32/libole32.$(IMPLIBEXT) \
127         oleacc/liboleacc.$(IMPLIBEXT) \
128         oleaut32/liboleaut32.$(IMPLIBEXT) \
129         olecli32/libolecli32.$(IMPLIBEXT) \
130         oledlg/liboledlg.$(IMPLIBEXT) \
131         olepro32/libolepro32.$(IMPLIBEXT) \
132         olesvr32/libolesvr32.$(IMPLIBEXT) \
133         opengl32/libopengl32.$(IMPLIBEXT) \
134         pdh/libpdh.$(IMPLIBEXT) \
135         powrprof/libpowrprof.$(IMPLIBEXT) \
136         psapi/libpsapi.$(IMPLIBEXT) \
137         quartz/libquartz.$(IMPLIBEXT) \
138         rasapi32/librasapi32.$(IMPLIBEXT) \
139         rasdlg/librasdlg.$(IMPLIBEXT) \
140         resutils/libresutils.$(IMPLIBEXT) \
141         riched20/libriched20.$(IMPLIBEXT) \
142         rpcrt4/librpcrt4.$(IMPLIBEXT) \
143         rsaenh/librsaenh.$(IMPLIBEXT) \
144         rtutils/librtutils.$(IMPLIBEXT) \
145         secur32/libsecur32.$(IMPLIBEXT) \
146         sensapi/libsensapi.$(IMPLIBEXT) \
147         serialui/libserialui.$(IMPLIBEXT) \
148         setupapi/libsetupapi.$(IMPLIBEXT) \
149         sfc/libsfc.$(IMPLIBEXT) \
150         sfc_os/libsfc_os.$(IMPLIBEXT) \
151         shdocvw/libshdocvw.$(IMPLIBEXT) \
152         shell32/libshell32.$(IMPLIBEXT) \
153         shfolder/libshfolder.$(IMPLIBEXT) \
154         shlwapi/libshlwapi.$(IMPLIBEXT) \
155         slc/libslc.$(IMPLIBEXT) \
156         snmpapi/libsnmpapi.$(IMPLIBEXT) \
157         spoolss/libspoolss.$(IMPLIBEXT) \
158         sti/libsti.$(IMPLIBEXT) \
159         tapi32/libtapi32.$(IMPLIBEXT) \
160         unicows/libunicows.$(IMPLIBEXT) \
161         url/liburl.$(IMPLIBEXT) \
162         urlmon/liburlmon.$(IMPLIBEXT) \
163         user32/libuser32.$(IMPLIBEXT) \
164         userenv/libuserenv.$(IMPLIBEXT) \
165         usp10/libusp10.$(IMPLIBEXT) \
166         uxtheme/libuxtheme.$(IMPLIBEXT) \
167         vdmdbg/libvdmdbg.$(IMPLIBEXT) \
168         version/libversion.$(IMPLIBEXT) \
169         windowscodecs/libwindowscodecs.$(IMPLIBEXT) \
170         wined3d/libwined3d.$(IMPLIBEXT) \
171         winhttp/libwinhttp.$(IMPLIBEXT) \
172         wininet/libwininet.$(IMPLIBEXT) \
173         winmm/libwinmm.$(IMPLIBEXT) \
174         winnls32/libwinnls32.$(IMPLIBEXT) \
175         winscard/libwinscard.$(IMPLIBEXT) \
176         winspool.drv/libwinspool.$(IMPLIBEXT) \
177         wintab32/libwintab32.$(IMPLIBEXT) \
178         wintrust/libwintrust.$(IMPLIBEXT) \
179         wldap32/libwldap32.$(IMPLIBEXT) \
180         wnaspi32/libwnaspi32.$(IMPLIBEXT) \
181         wow32/libwow32.$(IMPLIBEXT) \
182         ws2_32/libws2_32.$(IMPLIBEXT) \
183         wsock32/libwsock32.$(IMPLIBEXT) \
184         wtsapi32/libwtsapi32.$(IMPLIBEXT) \
185         xinput1_3/libxinput.$(IMPLIBEXT)
186
187 CROSS_IMPLIBS = \
188         libd3dx9.cross.a \
189         libwinspool.cross.a \
190         libxinput.cross.a \
191         adsiid/libadsiid.cross.a \
192         dxerr8/libdxerr8.cross.a \
193         dxerr9/libdxerr9.cross.a \
194         dxguid/libdxguid.cross.a \
195         strmiids/libstrmiids.cross.a \
196         uuid/libuuid.cross.a \
197         winecrt0/libwinecrt0.cross.a \
198         aclui/libaclui.cross.a \
199         activeds/libactiveds.cross.a \
200         advapi32/libadvapi32.cross.a \
201         advpack/libadvpack.cross.a \
202         atl/libatl.cross.a \
203         avicap32/libavicap32.cross.a \
204         avifil32/libavifil32.cross.a \
205         avrt/libavrt.cross.a \
206         cabinet/libcabinet.cross.a \
207         capi2032/libcapi2032.cross.a \
208         cards/libcards.cross.a \
209         cfgmgr32/libcfgmgr32.cross.a \
210         clusapi/libclusapi.cross.a \
211         comctl32/libcomctl32.cross.a \
212         comdlg32/libcomdlg32.cross.a \
213         compstui/libcompstui.cross.a \
214         credui/libcredui.cross.a \
215         crtdll/libcrtdll.cross.a \
216         crypt32/libcrypt32.cross.a \
217         cryptdll/libcryptdll.cross.a \
218         cryptnet/libcryptnet.cross.a \
219         cryptui/libcryptui.cross.a \
220         ctl3d32/libctl3d32.cross.a \
221         d3d10/libd3d10.cross.a \
222         d3d10core/libd3d10core.cross.a \
223         d3d8/libd3d8.cross.a \
224         d3d9/libd3d9.cross.a \
225         d3dim/libd3dim.cross.a \
226         d3drm/libd3drm.cross.a \
227         d3dx9_36/libd3dx9.cross.a \
228         d3dxof/libd3dxof.cross.a \
229         dbghelp/libdbghelp.cross.a \
230         dciman32/libdciman32.cross.a \
231         ddraw/libddraw.cross.a \
232         dinput8/libdinput8.cross.a \
233         dmusic32/libdmusic32.cross.a \
234         dnsapi/libdnsapi.cross.a \
235         dplay/libdplay.cross.a \
236         dplayx/libdplayx.cross.a \
237         dpnet/libdpnet.cross.a \
238         dsound/libdsound.cross.a \
239         dwmapi/libdwmapi.cross.a \
240         dxgi/libdxgi.cross.a \
241         gdi32/libgdi32.cross.a \
242         gdiplus/libgdiplus.cross.a \
243         glu32/libglu32.cross.a \
244         hid/libhid.cross.a \
245         hlink/libhlink.cross.a \
246         imagehlp/libimagehlp.cross.a \
247         imm32/libimm32.cross.a \
248         inetcomm/libinetcomm.cross.a \
249         iphlpapi/libiphlpapi.cross.a \
250         kernel32/libkernel32.cross.a \
251         loadperf/libloadperf.cross.a \
252         lz32/liblz32.cross.a \
253         mapi32/libmapi32.cross.a \
254         mlang/libmlang.cross.a \
255         mpr/libmpr.cross.a \
256         mprapi/libmprapi.cross.a \
257         msacm32/libmsacm32.cross.a \
258         mscms/libmscms.cross.a \
259         msdmo/libmsdmo.cross.a \
260         mshtml/libmshtml.cross.a \
261         msi/libmsi.cross.a \
262         msimg32/libmsimg32.cross.a \
263         msvcr71/libmsvcr71.cross.a \
264         msvcrt/libmsvcrt.cross.a \
265         msvcrt20/libmsvcrt20.cross.a \
266         msvcrt40/libmsvcrt40.cross.a \
267         msvcrtd/libmsvcrtd.cross.a \
268         msvfw32/libmsvfw32.cross.a \
269         mswsock/libmswsock.cross.a \
270         nddeapi/libnddeapi.cross.a \
271         netapi32/libnetapi32.cross.a \
272         newdev/libnewdev.cross.a \
273         ntdll/libntdll.cross.a \
274         ntdsapi/libntdsapi.cross.a \
275         ntoskrnl.exe/libntoskrnl.exe.cross.a \
276         odbc32/libodbc32.cross.a \
277         odbccp32/libodbccp32.cross.a \
278         ole32/libole32.cross.a \
279         oleacc/liboleacc.cross.a \
280         oleaut32/liboleaut32.cross.a \
281         olecli32/libolecli32.cross.a \
282         oledlg/liboledlg.cross.a \
283         olepro32/libolepro32.cross.a \
284         olesvr32/libolesvr32.cross.a \
285         opengl32/libopengl32.cross.a \
286         pdh/libpdh.cross.a \
287         powrprof/libpowrprof.cross.a \
288         psapi/libpsapi.cross.a \
289         quartz/libquartz.cross.a \
290         rasapi32/librasapi32.cross.a \
291         rasdlg/librasdlg.cross.a \
292         resutils/libresutils.cross.a \
293         riched20/libriched20.cross.a \
294         rpcrt4/librpcrt4.cross.a \
295         rsaenh/librsaenh.cross.a \
296         rtutils/librtutils.cross.a \
297         secur32/libsecur32.cross.a \
298         sensapi/libsensapi.cross.a \
299         serialui/libserialui.cross.a \
300         setupapi/libsetupapi.cross.a \
301         sfc/libsfc.cross.a \
302         sfc_os/libsfc_os.cross.a \
303         shdocvw/libshdocvw.cross.a \
304         shell32/libshell32.cross.a \
305         shfolder/libshfolder.cross.a \
306         shlwapi/libshlwapi.cross.a \
307         slc/libslc.cross.a \
308         snmpapi/libsnmpapi.cross.a \
309         spoolss/libspoolss.cross.a \
310         sti/libsti.cross.a \
311         tapi32/libtapi32.cross.a \
312         unicows/libunicows.cross.a \
313         url/liburl.cross.a \
314         urlmon/liburlmon.cross.a \
315         user32/libuser32.cross.a \
316         userenv/libuserenv.cross.a \
317         usp10/libusp10.cross.a \
318         uxtheme/libuxtheme.cross.a \
319         vdmdbg/libvdmdbg.cross.a \
320         version/libversion.cross.a \
321         windowscodecs/libwindowscodecs.cross.a \
322         wined3d/libwined3d.cross.a \
323         winhttp/libwinhttp.cross.a \
324         wininet/libwininet.cross.a \
325         winmm/libwinmm.cross.a \
326         winnls32/libwinnls32.cross.a \
327         winscard/libwinscard.cross.a \
328         winspool.drv/libwinspool.cross.a \
329         wintab32/libwintab32.cross.a \
330         wintrust/libwintrust.cross.a \
331         wldap32/libwldap32.cross.a \
332         wnaspi32/libwnaspi32.cross.a \
333         wow32/libwow32.cross.a \
334         ws2_32/libws2_32.cross.a \
335         wsock32/libwsock32.cross.a \
336         wtsapi32/libwtsapi32.cross.a \
337         xinput1_3/libxinput.cross.a
338
339 $(TESTSUBDIRS:%=%/__crosstest__): $(CROSS_IMPLIBS)
340
341 implib: $(IMPORT_LIBS)
342
343 testsubdirs: $(TESTSUBDIRS)
344
345 .PHONY: implib testsubdirs
346
347 aclui/libaclui.def aclui/libaclui.a aclui/libaclui.cross.a: aclui/aclui.spec $(WINEBUILD)
348         @cd aclui && $(MAKE) `basename $@`
349
350 activeds/libactiveds.def activeds/libactiveds.a activeds/libactiveds.cross.a: activeds/activeds.spec $(WINEBUILD)
351         @cd activeds && $(MAKE) `basename $@`
352
353 advapi32/libadvapi32.def advapi32/libadvapi32.a advapi32/libadvapi32.cross.a: advapi32/advapi32.spec $(WINEBUILD)
354         @cd advapi32 && $(MAKE) `basename $@`
355
356 advpack/libadvpack.def advpack/libadvpack.a advpack/libadvpack.cross.a: advpack/advpack.spec $(WINEBUILD)
357         @cd advpack && $(MAKE) `basename $@`
358
359 atl/libatl.def atl/libatl.a atl/libatl.cross.a: atl/atl.spec $(WINEBUILD)
360         @cd atl && $(MAKE) `basename $@`
361
362 avicap32/libavicap32.def avicap32/libavicap32.a avicap32/libavicap32.cross.a: avicap32/avicap32.spec $(WINEBUILD)
363         @cd avicap32 && $(MAKE) `basename $@`
364
365 avifil32/libavifil32.def avifil32/libavifil32.a avifil32/libavifil32.cross.a: avifil32/avifil32.spec $(WINEBUILD)
366         @cd avifil32 && $(MAKE) `basename $@`
367
368 avrt/libavrt.def avrt/libavrt.a avrt/libavrt.cross.a: avrt/avrt.spec $(WINEBUILD)
369         @cd avrt && $(MAKE) `basename $@`
370
371 cabinet/libcabinet.def cabinet/libcabinet.a cabinet/libcabinet.cross.a: cabinet/cabinet.spec $(WINEBUILD)
372         @cd cabinet && $(MAKE) `basename $@`
373
374 capi2032/libcapi2032.def capi2032/libcapi2032.a capi2032/libcapi2032.cross.a: capi2032/capi2032.spec $(WINEBUILD)
375         @cd capi2032 && $(MAKE) `basename $@`
376
377 cards/libcards.def cards/libcards.a cards/libcards.cross.a: cards/cards.spec $(WINEBUILD)
378         @cd cards && $(MAKE) `basename $@`
379
380 cfgmgr32/libcfgmgr32.def cfgmgr32/libcfgmgr32.a cfgmgr32/libcfgmgr32.cross.a: cfgmgr32/cfgmgr32.spec $(WINEBUILD)
381         @cd cfgmgr32 && $(MAKE) `basename $@`
382
383 clusapi/libclusapi.def clusapi/libclusapi.a clusapi/libclusapi.cross.a: clusapi/clusapi.spec $(WINEBUILD)
384         @cd clusapi && $(MAKE) `basename $@`
385
386 comctl32/libcomctl32.def comctl32/libcomctl32.a comctl32/libcomctl32.cross.a: comctl32/comctl32.spec $(WINEBUILD)
387         @cd comctl32 && $(MAKE) `basename $@`
388
389 comdlg32/libcomdlg32.def comdlg32/libcomdlg32.a comdlg32/libcomdlg32.cross.a: comdlg32/comdlg32.spec $(WINEBUILD)
390         @cd comdlg32 && $(MAKE) `basename $@`
391
392 compstui/libcompstui.def compstui/libcompstui.a compstui/libcompstui.cross.a: compstui/compstui.spec $(WINEBUILD)
393         @cd compstui && $(MAKE) `basename $@`
394
395 credui/libcredui.def credui/libcredui.a credui/libcredui.cross.a: credui/credui.spec $(WINEBUILD)
396         @cd credui && $(MAKE) `basename $@`
397
398 crtdll/libcrtdll.def crtdll/libcrtdll.a crtdll/libcrtdll.cross.a: crtdll/crtdll.spec $(WINEBUILD)
399         @cd crtdll && $(MAKE) `basename $@`
400
401 crypt32/libcrypt32.def crypt32/libcrypt32.a crypt32/libcrypt32.cross.a: crypt32/crypt32.spec $(WINEBUILD)
402         @cd crypt32 && $(MAKE) `basename $@`
403
404 cryptdll/libcryptdll.def cryptdll/libcryptdll.a cryptdll/libcryptdll.cross.a: cryptdll/cryptdll.spec $(WINEBUILD)
405         @cd cryptdll && $(MAKE) `basename $@`
406
407 cryptnet/libcryptnet.def cryptnet/libcryptnet.a cryptnet/libcryptnet.cross.a: cryptnet/cryptnet.spec $(WINEBUILD)
408         @cd cryptnet && $(MAKE) `basename $@`
409
410 cryptui/libcryptui.def cryptui/libcryptui.a cryptui/libcryptui.cross.a: cryptui/cryptui.spec $(WINEBUILD)
411         @cd cryptui && $(MAKE) `basename $@`
412
413 ctl3d32/libctl3d32.def ctl3d32/libctl3d32.a ctl3d32/libctl3d32.cross.a: ctl3d32/ctl3d32.spec $(WINEBUILD)
414         @cd ctl3d32 && $(MAKE) `basename $@`
415
416 d3d10/libd3d10.def d3d10/libd3d10.a d3d10/libd3d10.cross.a: d3d10/d3d10.spec $(WINEBUILD)
417         @cd d3d10 && $(MAKE) `basename $@`
418
419 d3d10core/libd3d10core.def d3d10core/libd3d10core.a d3d10core/libd3d10core.cross.a: d3d10core/d3d10core.spec $(WINEBUILD)
420         @cd d3d10core && $(MAKE) `basename $@`
421
422 d3d8/libd3d8.def d3d8/libd3d8.a d3d8/libd3d8.cross.a: d3d8/d3d8.spec $(WINEBUILD)
423         @cd d3d8 && $(MAKE) `basename $@`
424
425 d3d9/libd3d9.def d3d9/libd3d9.a d3d9/libd3d9.cross.a: d3d9/d3d9.spec $(WINEBUILD)
426         @cd d3d9 && $(MAKE) `basename $@`
427
428 d3dim/libd3dim.def d3dim/libd3dim.a d3dim/libd3dim.cross.a: d3dim/d3dim.spec $(WINEBUILD)
429         @cd d3dim && $(MAKE) `basename $@`
430
431 d3drm/libd3drm.def d3drm/libd3drm.a d3drm/libd3drm.cross.a: d3drm/d3drm.spec $(WINEBUILD)
432         @cd d3drm && $(MAKE) `basename $@`
433
434 d3dx9_36/libd3dx9.def d3dx9_36/libd3dx9.a d3dx9_36/libd3dx9.cross.a: d3dx9_36/d3dx9_36.spec $(WINEBUILD)
435         @cd d3dx9_36 && $(MAKE) `basename $@`
436
437 d3dxof/libd3dxof.def d3dxof/libd3dxof.a d3dxof/libd3dxof.cross.a: d3dxof/d3dxof.spec $(WINEBUILD)
438         @cd d3dxof && $(MAKE) `basename $@`
439
440 dbghelp/libdbghelp.def dbghelp/libdbghelp.a dbghelp/libdbghelp.cross.a: dbghelp/dbghelp.spec $(WINEBUILD)
441         @cd dbghelp && $(MAKE) `basename $@`
442
443 dciman32/libdciman32.def dciman32/libdciman32.a dciman32/libdciman32.cross.a: dciman32/dciman32.spec $(WINEBUILD)
444         @cd dciman32 && $(MAKE) `basename $@`
445
446 ddraw/libddraw.def ddraw/libddraw.a ddraw/libddraw.cross.a: ddraw/ddraw.spec $(WINEBUILD)
447         @cd ddraw && $(MAKE) `basename $@`
448
449 dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
450         @cd dinput && $(MAKE) libdinput.def
451
452 dinput/libdinput.$(STATIC_IMPLIBEXT) dinput/libdinput.cross.a: dummy
453         @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
454
455 dinput8/libdinput8.def dinput8/libdinput8.a dinput8/libdinput8.cross.a: dinput8/dinput8.spec $(WINEBUILD)
456         @cd dinput8 && $(MAKE) `basename $@`
457
458 dmusic32/libdmusic32.def dmusic32/libdmusic32.a dmusic32/libdmusic32.cross.a: dmusic32/dmusic32.spec $(WINEBUILD)
459         @cd dmusic32 && $(MAKE) `basename $@`
460
461 dnsapi/libdnsapi.def dnsapi/libdnsapi.a dnsapi/libdnsapi.cross.a: dnsapi/dnsapi.spec $(WINEBUILD)
462         @cd dnsapi && $(MAKE) `basename $@`
463
464 dplay/libdplay.def dplay/libdplay.a dplay/libdplay.cross.a: dplay/dplay.spec $(WINEBUILD)
465         @cd dplay && $(MAKE) `basename $@`
466
467 dplayx/libdplayx.def dplayx/libdplayx.a dplayx/libdplayx.cross.a: dplayx/dplayx.spec $(WINEBUILD)
468         @cd dplayx && $(MAKE) `basename $@`
469
470 dpnet/libdpnet.def dpnet/libdpnet.a dpnet/libdpnet.cross.a: dpnet/dpnet.spec $(WINEBUILD)
471         @cd dpnet && $(MAKE) `basename $@`
472
473 dsound/libdsound.def dsound/libdsound.a dsound/libdsound.cross.a: dsound/dsound.spec $(WINEBUILD)
474         @cd dsound && $(MAKE) `basename $@`
475
476 dwmapi/libdwmapi.def dwmapi/libdwmapi.a dwmapi/libdwmapi.cross.a: dwmapi/dwmapi.spec $(WINEBUILD)
477         @cd dwmapi && $(MAKE) `basename $@`
478
479 dxgi/libdxgi.def dxgi/libdxgi.a dxgi/libdxgi.cross.a: dxgi/dxgi.spec $(WINEBUILD)
480         @cd dxgi && $(MAKE) `basename $@`
481
482 gdi32/libgdi32.def gdi32/libgdi32.a gdi32/libgdi32.cross.a: gdi32/gdi32.spec $(WINEBUILD)
483         @cd gdi32 && $(MAKE) `basename $@`
484
485 gdiplus/libgdiplus.def gdiplus/libgdiplus.a gdiplus/libgdiplus.cross.a: gdiplus/gdiplus.spec $(WINEBUILD)
486         @cd gdiplus && $(MAKE) `basename $@`
487
488 glu32/libglu32.def glu32/libglu32.a glu32/libglu32.cross.a: glu32/glu32.spec $(WINEBUILD)
489         @cd glu32 && $(MAKE) `basename $@`
490
491 hid/libhid.def hid/libhid.a hid/libhid.cross.a: hid/hid.spec $(WINEBUILD)
492         @cd hid && $(MAKE) `basename $@`
493
494 hlink/libhlink.def hlink/libhlink.a hlink/libhlink.cross.a: hlink/hlink.spec $(WINEBUILD)
495         @cd hlink && $(MAKE) `basename $@`
496
497 imagehlp/libimagehlp.def imagehlp/libimagehlp.a imagehlp/libimagehlp.cross.a: imagehlp/imagehlp.spec $(WINEBUILD)
498         @cd imagehlp && $(MAKE) `basename $@`
499
500 imm32/libimm32.def imm32/libimm32.a imm32/libimm32.cross.a: imm32/imm32.spec $(WINEBUILD)
501         @cd imm32 && $(MAKE) `basename $@`
502
503 inetcomm/libinetcomm.def inetcomm/libinetcomm.a inetcomm/libinetcomm.cross.a: inetcomm/inetcomm.spec $(WINEBUILD)
504         @cd inetcomm && $(MAKE) `basename $@`
505
506 iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a iphlpapi/libiphlpapi.cross.a: iphlpapi/iphlpapi.spec $(WINEBUILD)
507         @cd iphlpapi && $(MAKE) `basename $@`
508
509 kernel32/libkernel32.def kernel32/libkernel32.a kernel32/libkernel32.cross.a: kernel32/kernel32.spec $(WINEBUILD)
510         @cd kernel32 && $(MAKE) `basename $@`
511
512 krnl386.exe16/libkernel.def krnl386.exe16/libkernel.a krnl386.exe16/libkernel.cross.a: krnl386.exe16/krnl386.exe16.spec $(WINEBUILD)
513         @cd krnl386.exe16 && $(MAKE) `basename $@`
514
515 loadperf/libloadperf.def loadperf/libloadperf.a loadperf/libloadperf.cross.a: loadperf/loadperf.spec $(WINEBUILD)
516         @cd loadperf && $(MAKE) `basename $@`
517
518 lz32/liblz32.def lz32/liblz32.a lz32/liblz32.cross.a: lz32/lz32.spec $(WINEBUILD)
519         @cd lz32 && $(MAKE) `basename $@`
520
521 mapi32/libmapi32.def mapi32/libmapi32.a mapi32/libmapi32.cross.a: mapi32/mapi32.spec $(WINEBUILD)
522         @cd mapi32 && $(MAKE) `basename $@`
523
524 mlang/libmlang.def mlang/libmlang.a mlang/libmlang.cross.a: mlang/mlang.spec $(WINEBUILD)
525         @cd mlang && $(MAKE) `basename $@`
526
527 mpr/libmpr.def mpr/libmpr.a mpr/libmpr.cross.a: mpr/mpr.spec $(WINEBUILD)
528         @cd mpr && $(MAKE) `basename $@`
529
530 mprapi/libmprapi.def mprapi/libmprapi.a mprapi/libmprapi.cross.a: mprapi/mprapi.spec $(WINEBUILD)
531         @cd mprapi && $(MAKE) `basename $@`
532
533 msacm32/libmsacm32.def msacm32/libmsacm32.a msacm32/libmsacm32.cross.a: msacm32/msacm32.spec $(WINEBUILD)
534         @cd msacm32 && $(MAKE) `basename $@`
535
536 mscms/libmscms.def mscms/libmscms.a mscms/libmscms.cross.a: mscms/mscms.spec $(WINEBUILD)
537         @cd mscms && $(MAKE) `basename $@`
538
539 msdmo/libmsdmo.def msdmo/libmsdmo.a msdmo/libmsdmo.cross.a: msdmo/msdmo.spec $(WINEBUILD)
540         @cd msdmo && $(MAKE) `basename $@`
541
542 mshtml/libmshtml.def mshtml/libmshtml.a mshtml/libmshtml.cross.a: mshtml/mshtml.spec $(WINEBUILD)
543         @cd mshtml && $(MAKE) `basename $@`
544
545 msi/libmsi.def msi/libmsi.a msi/libmsi.cross.a: msi/msi.spec $(WINEBUILD)
546         @cd msi && $(MAKE) `basename $@`
547
548 msimg32/libmsimg32.def msimg32/libmsimg32.a msimg32/libmsimg32.cross.a: msimg32/msimg32.spec $(WINEBUILD)
549         @cd msimg32 && $(MAKE) `basename $@`
550
551 msvcr71/libmsvcr71.def msvcr71/libmsvcr71.a msvcr71/libmsvcr71.cross.a: msvcr71/msvcr71.spec $(WINEBUILD)
552         @cd msvcr71 && $(MAKE) `basename $@`
553
554 msvcrt/libmsvcrt.def msvcrt/libmsvcrt.a msvcrt/libmsvcrt.cross.a: msvcrt/msvcrt.spec $(WINEBUILD)
555         @cd msvcrt && $(MAKE) `basename $@`
556
557 msvcrt20/libmsvcrt20.def msvcrt20/libmsvcrt20.a msvcrt20/libmsvcrt20.cross.a: msvcrt20/msvcrt20.spec $(WINEBUILD)
558         @cd msvcrt20 && $(MAKE) `basename $@`
559
560 msvcrt40/libmsvcrt40.def msvcrt40/libmsvcrt40.a msvcrt40/libmsvcrt40.cross.a: msvcrt40/msvcrt40.spec $(WINEBUILD)
561         @cd msvcrt40 && $(MAKE) `basename $@`
562
563 msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.a msvcrtd/libmsvcrtd.cross.a: msvcrtd/msvcrtd.spec $(WINEBUILD)
564         @cd msvcrtd && $(MAKE) `basename $@`
565
566 msvfw32/libmsvfw32.def msvfw32/libmsvfw32.a msvfw32/libmsvfw32.cross.a: msvfw32/msvfw32.spec $(WINEBUILD)
567         @cd msvfw32 && $(MAKE) `basename $@`
568
569 mswsock/libmswsock.def mswsock/libmswsock.a mswsock/libmswsock.cross.a: mswsock/mswsock.spec $(WINEBUILD)
570         @cd mswsock && $(MAKE) `basename $@`
571
572 nddeapi/libnddeapi.def nddeapi/libnddeapi.a nddeapi/libnddeapi.cross.a: nddeapi/nddeapi.spec $(WINEBUILD)
573         @cd nddeapi && $(MAKE) `basename $@`
574
575 netapi32/libnetapi32.def netapi32/libnetapi32.a netapi32/libnetapi32.cross.a: netapi32/netapi32.spec $(WINEBUILD)
576         @cd netapi32 && $(MAKE) `basename $@`
577
578 newdev/libnewdev.def newdev/libnewdev.a newdev/libnewdev.cross.a: newdev/newdev.spec $(WINEBUILD)
579         @cd newdev && $(MAKE) `basename $@`
580
581 ntdll/libntdll.def ntdll/libntdll.a ntdll/libntdll.cross.a: ntdll/ntdll.spec $(WINEBUILD)
582         @cd ntdll && $(MAKE) `basename $@`
583
584 ntdsapi/libntdsapi.def ntdsapi/libntdsapi.a ntdsapi/libntdsapi.cross.a: ntdsapi/ntdsapi.spec $(WINEBUILD)
585         @cd ntdsapi && $(MAKE) `basename $@`
586
587 ntoskrnl.exe/libntoskrnl.exe.def ntoskrnl.exe/libntoskrnl.exe.a ntoskrnl.exe/libntoskrnl.exe.cross.a: ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD)
588         @cd ntoskrnl.exe && $(MAKE) `basename $@`
589
590 odbc32/libodbc32.def odbc32/libodbc32.a odbc32/libodbc32.cross.a: odbc32/odbc32.spec $(WINEBUILD)
591         @cd odbc32 && $(MAKE) `basename $@`
592
593 odbccp32/libodbccp32.def odbccp32/libodbccp32.a odbccp32/libodbccp32.cross.a: odbccp32/odbccp32.spec $(WINEBUILD)
594         @cd odbccp32 && $(MAKE) `basename $@`
595
596 ole32/libole32.def ole32/libole32.a ole32/libole32.cross.a: ole32/ole32.spec $(WINEBUILD)
597         @cd ole32 && $(MAKE) `basename $@`
598
599 oleacc/liboleacc.def oleacc/liboleacc.a oleacc/liboleacc.cross.a: oleacc/oleacc.spec $(WINEBUILD)
600         @cd oleacc && $(MAKE) `basename $@`
601
602 oleaut32/liboleaut32.def oleaut32/liboleaut32.a oleaut32/liboleaut32.cross.a: oleaut32/oleaut32.spec $(WINEBUILD)
603         @cd oleaut32 && $(MAKE) `basename $@`
604
605 olecli32/libolecli32.def olecli32/libolecli32.a olecli32/libolecli32.cross.a: olecli32/olecli32.spec $(WINEBUILD)
606         @cd olecli32 && $(MAKE) `basename $@`
607
608 oledlg/liboledlg.def oledlg/liboledlg.a oledlg/liboledlg.cross.a: oledlg/oledlg.spec $(WINEBUILD)
609         @cd oledlg && $(MAKE) `basename $@`
610
611 olepro32/libolepro32.def olepro32/libolepro32.a olepro32/libolepro32.cross.a: olepro32/olepro32.spec $(WINEBUILD)
612         @cd olepro32 && $(MAKE) `basename $@`
613
614 olesvr32/libolesvr32.def olesvr32/libolesvr32.a olesvr32/libolesvr32.cross.a: olesvr32/olesvr32.spec $(WINEBUILD)
615         @cd olesvr32 && $(MAKE) `basename $@`
616
617 opengl32/libopengl32.def opengl32/libopengl32.a opengl32/libopengl32.cross.a: opengl32/opengl32.spec $(WINEBUILD)
618         @cd opengl32 && $(MAKE) `basename $@`
619
620 pdh/libpdh.def pdh/libpdh.a pdh/libpdh.cross.a: pdh/pdh.spec $(WINEBUILD)
621         @cd pdh && $(MAKE) `basename $@`
622
623 powrprof/libpowrprof.def powrprof/libpowrprof.a powrprof/libpowrprof.cross.a: powrprof/powrprof.spec $(WINEBUILD)
624         @cd powrprof && $(MAKE) `basename $@`
625
626 psapi/libpsapi.def psapi/libpsapi.a psapi/libpsapi.cross.a: psapi/psapi.spec $(WINEBUILD)
627         @cd psapi && $(MAKE) `basename $@`
628
629 quartz/libquartz.def quartz/libquartz.a quartz/libquartz.cross.a: quartz/quartz.spec $(WINEBUILD)
630         @cd quartz && $(MAKE) `basename $@`
631
632 rasapi32/librasapi32.def rasapi32/librasapi32.a rasapi32/librasapi32.cross.a: rasapi32/rasapi32.spec $(WINEBUILD)
633         @cd rasapi32 && $(MAKE) `basename $@`
634
635 rasdlg/librasdlg.def rasdlg/librasdlg.a rasdlg/librasdlg.cross.a: rasdlg/rasdlg.spec $(WINEBUILD)
636         @cd rasdlg && $(MAKE) `basename $@`
637
638 resutils/libresutils.def resutils/libresutils.a resutils/libresutils.cross.a: resutils/resutils.spec $(WINEBUILD)
639         @cd resutils && $(MAKE) `basename $@`
640
641 riched20/libriched20.def riched20/libriched20.a riched20/libriched20.cross.a: riched20/riched20.spec $(WINEBUILD)
642         @cd riched20 && $(MAKE) `basename $@`
643
644 rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a rpcrt4/librpcrt4.cross.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
645         @cd rpcrt4 && $(MAKE) `basename $@`
646
647 rsaenh/librsaenh.def rsaenh/librsaenh.a rsaenh/librsaenh.cross.a: rsaenh/rsaenh.spec $(WINEBUILD)
648         @cd rsaenh && $(MAKE) `basename $@`
649
650 rtutils/librtutils.def rtutils/librtutils.a rtutils/librtutils.cross.a: rtutils/rtutils.spec $(WINEBUILD)
651         @cd rtutils && $(MAKE) `basename $@`
652
653 secur32/libsecur32.def secur32/libsecur32.a secur32/libsecur32.cross.a: secur32/secur32.spec $(WINEBUILD)
654         @cd secur32 && $(MAKE) `basename $@`
655
656 sensapi/libsensapi.def sensapi/libsensapi.a sensapi/libsensapi.cross.a: sensapi/sensapi.spec $(WINEBUILD)
657         @cd sensapi && $(MAKE) `basename $@`
658
659 serialui/libserialui.def serialui/libserialui.a serialui/libserialui.cross.a: serialui/serialui.spec $(WINEBUILD)
660         @cd serialui && $(MAKE) `basename $@`
661
662 setupapi/libsetupapi.def setupapi/libsetupapi.a setupapi/libsetupapi.cross.a: setupapi/setupapi.spec $(WINEBUILD)
663         @cd setupapi && $(MAKE) `basename $@`
664
665 sfc/libsfc.def sfc/libsfc.a sfc/libsfc.cross.a: sfc/sfc.spec $(WINEBUILD)
666         @cd sfc && $(MAKE) `basename $@`
667
668 sfc_os/libsfc_os.def sfc_os/libsfc_os.a sfc_os/libsfc_os.cross.a: sfc_os/sfc_os.spec $(WINEBUILD)
669         @cd sfc_os && $(MAKE) `basename $@`
670
671 shdocvw/libshdocvw.def shdocvw/libshdocvw.a shdocvw/libshdocvw.cross.a: shdocvw/shdocvw.spec $(WINEBUILD)
672         @cd shdocvw && $(MAKE) `basename $@`
673
674 shell32/libshell32.def shell32/libshell32.a shell32/libshell32.cross.a: shell32/shell32.spec $(WINEBUILD)
675         @cd shell32 && $(MAKE) `basename $@`
676
677 shfolder/libshfolder.def shfolder/libshfolder.a shfolder/libshfolder.cross.a: shfolder/shfolder.spec $(WINEBUILD)
678         @cd shfolder && $(MAKE) `basename $@`
679
680 shlwapi/libshlwapi.def shlwapi/libshlwapi.a shlwapi/libshlwapi.cross.a: shlwapi/shlwapi.spec $(WINEBUILD)
681         @cd shlwapi && $(MAKE) `basename $@`
682
683 slc/libslc.def slc/libslc.a slc/libslc.cross.a: slc/slc.spec $(WINEBUILD)
684         @cd slc && $(MAKE) `basename $@`
685
686 snmpapi/libsnmpapi.def snmpapi/libsnmpapi.a snmpapi/libsnmpapi.cross.a: snmpapi/snmpapi.spec $(WINEBUILD)
687         @cd snmpapi && $(MAKE) `basename $@`
688
689 spoolss/libspoolss.def spoolss/libspoolss.a spoolss/libspoolss.cross.a: spoolss/spoolss.spec $(WINEBUILD)
690         @cd spoolss && $(MAKE) `basename $@`
691
692 sti/libsti.def sti/libsti.a sti/libsti.cross.a: sti/sti.spec $(WINEBUILD)
693         @cd sti && $(MAKE) `basename $@`
694
695 tapi32/libtapi32.def tapi32/libtapi32.a tapi32/libtapi32.cross.a: tapi32/tapi32.spec $(WINEBUILD)
696         @cd tapi32 && $(MAKE) `basename $@`
697
698 unicows/libunicows.def unicows/libunicows.a unicows/libunicows.cross.a: unicows/unicows.spec $(WINEBUILD)
699         @cd unicows && $(MAKE) `basename $@`
700
701 url/liburl.def url/liburl.a url/liburl.cross.a: url/url.spec $(WINEBUILD)
702         @cd url && $(MAKE) `basename $@`
703
704 urlmon/liburlmon.def urlmon/liburlmon.a urlmon/liburlmon.cross.a: urlmon/urlmon.spec $(WINEBUILD)
705         @cd urlmon && $(MAKE) `basename $@`
706
707 user32/libuser32.def user32/libuser32.a user32/libuser32.cross.a: user32/user32.spec $(WINEBUILD)
708         @cd user32 && $(MAKE) `basename $@`
709
710 userenv/libuserenv.def userenv/libuserenv.a userenv/libuserenv.cross.a: userenv/userenv.spec $(WINEBUILD)
711         @cd userenv && $(MAKE) `basename $@`
712
713 usp10/libusp10.def usp10/libusp10.a usp10/libusp10.cross.a: usp10/usp10.spec $(WINEBUILD)
714         @cd usp10 && $(MAKE) `basename $@`
715
716 uxtheme/libuxtheme.def uxtheme/libuxtheme.a uxtheme/libuxtheme.cross.a: uxtheme/uxtheme.spec $(WINEBUILD)
717         @cd uxtheme && $(MAKE) `basename $@`
718
719 vdmdbg/libvdmdbg.def vdmdbg/libvdmdbg.a vdmdbg/libvdmdbg.cross.a: vdmdbg/vdmdbg.spec $(WINEBUILD)
720         @cd vdmdbg && $(MAKE) `basename $@`
721
722 version/libversion.def version/libversion.a version/libversion.cross.a: version/version.spec $(WINEBUILD)
723         @cd version && $(MAKE) `basename $@`
724
725 windowscodecs/libwindowscodecs.def windowscodecs/libwindowscodecs.a windowscodecs/libwindowscodecs.cross.a: windowscodecs/windowscodecs.spec $(WINEBUILD)
726         @cd windowscodecs && $(MAKE) `basename $@`
727
728 wined3d/libwined3d.def wined3d/libwined3d.a wined3d/libwined3d.cross.a: wined3d/wined3d.spec $(WINEBUILD)
729         @cd wined3d && $(MAKE) `basename $@`
730
731 winhttp/libwinhttp.def winhttp/libwinhttp.a winhttp/libwinhttp.cross.a: winhttp/winhttp.spec $(WINEBUILD)
732         @cd winhttp && $(MAKE) `basename $@`
733
734 wininet/libwininet.def wininet/libwininet.a wininet/libwininet.cross.a: wininet/wininet.spec $(WINEBUILD)
735         @cd wininet && $(MAKE) `basename $@`
736
737 winmm/libwinmm.def winmm/libwinmm.a winmm/libwinmm.cross.a: winmm/winmm.spec $(WINEBUILD)
738         @cd winmm && $(MAKE) `basename $@`
739
740 winnls32/libwinnls32.def winnls32/libwinnls32.a winnls32/libwinnls32.cross.a: winnls32/winnls32.spec $(WINEBUILD)
741         @cd winnls32 && $(MAKE) `basename $@`
742
743 winscard/libwinscard.def winscard/libwinscard.a winscard/libwinscard.cross.a: winscard/winscard.spec $(WINEBUILD)
744         @cd winscard && $(MAKE) `basename $@`
745
746 winspool.drv/libwinspool.def winspool.drv/libwinspool.a winspool.drv/libwinspool.cross.a: winspool.drv/winspool.drv.spec $(WINEBUILD)
747         @cd winspool.drv && $(MAKE) `basename $@`
748
749 wintab32/libwintab32.def wintab32/libwintab32.a wintab32/libwintab32.cross.a: wintab32/wintab32.spec $(WINEBUILD)
750         @cd wintab32 && $(MAKE) `basename $@`
751
752 wintrust/libwintrust.def wintrust/libwintrust.a wintrust/libwintrust.cross.a: wintrust/wintrust.spec $(WINEBUILD)
753         @cd wintrust && $(MAKE) `basename $@`
754
755 wldap32/libwldap32.def wldap32/libwldap32.a wldap32/libwldap32.cross.a: wldap32/wldap32.spec $(WINEBUILD)
756         @cd wldap32 && $(MAKE) `basename $@`
757
758 wnaspi32/libwnaspi32.def wnaspi32/libwnaspi32.a wnaspi32/libwnaspi32.cross.a: wnaspi32/wnaspi32.spec $(WINEBUILD)
759         @cd wnaspi32 && $(MAKE) `basename $@`
760
761 wow32/libwow32.def wow32/libwow32.a wow32/libwow32.cross.a: wow32/wow32.spec $(WINEBUILD)
762         @cd wow32 && $(MAKE) `basename $@`
763
764 ws2_32/libws2_32.def ws2_32/libws2_32.a ws2_32/libws2_32.cross.a: ws2_32/ws2_32.spec $(WINEBUILD)
765         @cd ws2_32 && $(MAKE) `basename $@`
766
767 wsock32/libwsock32.def wsock32/libwsock32.a wsock32/libwsock32.cross.a: wsock32/wsock32.spec $(WINEBUILD)
768         @cd wsock32 && $(MAKE) `basename $@`
769
770 wtsapi32/libwtsapi32.def wtsapi32/libwtsapi32.a wtsapi32/libwtsapi32.cross.a: wtsapi32/wtsapi32.spec $(WINEBUILD)
771         @cd wtsapi32 && $(MAKE) `basename $@`
772
773 xinput1_3/libxinput.def xinput1_3/libxinput.a xinput1_3/libxinput.cross.a: xinput1_3/xinput1_3.spec $(WINEBUILD)
774         @cd xinput1_3 && $(MAKE) `basename $@`
775
776 libd3dx9.a: d3dx9_36/libd3dx9.a
777         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.a $@
778
779 libd3dx9.cross.a: d3dx9_36/libd3dx9.cross.a
780         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.cross.a $@
781
782 libd3dx9.def: d3dx9_36/libd3dx9.def
783         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.def $@
784
785 libkernel.a: krnl386.exe16/libkernel.a
786         $(RM) $@ && $(LN_S) krnl386.exe16/libkernel.a $@
787
788 libkernel.cross.a: krnl386.exe16/libkernel.cross.a
789         $(RM) $@ && $(LN_S) krnl386.exe16/libkernel.cross.a $@
790
791 libkernel.def: krnl386.exe16/libkernel.def
792         $(RM) $@ && $(LN_S) krnl386.exe16/libkernel.def $@
793
794 libwinspool.a: winspool.drv/libwinspool.a
795         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.a $@
796
797 libwinspool.cross.a: winspool.drv/libwinspool.cross.a
798         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.cross.a $@
799
800 libwinspool.def: winspool.drv/libwinspool.def
801         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.def $@
802
803 libxinput.a: xinput1_3/libxinput.a
804         $(RM) $@ && $(LN_S) xinput1_3/libxinput.a $@
805
806 libxinput.cross.a: xinput1_3/libxinput.cross.a
807         $(RM) $@ && $(LN_S) xinput1_3/libxinput.cross.a $@
808
809 libxinput.def: xinput1_3/libxinput.def
810         $(RM) $@ && $(LN_S) xinput1_3/libxinput.def $@
811
812 $(BUILDSUBDIRS): $(IMPORT_LIBS)
813 $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
814
815 # Map library name to the corresponding directory
816
817 adsiid/libadsiid.a: adsiid
818 adsiid/libadsiid.cross.a: dummy
819         @cd adsiid && $(MAKE) libadsiid.cross.a
820
821 dxerr8/libdxerr8.a: dxerr8
822 dxerr8/libdxerr8.cross.a: dummy
823         @cd dxerr8 && $(MAKE) libdxerr8.cross.a
824
825 dxerr9/libdxerr9.a: dxerr9
826 dxerr9/libdxerr9.cross.a: dummy
827         @cd dxerr9 && $(MAKE) libdxerr9.cross.a
828
829 dxguid/libdxguid.a: dxguid
830 dxguid/libdxguid.cross.a: dummy
831         @cd dxguid && $(MAKE) libdxguid.cross.a
832
833 strmiids/libstrmiids.a: strmiids
834 strmiids/libstrmiids.cross.a: dummy
835         @cd strmiids && $(MAKE) libstrmiids.cross.a
836
837 uuid/libuuid.a: uuid
838 uuid/libuuid.cross.a: dummy
839         @cd uuid && $(MAKE) libuuid.cross.a
840
841 winecrt0/libwinecrt0.a: winecrt0
842 winecrt0/libwinecrt0.cross.a: dummy
843         @cd winecrt0 && $(MAKE) libwinecrt0.cross.a
844
845
846 # Misc rules
847
848 uninstall::
849         -rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
850
851 clean::
852         $(RM) $(IMPORT_SYMLINKS)