wineesd.drv: Make some functions static.
[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         activeds/libactiveds.$(IMPLIBEXT) \
181         advapi32/libadvapi32.$(IMPLIBEXT) \
182         advpack/libadvpack.$(IMPLIBEXT) \
183         atl/libatl.$(IMPLIBEXT) \
184         avicap32/libavicap32.$(IMPLIBEXT) \
185         avifil32/libavifil32.$(IMPLIBEXT) \
186         cabinet/libcabinet.$(IMPLIBEXT) \
187         capi2032/libcapi2032.$(IMPLIBEXT) \
188         cards/libcards.$(IMPLIBEXT) \
189         cfgmgr32/libcfgmgr32.$(IMPLIBEXT) \
190         clusapi/libclusapi.$(IMPLIBEXT) \
191         comctl32/libcomctl32.$(IMPLIBEXT) \
192         comdlg32/libcomdlg32.$(IMPLIBEXT) \
193         compstui/libcompstui.$(IMPLIBEXT) \
194         credui/libcredui.$(IMPLIBEXT) \
195         crtdll/libcrtdll.$(IMPLIBEXT) \
196         crypt32/libcrypt32.$(IMPLIBEXT) \
197         cryptdll/libcryptdll.$(IMPLIBEXT) \
198         cryptnet/libcryptnet.$(IMPLIBEXT) \
199         cryptui/libcryptui.$(IMPLIBEXT) \
200         ctl3d32/libctl3d32.$(IMPLIBEXT) \
201         d3d10/libd3d10.$(IMPLIBEXT) \
202         d3d10core/libd3d10core.$(IMPLIBEXT) \
203         d3d8/libd3d8.$(IMPLIBEXT) \
204         d3d9/libd3d9.$(IMPLIBEXT) \
205         d3dim/libd3dim.$(IMPLIBEXT) \
206         d3drm/libd3drm.$(IMPLIBEXT) \
207         d3dx8/libd3dx8.$(IMPLIBEXT) \
208         d3dx9_36/libd3dx9.$(IMPLIBEXT) \
209         d3dxof/libd3dxof.$(IMPLIBEXT) \
210         dbghelp/libdbghelp.$(IMPLIBEXT) \
211         dciman32/libdciman32.$(IMPLIBEXT) \
212         ddraw/libddraw.$(IMPLIBEXT) \
213         dinput/libdinput.$(IMPLIBEXT) \
214         dinput/libdinput.$(STATIC_IMPLIBEXT) \
215         dinput8/libdinput8.$(IMPLIBEXT) \
216         dmusic32/libdmusic32.$(IMPLIBEXT) \
217         dnsapi/libdnsapi.$(IMPLIBEXT) \
218         dplay/libdplay.$(IMPLIBEXT) \
219         dplayx/libdplayx.$(IMPLIBEXT) \
220         dpnet/libdpnet.$(IMPLIBEXT) \
221         dsound/libdsound.$(IMPLIBEXT) \
222         dwmapi/libdwmapi.$(IMPLIBEXT) \
223         dxgi/libdxgi.$(IMPLIBEXT) \
224         gdi32/libgdi32.$(IMPLIBEXT) \
225         gdiplus/libgdiplus.$(IMPLIBEXT) \
226         glu32/libglu32.$(IMPLIBEXT) \
227         hid/libhid.$(IMPLIBEXT) \
228         hlink/libhlink.$(IMPLIBEXT) \
229         imagehlp/libimagehlp.$(IMPLIBEXT) \
230         imm32/libimm32.$(IMPLIBEXT) \
231         inetcomm/libinetcomm.$(IMPLIBEXT) \
232         iphlpapi/libiphlpapi.$(IMPLIBEXT) \
233         kernel32/libkernel32.$(IMPLIBEXT) \
234         lz32/liblz32.$(IMPLIBEXT) \
235         mapi32/libmapi32.$(IMPLIBEXT) \
236         mlang/libmlang.$(IMPLIBEXT) \
237         mpr/libmpr.$(IMPLIBEXT) \
238         mprapi/libmprapi.$(IMPLIBEXT) \
239         msacm32/libmsacm32.$(IMPLIBEXT) \
240         mscms/libmscms.$(IMPLIBEXT) \
241         msdmo/libmsdmo.$(IMPLIBEXT) \
242         mshtml/libmshtml.$(IMPLIBEXT) \
243         msi/libmsi.$(IMPLIBEXT) \
244         msimg32/libmsimg32.$(IMPLIBEXT) \
245         msvcr71/libmsvcr71.$(IMPLIBEXT) \
246         msvcrt/libmsvcrt.$(IMPLIBEXT) \
247         msvcrt20/libmsvcrt20.$(IMPLIBEXT) \
248         msvcrt40/libmsvcrt40.$(IMPLIBEXT) \
249         msvcrtd/libmsvcrtd.$(IMPLIBEXT) \
250         msvfw32/libmsvfw32.$(IMPLIBEXT) \
251         mswsock/libmswsock.$(IMPLIBEXT) \
252         nddeapi/libnddeapi.$(IMPLIBEXT) \
253         netapi32/libnetapi32.$(IMPLIBEXT) \
254         newdev/libnewdev.$(IMPLIBEXT) \
255         ntdll/libntdll.$(IMPLIBEXT) \
256         ntdsapi/libntdsapi.$(IMPLIBEXT) \
257         ntoskrnl.exe/libntoskrnl.exe.$(IMPLIBEXT) \
258         odbc32/libodbc32.$(IMPLIBEXT) \
259         odbccp32/libodbccp32.$(IMPLIBEXT) \
260         ole32/libole32.$(IMPLIBEXT) \
261         oleacc/liboleacc.$(IMPLIBEXT) \
262         oleaut32/liboleaut32.$(IMPLIBEXT) \
263         olecli32/libolecli32.$(IMPLIBEXT) \
264         oledlg/liboledlg.$(IMPLIBEXT) \
265         olepro32/libolepro32.$(IMPLIBEXT) \
266         olesvr32/libolesvr32.$(IMPLIBEXT) \
267         opengl32/libopengl32.$(IMPLIBEXT) \
268         pdh/libpdh.$(IMPLIBEXT) \
269         powrprof/libpowrprof.$(IMPLIBEXT) \
270         psapi/libpsapi.$(IMPLIBEXT) \
271         quartz/libquartz.$(IMPLIBEXT) \
272         rasapi32/librasapi32.$(IMPLIBEXT) \
273         resutils/libresutils.$(IMPLIBEXT) \
274         riched20/libriched20.$(IMPLIBEXT) \
275         rpcrt4/librpcrt4.$(IMPLIBEXT) \
276         rsaenh/librsaenh.$(IMPLIBEXT) \
277         secur32/libsecur32.$(IMPLIBEXT) \
278         sensapi/libsensapi.$(IMPLIBEXT) \
279         serialui/libserialui.$(IMPLIBEXT) \
280         setupapi/libsetupapi.$(IMPLIBEXT) \
281         sfc/libsfc.$(IMPLIBEXT) \
282         sfc_os/libsfc_os.$(IMPLIBEXT) \
283         shdocvw/libshdocvw.$(IMPLIBEXT) \
284         shell32/libshell32.$(IMPLIBEXT) \
285         shfolder/libshfolder.$(IMPLIBEXT) \
286         shlwapi/libshlwapi.$(IMPLIBEXT) \
287         slc/libslc.$(IMPLIBEXT) \
288         snmpapi/libsnmpapi.$(IMPLIBEXT) \
289         spoolss/libspoolss.$(IMPLIBEXT) \
290         sti/libsti.$(IMPLIBEXT) \
291         tapi32/libtapi32.$(IMPLIBEXT) \
292         unicows/libunicows.$(IMPLIBEXT) \
293         url/liburl.$(IMPLIBEXT) \
294         urlmon/liburlmon.$(IMPLIBEXT) \
295         user32/libuser32.$(IMPLIBEXT) \
296         userenv/libuserenv.$(IMPLIBEXT) \
297         usp10/libusp10.$(IMPLIBEXT) \
298         uxtheme/libuxtheme.$(IMPLIBEXT) \
299         vdmdbg/libvdmdbg.$(IMPLIBEXT) \
300         version/libversion.$(IMPLIBEXT) \
301         wined3d/libwined3d.$(IMPLIBEXT) \
302         winedos/libwinedos.$(IMPLIBEXT) \
303         winhttp/libwinhttp.$(IMPLIBEXT) \
304         wininet/libwininet.$(IMPLIBEXT) \
305         winmm/libwinmm.$(IMPLIBEXT) \
306         winnls32/libwinnls32.$(IMPLIBEXT) \
307         winscard/libwinscard.$(IMPLIBEXT) \
308         winspool.drv/libwinspool.$(IMPLIBEXT) \
309         wintab32/libwintab32.$(IMPLIBEXT) \
310         wintrust/libwintrust.$(IMPLIBEXT) \
311         wldap32/libwldap32.$(IMPLIBEXT) \
312         wnaspi32/libwnaspi32.$(IMPLIBEXT) \
313         wow32/libwow32.$(IMPLIBEXT) \
314         ws2_32/libws2_32.$(IMPLIBEXT) \
315         wsock32/libwsock32.$(IMPLIBEXT) \
316         wtsapi32/libwtsapi32.$(IMPLIBEXT) \
317         xinput1_3/libxinput.$(IMPLIBEXT)
318
319 CROSS_IMPLIBS = \
320         libd3dx9.a \
321         libwinspool.a \
322         libxinput.a \
323         activeds/libactiveds.a \
324         advapi32/libadvapi32.a \
325         advpack/libadvpack.a \
326         atl/libatl.a \
327         avicap32/libavicap32.a \
328         avifil32/libavifil32.a \
329         cabinet/libcabinet.a \
330         capi2032/libcapi2032.a \
331         cards/libcards.a \
332         cfgmgr32/libcfgmgr32.a \
333         clusapi/libclusapi.a \
334         comctl32/libcomctl32.a \
335         comdlg32/libcomdlg32.a \
336         compstui/libcompstui.a \
337         credui/libcredui.a \
338         crtdll/libcrtdll.a \
339         crypt32/libcrypt32.a \
340         cryptdll/libcryptdll.a \
341         cryptnet/libcryptnet.a \
342         cryptui/libcryptui.a \
343         ctl3d32/libctl3d32.a \
344         d3d10/libd3d10.a \
345         d3d10core/libd3d10core.a \
346         d3d8/libd3d8.a \
347         d3d9/libd3d9.a \
348         d3dim/libd3dim.a \
349         d3drm/libd3drm.a \
350         d3dx8/libd3dx8.a \
351         d3dx9_36/libd3dx9.a \
352         d3dxof/libd3dxof.a \
353         dbghelp/libdbghelp.a \
354         dciman32/libdciman32.a \
355         ddraw/libddraw.a \
356         dinput8/libdinput8.a \
357         dmusic32/libdmusic32.a \
358         dnsapi/libdnsapi.a \
359         dplay/libdplay.a \
360         dplayx/libdplayx.a \
361         dpnet/libdpnet.a \
362         dsound/libdsound.a \
363         dwmapi/libdwmapi.a \
364         dxgi/libdxgi.a \
365         gdi32/libgdi32.a \
366         gdiplus/libgdiplus.a \
367         glu32/libglu32.a \
368         hid/libhid.a \
369         hlink/libhlink.a \
370         imagehlp/libimagehlp.a \
371         imm32/libimm32.a \
372         inetcomm/libinetcomm.a \
373         iphlpapi/libiphlpapi.a \
374         kernel32/libkernel32.a \
375         lz32/liblz32.a \
376         mapi32/libmapi32.a \
377         mlang/libmlang.a \
378         mpr/libmpr.a \
379         mprapi/libmprapi.a \
380         msacm32/libmsacm32.a \
381         mscms/libmscms.a \
382         msdmo/libmsdmo.a \
383         mshtml/libmshtml.a \
384         msi/libmsi.a \
385         msimg32/libmsimg32.a \
386         msvcr71/libmsvcr71.a \
387         msvcrt/libmsvcrt.a \
388         msvcrt20/libmsvcrt20.a \
389         msvcrt40/libmsvcrt40.a \
390         msvcrtd/libmsvcrtd.a \
391         msvfw32/libmsvfw32.a \
392         mswsock/libmswsock.a \
393         nddeapi/libnddeapi.a \
394         netapi32/libnetapi32.a \
395         newdev/libnewdev.a \
396         ntdll/libntdll.a \
397         ntdsapi/libntdsapi.a \
398         ntoskrnl.exe/libntoskrnl.exe.a \
399         odbc32/libodbc32.a \
400         odbccp32/libodbccp32.a \
401         ole32/libole32.a \
402         oleacc/liboleacc.a \
403         oleaut32/liboleaut32.a \
404         olecli32/libolecli32.a \
405         oledlg/liboledlg.a \
406         olepro32/libolepro32.a \
407         olesvr32/libolesvr32.a \
408         opengl32/libopengl32.a \
409         pdh/libpdh.a \
410         powrprof/libpowrprof.a \
411         psapi/libpsapi.a \
412         quartz/libquartz.a \
413         rasapi32/librasapi32.a \
414         resutils/libresutils.a \
415         riched20/libriched20.a \
416         rpcrt4/librpcrt4.a \
417         rsaenh/librsaenh.a \
418         secur32/libsecur32.a \
419         sensapi/libsensapi.a \
420         serialui/libserialui.a \
421         setupapi/libsetupapi.a \
422         sfc/libsfc.a \
423         sfc_os/libsfc_os.a \
424         shdocvw/libshdocvw.a \
425         shell32/libshell32.a \
426         shfolder/libshfolder.a \
427         shlwapi/libshlwapi.a \
428         slc/libslc.a \
429         snmpapi/libsnmpapi.a \
430         spoolss/libspoolss.a \
431         sti/libsti.a \
432         tapi32/libtapi32.a \
433         unicows/libunicows.a \
434         url/liburl.a \
435         urlmon/liburlmon.a \
436         user32/libuser32.a \
437         userenv/libuserenv.a \
438         usp10/libusp10.a \
439         uxtheme/libuxtheme.a \
440         vdmdbg/libvdmdbg.a \
441         version/libversion.a \
442         wined3d/libwined3d.a \
443         winedos/libwinedos.a \
444         winhttp/libwinhttp.a \
445         wininet/libwininet.a \
446         winmm/libwinmm.a \
447         winnls32/libwinnls32.a \
448         winscard/libwinscard.a \
449         winspool.drv/libwinspool.a \
450         wintab32/libwintab32.a \
451         wintrust/libwintrust.a \
452         wldap32/libwldap32.a \
453         wnaspi32/libwnaspi32.a \
454         wow32/libwow32.a \
455         ws2_32/libws2_32.a \
456         wsock32/libwsock32.a \
457         wtsapi32/libwtsapi32.a \
458         xinput1_3/libxinput.a
459
460 $(TESTSUBDIRS:%=%/__crosstest__): $(CROSS_IMPLIBS)
461
462 implib: $(IMPORT_LIBS)
463
464 testsubdirs: $(TESTSUBDIRS)
465
466 .PHONY: implib testsubdirs
467
468 activeds/libactiveds.def activeds/libactiveds.a: activeds/activeds.spec $(WINEBUILD)
469         @cd activeds && $(MAKE) `basename $@`
470
471 advapi32/libadvapi32.def advapi32/libadvapi32.a: advapi32/advapi32.spec $(WINEBUILD)
472         @cd advapi32 && $(MAKE) `basename $@`
473
474 advpack/libadvpack.def advpack/libadvpack.a: advpack/advpack.spec $(WINEBUILD)
475         @cd advpack && $(MAKE) `basename $@`
476
477 atl/libatl.def atl/libatl.a: atl/atl.spec $(WINEBUILD)
478         @cd atl && $(MAKE) `basename $@`
479
480 avicap32/libavicap32.def avicap32/libavicap32.a: avicap32/avicap32.spec $(WINEBUILD)
481         @cd avicap32 && $(MAKE) `basename $@`
482
483 avifil32/libavifil32.def avifil32/libavifil32.a: avifil32/avifil32.spec $(WINEBUILD)
484         @cd avifil32 && $(MAKE) `basename $@`
485
486 cabinet/libcabinet.def cabinet/libcabinet.a: cabinet/cabinet.spec $(WINEBUILD)
487         @cd cabinet && $(MAKE) `basename $@`
488
489 capi2032/libcapi2032.def capi2032/libcapi2032.a: capi2032/capi2032.spec $(WINEBUILD)
490         @cd capi2032 && $(MAKE) `basename $@`
491
492 cards/libcards.def cards/libcards.a: cards/cards.spec $(WINEBUILD)
493         @cd cards && $(MAKE) `basename $@`
494
495 cfgmgr32/libcfgmgr32.def cfgmgr32/libcfgmgr32.a: cfgmgr32/cfgmgr32.spec $(WINEBUILD)
496         @cd cfgmgr32 && $(MAKE) `basename $@`
497
498 clusapi/libclusapi.def clusapi/libclusapi.a: clusapi/clusapi.spec $(WINEBUILD)
499         @cd clusapi && $(MAKE) `basename $@`
500
501 comctl32/libcomctl32.def comctl32/libcomctl32.a: comctl32/comctl32.spec $(WINEBUILD)
502         @cd comctl32 && $(MAKE) `basename $@`
503
504 comdlg32/libcomdlg32.def comdlg32/libcomdlg32.a: comdlg32/comdlg32.spec $(WINEBUILD)
505         @cd comdlg32 && $(MAKE) `basename $@`
506
507 compstui/libcompstui.def compstui/libcompstui.a: compstui/compstui.spec $(WINEBUILD)
508         @cd compstui && $(MAKE) `basename $@`
509
510 credui/libcredui.def credui/libcredui.a: credui/credui.spec $(WINEBUILD)
511         @cd credui && $(MAKE) `basename $@`
512
513 crtdll/libcrtdll.def crtdll/libcrtdll.a: crtdll/crtdll.spec $(WINEBUILD)
514         @cd crtdll && $(MAKE) `basename $@`
515
516 crypt32/libcrypt32.def crypt32/libcrypt32.a: crypt32/crypt32.spec $(WINEBUILD)
517         @cd crypt32 && $(MAKE) `basename $@`
518
519 cryptdll/libcryptdll.def cryptdll/libcryptdll.a: cryptdll/cryptdll.spec $(WINEBUILD)
520         @cd cryptdll && $(MAKE) `basename $@`
521
522 cryptnet/libcryptnet.def cryptnet/libcryptnet.a: cryptnet/cryptnet.spec $(WINEBUILD)
523         @cd cryptnet && $(MAKE) `basename $@`
524
525 cryptui/libcryptui.def cryptui/libcryptui.a: cryptui/cryptui.spec $(WINEBUILD)
526         @cd cryptui && $(MAKE) `basename $@`
527
528 ctl3d32/libctl3d32.def ctl3d32/libctl3d32.a: ctl3d32/ctl3d32.spec $(WINEBUILD)
529         @cd ctl3d32 && $(MAKE) `basename $@`
530
531 d3d10/libd3d10.def d3d10/libd3d10.a: d3d10/d3d10.spec $(WINEBUILD)
532         @cd d3d10 && $(MAKE) `basename $@`
533
534 d3d10core/libd3d10core.def d3d10core/libd3d10core.a: d3d10core/d3d10core.spec $(WINEBUILD)
535         @cd d3d10core && $(MAKE) `basename $@`
536
537 d3d8/libd3d8.def d3d8/libd3d8.a: d3d8/d3d8.spec $(WINEBUILD)
538         @cd d3d8 && $(MAKE) `basename $@`
539
540 d3d9/libd3d9.def d3d9/libd3d9.a: d3d9/d3d9.spec $(WINEBUILD)
541         @cd d3d9 && $(MAKE) `basename $@`
542
543 d3dim/libd3dim.def d3dim/libd3dim.a: d3dim/d3dim.spec $(WINEBUILD)
544         @cd d3dim && $(MAKE) `basename $@`
545
546 d3drm/libd3drm.def d3drm/libd3drm.a: d3drm/d3drm.spec $(WINEBUILD)
547         @cd d3drm && $(MAKE) `basename $@`
548
549 d3dx8/libd3dx8.def d3dx8/libd3dx8.a: d3dx8/d3dx8.spec $(WINEBUILD)
550         @cd d3dx8 && $(MAKE) `basename $@`
551
552 d3dx9_36/libd3dx9.def d3dx9_36/libd3dx9.a: d3dx9_36/d3dx9_36.spec $(WINEBUILD)
553         @cd d3dx9_36 && $(MAKE) `basename $@`
554
555 d3dxof/libd3dxof.def d3dxof/libd3dxof.a: d3dxof/d3dxof.spec $(WINEBUILD)
556         @cd d3dxof && $(MAKE) `basename $@`
557
558 dbghelp/libdbghelp.def dbghelp/libdbghelp.a: dbghelp/dbghelp.spec $(WINEBUILD)
559         @cd dbghelp && $(MAKE) `basename $@`
560
561 dciman32/libdciman32.def dciman32/libdciman32.a: dciman32/dciman32.spec $(WINEBUILD)
562         @cd dciman32 && $(MAKE) `basename $@`
563
564 ddraw/libddraw.def ddraw/libddraw.a: ddraw/ddraw.spec $(WINEBUILD)
565         @cd ddraw && $(MAKE) `basename $@`
566
567 dinput/libdinput.def: dinput/dinput.spec $(WINEBUILD)
568         @cd dinput && $(MAKE) libdinput.def
569
570 dinput/libdinput.$(STATIC_IMPLIBEXT): dummy
571         @cd dinput && $(MAKE) libdinput.$(STATIC_IMPLIBEXT)
572
573 dinput8/libdinput8.def dinput8/libdinput8.a: dinput8/dinput8.spec $(WINEBUILD)
574         @cd dinput8 && $(MAKE) `basename $@`
575
576 dmusic32/libdmusic32.def dmusic32/libdmusic32.a: dmusic32/dmusic32.spec $(WINEBUILD)
577         @cd dmusic32 && $(MAKE) `basename $@`
578
579 dnsapi/libdnsapi.def dnsapi/libdnsapi.a: dnsapi/dnsapi.spec $(WINEBUILD)
580         @cd dnsapi && $(MAKE) `basename $@`
581
582 dplay/libdplay.def dplay/libdplay.a: dplay/dplay.spec $(WINEBUILD)
583         @cd dplay && $(MAKE) `basename $@`
584
585 dplayx/libdplayx.def dplayx/libdplayx.a: dplayx/dplayx.spec $(WINEBUILD)
586         @cd dplayx && $(MAKE) `basename $@`
587
588 dpnet/libdpnet.def dpnet/libdpnet.a: dpnet/dpnet.spec $(WINEBUILD)
589         @cd dpnet && $(MAKE) `basename $@`
590
591 dsound/libdsound.def dsound/libdsound.a: dsound/dsound.spec $(WINEBUILD)
592         @cd dsound && $(MAKE) `basename $@`
593
594 dwmapi/libdwmapi.def dwmapi/libdwmapi.a: dwmapi/dwmapi.spec $(WINEBUILD)
595         @cd dwmapi && $(MAKE) `basename $@`
596
597 dxgi/libdxgi.def dxgi/libdxgi.a: dxgi/dxgi.spec $(WINEBUILD)
598         @cd dxgi && $(MAKE) `basename $@`
599
600 gdi32/libgdi32.def gdi32/libgdi32.a: gdi32/gdi32.spec $(WINEBUILD)
601         @cd gdi32 && $(MAKE) `basename $@`
602
603 gdiplus/libgdiplus.def gdiplus/libgdiplus.a: gdiplus/gdiplus.spec $(WINEBUILD)
604         @cd gdiplus && $(MAKE) `basename $@`
605
606 glu32/libglu32.def glu32/libglu32.a: glu32/glu32.spec $(WINEBUILD)
607         @cd glu32 && $(MAKE) `basename $@`
608
609 hid/libhid.def hid/libhid.a: hid/hid.spec $(WINEBUILD)
610         @cd hid && $(MAKE) `basename $@`
611
612 hlink/libhlink.def hlink/libhlink.a: hlink/hlink.spec $(WINEBUILD)
613         @cd hlink && $(MAKE) `basename $@`
614
615 imagehlp/libimagehlp.def imagehlp/libimagehlp.a: imagehlp/imagehlp.spec $(WINEBUILD)
616         @cd imagehlp && $(MAKE) `basename $@`
617
618 imm32/libimm32.def imm32/libimm32.a: imm32/imm32.spec $(WINEBUILD)
619         @cd imm32 && $(MAKE) `basename $@`
620
621 inetcomm/libinetcomm.def inetcomm/libinetcomm.a: inetcomm/inetcomm.spec $(WINEBUILD)
622         @cd inetcomm && $(MAKE) `basename $@`
623
624 iphlpapi/libiphlpapi.def iphlpapi/libiphlpapi.a: iphlpapi/iphlpapi.spec $(WINEBUILD)
625         @cd iphlpapi && $(MAKE) `basename $@`
626
627 kernel32/libkernel32.def kernel32/libkernel32.a: kernel32/kernel32.spec $(WINEBUILD)
628         @cd kernel32 && $(MAKE) `basename $@`
629
630 lz32/liblz32.def lz32/liblz32.a: lz32/lz32.spec $(WINEBUILD)
631         @cd lz32 && $(MAKE) `basename $@`
632
633 mapi32/libmapi32.def mapi32/libmapi32.a: mapi32/mapi32.spec $(WINEBUILD)
634         @cd mapi32 && $(MAKE) `basename $@`
635
636 mlang/libmlang.def mlang/libmlang.a: mlang/mlang.spec $(WINEBUILD)
637         @cd mlang && $(MAKE) `basename $@`
638
639 mpr/libmpr.def mpr/libmpr.a: mpr/mpr.spec $(WINEBUILD)
640         @cd mpr && $(MAKE) `basename $@`
641
642 mprapi/libmprapi.def mprapi/libmprapi.a: mprapi/mprapi.spec $(WINEBUILD)
643         @cd mprapi && $(MAKE) `basename $@`
644
645 msacm32/libmsacm32.def msacm32/libmsacm32.a: msacm32/msacm32.spec $(WINEBUILD)
646         @cd msacm32 && $(MAKE) `basename $@`
647
648 mscms/libmscms.def mscms/libmscms.a: mscms/mscms.spec $(WINEBUILD)
649         @cd mscms && $(MAKE) `basename $@`
650
651 msdmo/libmsdmo.def msdmo/libmsdmo.a: msdmo/msdmo.spec $(WINEBUILD)
652         @cd msdmo && $(MAKE) `basename $@`
653
654 mshtml/libmshtml.def mshtml/libmshtml.a: mshtml/mshtml.spec $(WINEBUILD)
655         @cd mshtml && $(MAKE) `basename $@`
656
657 msi/libmsi.def msi/libmsi.a: msi/msi.spec $(WINEBUILD)
658         @cd msi && $(MAKE) `basename $@`
659
660 msimg32/libmsimg32.def msimg32/libmsimg32.a: msimg32/msimg32.spec $(WINEBUILD)
661         @cd msimg32 && $(MAKE) `basename $@`
662
663 msvcr71/libmsvcr71.def msvcr71/libmsvcr71.a: msvcr71/msvcr71.spec $(WINEBUILD)
664         @cd msvcr71 && $(MAKE) `basename $@`
665
666 msvcrt/libmsvcrt.def msvcrt/libmsvcrt.a: msvcrt/msvcrt.spec $(WINEBUILD)
667         @cd msvcrt && $(MAKE) `basename $@`
668
669 msvcrt20/libmsvcrt20.def msvcrt20/libmsvcrt20.a: msvcrt20/msvcrt20.spec $(WINEBUILD)
670         @cd msvcrt20 && $(MAKE) `basename $@`
671
672 msvcrt40/libmsvcrt40.def msvcrt40/libmsvcrt40.a: msvcrt40/msvcrt40.spec $(WINEBUILD)
673         @cd msvcrt40 && $(MAKE) `basename $@`
674
675 msvcrtd/libmsvcrtd.def msvcrtd/libmsvcrtd.a: msvcrtd/msvcrtd.spec $(WINEBUILD)
676         @cd msvcrtd && $(MAKE) `basename $@`
677
678 msvfw32/libmsvfw32.def msvfw32/libmsvfw32.a: msvfw32/msvfw32.spec $(WINEBUILD)
679         @cd msvfw32 && $(MAKE) `basename $@`
680
681 mswsock/libmswsock.def mswsock/libmswsock.a: mswsock/mswsock.spec $(WINEBUILD)
682         @cd mswsock && $(MAKE) `basename $@`
683
684 nddeapi/libnddeapi.def nddeapi/libnddeapi.a: nddeapi/nddeapi.spec $(WINEBUILD)
685         @cd nddeapi && $(MAKE) `basename $@`
686
687 netapi32/libnetapi32.def netapi32/libnetapi32.a: netapi32/netapi32.spec $(WINEBUILD)
688         @cd netapi32 && $(MAKE) `basename $@`
689
690 newdev/libnewdev.def newdev/libnewdev.a: newdev/newdev.spec $(WINEBUILD)
691         @cd newdev && $(MAKE) `basename $@`
692
693 ntdll/libntdll.def ntdll/libntdll.a: ntdll/ntdll.spec $(WINEBUILD)
694         @cd ntdll && $(MAKE) `basename $@`
695
696 ntdsapi/libntdsapi.def ntdsapi/libntdsapi.a: ntdsapi/ntdsapi.spec $(WINEBUILD)
697         @cd ntdsapi && $(MAKE) `basename $@`
698
699 ntoskrnl.exe/libntoskrnl.exe.def ntoskrnl.exe/libntoskrnl.exe.a: ntoskrnl.exe/ntoskrnl.exe.spec $(WINEBUILD)
700         @cd ntoskrnl.exe && $(MAKE) `basename $@`
701
702 odbc32/libodbc32.def odbc32/libodbc32.a: odbc32/odbc32.spec $(WINEBUILD)
703         @cd odbc32 && $(MAKE) `basename $@`
704
705 odbccp32/libodbccp32.def odbccp32/libodbccp32.a: odbccp32/odbccp32.spec $(WINEBUILD)
706         @cd odbccp32 && $(MAKE) `basename $@`
707
708 ole32/libole32.def ole32/libole32.a: ole32/ole32.spec $(WINEBUILD)
709         @cd ole32 && $(MAKE) `basename $@`
710
711 oleacc/liboleacc.def oleacc/liboleacc.a: oleacc/oleacc.spec $(WINEBUILD)
712         @cd oleacc && $(MAKE) `basename $@`
713
714 oleaut32/liboleaut32.def oleaut32/liboleaut32.a: oleaut32/oleaut32.spec $(WINEBUILD)
715         @cd oleaut32 && $(MAKE) `basename $@`
716
717 olecli32/libolecli32.def olecli32/libolecli32.a: olecli32/olecli32.spec $(WINEBUILD)
718         @cd olecli32 && $(MAKE) `basename $@`
719
720 oledlg/liboledlg.def oledlg/liboledlg.a: oledlg/oledlg.spec $(WINEBUILD)
721         @cd oledlg && $(MAKE) `basename $@`
722
723 olepro32/libolepro32.def olepro32/libolepro32.a: olepro32/olepro32.spec $(WINEBUILD)
724         @cd olepro32 && $(MAKE) `basename $@`
725
726 olesvr32/libolesvr32.def olesvr32/libolesvr32.a: olesvr32/olesvr32.spec $(WINEBUILD)
727         @cd olesvr32 && $(MAKE) `basename $@`
728
729 opengl32/libopengl32.def opengl32/libopengl32.a: opengl32/opengl32.spec $(WINEBUILD)
730         @cd opengl32 && $(MAKE) `basename $@`
731
732 pdh/libpdh.def pdh/libpdh.a: pdh/pdh.spec $(WINEBUILD)
733         @cd pdh && $(MAKE) `basename $@`
734
735 powrprof/libpowrprof.def powrprof/libpowrprof.a: powrprof/powrprof.spec $(WINEBUILD)
736         @cd powrprof && $(MAKE) `basename $@`
737
738 psapi/libpsapi.def psapi/libpsapi.a: psapi/psapi.spec $(WINEBUILD)
739         @cd psapi && $(MAKE) `basename $@`
740
741 quartz/libquartz.def quartz/libquartz.a: quartz/quartz.spec $(WINEBUILD)
742         @cd quartz && $(MAKE) `basename $@`
743
744 rasapi32/librasapi32.def rasapi32/librasapi32.a: rasapi32/rasapi32.spec $(WINEBUILD)
745         @cd rasapi32 && $(MAKE) `basename $@`
746
747 resutils/libresutils.def resutils/libresutils.a: resutils/resutils.spec $(WINEBUILD)
748         @cd resutils && $(MAKE) `basename $@`
749
750 riched20/libriched20.def riched20/libriched20.a: riched20/riched20.spec $(WINEBUILD)
751         @cd riched20 && $(MAKE) `basename $@`
752
753 rpcrt4/librpcrt4.def rpcrt4/librpcrt4.a: rpcrt4/rpcrt4.spec $(WINEBUILD)
754         @cd rpcrt4 && $(MAKE) `basename $@`
755
756 rsaenh/librsaenh.def rsaenh/librsaenh.a: rsaenh/rsaenh.spec $(WINEBUILD)
757         @cd rsaenh && $(MAKE) `basename $@`
758
759 secur32/libsecur32.def secur32/libsecur32.a: secur32/secur32.spec $(WINEBUILD)
760         @cd secur32 && $(MAKE) `basename $@`
761
762 sensapi/libsensapi.def sensapi/libsensapi.a: sensapi/sensapi.spec $(WINEBUILD)
763         @cd sensapi && $(MAKE) `basename $@`
764
765 serialui/libserialui.def serialui/libserialui.a: serialui/serialui.spec $(WINEBUILD)
766         @cd serialui && $(MAKE) `basename $@`
767
768 setupapi/libsetupapi.def setupapi/libsetupapi.a: setupapi/setupapi.spec $(WINEBUILD)
769         @cd setupapi && $(MAKE) `basename $@`
770
771 sfc/libsfc.def sfc/libsfc.a: sfc/sfc.spec $(WINEBUILD)
772         @cd sfc && $(MAKE) `basename $@`
773
774 sfc_os/libsfc_os.def sfc_os/libsfc_os.a: sfc_os/sfc_os.spec $(WINEBUILD)
775         @cd sfc_os && $(MAKE) `basename $@`
776
777 shdocvw/libshdocvw.def shdocvw/libshdocvw.a: shdocvw/shdocvw.spec $(WINEBUILD)
778         @cd shdocvw && $(MAKE) `basename $@`
779
780 shell32/libshell32.def shell32/libshell32.a: shell32/shell32.spec $(WINEBUILD)
781         @cd shell32 && $(MAKE) `basename $@`
782
783 shfolder/libshfolder.def shfolder/libshfolder.a: shfolder/shfolder.spec $(WINEBUILD)
784         @cd shfolder && $(MAKE) `basename $@`
785
786 shlwapi/libshlwapi.def shlwapi/libshlwapi.a: shlwapi/shlwapi.spec $(WINEBUILD)
787         @cd shlwapi && $(MAKE) `basename $@`
788
789 slc/libslc.def slc/libslc.a: slc/slc.spec $(WINEBUILD)
790         @cd slc && $(MAKE) `basename $@`
791
792 snmpapi/libsnmpapi.def snmpapi/libsnmpapi.a: snmpapi/snmpapi.spec $(WINEBUILD)
793         @cd snmpapi && $(MAKE) `basename $@`
794
795 spoolss/libspoolss.def spoolss/libspoolss.a: spoolss/spoolss.spec $(WINEBUILD)
796         @cd spoolss && $(MAKE) `basename $@`
797
798 sti/libsti.def sti/libsti.a: sti/sti.spec $(WINEBUILD)
799         @cd sti && $(MAKE) `basename $@`
800
801 tapi32/libtapi32.def tapi32/libtapi32.a: tapi32/tapi32.spec $(WINEBUILD)
802         @cd tapi32 && $(MAKE) `basename $@`
803
804 unicows/libunicows.def unicows/libunicows.a: unicows/unicows.spec $(WINEBUILD)
805         @cd unicows && $(MAKE) `basename $@`
806
807 url/liburl.def url/liburl.a: url/url.spec $(WINEBUILD)
808         @cd url && $(MAKE) `basename $@`
809
810 urlmon/liburlmon.def urlmon/liburlmon.a: urlmon/urlmon.spec $(WINEBUILD)
811         @cd urlmon && $(MAKE) `basename $@`
812
813 user32/libuser32.def user32/libuser32.a: user32/user32.spec $(WINEBUILD)
814         @cd user32 && $(MAKE) `basename $@`
815
816 userenv/libuserenv.def userenv/libuserenv.a: userenv/userenv.spec $(WINEBUILD)
817         @cd userenv && $(MAKE) `basename $@`
818
819 usp10/libusp10.def usp10/libusp10.a: usp10/usp10.spec $(WINEBUILD)
820         @cd usp10 && $(MAKE) `basename $@`
821
822 uxtheme/libuxtheme.def uxtheme/libuxtheme.a: uxtheme/uxtheme.spec $(WINEBUILD)
823         @cd uxtheme && $(MAKE) `basename $@`
824
825 vdmdbg/libvdmdbg.def vdmdbg/libvdmdbg.a: vdmdbg/vdmdbg.spec $(WINEBUILD)
826         @cd vdmdbg && $(MAKE) `basename $@`
827
828 version/libversion.def version/libversion.a: version/version.spec $(WINEBUILD)
829         @cd version && $(MAKE) `basename $@`
830
831 wined3d/libwined3d.def wined3d/libwined3d.a: wined3d/wined3d.spec $(WINEBUILD)
832         @cd wined3d && $(MAKE) `basename $@`
833
834 winedos/libwinedos.def winedos/libwinedos.a: winedos/winedos.spec $(WINEBUILD)
835         @cd winedos && $(MAKE) `basename $@`
836
837 winhttp/libwinhttp.def winhttp/libwinhttp.a: winhttp/winhttp.spec $(WINEBUILD)
838         @cd winhttp && $(MAKE) `basename $@`
839
840 wininet/libwininet.def wininet/libwininet.a: wininet/wininet.spec $(WINEBUILD)
841         @cd wininet && $(MAKE) `basename $@`
842
843 winmm/libwinmm.def winmm/libwinmm.a: winmm/winmm.spec $(WINEBUILD)
844         @cd winmm && $(MAKE) `basename $@`
845
846 winnls32/libwinnls32.def winnls32/libwinnls32.a: winnls32/winnls32.spec $(WINEBUILD)
847         @cd winnls32 && $(MAKE) `basename $@`
848
849 winscard/libwinscard.def winscard/libwinscard.a: winscard/winscard.spec $(WINEBUILD)
850         @cd winscard && $(MAKE) `basename $@`
851
852 winspool.drv/libwinspool.def winspool.drv/libwinspool.a: winspool.drv/winspool.drv.spec $(WINEBUILD)
853         @cd winspool.drv && $(MAKE) `basename $@`
854
855 wintab32/libwintab32.def wintab32/libwintab32.a: wintab32/wintab32.spec $(WINEBUILD)
856         @cd wintab32 && $(MAKE) `basename $@`
857
858 wintrust/libwintrust.def wintrust/libwintrust.a: wintrust/wintrust.spec $(WINEBUILD)
859         @cd wintrust && $(MAKE) `basename $@`
860
861 wldap32/libwldap32.def wldap32/libwldap32.a: wldap32/wldap32.spec $(WINEBUILD)
862         @cd wldap32 && $(MAKE) `basename $@`
863
864 wnaspi32/libwnaspi32.def wnaspi32/libwnaspi32.a: wnaspi32/wnaspi32.spec $(WINEBUILD)
865         @cd wnaspi32 && $(MAKE) `basename $@`
866
867 wow32/libwow32.def wow32/libwow32.a: wow32/wow32.spec $(WINEBUILD)
868         @cd wow32 && $(MAKE) `basename $@`
869
870 ws2_32/libws2_32.def ws2_32/libws2_32.a: ws2_32/ws2_32.spec $(WINEBUILD)
871         @cd ws2_32 && $(MAKE) `basename $@`
872
873 wsock32/libwsock32.def wsock32/libwsock32.a: wsock32/wsock32.spec $(WINEBUILD)
874         @cd wsock32 && $(MAKE) `basename $@`
875
876 wtsapi32/libwtsapi32.def wtsapi32/libwtsapi32.a: wtsapi32/wtsapi32.spec $(WINEBUILD)
877         @cd wtsapi32 && $(MAKE) `basename $@`
878
879 xinput1_3/libxinput.def xinput1_3/libxinput.a: xinput1_3/xinput1_3.spec $(WINEBUILD)
880         @cd xinput1_3 && $(MAKE) `basename $@`
881
882 libd3dx9.a: d3dx9_36/libd3dx9.a
883         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.a $@
884
885 libd3dx9.def: d3dx9_36/libd3dx9.def
886         $(RM) $@ && $(LN_S) d3dx9_36/libd3dx9.def $@
887
888 libwinspool.a: winspool.drv/libwinspool.a
889         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.a $@
890
891 libwinspool.def: winspool.drv/libwinspool.def
892         $(RM) $@ && $(LN_S) winspool.drv/libwinspool.def $@
893
894 libxinput.a: xinput1_3/libxinput.a
895         $(RM) $@ && $(LN_S) xinput1_3/libxinput.a $@
896
897 libxinput.def: xinput1_3/libxinput.def
898         $(RM) $@ && $(LN_S) xinput1_3/libxinput.def $@
899
900 $(BUILDSUBDIRS): $(IMPORT_LIBS)
901 $(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(IMPORT_LIBS)
902
903 # Map library name to the corresponding directory
904
905 adsiid/libadsiid.a: adsiid
906 dxerr8/libdxerr8.a: dxerr8
907 dxerr9/libdxerr9.a: dxerr9
908 dxguid/libdxguid.a: dxguid
909 strmiids/libstrmiids.a: strmiids
910 uuid/libuuid.a: uuid
911 winecrt0/libwinecrt0.a: winecrt0
912
913 # Misc rules
914
915 .PHONY: $(WIN16_FILES:%=__install__/%)
916
917 WIN16_INSTALL = $(WIN16_FILES:%=__install__/%)
918
919 $(WIN16_FILES:%=__install__/%): $(WIN16_FILES) $(DESTDIR)$(dlldir) dummy
920         $(INSTALL_DATA) `basename $@` $(DESTDIR)$(dlldir)/`basename $@`
921
922 install install-lib:: @WIN16_INSTALL@
923
924 uninstall::
925         -cd $(DESTDIR)$(dlldir) && $(RM) $(WIN16_FILES)
926         -rmdir $(DESTDIR)$(dlldir)
927
928 clean::
929         $(RM) $(IMPORT_SYMLINKS) $(WIN16_FILES)