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