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