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