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