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