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