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