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