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