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