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