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