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