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