wined3d: Track separate dirty ranges in buffers.
[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.a \
189         libwinspool.a \
190         libxinput.a \
191         aclui/libaclui.a \
192         activeds/libactiveds.a \
193         advapi32/libadvapi32.a \
194         advpack/libadvpack.a \
195         atl/libatl.a \
196         avicap32/libavicap32.a \
197         avifil32/libavifil32.a \
198         avrt/libavrt.a \
199         cabinet/libcabinet.a \
200         capi2032/libcapi2032.a \
201         cards/libcards.a \
202         cfgmgr32/libcfgmgr32.a \
203         clusapi/libclusapi.a \
204         comctl32/libcomctl32.a \
205         comdlg32/libcomdlg32.a \
206         compstui/libcompstui.a \
207         credui/libcredui.a \
208         crtdll/libcrtdll.a \
209         crypt32/libcrypt32.a \
210         cryptdll/libcryptdll.a \
211         cryptnet/libcryptnet.a \
212         cryptui/libcryptui.a \
213         ctl3d32/libctl3d32.a \
214         d3d10/libd3d10.a \
215         d3d10core/libd3d10core.a \
216         d3d8/libd3d8.a \
217         d3d9/libd3d9.a \
218         d3dim/libd3dim.a \
219         d3drm/libd3drm.a \
220         d3dx9_36/libd3dx9.a \
221         d3dxof/libd3dxof.a \
222         dbghelp/libdbghelp.a \
223         dciman32/libdciman32.a \
224         ddraw/libddraw.a \
225         dinput8/libdinput8.a \
226         dmusic32/libdmusic32.a \
227         dnsapi/libdnsapi.a \
228         dplay/libdplay.a \
229         dplayx/libdplayx.a \
230         dpnet/libdpnet.a \
231         dsound/libdsound.a \
232         dwmapi/libdwmapi.a \
233         dxgi/libdxgi.a \
234         gdi32/libgdi32.a \
235         gdiplus/libgdiplus.a \
236         glu32/libglu32.a \
237         hid/libhid.a \
238         hlink/libhlink.a \
239         imagehlp/libimagehlp.a \
240         imm32/libimm32.a \
241         inetcomm/libinetcomm.a \
242         iphlpapi/libiphlpapi.a \
243         kernel32/libkernel32.a \
244         loadperf/libloadperf.a \
245         lz32/liblz32.a \
246         mapi32/libmapi32.a \
247         mlang/libmlang.a \
248         mpr/libmpr.a \
249         mprapi/libmprapi.a \
250         msacm32/libmsacm32.a \
251         mscms/libmscms.a \
252         msdmo/libmsdmo.a \
253         mshtml/libmshtml.a \
254         msi/libmsi.a \
255         msimg32/libmsimg32.a \
256         msvcr71/libmsvcr71.a \
257         msvcrt/libmsvcrt.a \
258         msvcrt20/libmsvcrt20.a \
259         msvcrt40/libmsvcrt40.a \
260         msvcrtd/libmsvcrtd.a \
261         msvfw32/libmsvfw32.a \
262         mswsock/libmswsock.a \
263         nddeapi/libnddeapi.a \
264         netapi32/libnetapi32.a \
265         newdev/libnewdev.a \
266         ntdll/libntdll.a \
267         ntdsapi/libntdsapi.a \
268         ntoskrnl.exe/libntoskrnl.exe.a \
269         odbc32/libodbc32.a \
270         odbccp32/libodbccp32.a \
271         ole32/libole32.a \
272         oleacc/liboleacc.a \
273         oleaut32/liboleaut32.a \
274         olecli32/libolecli32.a \
275         oledlg/liboledlg.a \
276         olepro32/libolepro32.a \
277         olesvr32/libolesvr32.a \
278         opengl32/libopengl32.a \
279         pdh/libpdh.a \
280         powrprof/libpowrprof.a \
281         psapi/libpsapi.a \
282         quartz/libquartz.a \
283         rasapi32/librasapi32.a \
284         rasdlg/librasdlg.a \
285         resutils/libresutils.a \
286         riched20/libriched20.a \
287         rpcrt4/librpcrt4.a \
288         rsaenh/librsaenh.a \
289         rtutils/librtutils.a \
290         secur32/libsecur32.a \
291         sensapi/libsensapi.a \
292         serialui/libserialui.a \
293         setupapi/libsetupapi.a \
294         sfc/libsfc.a \
295         sfc_os/libsfc_os.a \
296         shdocvw/libshdocvw.a \
297         shell32/libshell32.a \
298         shfolder/libshfolder.a \
299         shlwapi/libshlwapi.a \
300         slc/libslc.a \
301         snmpapi/libsnmpapi.a \
302         spoolss/libspoolss.a \
303         sti/libsti.a \
304         tapi32/libtapi32.a \
305         unicows/libunicows.a \
306         url/liburl.a \
307         urlmon/liburlmon.a \
308         user32/libuser32.a \
309         userenv/libuserenv.a \
310         usp10/libusp10.a \
311         uxtheme/libuxtheme.a \
312         vdmdbg/libvdmdbg.a \
313         version/libversion.a \
314         windowscodecs/libwindowscodecs.a \
315         wined3d/libwined3d.a \
316         winhttp/libwinhttp.a \
317         wininet/libwininet.a \
318         winmm/libwinmm.a \
319         winnls32/libwinnls32.a \
320         winscard/libwinscard.a \
321         winspool.drv/libwinspool.a \
322         wintab32/libwintab32.a \
323         wintrust/libwintrust.a \
324         wldap32/libwldap32.a \
325         wnaspi32/libwnaspi32.a \
326         wow32/libwow32.a \
327         ws2_32/libws2_32.a \
328         wsock32/libwsock32.a \
329         wtsapi32/libwtsapi32.a \
330         xinput1_3/libxinput.a
331
332 $(TESTSUBDIRS:%=%/__crosstest__): $(CROSS_IMPLIBS)
333
334 implib: $(IMPORT_LIBS)
335
336 testsubdirs: $(TESTSUBDIRS)
337
338 .PHONY: implib testsubdirs
339
340 aclui/libaclui.def aclui/libaclui.a: aclui/aclui.spec $(WINEBUILD)
341         @cd aclui && $(MAKE) `basename $@`
342
343 activeds/libactiveds.def activeds/libactiveds.a: activeds/activeds.spec $(WINEBUILD)
344         @cd activeds && $(MAKE) `basename $@`
345
346 advapi32/libadvapi32.def advapi32/libadvapi32.a: advapi32/advapi32.spec $(WINEBUILD)
347         @cd advapi32 && $(MAKE) `basename $@`
348
349 advpack/libadvpack.def advpack/libadvpack.a: advpack/advpack.spec $(WINEBUILD)
350         @cd advpack && $(MAKE) `basename $@`
351
352 atl/libatl.def atl/libatl.a: atl/atl.spec $(WINEBUILD)
353         @cd atl && $(MAKE) `basename $@`
354
355 avicap32/libavicap32.def avicap32/libavicap32.a: avicap32/avicap32.spec $(WINEBUILD)
356         @cd avicap32 && $(MAKE) `basename $@`
357
358 avifil32/libavifil32.def avifil32/libavifil32.a: avifil32/avifil32.spec $(WINEBUILD)
359         @cd avifil32 && $(MAKE) `basename $@`
360
361 avrt/libavrt.def avrt/libavrt.a: avrt/avrt.spec $(WINEBUILD)
362         @cd avrt && $(MAKE) `basename $@`
363
364 cabinet/libcabinet.def cabinet/libcabinet.a: cabinet/cabinet.spec $(WINEBUILD)
365         @cd cabinet && $(MAKE) `basename $@`
366
367 capi2032/libcapi2032.def capi2032/libcapi2032.a: capi2032/capi2032.spec $(WINEBUILD)
368         @cd capi2032 && $(MAKE) `basename $@`
369
370 cards/libcards.def cards/libcards.a: cards/cards.spec $(WINEBUILD)
371         @cd cards && $(MAKE) `basename $@`
372
373 cfgmgr32/libcfgmgr32.def cfgmgr32/libcfgmgr32.a: cfgmgr32/cfgmgr32.spec $(WINEBUILD)
374         @cd cfgmgr32 && $(MAKE) `basename $@`
375
376 clusapi/libclusapi.def clusapi/libclusapi.a: clusapi/clusapi.spec $(WINEBUILD)
377         @cd clusapi && $(MAKE) `basename $@`
378
379 comctl32/libcomctl32.def comctl32/libcomctl32.a: comctl32/comctl32.spec $(WINEBUILD)
380         @cd comctl32 && $(MAKE) `basename $@`
381
382 comdlg32/libcomdlg32.def comdlg32/libcomdlg32.a: comdlg32/comdlg32.spec $(WINEBUILD)
383         @cd comdlg32 && $(MAKE) `basename $@`
384
385 compstui/libcompstui.def compstui/libcompstui.a: compstui/compstui.spec $(WINEBUILD)
386         @cd compstui && $(MAKE) `basename $@`
387
388 credui/libcredui.def credui/libcredui.a: credui/credui.spec $(WINEBUILD)
389         @cd credui && $(MAKE) `basename $@`
390
391 crtdll/libcrtdll.def crtdll/libcrtdll.a: crtdll/crtdll.spec $(WINEBUILD)
392         @cd crtdll && $(MAKE) `basename $@`
393
394 crypt32/libcrypt32.def crypt32/libcrypt32.a: crypt32/crypt32.spec $(WINEBUILD)
395         @cd crypt32 && $(MAKE) `basename $@`
396
397 cryptdll/libcryptdll.def cryptdll/libcryptdll.a: cryptdll/cryptdll.spec $(WINEBUILD)
398         @cd cryptdll && $(MAKE) `basename $@`
399
400 cryptnet/libcryptnet.def cryptnet/libcryptnet.a: cryptnet/cryptnet.spec $(WINEBUILD)
401         @cd cryptnet && $(MAKE) `basename $@`
402
403 cryptui/libcryptui.def cryptui/libcryptui.a: cryptui/cryptui.spec $(WINEBUILD)
404         @cd cryptui && $(MAKE) `basename $@`
405
406 ctl3d32/libctl3d32.def ctl3d32/libctl3d32.a: ctl3d32/ctl3d32.spec $(WINEBUILD)
407         @cd ctl3d32 && $(MAKE) `basename $@`
408
409 d3d10/libd3d10.def d3d10/libd3d10.a: d3d10/d3d10.spec $(WINEBUILD)
410         @cd d3d10 && $(MAKE) `basename $@`
411
412 d3d10core/libd3d10core.def d3d10core/libd3d10core.a: d3d10core/d3d10core.spec $(WINEBUILD)
413         @cd d3d10core && $(MAKE) `basename $@`
414
415 d3d8/libd3d8.def d3d8/libd3d8.a: d3d8/d3d8.spec $(WINEBUILD)
416         @cd d3d8 && $(MAKE) `basename $@`
417
418 d3d9/libd3d9.def d3d9/libd3d9.a: d3d9/d3d9.spec $(WINEBUILD)
419         @cd d3d9 && $(MAKE) `basename $@`
420
421 d3dim/libd3dim.def d3dim/libd3dim.a: d3dim/d3dim.spec $(WINEBUILD)
422         @cd d3dim && $(MAKE) `basename $@`
423
424 d3drm/libd3drm.def d3drm/libd3drm.a: d3drm/d3drm.spec $(WINEBUILD)
425         @cd d3drm && $(MAKE) `basename $@`
426
427 d3dx9_36/libd3dx9.def d3dx9_36/libd3dx9.a: d3dx9_36/d3dx9_36.spec $(WINEBUILD)
428         @cd d3dx9_36 && $(MAKE) `basename $@`
429
430 d3dxof/libd3dxof.def d3dxof/libd3dxof.a: d3dxof/d3dxof.spec $(WINEBUILD)
431         @cd d3dxof && $(MAKE) `basename $@`
432
433 dbghelp/libdbghelp.def dbghelp/libdbghelp.a: dbghelp/dbghelp.spec $(WINEBUILD)
434         @cd dbghelp && $(MAKE) `basename $@`
435
436 dciman32/libdciman32.def dciman32/libdciman32.a: dciman32/dciman32.spec $(WINEBUILD)
437         @cd dciman32 && $(MAKE) `basename $@`
438
439 ddraw/libddraw.def ddraw/libddraw.a: ddraw/ddraw.spec $(WINEBUILD)
440         @cd ddraw && $(MAKE) `basename $@`
441
442 dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
443         @cd dinput && $(MAKE) libdinput.def
444
445 dinput/libdinput.$(STATIC_IMPLIBEXT): dummy
446         @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
447
448 dinput8/libdinput8.def dinput8/libdinput8.a: dinput8/dinput8.spec $(WINEBUILD)
449         @cd dinput8 && $(MAKE) `basename $@`
450
451 dmusic32/libdmusic32.def dmusic32/libdmusic32.a: dmusic32/dmusic32.spec $(WINEBUILD)
452         @cd dmusic32 && $(MAKE) `basename $@`
453
454 dnsapi/libdnsapi.def dnsapi/libdnsapi.a: dnsapi/dnsapi.spec $(WINEBUILD)
455         @cd dnsapi && $(MAKE) `basename $@`
456
457 dplay/libdplay.def dplay/libdplay.a: dplay/dplay.spec $(WINEBUILD)
458         @cd dplay && $(MAKE) `basename $@`
459
460 dplayx/libdplayx.def dplayx/libdplayx.a: dplayx/dplayx.spec $(WINEBUILD)
461         @cd dplayx && $(MAKE) `basename $@`
462
463 dpnet/libdpnet.def dpnet/libdpnet.a: dpnet/dpnet.spec $(WINEBUILD)
464         @cd dpnet && $(MAKE) `basename $@`
465
466 dsound/libdsound.def dsound/libdsound.a: dsound/dsound.spec $(WINEBUILD)
467         @cd dsound && $(MAKE) `basename $@`
468
469 dwmapi/libdwmapi.def dwmapi/libdwmapi.a: dwmapi/dwmapi.spec $(WINEBUILD)
470         @cd dwmapi && $(MAKE) `basename $@`
471
472 dxgi/libdxgi.def dxgi/libdxgi.a: dxgi/dxgi.spec $(WINEBUILD)
473         @cd dxgi && $(MAKE) `basename $@`
474
475 gdi32/libgdi32.def gdi32/libgdi32.a: gdi32/gdi32.spec $(WINEBUILD)
476         @cd gdi32 && $(MAKE) `basename $@`
477
478 gdiplus/libgdiplus.def gdiplus/libgdiplus.a: gdiplus/gdiplus.spec $(WINEBUILD)
479         @cd gdiplus && $(MAKE) `basename $@`
480
481 glu32/libglu32.def glu32/libglu32.a: glu32/glu32.spec $(WINEBUILD)
482         @cd glu32 && $(MAKE) `basename $@`
483
484 hid/libhid.def hid/libhid.a: hid/hid.spec $(WINEBUILD)
485         @cd hid && $(MAKE) `basename $@`
486
487 hlink/libhlink.def hlink/libhlink.a: hlink/hlink.spec $(WINEBUILD)
488         @cd hlink && $(MAKE) `basename $@`
489
490 imagehlp/libimagehlp.def imagehlp/libimagehlp.a: imagehlp/imagehlp.spec $(WINEBUILD)
491         @cd imagehlp && $(MAKE) `basename $@`
492
493 imm32/libimm32.def imm32/libimm32.a: imm32/imm32.spec $(WINEBUILD)
494         @cd imm32 && $(MAKE) `basename $@`
495
496 inetcomm/libinetcomm.def inetcomm/libinetcomm.a: inetcomm/inetcomm.spec $(WINEBUILD)
497         @cd inetcomm && $(MAKE) `basename $@`
498
499 iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a: iphlpapi/iphlpapi.spec $(WINEBUILD)
500         @cd iphlpapi && $(MAKE) `basename $@`
501
502 kernel32/libkernel32.def kernel32/libkernel32.a: kernel32/kernel32.spec $(WINEBUILD)
503         @cd kernel32 && $(MAKE) `basename $@`
504
505 krnl386.exe16/libkernel.def krnl386.exe16/libkernel.a: krnl386.exe16/krnl386.exe16.spec $(WINEBUILD)
506         @cd krnl386.exe16 && $(MAKE) `basename $@`
507
508 loadperf/libloadperf.def loadperf/libloadperf.a: loadperf/loadperf.spec $(WINEBUILD)
509         @cd loadperf && $(MAKE) `basename $@`
510
511 lz32/liblz32.def lz32/liblz32.a: lz32/lz32.spec $(WINEBUILD)
512         @cd lz32 && $(MAKE) `basename $@`
513
514 mapi32/libmapi32.def mapi32/libmapi32.a: mapi32/mapi32.spec $(WINEBUILD)
515         @cd mapi32 && $(MAKE) `basename $@`
516
517 mlang/libmlang.def mlang/libmlang.a: mlang/mlang.spec $(WINEBUILD)
518         @cd mlang && $(MAKE) `basename $@`
519
520 mpr/libmpr.def mpr/libmpr.a: mpr/mpr.spec $(WINEBUILD)
521         @cd mpr && $(MAKE) `basename $@`
522
523 mprapi/libmprapi.def mprapi/libmprapi.a: mprapi/mprapi.spec $(WINEBUILD)
524         @cd mprapi && $(MAKE) `basename $@`
525
526 msacm32/libmsacm32.def msacm32/libmsacm32.a: msacm32/msacm32.spec $(WINEBUILD)
527         @cd msacm32 && $(MAKE) `basename $@`
528
529 mscms/libmscms.def mscms/libmscms.a: mscms/mscms.spec $(WINEBUILD)
530         @cd mscms && $(MAKE) `basename $@`
531
532 msdmo/libmsdmo.def msdmo/libmsdmo.a: msdmo/msdmo.spec $(WINEBUILD)
533         @cd msdmo && $(MAKE) `basename $@`
534
535 mshtml/libmshtml.def mshtml/libmshtml.a: mshtml/mshtml.spec $(WINEBUILD)
536         @cd mshtml && $(MAKE) `basename $@`
537
538 msi/libmsi.def msi/libmsi.a: msi/msi.spec $(WINEBUILD)
539         @cd msi && $(MAKE) `basename $@`
540
541 msimg32/libmsimg32.def msimg32/libmsimg32.a: msimg32/msimg32.spec $(WINEBUILD)
542         @cd msimg32 && $(MAKE) `basename $@`
543
544 msvcr71/libmsvcr71.def msvcr71/libmsvcr71.a: msvcr71/msvcr71.spec $(WINEBUILD)
545         @cd msvcr71 && $(MAKE) `basename $@`
546
547 msvcrt/libmsvcrt.def msvcrt/libmsvcrt.a: msvcrt/msvcrt.spec $(WINEBUILD)
548         @cd msvcrt && $(MAKE) `basename $@`
549
550 msvcrt20/libmsvcrt20.def msvcrt20/libmsvcrt20.a: msvcrt20/msvcrt20.spec $(WINEBUILD)
551         @cd msvcrt20 && $(MAKE) `basename $@`
552
553 msvcrt40/libmsvcrt40.def msvcrt40/libmsvcrt40.a: msvcrt40/msvcrt40.spec $(WINEBUILD)
554         @cd msvcrt40 && $(MAKE) `basename $@`
555
556 msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.a: msvcrtd/msvcrtd.spec $(WINEBUILD)
557         @cd msvcrtd && $(MAKE) `basename $@`
558
559 msvfw32/libmsvfw32.def msvfw32/libmsvfw32.a: msvfw32/msvfw32.spec $(WINEBUILD)
560         @cd msvfw32 && $(MAKE) `basename $@`
561
562 mswsock/libmswsock.def mswsock/libmswsock.a: mswsock/mswsock.spec $(WINEBUILD)
563         @cd mswsock && $(MAKE) `basename $@`
564
565 nddeapi/libnddeapi.def nddeapi/libnddeapi.a: nddeapi/nddeapi.spec $(WINEBUILD)
566         @cd nddeapi && $(MAKE) `basename $@`
567
568 netapi32/libnetapi32.def netapi32/libnetapi32.a: netapi32/netapi32.spec $(WINEBUILD)
569         @cd netapi32 && $(MAKE) `basename $@`
570
571 newdev/libnewdev.def newdev/libnewdev.a: newdev/newdev.spec $(WINEBUILD)
572         @cd newdev && $(MAKE) `basename $@`
573
574 ntdll/libntdll.def ntdll/libntdll.a: ntdll/ntdll.spec $(WINEBUILD)
575         @cd ntdll && $(MAKE) `basename $@`
576
577 ntdsapi/libntdsapi.def ntdsapi/libntdsapi.a: ntdsapi/ntdsapi.spec $(WINEBUILD)
578         @cd ntdsapi && $(MAKE) `basename $@`
579
580 ntoskrnl.exe/libntoskrnl.exe.def ntoskrnl.exe/libntoskrnl.exe.a: ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD)
581         @cd ntoskrnl.exe && $(MAKE) `basename $@`
582
583 odbc32/libodbc32.def odbc32/libodbc32.a: odbc32/odbc32.spec $(WINEBUILD)
584         @cd odbc32 && $(MAKE) `basename $@`
585
586 odbccp32/libodbccp32.def odbccp32/libodbccp32.a: odbccp32/odbccp32.spec $(WINEBUILD)
587         @cd odbccp32 && $(MAKE) `basename $@`
588
589 ole32/libole32.def ole32/libole32.a: ole32/ole32.spec $(WINEBUILD)
590         @cd ole32 && $(MAKE) `basename $@`
591
592 oleacc/liboleacc.def oleacc/liboleacc.a: oleacc/oleacc.spec $(WINEBUILD)
593         @cd oleacc && $(MAKE) `basename $@`
594
595 oleaut32/liboleaut32.def oleaut32/liboleaut32.a: oleaut32/oleaut32.spec $(WINEBUILD)
596         @cd oleaut32 && $(MAKE) `basename $@`
597
598 olecli32/libolecli32.def olecli32/libolecli32.a: olecli32/olecli32.spec $(WINEBUILD)
599         @cd olecli32 && $(MAKE) `basename $@`
600
601 oledlg/liboledlg.def oledlg/liboledlg.a: oledlg/oledlg.spec $(WINEBUILD)
602         @cd oledlg && $(MAKE) `basename $@`
603
604 olepro32/libolepro32.def olepro32/libolepro32.a: olepro32/olepro32.spec $(WINEBUILD)
605         @cd olepro32 && $(MAKE) `basename $@`
606
607 olesvr32/libolesvr32.def olesvr32/libolesvr32.a: olesvr32/olesvr32.spec $(WINEBUILD)
608         @cd olesvr32 && $(MAKE) `basename $@`
609
610 opengl32/libopengl32.def opengl32/libopengl32.a: opengl32/opengl32.spec $(WINEBUILD)
611         @cd opengl32 && $(MAKE) `basename $@`
612
613 pdh/libpdh.def pdh/libpdh.a: pdh/pdh.spec $(WINEBUILD)
614         @cd pdh && $(MAKE) `basename $@`
615
616 powrprof/libpowrprof.def powrprof/libpowrprof.a: powrprof/powrprof.spec $(WINEBUILD)
617         @cd powrprof && $(MAKE) `basename $@`
618
619 psapi/libpsapi.def psapi/libpsapi.a: psapi/psapi.spec $(WINEBUILD)
620         @cd psapi && $(MAKE) `basename $@`
621
622 quartz/libquartz.def quartz/libquartz.a: quartz/quartz.spec $(WINEBUILD)
623         @cd quartz && $(MAKE) `basename $@`
624
625 rasapi32/librasapi32.def rasapi32/librasapi32.a: rasapi32/rasapi32.spec $(WINEBUILD)
626         @cd rasapi32 && $(MAKE) `basename $@`
627
628 rasdlg/librasdlg.def rasdlg/librasdlg.a: rasdlg/rasdlg.spec $(WINEBUILD)
629         @cd rasdlg && $(MAKE) `basename $@`
630
631 resutils/libresutils.def resutils/libresutils.a: resutils/resutils.spec $(WINEBUILD)
632         @cd resutils && $(MAKE) `basename $@`
633
634 riched20/libriched20.def riched20/libriched20.a: riched20/riched20.spec $(WINEBUILD)
635         @cd riched20 && $(MAKE) `basename $@`
636
637 rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
638         @cd rpcrt4 && $(MAKE) `basename $@`
639
640 rsaenh/librsaenh.def rsaenh/librsaenh.a: rsaenh/rsaenh.spec $(WINEBUILD)
641         @cd rsaenh && $(MAKE) `basename $@`
642
643 rtutils/librtutils.def rtutils/librtutils.a: rtutils/rtutils.spec $(WINEBUILD)
644         @cd rtutils && $(MAKE) `basename $@`
645
646 secur32/libsecur32.def secur32/libsecur32.a: secur32/secur32.spec $(WINEBUILD)
647         @cd secur32 && $(MAKE) `basename $@`
648
649 sensapi/libsensapi.def sensapi/libsensapi.a: sensapi/sensapi.spec $(WINEBUILD)
650         @cd sensapi && $(MAKE) `basename $@`
651
652 serialui/libserialui.def serialui/libserialui.a: serialui/serialui.spec $(WINEBUILD)
653         @cd serialui && $(MAKE) `basename $@`
654
655 setupapi/libsetupapi.def setupapi/libsetupapi.a: setupapi/setupapi.spec $(WINEBUILD)
656         @cd setupapi && $(MAKE) `basename $@`
657
658 sfc/libsfc.def sfc/libsfc.a: sfc/sfc.spec $(WINEBUILD)
659         @cd sfc && $(MAKE) `basename $@`
660
661 sfc_os/libsfc_os.def sfc_os/libsfc_os.a: sfc_os/sfc_os.spec $(WINEBUILD)
662         @cd sfc_os && $(MAKE) `basename $@`
663
664 shdocvw/libshdocvw.def shdocvw/libshdocvw.a: shdocvw/shdocvw.spec $(WINEBUILD)
665         @cd shdocvw && $(MAKE) `basename $@`
666
667 shell32/libshell32.def shell32/libshell32.a: shell32/shell32.spec $(WINEBUILD)
668         @cd shell32 && $(MAKE) `basename $@`
669
670 shfolder/libshfolder.def shfolder/libshfolder.a: shfolder/shfolder.spec $(WINEBUILD)
671         @cd shfolder && $(MAKE) `basename $@`
672
673 shlwapi/libshlwapi.def shlwapi/libshlwapi.a: shlwapi/shlwapi.spec $(WINEBUILD)
674         @cd shlwapi && $(MAKE) `basename $@`
675
676 slc/libslc.def slc/libslc.a: slc/slc.spec $(WINEBUILD)
677         @cd slc && $(MAKE) `basename $@`
678
679 snmpapi/libsnmpapi.def snmpapi/libsnmpapi.a: snmpapi/snmpapi.spec $(WINEBUILD)
680         @cd snmpapi && $(MAKE) `basename $@`
681
682 spoolss/libspoolss.def spoolss/libspoolss.a: spoolss/spoolss.spec $(WINEBUILD)
683         @cd spoolss && $(MAKE) `basename $@`
684
685 sti/libsti.def sti/libsti.a: sti/sti.spec $(WINEBUILD)
686         @cd sti && $(MAKE) `basename $@`
687
688 tapi32/libtapi32.def tapi32/libtapi32.a: tapi32/tapi32.spec $(WINEBUILD)
689         @cd tapi32 && $(MAKE) `basename $@`
690
691 unicows/libunicows.def unicows/libunicows.a: unicows/unicows.spec $(WINEBUILD)
692         @cd unicows && $(MAKE) `basename $@`
693
694 url/liburl.def url/liburl.a: url/url.spec $(WINEBUILD)
695         @cd url && $(MAKE) `basename $@`
696
697 urlmon/liburlmon.def urlmon/liburlmon.a: urlmon/urlmon.spec $(WINEBUILD)
698         @cd urlmon && $(MAKE) `basename $@`
699
700 user32/libuser32.def user32/libuser32.a: user32/user32.spec $(WINEBUILD)
701         @cd user32 && $(MAKE) `basename $@`
702
703 userenv/libuserenv.def userenv/libuserenv.a: userenv/userenv.spec $(WINEBUILD)
704         @cd userenv && $(MAKE) `basename $@`
705
706 usp10/libusp10.def usp10/libusp10.a: usp10/usp10.spec $(WINEBUILD)
707         @cd usp10 && $(MAKE) `basename $@`
708
709 uxtheme/libuxtheme.def uxtheme/libuxtheme.a: uxtheme/uxtheme.spec $(WINEBUILD)
710         @cd uxtheme && $(MAKE) `basename $@`
711
712 vdmdbg/libvdmdbg.def vdmdbg/libvdmdbg.a: vdmdbg/vdmdbg.spec $(WINEBUILD)
713         @cd vdmdbg && $(MAKE) `basename $@`
714
715 version/libversion.def version/libversion.a: version/version.spec $(WINEBUILD)
716         @cd version && $(MAKE) `basename $@`
717
718 windowscodecs/libwindowscodecs.def windowscodecs/libwindowscodecs.a: windowscodecs/windowscodecs.spec $(WINEBUILD)
719         @cd windowscodecs && $(MAKE) `basename $@`
720
721 wined3d/libwined3d.def wined3d/libwined3d.a: wined3d/wined3d.spec $(WINEBUILD)
722         @cd wined3d && $(MAKE) `basename $@`
723
724 winhttp/libwinhttp.def winhttp/libwinhttp.a: winhttp/winhttp.spec $(WINEBUILD)
725         @cd winhttp && $(MAKE) `basename $@`
726
727 wininet/libwininet.def wininet/libwininet.a: wininet/wininet.spec $(WINEBUILD)
728         @cd wininet && $(MAKE) `basename $@`
729
730 winmm/libwinmm.def winmm/libwinmm.a: winmm/winmm.spec $(WINEBUILD)
731         @cd winmm && $(MAKE) `basename $@`
732
733 winnls32/libwinnls32.def winnls32/libwinnls32.a: winnls32/winnls32.spec $(WINEBUILD)
734         @cd winnls32 && $(MAKE) `basename $@`
735
736 winscard/libwinscard.def winscard/libwinscard.a: winscard/winscard.spec $(WINEBUILD)
737         @cd winscard && $(MAKE) `basename $@`
738
739 winspool.drv/libwinspool.def winspool.drv/libwinspool.a: winspool.drv/winspool.drv.spec $(WINEBUILD)
740         @cd winspool.drv && $(MAKE) `basename $@`
741
742 wintab32/libwintab32.def wintab32/libwintab32.a: wintab32/wintab32.spec $(WINEBUILD)
743         @cd wintab32 && $(MAKE) `basename $@`
744
745 wintrust/libwintrust.def wintrust/libwintrust.a: wintrust/wintrust.spec $(WINEBUILD)
746         @cd wintrust && $(MAKE) `basename $@`
747
748 wldap32/libwldap32.def wldap32/libwldap32.a: wldap32/wldap32.spec $(WINEBUILD)
749         @cd wldap32 && $(MAKE) `basename $@`
750
751 wnaspi32/libwnaspi32.def wnaspi32/libwnaspi32.a: wnaspi32/wnaspi32.spec $(WINEBUILD)
752         @cd wnaspi32 && $(MAKE) `basename $@`
753
754 wow32/libwow32.def wow32/libwow32.a: wow32/wow32.spec $(WINEBUILD)
755         @cd wow32 && $(MAKE) `basename $@`
756
757 ws2_32/libws2_32.def ws2_32/libws2_32.a: ws2_32/ws2_32.spec $(WINEBUILD)
758         @cd ws2_32 && $(MAKE) `basename $@`
759
760 wsock32/libwsock32.def wsock32/libwsock32.a: wsock32/wsock32.spec $(WINEBUILD)
761         @cd wsock32 && $(MAKE) `basename $@`
762
763 wtsapi32/libwtsapi32.def wtsapi32/libwtsapi32.a: wtsapi32/wtsapi32.spec $(WINEBUILD)
764         @cd wtsapi32 && $(MAKE) `basename $@`
765
766 xinput1_3/libxinput.def xinput1_3/libxinput.a: xinput1_3/xinput1_3.spec $(WINEBUILD)
767         @cd xinput1_3 && $(MAKE) `basename $@`
768
769 libd3dx9.a: d3dx9_36/libd3dx9.a
770         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.a $@
771
772 libd3dx9.def: d3dx9_36/libd3dx9.def
773         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.def $@
774
775 libkernel.a: krnl386.exe16/libkernel.a
776         $(RM) $@ && $(LN_S) krnl386.exe16/libkernel.a $@
777
778 libkernel.def: krnl386.exe16/libkernel.def
779         $(RM) $@ && $(LN_S) krnl386.exe16/libkernel.def $@
780
781 libwinspool.a: winspool.drv/libwinspool.a
782         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.a $@
783
784 libwinspool.def: winspool.drv/libwinspool.def
785         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.def $@
786
787 libxinput.a: xinput1_3/libxinput.a
788         $(RM) $@ && $(LN_S) xinput1_3/libxinput.a $@
789
790 libxinput.def: xinput1_3/libxinput.def
791         $(RM) $@ && $(LN_S) xinput1_3/libxinput.def $@
792
793 $(BUILDSUBDIRS): $(IMPORT_LIBS)
794 $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
795
796 # Map library name to the corresponding directory
797
798 adsiid/libadsiid.a: adsiid
799 dxerr8/libdxerr8.a: dxerr8
800 dxerr9/libdxerr9.a: dxerr9
801 dxguid/libdxguid.a: dxguid
802 strmiids/libstrmiids.a: strmiids
803 uuid/libuuid.a: uuid
804 winecrt0/libwinecrt0.a: winecrt0
805
806 # Misc rules
807
808 uninstall::
809         -rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
810
811 clean::
812         $(RM) $(IMPORT_SYMLINKS)