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