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