winhlp32: Use TopicOffset mapping and get rid of unused function.
[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 INSTALLDIRS = $(DESTDIR)$(dlldir)
9
10 # special configure-dependent targets
11
12 GLU32FILES = glu32
13 OPENGLFILES = opengl32
14 QUARTZFILES = winequartz.drv
15 XFILES = winex11.drv
16 EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @QUARTZFILES@ @XFILES@
17
18 # Subdir list
19
20 BASEDIRS = \
21         acledit \
22         activeds \
23         actxprxy \
24         advapi32 \
25         advpack \
26         amstream \
27         appwiz.cpl \
28         atl \
29         avicap32 \
30         avifil32 \
31         browseui \
32         cabinet \
33         capi2032 \
34         cards \
35         cfgmgr32 \
36         clusapi \
37         comcat \
38         comctl32 \
39         comdlg32 \
40         compstui \
41         credui \
42         crtdll \
43         crypt32 \
44         cryptdlg \
45         cryptdll \
46         cryptnet \
47         cryptui \
48         ctapi32 \
49         ctl3d32 \
50         d3d10 \
51         d3d8 \
52         d3d9 \
53         d3dim \
54         d3drm \
55         d3dx8 \
56         d3dx9_24 \
57         d3dx9_25 \
58         d3dx9_26 \
59         d3dx9_27 \
60         d3dx9_28 \
61         d3dx9_29 \
62         d3dx9_30 \
63         d3dx9_31 \
64         d3dx9_32 \
65         d3dx9_33 \
66         d3dx9_34 \
67         d3dx9_35 \
68         d3dx9_36 \
69         d3dx9_37 \
70         d3dxof \
71         dbghelp \
72         dciman32 \
73         ddraw \
74         ddrawex \
75         devenum \
76         dinput \
77         dinput8 \
78         dmband \
79         dmcompos \
80         dmime \
81         dmloader \
82         dmscript \
83         dmstyle \
84         dmsynth \
85         dmusic \
86         dmusic32 \
87         dnsapi \
88         dplay \
89         dplayx \
90         dpnaddr \
91         dpnet \
92         dpnhpast \
93         dpnlobby \
94         dpwsockx \
95         dsound \
96         dssenh \
97         dswave \
98         dwmapi \
99         dxdiagn \
100         faultrep \
101         fusion \
102         gdi32 \
103         gdiplus \
104         gphoto2.ds \
105         gpkcsp \
106         hal \
107         hhctrl.ocx \
108         hid \
109         hlink \
110         hnetcfg \
111         iccvid \
112         icmp \
113         ifsmgr.vxd \
114         imaadp32.acm \
115         imagehlp \
116         imm32 \
117         inetcomm \
118         inetmib1 \
119         infosoft \
120         initpki \
121         inkobj \
122         inseng \
123         iphlpapi \
124         itircl \
125         itss \
126         jscript \
127         kernel32 \
128         localspl \
129         localui \
130         lz32 \
131         mapi32 \
132         mciavi32 \
133         mcicda \
134         mciseq \
135         mciwave \
136         midimap \
137         mlang \
138         mmdevldr.vxd \
139         monodebg.vxd \
140         mountmgr.sys \
141         mpr \
142         mprapi \
143         msacm32 \
144         msacm32.drv \
145         msadp32.acm \
146         mscat32 \
147         mscms \
148         mscoree \
149         msdmo \
150         msftedit \
151         msg711.acm \
152         mshtml \
153         mshtml.tlb \
154         msi \
155         msimg32 \
156         msimtf \
157         msisip \
158         msisys.ocx \
159         msnet32 \
160         msrle32 \
161         mssip32 \
162         mstask \
163         msvcirt \
164         msvcr71 \
165         msvcrt \
166         msvcrt20 \
167         msvcrt40 \
168         msvcrtd \
169         msvfw32 \
170         msvidc32 \
171         mswsock \
172         msxml3 \
173         nddeapi \
174         netapi32 \
175         newdev \
176         ntdll \
177         ntdsapi \
178         ntoskrnl.exe \
179         ntprint \
180         objsel \
181         odbc32 \
182         odbccp32 \
183         ole32 \
184         oleacc \
185         oleaut32 \
186         olecli32 \
187         oledlg \
188         olepro32 \
189         olesvr32 \
190         olethk32 \
191         pdh \
192         powrprof \
193         printui \
194         propsys \
195         psapi \
196         pstorec \
197         qcap \
198         qedit \
199         qmgr \
200         qmgrprxy \
201         quartz \
202         query \
203         rasapi32 \
204         resutils \
205         riched20 \
206         riched32 \
207         rpcrt4 \
208         rsabase \
209         rsaenh \
210         sane.ds \
211         sccbase \
212         schannel \
213         secur32 \
214         security \
215         sensapi \
216         serialui \
217         setupapi \
218         sfc \
219         sfc_os \
220         shdoclc \
221         shdocvw \
222         shell32 \
223         shfolder \
224         shlwapi \
225         slbcsp \
226         slc \
227         snmpapi \
228         softpub \
229         spoolss \
230         stdole2.tlb \
231         stdole32.tlb \
232         sti \
233         svrapi \
234         sxs \
235         tapi32 \
236         twain_32 \
237         unicows \
238         url \
239         urlmon \
240         user32 \
241         userenv \
242         usp10 \
243         uxtheme \
244         vdhcp.vxd \
245         vdmdbg \
246         version \
247         vmm.vxd \
248         vnbt.vxd \
249         vnetbios.vxd \
250         vtdapi.vxd \
251         vwin32.vxd \
252         w32skrnl \
253         winealsa.drv \
254         wineaudioio.drv \
255         winecoreaudio.drv \
256         wined3d \
257         winedos \
258         wineesd.drv \
259         winejack.drv \
260         winejoystick.drv \
261         winemp3.acm \
262         winenas.drv \
263         wineoss.drv \
264         wineps.drv \
265         wing32 \
266         winhttp \
267         wininet \
268         winmm \
269         winnls32 \
270         winscard \
271         winspool.drv \
272         wintab32 \
273         wintrust \
274         wldap32 \
275         wmi \
276         wnaspi32 \
277         wow32 \
278         ws2_32 \
279         wsock32 \
280         wtsapi32
281
282 IMPLIBSUBDIRS = \
283         adsiid \
284         dxerr8 \
285         dxerr9 \
286         dxguid \
287         strmiids \
288         uuid \
289         winecrt0
290
291 TESTSUBDIRS = \
292         advapi32/tests \
293         advpack/tests \
294         browseui/tests \
295         cabinet/tests \
296         comcat/tests \
297         comctl32/tests \
298         comdlg32/tests \
299         credui/tests \
300         crypt32/tests \
301         cryptnet/tests \
302         d3d8/tests \
303         d3d9/tests \
304         d3drm/tests \
305         d3dx8/tests \
306         d3dx9_36/tests \
307         ddraw/tests \
308         dinput/tests \
309         dnsapi/tests \
310         dplayx/tests \
311         dsound/tests \
312         fusion/tests \
313         gdi32/tests \
314         gdiplus/tests \
315         hlink/tests \
316         imm32/tests \
317         inetcomm/tests \
318         inetmib1/tests \
319         infosoft/tests \
320         iphlpapi/tests \
321         itss/tests \
322         jscript/tests \
323         kernel32/tests \
324         localspl/tests \
325         localui/tests \
326         lz32/tests \
327         mapi32/tests \
328         mlang/tests \
329         msacm32/tests \
330         mscms/tests \
331         mshtml/tests \
332         msi/tests \
333         msvcrt/tests \
334         msvcrtd/tests \
335         msxml3/tests \
336         netapi32/tests \
337         ntdll/tests \
338         ntdsapi/tests \
339         ntprint/tests \
340         odbccp32/tests \
341         ole32/tests \
342         oleaut32/tests \
343         opengl32/tests \
344         pdh/tests \
345         psapi/tests \
346         qedit/tests \
347         qmgr/tests \
348         quartz/tests \
349         rasapi32/tests \
350         riched20/tests \
351         riched32/tests \
352         rpcrt4/tests \
353         rsaenh/tests \
354         schannel/tests \
355         secur32/tests \
356         serialui/tests \
357         setupapi/tests \
358         shdocvw/tests \
359         shell32/tests \
360         shlwapi/tests \
361         snmpapi/tests \
362         spoolss/tests \
363         urlmon/tests \
364         user32/tests \
365         userenv/tests \
366         usp10/tests \
367         uxtheme/tests \
368         version/tests \
369         winhttp/tests \
370         wininet/tests \
371         winmm/tests \
372         winspool.drv/tests \
373         wintrust/tests \
374         ws2_32/tests
375
376 SUBDIRS = \
377         $(BASEDIRS) \
378         $(IMPLIBSUBDIRS) \
379         $(TESTSUBDIRS) \
380         glu32 \
381         opengl32 \
382         winequartz.drv \
383         winex11.drv
384
385 BUILDSUBDIRS   = $(BASEDIRS) $(EXTRADIRS) $(TESTSUBDIRS)
386 INSTALLSUBDIRS = $(BASEDIRS) $(EXTRADIRS) $(IMPLIBSUBDIRS)
387 DOCSUBDIRS     = $(BASEDIRS) $(EXTRADIRS)
388
389 # 16-bit dlls
390
391 WIN16_FILES = \
392         avifile.dll16 \
393         comm.drv16 \
394         commdlg.dll16 \
395         compobj.dll16 \
396         ctl3d.dll16 \
397         ctl3dv2.dll16 \
398         ddeml.dll16 \
399         dispdib.dll16 \
400         display.drv16 \
401         gdi.exe16 \
402         imm.dll16 \
403         keyboard.drv16 \
404         krnl386.exe16 \
405         lzexpand.dll16 \
406         mmsystem.dll16 \
407         mouse.drv16 \
408         msacm.dll16 \
409         msvideo.dll16 \
410         ole2.dll16 \
411         ole2conv.dll16 \
412         ole2disp.dll16 \
413         ole2nls.dll16 \
414         ole2prox.dll16 \
415         ole2thk.dll16 \
416         olecli.dll16 \
417         olesvr.dll16 \
418         rasapi16.dll16 \
419         setupx.dll16 \
420         shell.dll16 \
421         sound.drv16 \
422         storage.dll16 \
423         stress.dll16 \
424         system.drv16 \
425         toolhelp.dll16 \
426         twain.dll16 \
427         typelib.dll16 \
428         user.exe16 \
429         ver.dll16 \
430         w32sys.dll16 \
431         win32s16.dll16 \
432         win87em.dll16 \
433         winaspi.dll16 \
434         windebug.dll16 \
435         wineps16.drv16 \
436         wing.dll16 \
437         winhelp.exe16 \
438         winnls.dll16 \
439         winoldap.mod16 \
440         winsock.dll16 \
441         wintab.dll16 \
442         wprocs.dll16
443
444 @MAKE_RULES@
445
446 # Main target
447
448 all: $(BUILDSUBDIRS) @WIN16_FILES@
449
450 # Placeholders for 16-bit libraries
451
452 avifile.dll16:
453         echo "avifil32.dll" >$@
454
455 commdlg.dll16:
456         echo "comdlg32.dll" >$@
457
458 ctl3d.dll16 ctl3dv2.dll16:
459         echo "ctl3d32.dll" >$@
460
461 dispdib.dll16 gdi.exe16 wing.dll16:
462         echo "gdi32.dll" >$@
463
464 imm.dll16:
465         echo "imm32.dll" >$@
466
467 comm.drv16 krnl386.exe16 stress.dll16 system.drv16 toolhelp.dll16 win87em.dll16 windebug.dll16 winhelp.exe16 winoldap.mod16:
468         echo "kernel32.dll" >$@
469
470 lzexpand.dll16:
471         echo "lz32.dll" >$@
472
473 msacm.dll16:
474         echo "msacm32.dll" >$@
475
476 msvideo.dll16:
477         echo "msvfw32.dll" >$@
478
479 compobj.dll16 ole2.dll16 ole2conv.dll16 ole2nls.dll16 ole2prox.dll16 ole2thk.dll16 storage.dll16:
480         echo "ole32.dll" >$@
481
482 ole2disp.dll16 typelib.dll16:
483         echo "oleaut32.dll" >$@
484
485 olecli.dll16:
486         echo "olecli32.dll" >$@
487
488 olesvr.dll16:
489         echo "olesvr32.dll" >$@
490
491 rasapi16.dll16:
492         echo "rasapi32.dll" >$@
493
494 setupx.dll16:
495         echo "setupapi.dll" >$@
496
497 shell.dll16:
498         echo "shell32.dll" >$@
499
500 twain.dll16:
501         echo "twain_32.dll" >$@
502
503 ddeml.dll16 display.drv16 keyboard.drv16 mouse.drv16 user.exe16:
504         echo "user32.dll" >$@
505
506 ver.dll16:
507         echo "version.dll" >$@
508
509 w32sys.dll16 win32s16.dll16:
510         echo "w32skrnl.dll" >$@
511
512 wprocs.dll16:
513         echo "winedos.dll" >$@
514
515 wineps16.drv16:
516         echo "wineps.drv" >$@
517
518 mmsystem.dll16 sound.drv16:
519         echo "winmm.dll" >$@
520
521 winnls.dll16:
522         echo "winnls32.dll" >$@
523
524 wintab.dll16:
525         echo "wintab32.dll" >$@
526
527 winaspi.dll16:
528         echo "wnaspi32.dll" >$@
529
530 winsock.dll16:
531         echo "ws2_32.dll" >$@
532
533 # Import libraries
534
535 STATIC_IMPLIBEXT = $(IMPLIBEXT:def=def.a)
536
537 IMPORT_SYMLINKS = \
538         libd3dx9.$(IMPLIBEXT) \
539         libwinspool.$(IMPLIBEXT)
540
541 IMPORT_LIBS = \
542         $(IMPORT_SYMLINKS) \
543         adsiid/libadsiid.a \
544         dxerr8/libdxerr8.a \
545         dxerr9/libdxerr9.a \
546         dxguid/libdxguid.a \
547         strmiids/libstrmiids.a \
548         uuid/libuuid.a \
549         winecrt0/libwinecrt0.a \
550         activeds/libactiveds.$(IMPLIBEXT) \
551         advapi32/libadvapi32.$(IMPLIBEXT) \
552         advpack/libadvpack.$(IMPLIBEXT) \
553         atl/libatl.$(IMPLIBEXT) \
554         avicap32/libavicap32.$(IMPLIBEXT) \
555         avifil32/libavifil32.$(IMPLIBEXT) \
556         cabinet/libcabinet.$(IMPLIBEXT) \
557         capi2032/libcapi2032.$(IMPLIBEXT) \
558         cards/libcards.$(IMPLIBEXT) \
559         cfgmgr32/libcfgmgr32.$(IMPLIBEXT) \
560         clusapi/libclusapi.$(IMPLIBEXT) \
561         comctl32/libcomctl32.$(IMPLIBEXT) \
562         comdlg32/libcomdlg32.$(IMPLIBEXT) \
563         compstui/libcompstui.$(IMPLIBEXT) \
564         credui/libcredui.$(IMPLIBEXT) \
565         crtdll/libcrtdll.$(IMPLIBEXT) \
566         crypt32/libcrypt32.$(IMPLIBEXT) \
567         cryptdll/libcryptdll.$(IMPLIBEXT) \
568         cryptnet/libcryptnet.$(IMPLIBEXT) \
569         ctl3d32/libctl3d32.$(IMPLIBEXT) \
570         d3d8/libd3d8.$(IMPLIBEXT) \
571         d3d9/libd3d9.$(IMPLIBEXT) \
572         d3dim/libd3dim.$(IMPLIBEXT) \
573         d3drm/libd3drm.$(IMPLIBEXT) \
574         d3dx8/libd3dx8.$(IMPLIBEXT) \
575         d3dx9_36/libd3dx9.$(IMPLIBEXT) \
576         d3dxof/libd3dxof.$(IMPLIBEXT) \
577         dbghelp/libdbghelp.$(IMPLIBEXT) \
578         dciman32/libdciman32.$(IMPLIBEXT) \
579         ddraw/libddraw.$(IMPLIBEXT) \
580         dinput/libdinput.$(IMPLIBEXT) \
581         dinput/libdinput.$(STATIC_IMPLIBEXT) \
582         dinput8/libdinput8.$(IMPLIBEXT) \
583         dmusic32/libdmusic32.$(IMPLIBEXT) \
584         dnsapi/libdnsapi.$(IMPLIBEXT) \
585         dplay/libdplay.$(IMPLIBEXT) \
586         dplayx/libdplayx.$(IMPLIBEXT) \
587         dpnet/libdpnet.$(IMPLIBEXT) \
588         dsound/libdsound.$(IMPLIBEXT) \
589         dwmapi/libdwmapi.$(IMPLIBEXT) \
590         gdi32/libgdi32.$(IMPLIBEXT) \
591         gdiplus/libgdiplus.$(IMPLIBEXT) \
592         glu32/libglu32.$(IMPLIBEXT) \
593         hid/libhid.$(IMPLIBEXT) \
594         hlink/libhlink.$(IMPLIBEXT) \
595         imagehlp/libimagehlp.$(IMPLIBEXT) \
596         imm32/libimm32.$(IMPLIBEXT) \
597         inetcomm/libinetcomm.$(IMPLIBEXT) \
598         iphlpapi/libiphlpapi.$(IMPLIBEXT) \
599         kernel32/libkernel32.$(IMPLIBEXT) \
600         lz32/liblz32.$(IMPLIBEXT) \
601         mapi32/libmapi32.$(IMPLIBEXT) \
602         mlang/libmlang.$(IMPLIBEXT) \
603         mpr/libmpr.$(IMPLIBEXT) \
604         mprapi/libmprapi.$(IMPLIBEXT) \
605         msacm32/libmsacm32.$(IMPLIBEXT) \
606         mscms/libmscms.$(IMPLIBEXT) \
607         msdmo/libmsdmo.$(IMPLIBEXT) \
608         mshtml/libmshtml.$(IMPLIBEXT) \
609         msi/libmsi.$(IMPLIBEXT) \
610         msimg32/libmsimg32.$(IMPLIBEXT) \
611         msvcr71/libmsvcr71.$(IMPLIBEXT) \
612         msvcrt/libmsvcrt.$(IMPLIBEXT) \
613         msvcrt20/libmsvcrt20.$(IMPLIBEXT) \
614         msvcrt40/libmsvcrt40.$(IMPLIBEXT) \
615         msvcrtd/libmsvcrtd.$(IMPLIBEXT) \
616         msvfw32/libmsvfw32.$(IMPLIBEXT) \
617         mswsock/libmswsock.$(IMPLIBEXT) \
618         nddeapi/libnddeapi.$(IMPLIBEXT) \
619         netapi32/libnetapi32.$(IMPLIBEXT) \
620         newdev/libnewdev.$(IMPLIBEXT) \
621         ntdll/libntdll.$(IMPLIBEXT) \
622         ntdsapi/libntdsapi.$(IMPLIBEXT) \
623         ntoskrnl.exe/libntoskrnl.exe.$(IMPLIBEXT) \
624         odbc32/libodbc32.$(IMPLIBEXT) \
625         odbccp32/libodbccp32.$(IMPLIBEXT) \
626         ole32/libole32.$(IMPLIBEXT) \
627         oleacc/liboleacc.$(IMPLIBEXT) \
628         oleaut32/liboleaut32.$(IMPLIBEXT) \
629         olecli32/libolecli32.$(IMPLIBEXT) \
630         oledlg/liboledlg.$(IMPLIBEXT) \
631         olepro32/libolepro32.$(IMPLIBEXT) \
632         olesvr32/libolesvr32.$(IMPLIBEXT) \
633         opengl32/libopengl32.$(IMPLIBEXT) \
634         pdh/libpdh.$(IMPLIBEXT) \
635         powrprof/libpowrprof.$(IMPLIBEXT) \
636         psapi/libpsapi.$(IMPLIBEXT) \
637         quartz/libquartz.$(IMPLIBEXT) \
638         rasapi32/librasapi32.$(IMPLIBEXT) \
639         resutils/libresutils.$(IMPLIBEXT) \
640         riched20/libriched20.$(IMPLIBEXT) \
641         rpcrt4/librpcrt4.$(IMPLIBEXT) \
642         rsaenh/librsaenh.$(IMPLIBEXT) \
643         secur32/libsecur32.$(IMPLIBEXT) \
644         sensapi/libsensapi.$(IMPLIBEXT) \
645         serialui/libserialui.$(IMPLIBEXT) \
646         setupapi/libsetupapi.$(IMPLIBEXT) \
647         sfc/libsfc.$(IMPLIBEXT) \
648         sfc_os/libsfc_os.$(IMPLIBEXT) \
649         shdocvw/libshdocvw.$(IMPLIBEXT) \
650         shell32/libshell32.$(IMPLIBEXT) \
651         shfolder/libshfolder.$(IMPLIBEXT) \
652         shlwapi/libshlwapi.$(IMPLIBEXT) \
653         slc/libslc.$(IMPLIBEXT) \
654         snmpapi/libsnmpapi.$(IMPLIBEXT) \
655         spoolss/libspoolss.$(IMPLIBEXT) \
656         sti/libsti.$(IMPLIBEXT) \
657         tapi32/libtapi32.$(IMPLIBEXT) \
658         unicows/libunicows.$(IMPLIBEXT) \
659         url/liburl.$(IMPLIBEXT) \
660         urlmon/liburlmon.$(IMPLIBEXT) \
661         user32/libuser32.$(IMPLIBEXT) \
662         userenv/libuserenv.$(IMPLIBEXT) \
663         usp10/libusp10.$(IMPLIBEXT) \
664         uxtheme/libuxtheme.$(IMPLIBEXT) \
665         vdmdbg/libvdmdbg.$(IMPLIBEXT) \
666         version/libversion.$(IMPLIBEXT) \
667         wined3d/libwined3d.$(IMPLIBEXT) \
668         winedos/libwinedos.$(IMPLIBEXT) \
669         winhttp/libwinhttp.$(IMPLIBEXT) \
670         wininet/libwininet.$(IMPLIBEXT) \
671         winmm/libwinmm.$(IMPLIBEXT) \
672         winnls32/libwinnls32.$(IMPLIBEXT) \
673         winscard/libwinscard.$(IMPLIBEXT) \
674         winspool.drv/libwinspool.$(IMPLIBEXT) \
675         wintab32/libwintab32.$(IMPLIBEXT) \
676         wintrust/libwintrust.$(IMPLIBEXT) \
677         wldap32/libwldap32.$(IMPLIBEXT) \
678         wnaspi32/libwnaspi32.$(IMPLIBEXT) \
679         wow32/libwow32.$(IMPLIBEXT) \
680         ws2_32/libws2_32.$(IMPLIBEXT) \
681         wsock32/libwsock32.$(IMPLIBEXT) \
682         wtsapi32/libwtsapi32.$(IMPLIBEXT)
683
684 CROSS_IMPLIBS = \
685         libd3dx9.a \
686         libwinspool.a \
687         activeds/libactiveds.a \
688         advapi32/libadvapi32.a \
689         advpack/libadvpack.a \
690         atl/libatl.a \
691         avicap32/libavicap32.a \
692         avifil32/libavifil32.a \
693         cabinet/libcabinet.a \
694         capi2032/libcapi2032.a \
695         cards/libcards.a \
696         cfgmgr32/libcfgmgr32.a \
697         clusapi/libclusapi.a \
698         comctl32/libcomctl32.a \
699         comdlg32/libcomdlg32.a \
700         compstui/libcompstui.a \
701         credui/libcredui.a \
702         crtdll/libcrtdll.a \
703         crypt32/libcrypt32.a \
704         cryptdll/libcryptdll.a \
705         cryptnet/libcryptnet.a \
706         ctl3d32/libctl3d32.a \
707         d3d8/libd3d8.a \
708         d3d9/libd3d9.a \
709         d3dim/libd3dim.a \
710         d3drm/libd3drm.a \
711         d3dx8/libd3dx8.a \
712         d3dx9_36/libd3dx9.a \
713         d3dxof/libd3dxof.a \
714         dbghelp/libdbghelp.a \
715         dciman32/libdciman32.a \
716         ddraw/libddraw.a \
717         dinput8/libdinput8.a \
718         dmusic32/libdmusic32.a \
719         dnsapi/libdnsapi.a \
720         dplay/libdplay.a \
721         dplayx/libdplayx.a \
722         dpnet/libdpnet.a \
723         dsound/libdsound.a \
724         dwmapi/libdwmapi.a \
725         gdi32/libgdi32.a \
726         gdiplus/libgdiplus.a \
727         glu32/libglu32.a \
728         hid/libhid.a \
729         hlink/libhlink.a \
730         imagehlp/libimagehlp.a \
731         imm32/libimm32.a \
732         inetcomm/libinetcomm.a \
733         iphlpapi/libiphlpapi.a \
734         kernel32/libkernel32.a \
735         lz32/liblz32.a \
736         mapi32/libmapi32.a \
737         mlang/libmlang.a \
738         mpr/libmpr.a \
739         mprapi/libmprapi.a \
740         msacm32/libmsacm32.a \
741         mscms/libmscms.a \
742         msdmo/libmsdmo.a \
743         mshtml/libmshtml.a \
744         msi/libmsi.a \
745         msimg32/libmsimg32.a \
746         msvcr71/libmsvcr71.a \
747         msvcrt/libmsvcrt.a \
748         msvcrt20/libmsvcrt20.a \
749         msvcrt40/libmsvcrt40.a \
750         msvcrtd/libmsvcrtd.a \
751         msvfw32/libmsvfw32.a \
752         mswsock/libmswsock.a \
753         nddeapi/libnddeapi.a \
754         netapi32/libnetapi32.a \
755         newdev/libnewdev.a \
756         ntdll/libntdll.a \
757         ntdsapi/libntdsapi.a \
758         ntoskrnl.exe/libntoskrnl.exe.a \
759         odbc32/libodbc32.a \
760         odbccp32/libodbccp32.a \
761         ole32/libole32.a \
762         oleacc/liboleacc.a \
763         oleaut32/liboleaut32.a \
764         olecli32/libolecli32.a \
765         oledlg/liboledlg.a \
766         olepro32/libolepro32.a \
767         olesvr32/libolesvr32.a \
768         opengl32/libopengl32.a \
769         pdh/libpdh.a \
770         powrprof/libpowrprof.a \
771         psapi/libpsapi.a \
772         quartz/libquartz.a \
773         rasapi32/librasapi32.a \
774         resutils/libresutils.a \
775         riched20/libriched20.a \
776         rpcrt4/librpcrt4.a \
777         rsaenh/librsaenh.a \
778         secur32/libsecur32.a \
779         sensapi/libsensapi.a \
780         serialui/libserialui.a \
781         setupapi/libsetupapi.a \
782         sfc/libsfc.a \
783         sfc_os/libsfc_os.a \
784         shdocvw/libshdocvw.a \
785         shell32/libshell32.a \
786         shfolder/libshfolder.a \
787         shlwapi/libshlwapi.a \
788         slc/libslc.a \
789         snmpapi/libsnmpapi.a \
790         spoolss/libspoolss.a \
791         sti/libsti.a \
792         tapi32/libtapi32.a \
793         unicows/libunicows.a \
794         url/liburl.a \
795         urlmon/liburlmon.a \
796         user32/libuser32.a \
797         userenv/libuserenv.a \
798         usp10/libusp10.a \
799         uxtheme/libuxtheme.a \
800         vdmdbg/libvdmdbg.a \
801         version/libversion.a \
802         wined3d/libwined3d.a \
803         winedos/libwinedos.a \
804         winhttp/libwinhttp.a \
805         wininet/libwininet.a \
806         winmm/libwinmm.a \
807         winnls32/libwinnls32.a \
808         winscard/libwinscard.a \
809         winspool.drv/libwinspool.a \
810         wintab32/libwintab32.a \
811         wintrust/libwintrust.a \
812         wldap32/libwldap32.a \
813         wnaspi32/libwnaspi32.a \
814         wow32/libwow32.a \
815         ws2_32/libws2_32.a \
816         wsock32/libwsock32.a \
817         wtsapi32/libwtsapi32.a
818
819 $(TESTSUBDIRS:%=%/__crosstest__): $(CROSS_IMPLIBS)
820
821 implib: $(IMPORT_LIBS)
822
823 .PHONY: implib
824
825 activeds/libactiveds.def activeds/libactiveds.a: activeds/activeds.spec $(WINEBUILD)
826         @cd activeds && $(MAKE) `basename $@`
827
828 advapi32/libadvapi32.def advapi32/libadvapi32.a: advapi32/advapi32.spec $(WINEBUILD)
829         @cd advapi32 && $(MAKE) `basename $@`
830
831 advpack/libadvpack.def advpack/libadvpack.a: advpack/advpack.spec $(WINEBUILD)
832         @cd advpack && $(MAKE) `basename $@`
833
834 atl/libatl.def atl/libatl.a: atl/atl.spec $(WINEBUILD)
835         @cd atl && $(MAKE) `basename $@`
836
837 avicap32/libavicap32.def avicap32/libavicap32.a: avicap32/avicap32.spec $(WINEBUILD)
838         @cd avicap32 && $(MAKE) `basename $@`
839
840 avifil32/libavifil32.def avifil32/libavifil32.a: avifil32/avifil32.spec $(WINEBUILD)
841         @cd avifil32 && $(MAKE) `basename $@`
842
843 cabinet/libcabinet.def cabinet/libcabinet.a: cabinet/cabinet.spec $(WINEBUILD)
844         @cd cabinet && $(MAKE) `basename $@`
845
846 capi2032/libcapi2032.def capi2032/libcapi2032.a: capi2032/capi2032.spec $(WINEBUILD)
847         @cd capi2032 && $(MAKE) `basename $@`
848
849 cards/libcards.def cards/libcards.a: cards/cards.spec $(WINEBUILD)
850         @cd cards && $(MAKE) `basename $@`
851
852 cfgmgr32/libcfgmgr32.def cfgmgr32/libcfgmgr32.a: cfgmgr32/cfgmgr32.spec $(WINEBUILD)
853         @cd cfgmgr32 && $(MAKE) `basename $@`
854
855 clusapi/libclusapi.def clusapi/libclusapi.a: clusapi/clusapi.spec $(WINEBUILD)
856         @cd clusapi && $(MAKE) `basename $@`
857
858 comctl32/libcomctl32.def comctl32/libcomctl32.a: comctl32/comctl32.spec $(WINEBUILD)
859         @cd comctl32 && $(MAKE) `basename $@`
860
861 comdlg32/libcomdlg32.def comdlg32/libcomdlg32.a: comdlg32/comdlg32.spec $(WINEBUILD)
862         @cd comdlg32 && $(MAKE) `basename $@`
863
864 compstui/libcompstui.def compstui/libcompstui.a: compstui/compstui.spec $(WINEBUILD)
865         @cd compstui && $(MAKE) `basename $@`
866
867 credui/libcredui.def credui/libcredui.a: credui/credui.spec $(WINEBUILD)
868         @cd credui && $(MAKE) `basename $@`
869
870 crtdll/libcrtdll.def crtdll/libcrtdll.a: crtdll/crtdll.spec $(WINEBUILD)
871         @cd crtdll && $(MAKE) `basename $@`
872
873 crypt32/libcrypt32.def crypt32/libcrypt32.a: crypt32/crypt32.spec $(WINEBUILD)
874         @cd crypt32 && $(MAKE) `basename $@`
875
876 cryptdll/libcryptdll.def cryptdll/libcryptdll.a: cryptdll/cryptdll.spec $(WINEBUILD)
877         @cd cryptdll && $(MAKE) `basename $@`
878
879 cryptnet/libcryptnet.def cryptnet/libcryptnet.a: cryptnet/cryptnet.spec $(WINEBUILD)
880         @cd cryptnet && $(MAKE) `basename $@`
881
882 ctl3d32/libctl3d32.def ctl3d32/libctl3d32.a: ctl3d32/ctl3d32.spec $(WINEBUILD)
883         @cd ctl3d32 && $(MAKE) `basename $@`
884
885 d3d8/libd3d8.def d3d8/libd3d8.a: d3d8/d3d8.spec $(WINEBUILD)
886         @cd d3d8 && $(MAKE) `basename $@`
887
888 d3d9/libd3d9.def d3d9/libd3d9.a: d3d9/d3d9.spec $(WINEBUILD)
889         @cd d3d9 && $(MAKE) `basename $@`
890
891 d3dim/libd3dim.def d3dim/libd3dim.a: d3dim/d3dim.spec $(WINEBUILD)
892         @cd d3dim && $(MAKE) `basename $@`
893
894 d3drm/libd3drm.def d3drm/libd3drm.a: d3drm/d3drm.spec $(WINEBUILD)
895         @cd d3drm && $(MAKE) `basename $@`
896
897 d3dx8/libd3dx8.def d3dx8/libd3dx8.a: d3dx8/d3dx8.spec $(WINEBUILD)
898         @cd d3dx8 && $(MAKE) `basename $@`
899
900 d3dx9_36/libd3dx9.def d3dx9_36/libd3dx9.a: d3dx9_36/d3dx9_36.spec $(WINEBUILD)
901         @cd d3dx9_36 && $(MAKE) `basename $@`
902
903 d3dxof/libd3dxof.def d3dxof/libd3dxof.a: d3dxof/d3dxof.spec $(WINEBUILD)
904         @cd d3dxof && $(MAKE) `basename $@`
905
906 dbghelp/libdbghelp.def dbghelp/libdbghelp.a: dbghelp/dbghelp.spec $(WINEBUILD)
907         @cd dbghelp && $(MAKE) `basename $@`
908
909 dciman32/libdciman32.def dciman32/libdciman32.a: dciman32/dciman32.spec $(WINEBUILD)
910         @cd dciman32 && $(MAKE) `basename $@`
911
912 ddraw/libddraw.def ddraw/libddraw.a: ddraw/ddraw.spec $(WINEBUILD)
913         @cd ddraw && $(MAKE) `basename $@`
914
915 dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
916         @cd dinput && $(MAKE) libdinput.def
917
918 dinput/libdinput.$(STATIC_IMPLIBEXT): dummy
919         @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
920
921 dinput8/libdinput8.def dinput8/libdinput8.a: dinput8/dinput8.spec $(WINEBUILD)
922         @cd dinput8 && $(MAKE) `basename $@`
923
924 dmusic32/libdmusic32.def dmusic32/libdmusic32.a: dmusic32/dmusic32.spec $(WINEBUILD)
925         @cd dmusic32 && $(MAKE) `basename $@`
926
927 dnsapi/libdnsapi.def dnsapi/libdnsapi.a: dnsapi/dnsapi.spec $(WINEBUILD)
928         @cd dnsapi && $(MAKE) `basename $@`
929
930 dplay/libdplay.def dplay/libdplay.a: dplay/dplay.spec $(WINEBUILD)
931         @cd dplay && $(MAKE) `basename $@`
932
933 dplayx/libdplayx.def dplayx/libdplayx.a: dplayx/dplayx.spec $(WINEBUILD)
934         @cd dplayx && $(MAKE) `basename $@`
935
936 dpnet/libdpnet.def dpnet/libdpnet.a: dpnet/dpnet.spec $(WINEBUILD)
937         @cd dpnet && $(MAKE) `basename $@`
938
939 dsound/libdsound.def dsound/libdsound.a: dsound/dsound.spec $(WINEBUILD)
940         @cd dsound && $(MAKE) `basename $@`
941
942 dwmapi/libdwmapi.def dwmapi/libdwmapi.a: dwmapi/dwmapi.spec $(WINEBUILD)
943         @cd dwmapi && $(MAKE) `basename $@`
944
945 gdi32/libgdi32.def gdi32/libgdi32.a: gdi32/gdi32.spec $(WINEBUILD)
946         @cd gdi32 && $(MAKE) `basename $@`
947
948 gdiplus/libgdiplus.def gdiplus/libgdiplus.a: gdiplus/gdiplus.spec $(WINEBUILD)
949         @cd gdiplus && $(MAKE) `basename $@`
950
951 glu32/libglu32.def glu32/libglu32.a: glu32/glu32.spec $(WINEBUILD)
952         @cd glu32 && $(MAKE) `basename $@`
953
954 hid/libhid.def hid/libhid.a: hid/hid.spec $(WINEBUILD)
955         @cd hid && $(MAKE) `basename $@`
956
957 hlink/libhlink.def hlink/libhlink.a: hlink/hlink.spec $(WINEBUILD)
958         @cd hlink && $(MAKE) `basename $@`
959
960 imagehlp/libimagehlp.def imagehlp/libimagehlp.a: imagehlp/imagehlp.spec $(WINEBUILD)
961         @cd imagehlp && $(MAKE) `basename $@`
962
963 imm32/libimm32.def imm32/libimm32.a: imm32/imm32.spec $(WINEBUILD)
964         @cd imm32 && $(MAKE) `basename $@`
965
966 inetcomm/libinetcomm.def inetcomm/libinetcomm.a: inetcomm/inetcomm.spec $(WINEBUILD)
967         @cd inetcomm && $(MAKE) `basename $@`
968
969 iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a: iphlpapi/iphlpapi.spec $(WINEBUILD)
970         @cd iphlpapi && $(MAKE) `basename $@`
971
972 kernel32/libkernel32.def kernel32/libkernel32.a: kernel32/kernel32.spec $(WINEBUILD)
973         @cd kernel32 && $(MAKE) `basename $@`
974
975 lz32/liblz32.def lz32/liblz32.a: lz32/lz32.spec $(WINEBUILD)
976         @cd lz32 && $(MAKE) `basename $@`
977
978 mapi32/libmapi32.def mapi32/libmapi32.a: mapi32/mapi32.spec $(WINEBUILD)
979         @cd mapi32 && $(MAKE) `basename $@`
980
981 mlang/libmlang.def mlang/libmlang.a: mlang/mlang.spec $(WINEBUILD)
982         @cd mlang && $(MAKE) `basename $@`
983
984 mpr/libmpr.def mpr/libmpr.a: mpr/mpr.spec $(WINEBUILD)
985         @cd mpr && $(MAKE) `basename $@`
986
987 mprapi/libmprapi.def mprapi/libmprapi.a: mprapi/mprapi.spec $(WINEBUILD)
988         @cd mprapi && $(MAKE) `basename $@`
989
990 msacm32/libmsacm32.def msacm32/libmsacm32.a: msacm32/msacm32.spec $(WINEBUILD)
991         @cd msacm32 && $(MAKE) `basename $@`
992
993 mscms/libmscms.def mscms/libmscms.a: mscms/mscms.spec $(WINEBUILD)
994         @cd mscms && $(MAKE) `basename $@`
995
996 msdmo/libmsdmo.def msdmo/libmsdmo.a: msdmo/msdmo.spec $(WINEBUILD)
997         @cd msdmo && $(MAKE) `basename $@`
998
999 mshtml/libmshtml.def mshtml/libmshtml.a: mshtml/mshtml.spec $(WINEBUILD)
1000         @cd mshtml && $(MAKE) `basename $@`
1001
1002 msi/libmsi.def msi/libmsi.a: msi/msi.spec $(WINEBUILD)
1003         @cd msi && $(MAKE) `basename $@`
1004
1005 msimg32/libmsimg32.def msimg32/libmsimg32.a: msimg32/msimg32.spec $(WINEBUILD)
1006         @cd msimg32 && $(MAKE) `basename $@`
1007
1008 msvcr71/libmsvcr71.def msvcr71/libmsvcr71.a: msvcr71/msvcr71.spec $(WINEBUILD)
1009         @cd msvcr71 && $(MAKE) `basename $@`
1010
1011 msvcrt/libmsvcrt.def msvcrt/libmsvcrt.a: msvcrt/msvcrt.spec $(WINEBUILD)
1012         @cd msvcrt && $(MAKE) `basename $@`
1013
1014 msvcrt20/libmsvcrt20.def msvcrt20/libmsvcrt20.a: msvcrt20/msvcrt20.spec $(WINEBUILD)
1015         @cd msvcrt20 && $(MAKE) `basename $@`
1016
1017 msvcrt40/libmsvcrt40.def msvcrt40/libmsvcrt40.a: msvcrt40/msvcrt40.spec $(WINEBUILD)
1018         @cd msvcrt40 && $(MAKE) `basename $@`
1019
1020 msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.a: msvcrtd/msvcrtd.spec $(WINEBUILD)
1021         @cd msvcrtd && $(MAKE) `basename $@`
1022
1023 msvfw32/libmsvfw32.def msvfw32/libmsvfw32.a: msvfw32/msvfw32.spec $(WINEBUILD)
1024         @cd msvfw32 && $(MAKE) `basename $@`
1025
1026 mswsock/libmswsock.def mswsock/libmswsock.a: mswsock/mswsock.spec $(WINEBUILD)
1027         @cd mswsock && $(MAKE) `basename $@`
1028
1029 nddeapi/libnddeapi.def nddeapi/libnddeapi.a: nddeapi/nddeapi.spec $(WINEBUILD)
1030         @cd nddeapi && $(MAKE) `basename $@`
1031
1032 netapi32/libnetapi32.def netapi32/libnetapi32.a: netapi32/netapi32.spec $(WINEBUILD)
1033         @cd netapi32 && $(MAKE) `basename $@`
1034
1035 newdev/libnewdev.def newdev/libnewdev.a: newdev/newdev.spec $(WINEBUILD)
1036         @cd newdev && $(MAKE) `basename $@`
1037
1038 ntdll/libntdll.def ntdll/libntdll.a: ntdll/ntdll.spec $(WINEBUILD)
1039         @cd ntdll && $(MAKE) `basename $@`
1040
1041 ntdsapi/libntdsapi.def ntdsapi/libntdsapi.a: ntdsapi/ntdsapi.spec $(WINEBUILD)
1042         @cd ntdsapi && $(MAKE) `basename $@`
1043
1044 ntoskrnl.exe/libntoskrnl.exe.def ntoskrnl.exe/libntoskrnl.exe.a: ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD)
1045         @cd ntoskrnl.exe && $(MAKE) `basename $@`
1046
1047 odbc32/libodbc32.def odbc32/libodbc32.a: odbc32/odbc32.spec $(WINEBUILD)
1048         @cd odbc32 && $(MAKE) `basename $@`
1049
1050 odbccp32/libodbccp32.def odbccp32/libodbccp32.a: odbccp32/odbccp32.spec $(WINEBUILD)
1051         @cd odbccp32 && $(MAKE) `basename $@`
1052
1053 ole32/libole32.def ole32/libole32.a: ole32/ole32.spec $(WINEBUILD)
1054         @cd ole32 && $(MAKE) `basename $@`
1055
1056 oleacc/liboleacc.def oleacc/liboleacc.a: oleacc/oleacc.spec $(WINEBUILD)
1057         @cd oleacc && $(MAKE) `basename $@`
1058
1059 oleaut32/liboleaut32.def oleaut32/liboleaut32.a: oleaut32/oleaut32.spec $(WINEBUILD)
1060         @cd oleaut32 && $(MAKE) `basename $@`
1061
1062 olecli32/libolecli32.def olecli32/libolecli32.a: olecli32/olecli32.spec $(WINEBUILD)
1063         @cd olecli32 && $(MAKE) `basename $@`
1064
1065 oledlg/liboledlg.def oledlg/liboledlg.a: oledlg/oledlg.spec $(WINEBUILD)
1066         @cd oledlg && $(MAKE) `basename $@`
1067
1068 olepro32/libolepro32.def olepro32/libolepro32.a: olepro32/olepro32.spec $(WINEBUILD)
1069         @cd olepro32 && $(MAKE) `basename $@`
1070
1071 olesvr32/libolesvr32.def olesvr32/libolesvr32.a: olesvr32/olesvr32.spec $(WINEBUILD)
1072         @cd olesvr32 && $(MAKE) `basename $@`
1073
1074 opengl32/libopengl32.def opengl32/libopengl32.a: opengl32/opengl32.spec $(WINEBUILD)
1075         @cd opengl32 && $(MAKE) `basename $@`
1076
1077 pdh/libpdh.def pdh/libpdh.a: pdh/pdh.spec $(WINEBUILD)
1078         @cd pdh && $(MAKE) `basename $@`
1079
1080 powrprof/libpowrprof.def powrprof/libpowrprof.a: powrprof/powrprof.spec $(WINEBUILD)
1081         @cd powrprof && $(MAKE) `basename $@`
1082
1083 psapi/libpsapi.def psapi/libpsapi.a: psapi/psapi.spec $(WINEBUILD)
1084         @cd psapi && $(MAKE) `basename $@`
1085
1086 quartz/libquartz.def quartz/libquartz.a: quartz/quartz.spec $(WINEBUILD)
1087         @cd quartz && $(MAKE) `basename $@`
1088
1089 rasapi32/librasapi32.def rasapi32/librasapi32.a: rasapi32/rasapi32.spec $(WINEBUILD)
1090         @cd rasapi32 && $(MAKE) `basename $@`
1091
1092 resutils/libresutils.def resutils/libresutils.a: resutils/resutils.spec $(WINEBUILD)
1093         @cd resutils && $(MAKE) `basename $@`
1094
1095 riched20/libriched20.def riched20/libriched20.a: riched20/riched20.spec $(WINEBUILD)
1096         @cd riched20 && $(MAKE) `basename $@`
1097
1098 rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
1099         @cd rpcrt4 && $(MAKE) `basename $@`
1100
1101 rsaenh/librsaenh.def rsaenh/librsaenh.a: rsaenh/rsaenh.spec $(WINEBUILD)
1102         @cd rsaenh && $(MAKE) `basename $@`
1103
1104 secur32/libsecur32.def secur32/libsecur32.a: secur32/secur32.spec $(WINEBUILD)
1105         @cd secur32 && $(MAKE) `basename $@`
1106
1107 sensapi/libsensapi.def sensapi/libsensapi.a: sensapi/sensapi.spec $(WINEBUILD)
1108         @cd sensapi && $(MAKE) `basename $@`
1109
1110 serialui/libserialui.def serialui/libserialui.a: serialui/serialui.spec $(WINEBUILD)
1111         @cd serialui && $(MAKE) `basename $@`
1112
1113 setupapi/libsetupapi.def setupapi/libsetupapi.a: setupapi/setupapi.spec $(WINEBUILD)
1114         @cd setupapi && $(MAKE) `basename $@`
1115
1116 sfc/libsfc.def sfc/libsfc.a: sfc/sfc.spec $(WINEBUILD)
1117         @cd sfc && $(MAKE) `basename $@`
1118
1119 sfc_os/libsfc_os.def sfc_os/libsfc_os.a: sfc_os/sfc_os.spec $(WINEBUILD)
1120         @cd sfc_os && $(MAKE) `basename $@`
1121
1122 shdocvw/libshdocvw.def shdocvw/libshdocvw.a: shdocvw/shdocvw.spec $(WINEBUILD)
1123         @cd shdocvw && $(MAKE) `basename $@`
1124
1125 shell32/libshell32.def shell32/libshell32.a: shell32/shell32.spec $(WINEBUILD)
1126         @cd shell32 && $(MAKE) `basename $@`
1127
1128 shfolder/libshfolder.def shfolder/libshfolder.a: shfolder/shfolder.spec $(WINEBUILD)
1129         @cd shfolder && $(MAKE) `basename $@`
1130
1131 shlwapi/libshlwapi.def shlwapi/libshlwapi.a: shlwapi/shlwapi.spec $(WINEBUILD)
1132         @cd shlwapi && $(MAKE) `basename $@`
1133
1134 slc/libslc.def slc/libslc.a: slc/slc.spec $(WINEBUILD)
1135         @cd slc && $(MAKE) `basename $@`
1136
1137 snmpapi/libsnmpapi.def snmpapi/libsnmpapi.a: snmpapi/snmpapi.spec $(WINEBUILD)
1138         @cd snmpapi && $(MAKE) `basename $@`
1139
1140 spoolss/libspoolss.def spoolss/libspoolss.a: spoolss/spoolss.spec $(WINEBUILD)
1141         @cd spoolss && $(MAKE) `basename $@`
1142
1143 sti/libsti.def sti/libsti.a: sti/sti.spec $(WINEBUILD)
1144         @cd sti && $(MAKE) `basename $@`
1145
1146 tapi32/libtapi32.def tapi32/libtapi32.a: tapi32/tapi32.spec $(WINEBUILD)
1147         @cd tapi32 && $(MAKE) `basename $@`
1148
1149 unicows/libunicows.def unicows/libunicows.a: unicows/unicows.spec $(WINEBUILD)
1150         @cd unicows && $(MAKE) `basename $@`
1151
1152 url/liburl.def url/liburl.a: url/url.spec $(WINEBUILD)
1153         @cd url && $(MAKE) `basename $@`
1154
1155 urlmon/liburlmon.def urlmon/liburlmon.a: urlmon/urlmon.spec $(WINEBUILD)
1156         @cd urlmon && $(MAKE) `basename $@`
1157
1158 user32/libuser32.def user32/libuser32.a: user32/user32.spec $(WINEBUILD)
1159         @cd user32 && $(MAKE) `basename $@`
1160
1161 userenv/libuserenv.def userenv/libuserenv.a: userenv/userenv.spec $(WINEBUILD)
1162         @cd userenv && $(MAKE) `basename $@`
1163
1164 usp10/libusp10.def usp10/libusp10.a: usp10/usp10.spec $(WINEBUILD)
1165         @cd usp10 && $(MAKE) `basename $@`
1166
1167 uxtheme/libuxtheme.def uxtheme/libuxtheme.a: uxtheme/uxtheme.spec $(WINEBUILD)
1168         @cd uxtheme && $(MAKE) `basename $@`
1169
1170 vdmdbg/libvdmdbg.def vdmdbg/libvdmdbg.a: vdmdbg/vdmdbg.spec $(WINEBUILD)
1171         @cd vdmdbg && $(MAKE) `basename $@`
1172
1173 version/libversion.def version/libversion.a: version/version.spec $(WINEBUILD)
1174         @cd version && $(MAKE) `basename $@`
1175
1176 wined3d/libwined3d.def wined3d/libwined3d.a: wined3d/wined3d.spec $(WINEBUILD)
1177         @cd wined3d && $(MAKE) `basename $@`
1178
1179 winedos/libwinedos.def winedos/libwinedos.a: winedos/winedos.spec $(WINEBUILD)
1180         @cd winedos && $(MAKE) `basename $@`
1181
1182 winhttp/libwinhttp.def winhttp/libwinhttp.a: winhttp/winhttp.spec $(WINEBUILD)
1183         @cd winhttp && $(MAKE) `basename $@`
1184
1185 wininet/libwininet.def wininet/libwininet.a: wininet/wininet.spec $(WINEBUILD)
1186         @cd wininet && $(MAKE) `basename $@`
1187
1188 winmm/libwinmm.def winmm/libwinmm.a: winmm/winmm.spec $(WINEBUILD)
1189         @cd winmm && $(MAKE) `basename $@`
1190
1191 winnls32/libwinnls32.def winnls32/libwinnls32.a: winnls32/winnls32.spec $(WINEBUILD)
1192         @cd winnls32 && $(MAKE) `basename $@`
1193
1194 winscard/libwinscard.def winscard/libwinscard.a: winscard/winscard.spec $(WINEBUILD)
1195         @cd winscard && $(MAKE) `basename $@`
1196
1197 winspool.drv/libwinspool.def winspool.drv/libwinspool.a: winspool.drv/winspool.drv.spec $(WINEBUILD)
1198         @cd winspool.drv && $(MAKE) `basename $@`
1199
1200 wintab32/libwintab32.def wintab32/libwintab32.a: wintab32/wintab32.spec $(WINEBUILD)
1201         @cd wintab32 && $(MAKE) `basename $@`
1202
1203 wintrust/libwintrust.def wintrust/libwintrust.a: wintrust/wintrust.spec $(WINEBUILD)
1204         @cd wintrust && $(MAKE) `basename $@`
1205
1206 wldap32/libwldap32.def wldap32/libwldap32.a: wldap32/wldap32.spec $(WINEBUILD)
1207         @cd wldap32 && $(MAKE) `basename $@`
1208
1209 wnaspi32/libwnaspi32.def wnaspi32/libwnaspi32.a: wnaspi32/wnaspi32.spec $(WINEBUILD)
1210         @cd wnaspi32 && $(MAKE) `basename $@`
1211
1212 wow32/libwow32.def wow32/libwow32.a: wow32/wow32.spec $(WINEBUILD)
1213         @cd wow32 && $(MAKE) `basename $@`
1214
1215 ws2_32/libws2_32.def ws2_32/libws2_32.a: ws2_32/ws2_32.spec $(WINEBUILD)
1216         @cd ws2_32 && $(MAKE) `basename $@`
1217
1218 wsock32/libwsock32.def wsock32/libwsock32.a: wsock32/wsock32.spec $(WINEBUILD)
1219         @cd wsock32 && $(MAKE) `basename $@`
1220
1221 wtsapi32/libwtsapi32.def wtsapi32/libwtsapi32.a: wtsapi32/wtsapi32.spec $(WINEBUILD)
1222         @cd wtsapi32 && $(MAKE) `basename $@`
1223
1224 libd3dx9.a: d3dx9_36/libd3dx9.a
1225         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.a $@
1226
1227 libd3dx9.def: d3dx9_36/libd3dx9.def
1228         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.def $@
1229
1230 libwinspool.a: winspool.drv/libwinspool.a
1231         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.a $@
1232
1233 libwinspool.def: winspool.drv/libwinspool.def
1234         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.def $@
1235
1236 $(BUILDSUBDIRS): $(IMPORT_LIBS)
1237 $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
1238
1239 # Map library name to the corresponding directory
1240
1241 adsiid/libadsiid.a: adsiid
1242 dxerr8/libdxerr8.a: dxerr8
1243 dxerr9/libdxerr9.a: dxerr9
1244 dxguid/libdxguid.a: dxguid
1245 strmiids/libstrmiids.a: strmiids
1246 uuid/libuuid.a: uuid
1247 winecrt0/libwinecrt0.a: winecrt0
1248
1249 # Misc rules
1250
1251 .PHONY: $(WIN16_FILES:%=__install__/%)
1252
1253 WIN16_INSTALL = $(WIN16_FILES:%=__install__/%)
1254
1255 $(WIN16_FILES:%=__install__/%): $(WIN16_FILES) $(DESTDIR)$(dlldir) dummy
1256         $(INSTALL_DATA) `basename $@` $(DESTDIR)$(dlldir)/`basename $@`
1257
1258 install install-lib:: @WIN16_INSTALL@
1259
1260 install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
1261
1262 install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
1263
1264 uninstall::
1265         -cd $(DESTDIR)$(dlldir) && $(RM) $(WIN16_FILES)
1266         -rmdir $(DESTDIR)$(dlldir)
1267
1268 clean::
1269         $(RM) $(IMPORT_SYMLINKS) $(WIN16_FILES)