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