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