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