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