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