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