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