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