Fixed DECIMAL_SETZERO
[wine] / dlls / Makefile.in
1 # Automatically generated by make_dlls; DO NOT EDIT!!
2
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR    = @srcdir@
6 VPATH     = @srcdir@
7
8 # special configure-dependent targets
9
10 GLU32FILES = glu32
11 OPENGLFILES = d3d8 d3dx8 opengl32
12 XFILES = ddraw x11drv
13 EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @XFILES@
14
15 # Subdir list
16
17 BASEDIRS = \
18         advapi32 \
19         avicap32 \
20         avifil32 \
21         cabinet \
22         comcat \
23         comctl32 \
24         commdlg \
25         crtdll \
26         crypt32 \
27         ctl3d \
28         d3dim \
29         dciman32 \
30         devenum \
31         dinput \
32         dinput8 \
33         dmband \
34         dmcompos \
35         dmime \
36         dmloader \
37         dmscript \
38         dmstyle \
39         dmsynth \
40         dmusic \
41         dmusic32 \
42         dplay \
43         dplayx \
44         dpnhpast \
45         dsound \
46         gdi \
47         icmp \
48         imagehlp \
49         imm32 \
50         iphlpapi \
51         kernel \
52         lzexpand \
53         mapi32 \
54         mpr \
55         msacm \
56         msacm/imaadp32 \
57         msacm/msadp32 \
58         msacm/msg711 \
59         msacm/winemp3 \
60         msdmo \
61         msimg32 \
62         msisys \
63         msnet32 \
64         msvcrt \
65         msvcrt20 \
66         msvcrtd \
67         msvideo \
68         msvideo/msrle32 \
69         netapi32 \
70         ntdll \
71         odbc32 \
72         ole32 \
73         oleaut32 \
74         olecli \
75         oledlg \
76         olepro32 \
77         olesvr \
78         psapi \
79         qcap \
80         quartz \
81         rasapi32 \
82         richedit \
83         rpcrt4 \
84         serialui \
85         setupapi \
86         shdocvw \
87         shell32 \
88         shfolder \
89         shlwapi \
90         snmpapi \
91         sti \
92         tapi32 \
93         ttydrv \
94         twain \
95         url \
96         urlmon \
97         user \
98         version \
99         win32s \
100         winaspi \
101         winedos \
102         wineps \
103         wininet \
104         winmm \
105         winmm/joystick \
106         winmm/mcianim \
107         winmm/mciavi \
108         winmm/mcicda \
109         winmm/mciseq \
110         winmm/mciwave \
111         winmm/midimap \
112         winmm/wavemap \
113         winmm/winealsa \
114         winmm/winearts \
115         winmm/wineaudioio \
116         winmm/winejack \
117         winmm/winenas \
118         winmm/wineoss \
119         winnls \
120         winsock \
121         winspool \
122         wintab32 \
123         wintrust \
124         wow32 \
125         wsock32
126
127 SUBDIRS = \
128         $(BASEDIRS) \
129         d3d8 \
130         d3dx8 \
131         ddraw \
132         glu32 \
133         opengl32 \
134         x11drv
135
136 BUILDSUBDIRS = $(BASEDIRS) $(EXTRADIRS)
137
138 INSTALLSUBDIRS = $(BUILDSUBDIRS)
139
140 @MAKE_RULES@
141
142 # Symbolic links
143
144 WIN16_FILES = \
145         avifile.dll$(DLLEXT) \
146         comm.dll$(DLLEXT) \
147         commdlg.dll$(DLLEXT) \
148         compobj.dll$(DLLEXT) \
149         ctl3d.dll$(DLLEXT) \
150         ctl3dv2.dll$(DLLEXT) \
151         ddeml.dll$(DLLEXT) \
152         dispdib.dll$(DLLEXT) \
153         display.dll$(DLLEXT) \
154         gdi.exe$(DLLEXT) \
155         imm.dll$(DLLEXT) \
156         keyboard.dll$(DLLEXT) \
157         krnl386.exe$(DLLEXT) \
158         lzexpand.dll$(DLLEXT) \
159         mmsystem.dll$(DLLEXT) \
160         mouse.dll$(DLLEXT) \
161         msacm.dll$(DLLEXT) \
162         msvideo.dll$(DLLEXT) \
163         ole2.dll$(DLLEXT) \
164         ole2conv.dll$(DLLEXT) \
165         ole2disp.dll$(DLLEXT) \
166         ole2nls.dll$(DLLEXT) \
167         ole2prox.dll$(DLLEXT) \
168         ole2thk.dll$(DLLEXT) \
169         olecli.dll$(DLLEXT) \
170         olesvr.dll$(DLLEXT) \
171         rasapi16.dll$(DLLEXT) \
172         setupx.dll$(DLLEXT) \
173         shell.dll$(DLLEXT) \
174         sound.dll$(DLLEXT) \
175         storage.dll$(DLLEXT) \
176         stress.dll$(DLLEXT) \
177         system.dll$(DLLEXT) \
178         toolhelp.dll$(DLLEXT) \
179         typelib.dll$(DLLEXT) \
180         user.exe$(DLLEXT) \
181         ver.dll$(DLLEXT) \
182         w32sys.dll$(DLLEXT) \
183         win32s16.dll$(DLLEXT) \
184         win87em.dll$(DLLEXT) \
185         winaspi.dll$(DLLEXT) \
186         windebug.dll$(DLLEXT) \
187         wineps16.drv$(DLLEXT) \
188         wing.dll$(DLLEXT) \
189         winnls.dll$(DLLEXT) \
190         winsock.dll$(DLLEXT) \
191         wintab.dll$(DLLEXT) \
192         wprocs.dll$(DLLEXT)
193
194 SYMLINKS = \
195         $(EXTRADIRS:%=%.dll$(DLLEXT)) \
196         @WIN16_FILES@ \
197         advapi32.dll$(DLLEXT) \
198         avicap32.dll$(DLLEXT) \
199         avifil32.dll$(DLLEXT) \
200         cabinet.dll$(DLLEXT) \
201         comcat.dll$(DLLEXT) \
202         comctl32.dll$(DLLEXT) \
203         comdlg32.dll$(DLLEXT) \
204         crtdll.dll$(DLLEXT) \
205         crypt32.dll$(DLLEXT) \
206         ctl3d32.dll$(DLLEXT) \
207         d3dim.dll$(DLLEXT) \
208         dciman32.dll$(DLLEXT) \
209         devenum.dll$(DLLEXT) \
210         dinput.dll$(DLLEXT) \
211         dinput8.dll$(DLLEXT) \
212         dmband.dll$(DLLEXT) \
213         dmcompos.dll$(DLLEXT) \
214         dmime.dll$(DLLEXT) \
215         dmloader.dll$(DLLEXT) \
216         dmscript.dll$(DLLEXT) \
217         dmstyle.dll$(DLLEXT) \
218         dmsynth.dll$(DLLEXT) \
219         dmusic.dll$(DLLEXT) \
220         dmusic32.dll$(DLLEXT) \
221         dplay.dll$(DLLEXT) \
222         dplayx.dll$(DLLEXT) \
223         dpnhpast.dll$(DLLEXT) \
224         dsound.dll$(DLLEXT) \
225         gdi32.dll$(DLLEXT) \
226         icmp.dll$(DLLEXT) \
227         imaadp32.acm$(DLLEXT) \
228         imagehlp.dll$(DLLEXT) \
229         imm32.dll$(DLLEXT) \
230         iphlpapi.dll$(DLLEXT) \
231         joystick.drv$(DLLEXT) \
232         kernel32.dll$(DLLEXT) \
233         lz32.dll$(DLLEXT) \
234         mapi32.dll$(DLLEXT) \
235         mcianim.drv$(DLLEXT) \
236         mciavi.drv$(DLLEXT) \
237         mcicda.drv$(DLLEXT) \
238         mciseq.drv$(DLLEXT) \
239         mciwave.drv$(DLLEXT) \
240         midimap.drv$(DLLEXT) \
241         mpr.dll$(DLLEXT) \
242         msacm.drv$(DLLEXT) \
243         msacm32.dll$(DLLEXT) \
244         msadp32.acm$(DLLEXT) \
245         msdmo.dll$(DLLEXT) \
246         msg711.acm$(DLLEXT) \
247         msimg32.dll$(DLLEXT) \
248         msisys.ocx$(DLLEXT) \
249         msnet32.dll$(DLLEXT) \
250         msrle32.dll$(DLLEXT) \
251         msvcrt.dll$(DLLEXT) \
252         msvcrt20.dll$(DLLEXT) \
253         msvcrtd.dll$(DLLEXT) \
254         msvfw32.dll$(DLLEXT) \
255         netapi32.dll$(DLLEXT) \
256         ntdll.dll$(DLLEXT) \
257         odbc32.dll$(DLLEXT) \
258         ole32.dll$(DLLEXT) \
259         oleaut32.dll$(DLLEXT) \
260         olecli32.dll$(DLLEXT) \
261         oledlg.dll$(DLLEXT) \
262         olepro32.dll$(DLLEXT) \
263         olesvr32.dll$(DLLEXT) \
264         psapi.dll$(DLLEXT) \
265         qcap.dll$(DLLEXT) \
266         quartz.dll$(DLLEXT) \
267         rasapi32.dll$(DLLEXT) \
268         riched32.dll$(DLLEXT) \
269         rpcrt4.dll$(DLLEXT) \
270         serialui.dll$(DLLEXT) \
271         setupapi.dll$(DLLEXT) \
272         shdocvw.dll$(DLLEXT) \
273         shell32.dll$(DLLEXT) \
274         shfolder.dll$(DLLEXT) \
275         shlwapi.dll$(DLLEXT) \
276         snmpapi.dll$(DLLEXT) \
277         sti.dll$(DLLEXT) \
278         tapi32.dll$(DLLEXT) \
279         ttydrv.dll$(DLLEXT) \
280         twain_32.dll$(DLLEXT) \
281         url.dll$(DLLEXT) \
282         urlmon.dll$(DLLEXT) \
283         user32.dll$(DLLEXT) \
284         version.dll$(DLLEXT) \
285         w32skrnl.dll$(DLLEXT) \
286         winealsa.drv$(DLLEXT) \
287         winearts.drv$(DLLEXT) \
288         wineaudioio.drv$(DLLEXT) \
289         winedos.dll$(DLLEXT) \
290         winejack.drv$(DLLEXT) \
291         winemp3.acm$(DLLEXT) \
292         winenas.drv$(DLLEXT) \
293         wineoss.drv$(DLLEXT) \
294         wineps.dll$(DLLEXT) \
295         wininet.dll$(DLLEXT) \
296         winmm.dll$(DLLEXT) \
297         winnls32.dll$(DLLEXT) \
298         winspool.drv$(DLLEXT) \
299         wintab32.dll$(DLLEXT) \
300         wintrust.dll$(DLLEXT) \
301         wnaspi32.dll$(DLLEXT) \
302         wow32.dll$(DLLEXT) \
303         ws2_32.dll$(DLLEXT) \
304         wsock32.dll$(DLLEXT)
305
306 # Main target
307
308 all: $(SYMLINKS)
309
310 # Map symlink name to the corresponding library
311
312 advapi32.dll$(DLLEXT): advapi32/advapi32.dll$(DLLEXT)
313         $(RM) $@ && $(LN_S) advapi32/advapi32.dll$(DLLEXT) $@
314
315 avicap32.dll$(DLLEXT): avicap32/avicap32.dll$(DLLEXT)
316         $(RM) $@ && $(LN_S) avicap32/avicap32.dll$(DLLEXT) $@
317
318 avifil32.dll$(DLLEXT) avifile.dll$(DLLEXT): avifil32/avifil32.dll$(DLLEXT)
319         $(RM) $@ && $(LN_S) avifil32/avifil32.dll$(DLLEXT) $@
320
321 cabinet.dll$(DLLEXT): cabinet/cabinet.dll$(DLLEXT)
322         $(RM) $@ && $(LN_S) cabinet/cabinet.dll$(DLLEXT) $@
323
324 comcat.dll$(DLLEXT): comcat/comcat.dll$(DLLEXT)
325         $(RM) $@ && $(LN_S) comcat/comcat.dll$(DLLEXT) $@
326
327 comctl32.dll$(DLLEXT): comctl32/comctl32.dll$(DLLEXT)
328         $(RM) $@ && $(LN_S) comctl32/comctl32.dll$(DLLEXT) $@
329
330 comdlg32.dll$(DLLEXT) commdlg.dll$(DLLEXT): commdlg/comdlg32.dll$(DLLEXT)
331         $(RM) $@ && $(LN_S) commdlg/comdlg32.dll$(DLLEXT) $@
332
333 crtdll.dll$(DLLEXT): crtdll/crtdll.dll$(DLLEXT)
334         $(RM) $@ && $(LN_S) crtdll/crtdll.dll$(DLLEXT) $@
335
336 crypt32.dll$(DLLEXT): crypt32/crypt32.dll$(DLLEXT)
337         $(RM) $@ && $(LN_S) crypt32/crypt32.dll$(DLLEXT) $@
338
339 ctl3d32.dll$(DLLEXT) ctl3d.dll$(DLLEXT) ctl3dv2.dll$(DLLEXT): ctl3d/ctl3d32.dll$(DLLEXT)
340         $(RM) $@ && $(LN_S) ctl3d/ctl3d32.dll$(DLLEXT) $@
341
342 d3d8.dll$(DLLEXT): d3d8/d3d8.dll$(DLLEXT)
343         $(RM) $@ && $(LN_S) d3d8/d3d8.dll$(DLLEXT) $@
344
345 d3dim.dll$(DLLEXT): d3dim/d3dim.dll$(DLLEXT)
346         $(RM) $@ && $(LN_S) d3dim/d3dim.dll$(DLLEXT) $@
347
348 d3dx8.dll$(DLLEXT): d3dx8/d3dx8.dll$(DLLEXT)
349         $(RM) $@ && $(LN_S) d3dx8/d3dx8.dll$(DLLEXT) $@
350
351 dciman32.dll$(DLLEXT): dciman32/dciman32.dll$(DLLEXT)
352         $(RM) $@ && $(LN_S) dciman32/dciman32.dll$(DLLEXT) $@
353
354 ddraw.dll$(DLLEXT): ddraw/ddraw.dll$(DLLEXT)
355         $(RM) $@ && $(LN_S) ddraw/ddraw.dll$(DLLEXT) $@
356
357 devenum.dll$(DLLEXT): devenum/devenum.dll$(DLLEXT)
358         $(RM) $@ && $(LN_S) devenum/devenum.dll$(DLLEXT) $@
359
360 dinput.dll$(DLLEXT): dinput/dinput.dll$(DLLEXT)
361         $(RM) $@ && $(LN_S) dinput/dinput.dll$(DLLEXT) $@
362
363 dinput8.dll$(DLLEXT): dinput8/dinput8.dll$(DLLEXT)
364         $(RM) $@ && $(LN_S) dinput8/dinput8.dll$(DLLEXT) $@
365
366 dmband.dll$(DLLEXT): dmband/dmband.dll$(DLLEXT)
367         $(RM) $@ && $(LN_S) dmband/dmband.dll$(DLLEXT) $@
368
369 dmcompos.dll$(DLLEXT): dmcompos/dmcompos.dll$(DLLEXT)
370         $(RM) $@ && $(LN_S) dmcompos/dmcompos.dll$(DLLEXT) $@
371
372 dmime.dll$(DLLEXT): dmime/dmime.dll$(DLLEXT)
373         $(RM) $@ && $(LN_S) dmime/dmime.dll$(DLLEXT) $@
374
375 dmloader.dll$(DLLEXT): dmloader/dmloader.dll$(DLLEXT)
376         $(RM) $@ && $(LN_S) dmloader/dmloader.dll$(DLLEXT) $@
377
378 dmscript.dll$(DLLEXT): dmscript/dmscript.dll$(DLLEXT)
379         $(RM) $@ && $(LN_S) dmscript/dmscript.dll$(DLLEXT) $@
380
381 dmstyle.dll$(DLLEXT): dmstyle/dmstyle.dll$(DLLEXT)
382         $(RM) $@ && $(LN_S) dmstyle/dmstyle.dll$(DLLEXT) $@
383
384 dmsynth.dll$(DLLEXT): dmsynth/dmsynth.dll$(DLLEXT)
385         $(RM) $@ && $(LN_S) dmsynth/dmsynth.dll$(DLLEXT) $@
386
387 dmusic.dll$(DLLEXT): dmusic/dmusic.dll$(DLLEXT)
388         $(RM) $@ && $(LN_S) dmusic/dmusic.dll$(DLLEXT) $@
389
390 dmusic32.dll$(DLLEXT): dmusic32/dmusic32.dll$(DLLEXT)
391         $(RM) $@ && $(LN_S) dmusic32/dmusic32.dll$(DLLEXT) $@
392
393 dplay.dll$(DLLEXT): dplay/dplay.dll$(DLLEXT)
394         $(RM) $@ && $(LN_S) dplay/dplay.dll$(DLLEXT) $@
395
396 dplayx.dll$(DLLEXT): dplayx/dplayx.dll$(DLLEXT)
397         $(RM) $@ && $(LN_S) dplayx/dplayx.dll$(DLLEXT) $@
398
399 dpnhpast.dll$(DLLEXT): dpnhpast/dpnhpast.dll$(DLLEXT)
400         $(RM) $@ && $(LN_S) dpnhpast/dpnhpast.dll$(DLLEXT) $@
401
402 dsound.dll$(DLLEXT): dsound/dsound.dll$(DLLEXT)
403         $(RM) $@ && $(LN_S) dsound/dsound.dll$(DLLEXT) $@
404
405 gdi32.dll$(DLLEXT) dispdib.dll$(DLLEXT) gdi.exe$(DLLEXT) \
406   wing.dll$(DLLEXT): gdi/gdi32.dll$(DLLEXT)
407         $(RM) $@ && $(LN_S) gdi/gdi32.dll$(DLLEXT) $@
408
409 glu32.dll$(DLLEXT): glu32/glu32.dll$(DLLEXT)
410         $(RM) $@ && $(LN_S) glu32/glu32.dll$(DLLEXT) $@
411
412 icmp.dll$(DLLEXT): icmp/icmp.dll$(DLLEXT)
413         $(RM) $@ && $(LN_S) icmp/icmp.dll$(DLLEXT) $@
414
415 imaadp32.acm$(DLLEXT): msacm/imaadp32/imaadp32.acm$(DLLEXT)
416         $(RM) $@ && $(LN_S) msacm/imaadp32/imaadp32.acm$(DLLEXT) $@
417
418 imagehlp.dll$(DLLEXT): imagehlp/imagehlp.dll$(DLLEXT)
419         $(RM) $@ && $(LN_S) imagehlp/imagehlp.dll$(DLLEXT) $@
420
421 imm32.dll$(DLLEXT) imm.dll$(DLLEXT): imm32/imm32.dll$(DLLEXT)
422         $(RM) $@ && $(LN_S) imm32/imm32.dll$(DLLEXT) $@
423
424 iphlpapi.dll$(DLLEXT): iphlpapi/iphlpapi.dll$(DLLEXT)
425         $(RM) $@ && $(LN_S) iphlpapi/iphlpapi.dll$(DLLEXT) $@
426
427 joystick.drv$(DLLEXT): winmm/joystick/joystick.drv$(DLLEXT)
428         $(RM) $@ && $(LN_S) winmm/joystick/joystick.drv$(DLLEXT) $@
429
430 kernel32.dll$(DLLEXT) comm.dll$(DLLEXT) krnl386.exe$(DLLEXT) \
431   stress.dll$(DLLEXT) system.dll$(DLLEXT) toolhelp.dll$(DLLEXT) \
432   win87em.dll$(DLLEXT) windebug.dll$(DLLEXT): kernel/kernel32.dll$(DLLEXT)
433         $(RM) $@ && $(LN_S) kernel/kernel32.dll$(DLLEXT) $@
434
435 lz32.dll$(DLLEXT) lzexpand.dll$(DLLEXT): lzexpand/lz32.dll$(DLLEXT)
436         $(RM) $@ && $(LN_S) lzexpand/lz32.dll$(DLLEXT) $@
437
438 mapi32.dll$(DLLEXT): mapi32/mapi32.dll$(DLLEXT)
439         $(RM) $@ && $(LN_S) mapi32/mapi32.dll$(DLLEXT) $@
440
441 mcianim.drv$(DLLEXT): winmm/mcianim/mcianim.drv$(DLLEXT)
442         $(RM) $@ && $(LN_S) winmm/mcianim/mcianim.drv$(DLLEXT) $@
443
444 mciavi.drv$(DLLEXT): winmm/mciavi/mciavi.drv$(DLLEXT)
445         $(RM) $@ && $(LN_S) winmm/mciavi/mciavi.drv$(DLLEXT) $@
446
447 mcicda.drv$(DLLEXT): winmm/mcicda/mcicda.drv$(DLLEXT)
448         $(RM) $@ && $(LN_S) winmm/mcicda/mcicda.drv$(DLLEXT) $@
449
450 mciseq.drv$(DLLEXT): winmm/mciseq/mciseq.drv$(DLLEXT)
451         $(RM) $@ && $(LN_S) winmm/mciseq/mciseq.drv$(DLLEXT) $@
452
453 mciwave.drv$(DLLEXT): winmm/mciwave/mciwave.drv$(DLLEXT)
454         $(RM) $@ && $(LN_S) winmm/mciwave/mciwave.drv$(DLLEXT) $@
455
456 midimap.drv$(DLLEXT): winmm/midimap/midimap.drv$(DLLEXT)
457         $(RM) $@ && $(LN_S) winmm/midimap/midimap.drv$(DLLEXT) $@
458
459 mpr.dll$(DLLEXT): mpr/mpr.dll$(DLLEXT)
460         $(RM) $@ && $(LN_S) mpr/mpr.dll$(DLLEXT) $@
461
462 msacm.drv$(DLLEXT): winmm/wavemap/msacm.drv$(DLLEXT)
463         $(RM) $@ && $(LN_S) winmm/wavemap/msacm.drv$(DLLEXT) $@
464
465 msacm32.dll$(DLLEXT) msacm.dll$(DLLEXT): msacm/msacm32.dll$(DLLEXT)
466         $(RM) $@ && $(LN_S) msacm/msacm32.dll$(DLLEXT) $@
467
468 msadp32.acm$(DLLEXT): msacm/msadp32/msadp32.acm$(DLLEXT)
469         $(RM) $@ && $(LN_S) msacm/msadp32/msadp32.acm$(DLLEXT) $@
470
471 msdmo.dll$(DLLEXT): msdmo/msdmo.dll$(DLLEXT)
472         $(RM) $@ && $(LN_S) msdmo/msdmo.dll$(DLLEXT) $@
473
474 msg711.acm$(DLLEXT): msacm/msg711/msg711.acm$(DLLEXT)
475         $(RM) $@ && $(LN_S) msacm/msg711/msg711.acm$(DLLEXT) $@
476
477 msimg32.dll$(DLLEXT): msimg32/msimg32.dll$(DLLEXT)
478         $(RM) $@ && $(LN_S) msimg32/msimg32.dll$(DLLEXT) $@
479
480 msisys.ocx$(DLLEXT): msisys/msisys.ocx$(DLLEXT)
481         $(RM) $@ && $(LN_S) msisys/msisys.ocx$(DLLEXT) $@
482
483 msnet32.dll$(DLLEXT): msnet32/msnet32.dll$(DLLEXT)
484         $(RM) $@ && $(LN_S) msnet32/msnet32.dll$(DLLEXT) $@
485
486 msrle32.dll$(DLLEXT): msvideo/msrle32/msrle32.dll$(DLLEXT)
487         $(RM) $@ && $(LN_S) msvideo/msrle32/msrle32.dll$(DLLEXT) $@
488
489 msvcrt.dll$(DLLEXT): msvcrt/msvcrt.dll$(DLLEXT)
490         $(RM) $@ && $(LN_S) msvcrt/msvcrt.dll$(DLLEXT) $@
491
492 msvcrt20.dll$(DLLEXT): msvcrt20/msvcrt20.dll$(DLLEXT)
493         $(RM) $@ && $(LN_S) msvcrt20/msvcrt20.dll$(DLLEXT) $@
494
495 msvcrtd.dll$(DLLEXT): msvcrtd/msvcrtd.dll$(DLLEXT)
496         $(RM) $@ && $(LN_S) msvcrtd/msvcrtd.dll$(DLLEXT) $@
497
498 msvfw32.dll$(DLLEXT) msvideo.dll$(DLLEXT): msvideo/msvfw32.dll$(DLLEXT)
499         $(RM) $@ && $(LN_S) msvideo/msvfw32.dll$(DLLEXT) $@
500
501 netapi32.dll$(DLLEXT): netapi32/netapi32.dll$(DLLEXT)
502         $(RM) $@ && $(LN_S) netapi32/netapi32.dll$(DLLEXT) $@
503
504 ntdll.dll$(DLLEXT): ntdll/ntdll.dll$(DLLEXT)
505         $(RM) $@ && $(LN_S) ntdll/ntdll.dll$(DLLEXT) $@
506
507 odbc32.dll$(DLLEXT): odbc32/odbc32.dll$(DLLEXT)
508         $(RM) $@ && $(LN_S) odbc32/odbc32.dll$(DLLEXT) $@
509
510 ole32.dll$(DLLEXT) compobj.dll$(DLLEXT) ole2.dll$(DLLEXT) \
511   ole2conv.dll$(DLLEXT) ole2nls.dll$(DLLEXT) ole2prox.dll$(DLLEXT) \
512   ole2thk.dll$(DLLEXT) storage.dll$(DLLEXT): ole32/ole32.dll$(DLLEXT)
513         $(RM) $@ && $(LN_S) ole32/ole32.dll$(DLLEXT) $@
514
515 oleaut32.dll$(DLLEXT) ole2disp.dll$(DLLEXT) typelib.dll$(DLLEXT): oleaut32/oleaut32.dll$(DLLEXT)
516         $(RM) $@ && $(LN_S) oleaut32/oleaut32.dll$(DLLEXT) $@
517
518 olecli32.dll$(DLLEXT) olecli.dll$(DLLEXT): olecli/olecli32.dll$(DLLEXT)
519         $(RM) $@ && $(LN_S) olecli/olecli32.dll$(DLLEXT) $@
520
521 oledlg.dll$(DLLEXT): oledlg/oledlg.dll$(DLLEXT)
522         $(RM) $@ && $(LN_S) oledlg/oledlg.dll$(DLLEXT) $@
523
524 olepro32.dll$(DLLEXT): olepro32/olepro32.dll$(DLLEXT)
525         $(RM) $@ && $(LN_S) olepro32/olepro32.dll$(DLLEXT) $@
526
527 olesvr32.dll$(DLLEXT) olesvr.dll$(DLLEXT): olesvr/olesvr32.dll$(DLLEXT)
528         $(RM) $@ && $(LN_S) olesvr/olesvr32.dll$(DLLEXT) $@
529
530 opengl32.dll$(DLLEXT): opengl32/opengl32.dll$(DLLEXT)
531         $(RM) $@ && $(LN_S) opengl32/opengl32.dll$(DLLEXT) $@
532
533 psapi.dll$(DLLEXT): psapi/psapi.dll$(DLLEXT)
534         $(RM) $@ && $(LN_S) psapi/psapi.dll$(DLLEXT) $@
535
536 qcap.dll$(DLLEXT): qcap/qcap.dll$(DLLEXT)
537         $(RM) $@ && $(LN_S) qcap/qcap.dll$(DLLEXT) $@
538
539 quartz.dll$(DLLEXT): quartz/quartz.dll$(DLLEXT)
540         $(RM) $@ && $(LN_S) quartz/quartz.dll$(DLLEXT) $@
541
542 rasapi32.dll$(DLLEXT) rasapi16.dll$(DLLEXT): rasapi32/rasapi32.dll$(DLLEXT)
543         $(RM) $@ && $(LN_S) rasapi32/rasapi32.dll$(DLLEXT) $@
544
545 riched32.dll$(DLLEXT): richedit/riched32.dll$(DLLEXT)
546         $(RM) $@ && $(LN_S) richedit/riched32.dll$(DLLEXT) $@
547
548 rpcrt4.dll$(DLLEXT): rpcrt4/rpcrt4.dll$(DLLEXT)
549         $(RM) $@ && $(LN_S) rpcrt4/rpcrt4.dll$(DLLEXT) $@
550
551 serialui.dll$(DLLEXT): serialui/serialui.dll$(DLLEXT)
552         $(RM) $@ && $(LN_S) serialui/serialui.dll$(DLLEXT) $@
553
554 setupapi.dll$(DLLEXT) setupx.dll$(DLLEXT): setupapi/setupapi.dll$(DLLEXT)
555         $(RM) $@ && $(LN_S) setupapi/setupapi.dll$(DLLEXT) $@
556
557 shdocvw.dll$(DLLEXT): shdocvw/shdocvw.dll$(DLLEXT)
558         $(RM) $@ && $(LN_S) shdocvw/shdocvw.dll$(DLLEXT) $@
559
560 shell32.dll$(DLLEXT) shell.dll$(DLLEXT): shell32/shell32.dll$(DLLEXT)
561         $(RM) $@ && $(LN_S) shell32/shell32.dll$(DLLEXT) $@
562
563 shfolder.dll$(DLLEXT): shfolder/shfolder.dll$(DLLEXT)
564         $(RM) $@ && $(LN_S) shfolder/shfolder.dll$(DLLEXT) $@
565
566 shlwapi.dll$(DLLEXT): shlwapi/shlwapi.dll$(DLLEXT)
567         $(RM) $@ && $(LN_S) shlwapi/shlwapi.dll$(DLLEXT) $@
568
569 snmpapi.dll$(DLLEXT): snmpapi/snmpapi.dll$(DLLEXT)
570         $(RM) $@ && $(LN_S) snmpapi/snmpapi.dll$(DLLEXT) $@
571
572 sti.dll$(DLLEXT): sti/sti.dll$(DLLEXT)
573         $(RM) $@ && $(LN_S) sti/sti.dll$(DLLEXT) $@
574
575 tapi32.dll$(DLLEXT): tapi32/tapi32.dll$(DLLEXT)
576         $(RM) $@ && $(LN_S) tapi32/tapi32.dll$(DLLEXT) $@
577
578 ttydrv.dll$(DLLEXT): ttydrv/ttydrv.dll$(DLLEXT)
579         $(RM) $@ && $(LN_S) ttydrv/ttydrv.dll$(DLLEXT) $@
580
581 twain_32.dll$(DLLEXT): twain/twain_32.dll$(DLLEXT)
582         $(RM) $@ && $(LN_S) twain/twain_32.dll$(DLLEXT) $@
583
584 url.dll$(DLLEXT): url/url.dll$(DLLEXT)
585         $(RM) $@ && $(LN_S) url/url.dll$(DLLEXT) $@
586
587 urlmon.dll$(DLLEXT): urlmon/urlmon.dll$(DLLEXT)
588         $(RM) $@ && $(LN_S) urlmon/urlmon.dll$(DLLEXT) $@
589
590 user32.dll$(DLLEXT) ddeml.dll$(DLLEXT) display.dll$(DLLEXT) \
591   keyboard.dll$(DLLEXT) mouse.dll$(DLLEXT) user.exe$(DLLEXT): user/user32.dll$(DLLEXT)
592         $(RM) $@ && $(LN_S) user/user32.dll$(DLLEXT) $@
593
594 version.dll$(DLLEXT) ver.dll$(DLLEXT): version/version.dll$(DLLEXT)
595         $(RM) $@ && $(LN_S) version/version.dll$(DLLEXT) $@
596
597 w32skrnl.dll$(DLLEXT) w32sys.dll$(DLLEXT) win32s16.dll$(DLLEXT): win32s/w32skrnl.dll$(DLLEXT)
598         $(RM) $@ && $(LN_S) win32s/w32skrnl.dll$(DLLEXT) $@
599
600 winealsa.drv$(DLLEXT): winmm/winealsa/winealsa.drv$(DLLEXT)
601         $(RM) $@ && $(LN_S) winmm/winealsa/winealsa.drv$(DLLEXT) $@
602
603 winearts.drv$(DLLEXT): winmm/winearts/winearts.drv$(DLLEXT)
604         $(RM) $@ && $(LN_S) winmm/winearts/winearts.drv$(DLLEXT) $@
605
606 wineaudioio.drv$(DLLEXT): winmm/wineaudioio/wineaudioio.drv$(DLLEXT)
607         $(RM) $@ && $(LN_S) winmm/wineaudioio/wineaudioio.drv$(DLLEXT) $@
608
609 winedos.dll$(DLLEXT) wprocs.dll$(DLLEXT): winedos/winedos.dll$(DLLEXT)
610         $(RM) $@ && $(LN_S) winedos/winedos.dll$(DLLEXT) $@
611
612 winejack.drv$(DLLEXT): winmm/winejack/winejack.drv$(DLLEXT)
613         $(RM) $@ && $(LN_S) winmm/winejack/winejack.drv$(DLLEXT) $@
614
615 winemp3.acm$(DLLEXT): msacm/winemp3/winemp3.acm$(DLLEXT)
616         $(RM) $@ && $(LN_S) msacm/winemp3/winemp3.acm$(DLLEXT) $@
617
618 winenas.drv$(DLLEXT): winmm/winenas/winenas.drv$(DLLEXT)
619         $(RM) $@ && $(LN_S) winmm/winenas/winenas.drv$(DLLEXT) $@
620
621 wineoss.drv$(DLLEXT): winmm/wineoss/wineoss.drv$(DLLEXT)
622         $(RM) $@ && $(LN_S) winmm/wineoss/wineoss.drv$(DLLEXT) $@
623
624 wineps.dll$(DLLEXT) wineps16.drv$(DLLEXT): wineps/wineps.dll$(DLLEXT)
625         $(RM) $@ && $(LN_S) wineps/wineps.dll$(DLLEXT) $@
626
627 wininet.dll$(DLLEXT): wininet/wininet.dll$(DLLEXT)
628         $(RM) $@ && $(LN_S) wininet/wininet.dll$(DLLEXT) $@
629
630 winmm.dll$(DLLEXT) mmsystem.dll$(DLLEXT) sound.dll$(DLLEXT): winmm/winmm.dll$(DLLEXT)
631         $(RM) $@ && $(LN_S) winmm/winmm.dll$(DLLEXT) $@
632
633 winnls32.dll$(DLLEXT) winnls.dll$(DLLEXT): winnls/winnls32.dll$(DLLEXT)
634         $(RM) $@ && $(LN_S) winnls/winnls32.dll$(DLLEXT) $@
635
636 winspool.drv$(DLLEXT): winspool/winspool.drv$(DLLEXT)
637         $(RM) $@ && $(LN_S) winspool/winspool.drv$(DLLEXT) $@
638
639 wintab32.dll$(DLLEXT) wintab.dll$(DLLEXT): wintab32/wintab32.dll$(DLLEXT)
640         $(RM) $@ && $(LN_S) wintab32/wintab32.dll$(DLLEXT) $@
641
642 wintrust.dll$(DLLEXT): wintrust/wintrust.dll$(DLLEXT)
643         $(RM) $@ && $(LN_S) wintrust/wintrust.dll$(DLLEXT) $@
644
645 wnaspi32.dll$(DLLEXT) winaspi.dll$(DLLEXT): winaspi/wnaspi32.dll$(DLLEXT)
646         $(RM) $@ && $(LN_S) winaspi/wnaspi32.dll$(DLLEXT) $@
647
648 wow32.dll$(DLLEXT): wow32/wow32.dll$(DLLEXT)
649         $(RM) $@ && $(LN_S) wow32/wow32.dll$(DLLEXT) $@
650
651 ws2_32.dll$(DLLEXT) winsock.dll$(DLLEXT): winsock/ws2_32.dll$(DLLEXT)
652         $(RM) $@ && $(LN_S) winsock/ws2_32.dll$(DLLEXT) $@
653
654 wsock32.dll$(DLLEXT): wsock32/wsock32.dll$(DLLEXT)
655         $(RM) $@ && $(LN_S) wsock32/wsock32.dll$(DLLEXT) $@
656
657 x11drv.dll$(DLLEXT): x11drv/x11drv.dll$(DLLEXT)
658         $(RM) $@ && $(LN_S) x11drv/x11drv.dll$(DLLEXT) $@
659
660
661 # Import libraries
662
663 IMPORT_LIBS = \
664         libadvapi32 \
665         libavicap32 \
666         libavifil32 \
667         libcabinet \
668         libcomcat \
669         libcomctl32 \
670         libcomdlg32 \
671         libcrtdll \
672         libcrypt32 \
673         libctl3d32 \
674         libd3d8 \
675         libd3dim \
676         libd3dx8 \
677         libdciman32 \
678         libddraw \
679         libdevenum \
680         libdinput \
681         libdinput8 \
682         libdmband \
683         libdmcompos \
684         libdmime \
685         libdmloader \
686         libdmscript \
687         libdmstyle \
688         libdmsynth \
689         libdmusic \
690         libdmusic32 \
691         libdplay \
692         libdplayx \
693         libdpnhpast \
694         libdsound \
695         libgdi32 \
696         libglu32 \
697         libicmp \
698         libimagehlp \
699         libimm32 \
700         libiphlpapi \
701         libkernel32 \
702         liblz32 \
703         libmapi32 \
704         libmpr \
705         libmsacm32 \
706         libmsdmo \
707         libmsimg32 \
708         libmsnet32 \
709         libmsrle32 \
710         libmsvcrt \
711         libmsvcrt20 \
712         libmsvcrtd \
713         libmsvfw32 \
714         libnetapi32 \
715         libntdll \
716         libodbc32 \
717         libole32 \
718         liboleaut32 \
719         libolecli32 \
720         liboledlg \
721         libolepro32 \
722         libolesvr32 \
723         libopengl32 \
724         libpsapi \
725         libqcap \
726         libquartz \
727         librasapi32 \
728         libriched32 \
729         librpcrt4 \
730         libserialui \
731         libsetupapi \
732         libshdocvw \
733         libshell32 \
734         libshfolder \
735         libshlwapi \
736         libsnmpapi \
737         libsti \
738         libtapi32 \
739         libttydrv \
740         libtwain_32 \
741         liburl \
742         liburlmon \
743         libuser32 \
744         libversion \
745         libw32skrnl \
746         libwinedos \
747         libwineps \
748         libwininet \
749         libwinmm \
750         libwinnls32 \
751         libwinspool \
752         libwintab32 \
753         libwintrust \
754         libwnaspi32 \
755         libwow32 \
756         libws2_32 \
757         libwsock32 \
758         libx11drv
759
760 libadvapi32.def: advapi32/advapi32.spec.def
761         $(RM) $@ && $(LN_S) advapi32/advapi32.spec.def $@
762 libadvapi32.a: advapi32/advapi32.spec.def
763         $(DLLTOOL) -k -l $@ -d advapi32/advapi32.spec.def
764
765 libavicap32.def: avicap32/avicap32.spec.def
766         $(RM) $@ && $(LN_S) avicap32/avicap32.spec.def $@
767 libavicap32.a: avicap32/avicap32.spec.def
768         $(DLLTOOL) -k -l $@ -d avicap32/avicap32.spec.def
769
770 libavifil32.def: avifil32/avifil32.spec.def
771         $(RM) $@ && $(LN_S) avifil32/avifil32.spec.def $@
772 libavifil32.a: avifil32/avifil32.spec.def
773         $(DLLTOOL) -k -l $@ -d avifil32/avifil32.spec.def
774
775 libcabinet.def: cabinet/cabinet.spec.def
776         $(RM) $@ && $(LN_S) cabinet/cabinet.spec.def $@
777 libcabinet.a: cabinet/cabinet.spec.def
778         $(DLLTOOL) -k -l $@ -d cabinet/cabinet.spec.def
779
780 libcomcat.def: comcat/comcat.spec.def
781         $(RM) $@ && $(LN_S) comcat/comcat.spec.def $@
782 libcomcat.a: comcat/comcat.spec.def
783         $(DLLTOOL) -k -l $@ -d comcat/comcat.spec.def
784
785 libcomctl32.def: comctl32/comctl32.spec.def
786         $(RM) $@ && $(LN_S) comctl32/comctl32.spec.def $@
787 libcomctl32.a: comctl32/comctl32.spec.def
788         $(DLLTOOL) -k -l $@ -d comctl32/comctl32.spec.def
789
790 libcomdlg32.def: commdlg/comdlg32.spec.def
791         $(RM) $@ && $(LN_S) commdlg/comdlg32.spec.def $@
792 libcomdlg32.a: commdlg/comdlg32.spec.def
793         $(DLLTOOL) -k -l $@ -d commdlg/comdlg32.spec.def
794
795 libcrtdll.def: crtdll/crtdll.spec.def
796         $(RM) $@ && $(LN_S) crtdll/crtdll.spec.def $@
797 libcrtdll.a: crtdll/crtdll.spec.def
798         $(DLLTOOL) -k -l $@ -d crtdll/crtdll.spec.def
799
800 libcrypt32.def: crypt32/crypt32.spec.def
801         $(RM) $@ && $(LN_S) crypt32/crypt32.spec.def $@
802 libcrypt32.a: crypt32/crypt32.spec.def
803         $(DLLTOOL) -k -l $@ -d crypt32/crypt32.spec.def
804
805 libctl3d32.def: ctl3d/ctl3d32.spec.def
806         $(RM) $@ && $(LN_S) ctl3d/ctl3d32.spec.def $@
807 libctl3d32.a: ctl3d/ctl3d32.spec.def
808         $(DLLTOOL) -k -l $@ -d ctl3d/ctl3d32.spec.def
809
810 libd3d8.def: d3d8/d3d8.spec.def
811         $(RM) $@ && $(LN_S) d3d8/d3d8.spec.def $@
812 libd3d8.a: d3d8/d3d8.spec.def
813         $(DLLTOOL) -k -l $@ -d d3d8/d3d8.spec.def
814
815 libd3dim.def: d3dim/d3dim.spec.def
816         $(RM) $@ && $(LN_S) d3dim/d3dim.spec.def $@
817 libd3dim.a: d3dim/d3dim.spec.def
818         $(DLLTOOL) -k -l $@ -d d3dim/d3dim.spec.def
819
820 libd3dx8.def: d3dx8/d3dx8.spec.def
821         $(RM) $@ && $(LN_S) d3dx8/d3dx8.spec.def $@
822 libd3dx8.a: d3dx8/d3dx8.spec.def
823         $(DLLTOOL) -k -l $@ -d d3dx8/d3dx8.spec.def
824
825 libdciman32.def: dciman32/dciman32.spec.def
826         $(RM) $@ && $(LN_S) dciman32/dciman32.spec.def $@
827 libdciman32.a: dciman32/dciman32.spec.def
828         $(DLLTOOL) -k -l $@ -d dciman32/dciman32.spec.def
829
830 libddraw.def: ddraw/ddraw.spec.def
831         $(RM) $@ && $(LN_S) ddraw/ddraw.spec.def $@
832 libddraw.a: ddraw/ddraw.spec.def
833         $(DLLTOOL) -k -l $@ -d ddraw/ddraw.spec.def
834
835 libdevenum.def: devenum/devenum.spec.def
836         $(RM) $@ && $(LN_S) devenum/devenum.spec.def $@
837 libdevenum.a: devenum/devenum.spec.def
838         $(DLLTOOL) -k -l $@ -d devenum/devenum.spec.def
839
840 libdinput.def: dinput/dinput.spec.def
841         $(RM) $@ && $(LN_S) dinput/dinput.spec.def $@
842 libdinput.a: dinput/dinput.spec.def
843         $(DLLTOOL) -k -l $@ -d dinput/dinput.spec.def
844
845 libdinput8.def: dinput8/dinput8.spec.def
846         $(RM) $@ && $(LN_S) dinput8/dinput8.spec.def $@
847 libdinput8.a: dinput8/dinput8.spec.def
848         $(DLLTOOL) -k -l $@ -d dinput8/dinput8.spec.def
849
850 libdmband.def: dmband/dmband.spec.def
851         $(RM) $@ && $(LN_S) dmband/dmband.spec.def $@
852 libdmband.a: dmband/dmband.spec.def
853         $(DLLTOOL) -k -l $@ -d dmband/dmband.spec.def
854
855 libdmcompos.def: dmcompos/dmcompos.spec.def
856         $(RM) $@ && $(LN_S) dmcompos/dmcompos.spec.def $@
857 libdmcompos.a: dmcompos/dmcompos.spec.def
858         $(DLLTOOL) -k -l $@ -d dmcompos/dmcompos.spec.def
859
860 libdmime.def: dmime/dmime.spec.def
861         $(RM) $@ && $(LN_S) dmime/dmime.spec.def $@
862 libdmime.a: dmime/dmime.spec.def
863         $(DLLTOOL) -k -l $@ -d dmime/dmime.spec.def
864
865 libdmloader.def: dmloader/dmloader.spec.def
866         $(RM) $@ && $(LN_S) dmloader/dmloader.spec.def $@
867 libdmloader.a: dmloader/dmloader.spec.def
868         $(DLLTOOL) -k -l $@ -d dmloader/dmloader.spec.def
869
870 libdmscript.def: dmscript/dmscript.spec.def
871         $(RM) $@ && $(LN_S) dmscript/dmscript.spec.def $@
872 libdmscript.a: dmscript/dmscript.spec.def
873         $(DLLTOOL) -k -l $@ -d dmscript/dmscript.spec.def
874
875 libdmstyle.def: dmstyle/dmstyle.spec.def
876         $(RM) $@ && $(LN_S) dmstyle/dmstyle.spec.def $@
877 libdmstyle.a: dmstyle/dmstyle.spec.def
878         $(DLLTOOL) -k -l $@ -d dmstyle/dmstyle.spec.def
879
880 libdmsynth.def: dmsynth/dmsynth.spec.def
881         $(RM) $@ && $(LN_S) dmsynth/dmsynth.spec.def $@
882 libdmsynth.a: dmsynth/dmsynth.spec.def
883         $(DLLTOOL) -k -l $@ -d dmsynth/dmsynth.spec.def
884
885 libdmusic.def: dmusic/dmusic.spec.def
886         $(RM) $@ && $(LN_S) dmusic/dmusic.spec.def $@
887 libdmusic.a: dmusic/dmusic.spec.def
888         $(DLLTOOL) -k -l $@ -d dmusic/dmusic.spec.def
889
890 libdmusic32.def: dmusic32/dmusic32.spec.def
891         $(RM) $@ && $(LN_S) dmusic32/dmusic32.spec.def $@
892 libdmusic32.a: dmusic32/dmusic32.spec.def
893         $(DLLTOOL) -k -l $@ -d dmusic32/dmusic32.spec.def
894
895 libdplay.def: dplay/dplay.spec.def
896         $(RM) $@ && $(LN_S) dplay/dplay.spec.def $@
897 libdplay.a: dplay/dplay.spec.def
898         $(DLLTOOL) -k -l $@ -d dplay/dplay.spec.def
899
900 libdplayx.def: dplayx/dplayx.spec.def
901         $(RM) $@ && $(LN_S) dplayx/dplayx.spec.def $@
902 libdplayx.a: dplayx/dplayx.spec.def
903         $(DLLTOOL) -k -l $@ -d dplayx/dplayx.spec.def
904
905 libdpnhpast.def: dpnhpast/dpnhpast.spec.def
906         $(RM) $@ && $(LN_S) dpnhpast/dpnhpast.spec.def $@
907 libdpnhpast.a: dpnhpast/dpnhpast.spec.def
908         $(DLLTOOL) -k -l $@ -d dpnhpast/dpnhpast.spec.def
909
910 libdsound.def: dsound/dsound.spec.def
911         $(RM) $@ && $(LN_S) dsound/dsound.spec.def $@
912 libdsound.a: dsound/dsound.spec.def
913         $(DLLTOOL) -k -l $@ -d dsound/dsound.spec.def
914
915 libgdi32.def: gdi/gdi32.spec.def
916         $(RM) $@ && $(LN_S) gdi/gdi32.spec.def $@
917 libgdi32.a: gdi/gdi32.spec.def
918         $(DLLTOOL) -k -l $@ -d gdi/gdi32.spec.def
919
920 libglu32.def: glu32/glu32.spec.def
921         $(RM) $@ && $(LN_S) glu32/glu32.spec.def $@
922 libglu32.a: glu32/glu32.spec.def
923         $(DLLTOOL) -k -l $@ -d glu32/glu32.spec.def
924
925 libicmp.def: icmp/icmp.spec.def
926         $(RM) $@ && $(LN_S) icmp/icmp.spec.def $@
927 libicmp.a: icmp/icmp.spec.def
928         $(DLLTOOL) -k -l $@ -d icmp/icmp.spec.def
929
930 libimagehlp.def: imagehlp/imagehlp.spec.def
931         $(RM) $@ && $(LN_S) imagehlp/imagehlp.spec.def $@
932 libimagehlp.a: imagehlp/imagehlp.spec.def
933         $(DLLTOOL) -k -l $@ -d imagehlp/imagehlp.spec.def
934
935 libimm32.def: imm32/imm32.spec.def
936         $(RM) $@ && $(LN_S) imm32/imm32.spec.def $@
937 libimm32.a: imm32/imm32.spec.def
938         $(DLLTOOL) -k -l $@ -d imm32/imm32.spec.def
939
940 libiphlpapi.def: iphlpapi/iphlpapi.spec.def
941         $(RM) $@ && $(LN_S) iphlpapi/iphlpapi.spec.def $@
942 libiphlpapi.a: iphlpapi/iphlpapi.spec.def
943         $(DLLTOOL) -k -l $@ -d iphlpapi/iphlpapi.spec.def
944
945 libkernel32.def: kernel/kernel32.spec.def
946         $(RM) $@ && $(LN_S) kernel/kernel32.spec.def $@
947 libkernel32.a: kernel/kernel32.spec.def
948         $(DLLTOOL) -k -l $@ -d kernel/kernel32.spec.def
949
950 liblz32.def: lzexpand/lz32.spec.def
951         $(RM) $@ && $(LN_S) lzexpand/lz32.spec.def $@
952 liblz32.a: lzexpand/lz32.spec.def
953         $(DLLTOOL) -k -l $@ -d lzexpand/lz32.spec.def
954
955 libmapi32.def: mapi32/mapi32.spec.def
956         $(RM) $@ && $(LN_S) mapi32/mapi32.spec.def $@
957 libmapi32.a: mapi32/mapi32.spec.def
958         $(DLLTOOL) -k -l $@ -d mapi32/mapi32.spec.def
959
960 libmpr.def: mpr/mpr.spec.def
961         $(RM) $@ && $(LN_S) mpr/mpr.spec.def $@
962 libmpr.a: mpr/mpr.spec.def
963         $(DLLTOOL) -k -l $@ -d mpr/mpr.spec.def
964
965 libmsacm32.def: msacm/msacm32.spec.def
966         $(RM) $@ && $(LN_S) msacm/msacm32.spec.def $@
967 libmsacm32.a: msacm/msacm32.spec.def
968         $(DLLTOOL) -k -l $@ -d msacm/msacm32.spec.def
969
970 libmsdmo.def: msdmo/msdmo.spec.def
971         $(RM) $@ && $(LN_S) msdmo/msdmo.spec.def $@
972 libmsdmo.a: msdmo/msdmo.spec.def
973         $(DLLTOOL) -k -l $@ -d msdmo/msdmo.spec.def
974
975 libmsimg32.def: msimg32/msimg32.spec.def
976         $(RM) $@ && $(LN_S) msimg32/msimg32.spec.def $@
977 libmsimg32.a: msimg32/msimg32.spec.def
978         $(DLLTOOL) -k -l $@ -d msimg32/msimg32.spec.def
979
980 libmsnet32.def: msnet32/msnet32.spec.def
981         $(RM) $@ && $(LN_S) msnet32/msnet32.spec.def $@
982 libmsnet32.a: msnet32/msnet32.spec.def
983         $(DLLTOOL) -k -l $@ -d msnet32/msnet32.spec.def
984
985 libmsrle32.def: msvideo/msrle32/msrle32.spec.def
986         $(RM) $@ && $(LN_S) msvideo/msrle32/msrle32.spec.def $@
987 libmsrle32.a: msvideo/msrle32/msrle32.spec.def
988         $(DLLTOOL) -k -l $@ -d msvideo/msrle32/msrle32.spec.def
989
990 libmsvcrt.def: msvcrt/msvcrt.spec.def
991         $(RM) $@ && $(LN_S) msvcrt/msvcrt.spec.def $@
992 libmsvcrt.a: msvcrt/msvcrt.spec.def
993         $(DLLTOOL) -k -l $@ -d msvcrt/msvcrt.spec.def
994
995 libmsvcrt20.def: msvcrt20/msvcrt20.spec.def
996         $(RM) $@ && $(LN_S) msvcrt20/msvcrt20.spec.def $@
997 libmsvcrt20.a: msvcrt20/msvcrt20.spec.def
998         $(DLLTOOL) -k -l $@ -d msvcrt20/msvcrt20.spec.def
999
1000 libmsvcrtd.def: msvcrtd/msvcrtd.spec.def
1001         $(RM) $@ && $(LN_S) msvcrtd/msvcrtd.spec.def $@
1002 libmsvcrtd.a: msvcrtd/msvcrtd.spec.def
1003         $(DLLTOOL) -k -l $@ -d msvcrtd/msvcrtd.spec.def
1004
1005 libmsvfw32.def: msvideo/msvfw32.spec.def
1006         $(RM) $@ && $(LN_S) msvideo/msvfw32.spec.def $@
1007 libmsvfw32.a: msvideo/msvfw32.spec.def
1008         $(DLLTOOL) -k -l $@ -d msvideo/msvfw32.spec.def
1009
1010 libnetapi32.def: netapi32/netapi32.spec.def
1011         $(RM) $@ && $(LN_S) netapi32/netapi32.spec.def $@
1012 libnetapi32.a: netapi32/netapi32.spec.def
1013         $(DLLTOOL) -k -l $@ -d netapi32/netapi32.spec.def
1014
1015 libntdll.def: ntdll/ntdll.spec.def
1016         $(RM) $@ && $(LN_S) ntdll/ntdll.spec.def $@
1017 libntdll.a: ntdll/ntdll.spec.def
1018         $(DLLTOOL) -k -l $@ -d ntdll/ntdll.spec.def
1019
1020 libodbc32.def: odbc32/odbc32.spec.def
1021         $(RM) $@ && $(LN_S) odbc32/odbc32.spec.def $@
1022 libodbc32.a: odbc32/odbc32.spec.def
1023         $(DLLTOOL) -k -l $@ -d odbc32/odbc32.spec.def
1024
1025 libole32.def: ole32/ole32.spec.def
1026         $(RM) $@ && $(LN_S) ole32/ole32.spec.def $@
1027 libole32.a: ole32/ole32.spec.def
1028         $(DLLTOOL) -k -l $@ -d ole32/ole32.spec.def
1029
1030 liboleaut32.def: oleaut32/oleaut32.spec.def
1031         $(RM) $@ && $(LN_S) oleaut32/oleaut32.spec.def $@
1032 liboleaut32.a: oleaut32/oleaut32.spec.def
1033         $(DLLTOOL) -k -l $@ -d oleaut32/oleaut32.spec.def
1034
1035 libolecli32.def: olecli/olecli32.spec.def
1036         $(RM) $@ && $(LN_S) olecli/olecli32.spec.def $@
1037 libolecli32.a: olecli/olecli32.spec.def
1038         $(DLLTOOL) -k -l $@ -d olecli/olecli32.spec.def
1039
1040 liboledlg.def: oledlg/oledlg.spec.def
1041         $(RM) $@ && $(LN_S) oledlg/oledlg.spec.def $@
1042 liboledlg.a: oledlg/oledlg.spec.def
1043         $(DLLTOOL) -k -l $@ -d oledlg/oledlg.spec.def
1044
1045 libolepro32.def: olepro32/olepro32.spec.def
1046         $(RM) $@ && $(LN_S) olepro32/olepro32.spec.def $@
1047 libolepro32.a: olepro32/olepro32.spec.def
1048         $(DLLTOOL) -k -l $@ -d olepro32/olepro32.spec.def
1049
1050 libolesvr32.def: olesvr/olesvr32.spec.def
1051         $(RM) $@ && $(LN_S) olesvr/olesvr32.spec.def $@
1052 libolesvr32.a: olesvr/olesvr32.spec.def
1053         $(DLLTOOL) -k -l $@ -d olesvr/olesvr32.spec.def
1054
1055 libopengl32.def: opengl32/opengl32.spec.def
1056         $(RM) $@ && $(LN_S) opengl32/opengl32.spec.def $@
1057 libopengl32.a: opengl32/opengl32.spec.def
1058         $(DLLTOOL) -k -l $@ -d opengl32/opengl32.spec.def
1059
1060 libpsapi.def: psapi/psapi.spec.def
1061         $(RM) $@ && $(LN_S) psapi/psapi.spec.def $@
1062 libpsapi.a: psapi/psapi.spec.def
1063         $(DLLTOOL) -k -l $@ -d psapi/psapi.spec.def
1064
1065 libqcap.def: qcap/qcap.spec.def
1066         $(RM) $@ && $(LN_S) qcap/qcap.spec.def $@
1067 libqcap.a: qcap/qcap.spec.def
1068         $(DLLTOOL) -k -l $@ -d qcap/qcap.spec.def
1069
1070 libquartz.def: quartz/quartz.spec.def
1071         $(RM) $@ && $(LN_S) quartz/quartz.spec.def $@
1072 libquartz.a: quartz/quartz.spec.def
1073         $(DLLTOOL) -k -l $@ -d quartz/quartz.spec.def
1074
1075 librasapi32.def: rasapi32/rasapi32.spec.def
1076         $(RM) $@ && $(LN_S) rasapi32/rasapi32.spec.def $@
1077 librasapi32.a: rasapi32/rasapi32.spec.def
1078         $(DLLTOOL) -k -l $@ -d rasapi32/rasapi32.spec.def
1079
1080 libriched32.def: richedit/riched32.spec.def
1081         $(RM) $@ && $(LN_S) richedit/riched32.spec.def $@
1082 libriched32.a: richedit/riched32.spec.def
1083         $(DLLTOOL) -k -l $@ -d richedit/riched32.spec.def
1084
1085 librpcrt4.def: rpcrt4/rpcrt4.spec.def
1086         $(RM) $@ && $(LN_S) rpcrt4/rpcrt4.spec.def $@
1087 librpcrt4.a: rpcrt4/rpcrt4.spec.def
1088         $(DLLTOOL) -k -l $@ -d rpcrt4/rpcrt4.spec.def
1089
1090 libserialui.def: serialui/serialui.spec.def
1091         $(RM) $@ && $(LN_S) serialui/serialui.spec.def $@
1092 libserialui.a: serialui/serialui.spec.def
1093         $(DLLTOOL) -k -l $@ -d serialui/serialui.spec.def
1094
1095 libsetupapi.def: setupapi/setupapi.spec.def
1096         $(RM) $@ && $(LN_S) setupapi/setupapi.spec.def $@
1097 libsetupapi.a: setupapi/setupapi.spec.def
1098         $(DLLTOOL) -k -l $@ -d setupapi/setupapi.spec.def
1099
1100 libshdocvw.def: shdocvw/shdocvw.spec.def
1101         $(RM) $@ && $(LN_S) shdocvw/shdocvw.spec.def $@
1102 libshdocvw.a: shdocvw/shdocvw.spec.def
1103         $(DLLTOOL) -k -l $@ -d shdocvw/shdocvw.spec.def
1104
1105 libshell32.def: shell32/shell32.spec.def
1106         $(RM) $@ && $(LN_S) shell32/shell32.spec.def $@
1107 libshell32.a: shell32/shell32.spec.def
1108         $(DLLTOOL) -k -l $@ -d shell32/shell32.spec.def
1109
1110 libshfolder.def: shfolder/shfolder.spec.def
1111         $(RM) $@ && $(LN_S) shfolder/shfolder.spec.def $@
1112 libshfolder.a: shfolder/shfolder.spec.def
1113         $(DLLTOOL) -k -l $@ -d shfolder/shfolder.spec.def
1114
1115 libshlwapi.def: shlwapi/shlwapi.spec.def
1116         $(RM) $@ && $(LN_S) shlwapi/shlwapi.spec.def $@
1117 libshlwapi.a: shlwapi/shlwapi.spec.def
1118         $(DLLTOOL) -k -l $@ -d shlwapi/shlwapi.spec.def
1119
1120 libsnmpapi.def: snmpapi/snmpapi.spec.def
1121         $(RM) $@ && $(LN_S) snmpapi/snmpapi.spec.def $@
1122 libsnmpapi.a: snmpapi/snmpapi.spec.def
1123         $(DLLTOOL) -k -l $@ -d snmpapi/snmpapi.spec.def
1124
1125 libsti.def: sti/sti.spec.def
1126         $(RM) $@ && $(LN_S) sti/sti.spec.def $@
1127 libsti.a: sti/sti.spec.def
1128         $(DLLTOOL) -k -l $@ -d sti/sti.spec.def
1129
1130 libtapi32.def: tapi32/tapi32.spec.def
1131         $(RM) $@ && $(LN_S) tapi32/tapi32.spec.def $@
1132 libtapi32.a: tapi32/tapi32.spec.def
1133         $(DLLTOOL) -k -l $@ -d tapi32/tapi32.spec.def
1134
1135 libttydrv.def: ttydrv/ttydrv.spec.def
1136         $(RM) $@ && $(LN_S) ttydrv/ttydrv.spec.def $@
1137 libttydrv.a: ttydrv/ttydrv.spec.def
1138         $(DLLTOOL) -k -l $@ -d ttydrv/ttydrv.spec.def
1139
1140 libtwain_32.def: twain/twain_32.spec.def
1141         $(RM) $@ && $(LN_S) twain/twain_32.spec.def $@
1142 libtwain_32.a: twain/twain_32.spec.def
1143         $(DLLTOOL) -k -l $@ -d twain/twain_32.spec.def
1144
1145 liburl.def: url/url.spec.def
1146         $(RM) $@ && $(LN_S) url/url.spec.def $@
1147 liburl.a: url/url.spec.def
1148         $(DLLTOOL) -k -l $@ -d url/url.spec.def
1149
1150 liburlmon.def: urlmon/urlmon.spec.def
1151         $(RM) $@ && $(LN_S) urlmon/urlmon.spec.def $@
1152 liburlmon.a: urlmon/urlmon.spec.def
1153         $(DLLTOOL) -k -l $@ -d urlmon/urlmon.spec.def
1154
1155 libuser32.def: user/user32.spec.def
1156         $(RM) $@ && $(LN_S) user/user32.spec.def $@
1157 libuser32.a: user/user32.spec.def
1158         $(DLLTOOL) -k -l $@ -d user/user32.spec.def
1159
1160 libversion.def: version/version.spec.def
1161         $(RM) $@ && $(LN_S) version/version.spec.def $@
1162 libversion.a: version/version.spec.def
1163         $(DLLTOOL) -k -l $@ -d version/version.spec.def
1164
1165 libw32skrnl.def: win32s/w32skrnl.spec.def
1166         $(RM) $@ && $(LN_S) win32s/w32skrnl.spec.def $@
1167 libw32skrnl.a: win32s/w32skrnl.spec.def
1168         $(DLLTOOL) -k -l $@ -d win32s/w32skrnl.spec.def
1169
1170 libwinedos.def: winedos/winedos.spec.def
1171         $(RM) $@ && $(LN_S) winedos/winedos.spec.def $@
1172 libwinedos.a: winedos/winedos.spec.def
1173         $(DLLTOOL) -k -l $@ -d winedos/winedos.spec.def
1174
1175 libwineps.def: wineps/wineps.spec.def
1176         $(RM) $@ && $(LN_S) wineps/wineps.spec.def $@
1177 libwineps.a: wineps/wineps.spec.def
1178         $(DLLTOOL) -k -l $@ -d wineps/wineps.spec.def
1179
1180 libwininet.def: wininet/wininet.spec.def
1181         $(RM) $@ && $(LN_S) wininet/wininet.spec.def $@
1182 libwininet.a: wininet/wininet.spec.def
1183         $(DLLTOOL) -k -l $@ -d wininet/wininet.spec.def
1184
1185 libwinmm.def: winmm/winmm.spec.def
1186         $(RM) $@ && $(LN_S) winmm/winmm.spec.def $@
1187 libwinmm.a: winmm/winmm.spec.def
1188         $(DLLTOOL) -k -l $@ -d winmm/winmm.spec.def
1189
1190 libwinnls32.def: winnls/winnls32.spec.def
1191         $(RM) $@ && $(LN_S) winnls/winnls32.spec.def $@
1192 libwinnls32.a: winnls/winnls32.spec.def
1193         $(DLLTOOL) -k -l $@ -d winnls/winnls32.spec.def
1194
1195 libwinspool.def: winspool/winspool.drv.spec.def
1196         $(RM) $@ && $(LN_S) winspool/winspool.drv.spec.def $@
1197 libwinspool.a: winspool/winspool.drv.spec.def
1198         $(DLLTOOL) -k -l $@ -d winspool/winspool.drv.spec.def
1199
1200 libwintab32.def: wintab32/wintab32.spec.def
1201         $(RM) $@ && $(LN_S) wintab32/wintab32.spec.def $@
1202 libwintab32.a: wintab32/wintab32.spec.def
1203         $(DLLTOOL) -k -l $@ -d wintab32/wintab32.spec.def
1204
1205 libwintrust.def: wintrust/wintrust.spec.def
1206         $(RM) $@ && $(LN_S) wintrust/wintrust.spec.def $@
1207 libwintrust.a: wintrust/wintrust.spec.def
1208         $(DLLTOOL) -k -l $@ -d wintrust/wintrust.spec.def
1209
1210 libwnaspi32.def: winaspi/wnaspi32.spec.def
1211         $(RM) $@ && $(LN_S) winaspi/wnaspi32.spec.def $@
1212 libwnaspi32.a: winaspi/wnaspi32.spec.def
1213         $(DLLTOOL) -k -l $@ -d winaspi/wnaspi32.spec.def
1214
1215 libwow32.def: wow32/wow32.spec.def
1216         $(RM) $@ && $(LN_S) wow32/wow32.spec.def $@
1217 libwow32.a: wow32/wow32.spec.def
1218         $(DLLTOOL) -k -l $@ -d wow32/wow32.spec.def
1219
1220 libws2_32.def: winsock/ws2_32.spec.def
1221         $(RM) $@ && $(LN_S) winsock/ws2_32.spec.def $@
1222 libws2_32.a: winsock/ws2_32.spec.def
1223         $(DLLTOOL) -k -l $@ -d winsock/ws2_32.spec.def
1224
1225 libwsock32.def: wsock32/wsock32.spec.def
1226         $(RM) $@ && $(LN_S) wsock32/wsock32.spec.def $@
1227 libwsock32.a: wsock32/wsock32.spec.def
1228         $(DLLTOOL) -k -l $@ -d wsock32/wsock32.spec.def
1229
1230 libx11drv.def: x11drv/x11drv.spec.def
1231         $(RM) $@ && $(LN_S) x11drv/x11drv.spec.def $@
1232 libx11drv.a: x11drv/x11drv.spec.def
1233         $(DLLTOOL) -k -l $@ -d x11drv/x11drv.spec.def
1234
1235 advapi32/advapi32.spec.def: $(WINEBUILD)
1236 avicap32/avicap32.spec.def: $(WINEBUILD)
1237 avifil32/avifil32.spec.def: $(WINEBUILD)
1238 cabinet/cabinet.spec.def: $(WINEBUILD)
1239 comcat/comcat.spec.def: $(WINEBUILD)
1240 comctl32/comctl32.spec.def: $(WINEBUILD)
1241 commdlg/comdlg32.spec.def: $(WINEBUILD)
1242 crtdll/crtdll.spec.def: $(WINEBUILD)
1243 crypt32/crypt32.spec.def: $(WINEBUILD)
1244 ctl3d/ctl3d32.spec.def: $(WINEBUILD)
1245 d3d8/d3d8.spec.def: $(WINEBUILD)
1246 d3dim/d3dim.spec.def: $(WINEBUILD)
1247 d3dx8/d3dx8.spec.def: $(WINEBUILD)
1248 dciman32/dciman32.spec.def: $(WINEBUILD)
1249 ddraw/ddraw.spec.def: $(WINEBUILD)
1250 devenum/devenum.spec.def: $(WINEBUILD)
1251 dinput/dinput.spec.def: $(WINEBUILD)
1252 dinput8/dinput8.spec.def: $(WINEBUILD)
1253 dmband/dmband.spec.def: $(WINEBUILD)
1254 dmcompos/dmcompos.spec.def: $(WINEBUILD)
1255 dmime/dmime.spec.def: $(WINEBUILD)
1256 dmloader/dmloader.spec.def: $(WINEBUILD)
1257 dmscript/dmscript.spec.def: $(WINEBUILD)
1258 dmstyle/dmstyle.spec.def: $(WINEBUILD)
1259 dmsynth/dmsynth.spec.def: $(WINEBUILD)
1260 dmusic/dmusic.spec.def: $(WINEBUILD)
1261 dmusic32/dmusic32.spec.def: $(WINEBUILD)
1262 dplay/dplay.spec.def: $(WINEBUILD)
1263 dplayx/dplayx.spec.def: $(WINEBUILD)
1264 dpnhpast/dpnhpast.spec.def: $(WINEBUILD)
1265 dsound/dsound.spec.def: $(WINEBUILD)
1266 gdi/gdi32.spec.def: $(WINEBUILD)
1267 glu32/glu32.spec.def: $(WINEBUILD)
1268 icmp/icmp.spec.def: $(WINEBUILD)
1269 imagehlp/imagehlp.spec.def: $(WINEBUILD)
1270 imm32/imm32.spec.def: $(WINEBUILD)
1271 iphlpapi/iphlpapi.spec.def: $(WINEBUILD)
1272 kernel/kernel32.spec.def: $(WINEBUILD)
1273 lzexpand/lz32.spec.def: $(WINEBUILD)
1274 mapi32/mapi32.spec.def: $(WINEBUILD)
1275 mpr/mpr.spec.def: $(WINEBUILD)
1276 msacm/msacm32.spec.def: $(WINEBUILD)
1277 msdmo/msdmo.spec.def: $(WINEBUILD)
1278 msimg32/msimg32.spec.def: $(WINEBUILD)
1279 msnet32/msnet32.spec.def: $(WINEBUILD)
1280 msvideo/msrle32/msrle32.spec.def: $(WINEBUILD)
1281 msvcrt/msvcrt.spec.def: $(WINEBUILD)
1282 msvcrt20/msvcrt20.spec.def: $(WINEBUILD)
1283 msvcrtd/msvcrtd.spec.def: $(WINEBUILD)
1284 msvideo/msvfw32.spec.def: $(WINEBUILD)
1285 netapi32/netapi32.spec.def: $(WINEBUILD)
1286 ntdll/ntdll.spec.def: $(WINEBUILD)
1287 odbc32/odbc32.spec.def: $(WINEBUILD)
1288 ole32/ole32.spec.def: $(WINEBUILD)
1289 oleaut32/oleaut32.spec.def: $(WINEBUILD)
1290 olecli/olecli32.spec.def: $(WINEBUILD)
1291 oledlg/oledlg.spec.def: $(WINEBUILD)
1292 olepro32/olepro32.spec.def: $(WINEBUILD)
1293 olesvr/olesvr32.spec.def: $(WINEBUILD)
1294 opengl32/opengl32.spec.def: $(WINEBUILD)
1295 psapi/psapi.spec.def: $(WINEBUILD)
1296 qcap/qcap.spec.def: $(WINEBUILD)
1297 quartz/quartz.spec.def: $(WINEBUILD)
1298 rasapi32/rasapi32.spec.def: $(WINEBUILD)
1299 richedit/riched32.spec.def: $(WINEBUILD)
1300 rpcrt4/rpcrt4.spec.def: $(WINEBUILD)
1301 serialui/serialui.spec.def: $(WINEBUILD)
1302 setupapi/setupapi.spec.def: $(WINEBUILD)
1303 shdocvw/shdocvw.spec.def: $(WINEBUILD)
1304 shell32/shell32.spec.def: $(WINEBUILD)
1305 shfolder/shfolder.spec.def: $(WINEBUILD)
1306 shlwapi/shlwapi.spec.def: $(WINEBUILD)
1307 snmpapi/snmpapi.spec.def: $(WINEBUILD)
1308 sti/sti.spec.def: $(WINEBUILD)
1309 tapi32/tapi32.spec.def: $(WINEBUILD)
1310 ttydrv/ttydrv.spec.def: $(WINEBUILD)
1311 twain/twain_32.spec.def: $(WINEBUILD)
1312 url/url.spec.def: $(WINEBUILD)
1313 urlmon/urlmon.spec.def: $(WINEBUILD)
1314 user/user32.spec.def: $(WINEBUILD)
1315 version/version.spec.def: $(WINEBUILD)
1316 win32s/w32skrnl.spec.def: $(WINEBUILD)
1317 winedos/winedos.spec.def: $(WINEBUILD)
1318 wineps/wineps.spec.def: $(WINEBUILD)
1319 wininet/wininet.spec.def: $(WINEBUILD)
1320 winmm/winmm.spec.def: $(WINEBUILD)
1321 winnls/winnls32.spec.def: $(WINEBUILD)
1322 winspool/winspool.drv.spec.def: $(WINEBUILD)
1323 wintab32/wintab32.spec.def: $(WINEBUILD)
1324 wintrust/wintrust.spec.def: $(WINEBUILD)
1325 winaspi/wnaspi32.spec.def: $(WINEBUILD)
1326 wow32/wow32.spec.def: $(WINEBUILD)
1327 winsock/ws2_32.spec.def: $(WINEBUILD)
1328 wsock32/wsock32.spec.def: $(WINEBUILD)
1329 x11drv/x11drv.spec.def: $(WINEBUILD)
1330
1331 $(SUBDIRS): $(IMPORT_LIBS:%=%.$(IMPLIBEXT))
1332 $(SUBDIRS:%=%/__crosstest__): $(IMPORT_LIBS:%=%.a)
1333
1334 # Map library name to the corresponding directory
1335
1336 advapi32/advapi32.dll$(DLLEXT): advapi32
1337 avicap32/avicap32.dll$(DLLEXT): avicap32
1338 avifil32/avifil32.dll$(DLLEXT): avifil32
1339 cabinet/cabinet.dll$(DLLEXT): cabinet
1340 comcat/comcat.dll$(DLLEXT): comcat
1341 comctl32/comctl32.dll$(DLLEXT): comctl32
1342 commdlg/comdlg32.dll$(DLLEXT): commdlg
1343 crtdll/crtdll.dll$(DLLEXT): crtdll
1344 crypt32/crypt32.dll$(DLLEXT): crypt32
1345 ctl3d/ctl3d32.dll$(DLLEXT): ctl3d
1346 d3d8/d3d8.dll$(DLLEXT): d3d8
1347 d3dim/d3dim.dll$(DLLEXT): d3dim
1348 d3dx8/d3dx8.dll$(DLLEXT): d3dx8
1349 dciman32/dciman32.dll$(DLLEXT): dciman32
1350 ddraw/ddraw.dll$(DLLEXT): ddraw
1351 devenum/devenum.dll$(DLLEXT): devenum
1352 dinput/dinput.dll$(DLLEXT): dinput
1353 dinput8/dinput8.dll$(DLLEXT): dinput8
1354 dmband/dmband.dll$(DLLEXT): dmband
1355 dmcompos/dmcompos.dll$(DLLEXT): dmcompos
1356 dmime/dmime.dll$(DLLEXT): dmime
1357 dmloader/dmloader.dll$(DLLEXT): dmloader
1358 dmscript/dmscript.dll$(DLLEXT): dmscript
1359 dmstyle/dmstyle.dll$(DLLEXT): dmstyle
1360 dmsynth/dmsynth.dll$(DLLEXT): dmsynth
1361 dmusic/dmusic.dll$(DLLEXT): dmusic
1362 dmusic32/dmusic32.dll$(DLLEXT): dmusic32
1363 dplay/dplay.dll$(DLLEXT): dplay
1364 dplayx/dplayx.dll$(DLLEXT): dplayx
1365 dpnhpast/dpnhpast.dll$(DLLEXT): dpnhpast
1366 dsound/dsound.dll$(DLLEXT): dsound
1367 gdi/gdi32.dll$(DLLEXT): gdi
1368 glu32/glu32.dll$(DLLEXT): glu32
1369 icmp/icmp.dll$(DLLEXT): icmp
1370 msacm/imaadp32/imaadp32.acm$(DLLEXT): msacm/imaadp32
1371 imagehlp/imagehlp.dll$(DLLEXT): imagehlp
1372 imm32/imm32.dll$(DLLEXT): imm32
1373 iphlpapi/iphlpapi.dll$(DLLEXT): iphlpapi
1374 winmm/joystick/joystick.drv$(DLLEXT): winmm/joystick
1375 kernel/kernel32.dll$(DLLEXT): kernel
1376 lzexpand/lz32.dll$(DLLEXT): lzexpand
1377 mapi32/mapi32.dll$(DLLEXT): mapi32
1378 winmm/mcianim/mcianim.drv$(DLLEXT): winmm/mcianim
1379 winmm/mciavi/mciavi.drv$(DLLEXT): winmm/mciavi
1380 winmm/mcicda/mcicda.drv$(DLLEXT): winmm/mcicda
1381 winmm/mciseq/mciseq.drv$(DLLEXT): winmm/mciseq
1382 winmm/mciwave/mciwave.drv$(DLLEXT): winmm/mciwave
1383 winmm/midimap/midimap.drv$(DLLEXT): winmm/midimap
1384 mpr/mpr.dll$(DLLEXT): mpr
1385 winmm/wavemap/msacm.drv$(DLLEXT): winmm/wavemap
1386 msacm/msacm32.dll$(DLLEXT): msacm
1387 msacm/msadp32/msadp32.acm$(DLLEXT): msacm/msadp32
1388 msdmo/msdmo.dll$(DLLEXT): msdmo
1389 msacm/msg711/msg711.acm$(DLLEXT): msacm/msg711
1390 msimg32/msimg32.dll$(DLLEXT): msimg32
1391 msisys/msisys.ocx$(DLLEXT): msisys
1392 msnet32/msnet32.dll$(DLLEXT): msnet32
1393 msvideo/msrle32/msrle32.dll$(DLLEXT): msvideo/msrle32
1394 msvcrt/msvcrt.dll$(DLLEXT): msvcrt
1395 msvcrt20/msvcrt20.dll$(DLLEXT): msvcrt20
1396 msvcrtd/msvcrtd.dll$(DLLEXT): msvcrtd
1397 msvideo/msvfw32.dll$(DLLEXT): msvideo
1398 netapi32/netapi32.dll$(DLLEXT): netapi32
1399 ntdll/ntdll.dll$(DLLEXT): ntdll
1400 odbc32/odbc32.dll$(DLLEXT): odbc32
1401 ole32/ole32.dll$(DLLEXT): ole32
1402 oleaut32/oleaut32.dll$(DLLEXT): oleaut32
1403 olecli/olecli32.dll$(DLLEXT): olecli
1404 oledlg/oledlg.dll$(DLLEXT): oledlg
1405 olepro32/olepro32.dll$(DLLEXT): olepro32
1406 olesvr/olesvr32.dll$(DLLEXT): olesvr
1407 opengl32/opengl32.dll$(DLLEXT): opengl32
1408 psapi/psapi.dll$(DLLEXT): psapi
1409 qcap/qcap.dll$(DLLEXT): qcap
1410 quartz/quartz.dll$(DLLEXT): quartz
1411 rasapi32/rasapi32.dll$(DLLEXT): rasapi32
1412 richedit/riched32.dll$(DLLEXT): richedit
1413 rpcrt4/rpcrt4.dll$(DLLEXT): rpcrt4
1414 serialui/serialui.dll$(DLLEXT): serialui
1415 setupapi/setupapi.dll$(DLLEXT): setupapi
1416 shdocvw/shdocvw.dll$(DLLEXT): shdocvw
1417 shell32/shell32.dll$(DLLEXT): shell32
1418 shfolder/shfolder.dll$(DLLEXT): shfolder
1419 shlwapi/shlwapi.dll$(DLLEXT): shlwapi
1420 snmpapi/snmpapi.dll$(DLLEXT): snmpapi
1421 sti/sti.dll$(DLLEXT): sti
1422 tapi32/tapi32.dll$(DLLEXT): tapi32
1423 ttydrv/ttydrv.dll$(DLLEXT): ttydrv
1424 twain/twain_32.dll$(DLLEXT): twain
1425 url/url.dll$(DLLEXT): url
1426 urlmon/urlmon.dll$(DLLEXT): urlmon
1427 user/user32.dll$(DLLEXT): user
1428 version/version.dll$(DLLEXT): version
1429 win32s/w32skrnl.dll$(DLLEXT): win32s
1430 winmm/winealsa/winealsa.drv$(DLLEXT): winmm/winealsa
1431 winmm/winearts/winearts.drv$(DLLEXT): winmm/winearts
1432 winmm/wineaudioio/wineaudioio.drv$(DLLEXT): winmm/wineaudioio
1433 winedos/winedos.dll$(DLLEXT): winedos
1434 winmm/winejack/winejack.drv$(DLLEXT): winmm/winejack
1435 msacm/winemp3/winemp3.acm$(DLLEXT): msacm/winemp3
1436 winmm/winenas/winenas.drv$(DLLEXT): winmm/winenas
1437 winmm/wineoss/wineoss.drv$(DLLEXT): winmm/wineoss
1438 wineps/wineps.dll$(DLLEXT): wineps
1439 wininet/wininet.dll$(DLLEXT): wininet
1440 winmm/winmm.dll$(DLLEXT): winmm
1441 winnls/winnls32.dll$(DLLEXT): winnls
1442 winspool/winspool.drv$(DLLEXT): winspool
1443 wintab32/wintab32.dll$(DLLEXT): wintab32
1444 wintrust/wintrust.dll$(DLLEXT): wintrust
1445 winaspi/wnaspi32.dll$(DLLEXT): winaspi
1446 wow32/wow32.dll$(DLLEXT): wow32
1447 winsock/ws2_32.dll$(DLLEXT): winsock
1448 wsock32/wsock32.dll$(DLLEXT): wsock32
1449 x11drv/x11drv.dll$(DLLEXT): x11drv
1450
1451 # Special targets for dlls that we need to link to
1452
1453 LINKABLE_DLLS = ntdll.dll
1454
1455 libntdll.dll.$(LIBEXT): ntdll/ntdll.dll$(DLLEXT)
1456         $(RM) $@ && $(LN_S) ntdll/ntdll.dll$(DLLEXT) $@
1457
1458 kernel: libntdll.dll.$(LIBEXT)
1459
1460 uninstall::
1461         $(RM) $(LINKABLE_DLLS:%=$(libdir)/lib%.$(LIBEXT))
1462
1463 install install-lib:: $(INSTALLSUBDIRS:%=%/__install__)
1464         $(RM) $(LINKABLE_DLLS:%=$(libdir)/lib%.$(LIBEXT))
1465         cd $(libdir) && if [ "$(dlldir)" = "$(libdir)/wine" ]; \
1466         then \
1467           $(LN_S) wine/ntdll.dll$(DLLEXT) libntdll.dll.$(LIBEXT); \
1468         else \
1469           $(LN_S) $(dlldir)/ntdll.dll$(DLLEXT) libntdll.dll.$(LIBEXT); \
1470         fi
1471
1472 # Rules for auto documentation
1473
1474 $(SUBDIRS:%=%/__man__): dummy
1475         cd `dirname $@` && $(MAKE) man
1476
1477 man: $(SUBDIRS:%=%/__man__)
1478
1479 $(SUBDIRS:%=%/__doc_html__): dummy
1480         cd `dirname $@` && $(MAKE) doc-html
1481
1482 doc-html: $(SUBDIRS:%=%/__doc_html__)
1483
1484 $(SUBDIRS:%=%/__doc_sgml__): dummy
1485         cd `dirname $@` && $(MAKE) doc-sgml
1486
1487 doc-sgml: $(SUBDIRS:%=%/__doc_sgml__)
1488
1489 .PHONY: man doc-html doc-sgml $(SUBDIRS:%=%/__man__) $(SUBDIRS:%=%/__doc_html__) $(SUBDIRS:%=%/__doc_sgml__)
1490
1491 # Misc rules
1492
1493 install install-dev:: $(IMPORT_LIBS:%=%.$(IMPLIBEXT))
1494         $(MKINSTALLDIRS) $(dlldir)
1495         for f in $(IMPORT_LIBS:%=%.$(IMPLIBEXT)); do $(INSTALL_DATA) $$f $(dlldir)/$$f; done
1496
1497 uninstall::
1498         $(RM) $(IMPORT_LIBS:%=$(dlldir)/%.$(IMPLIBEXT))
1499         -rmdir $(dlldir)
1500
1501 clean::
1502         $(RM) $(IMPORT_LIBS:%=%.a) $(IMPORT_LIBS:%=%.def) $(SYMLINKS)
1503
1504 check test:: $(BUILDSUBDIRS:%=%/__test__)
1505
1506 crosstest:: $(BUILDSUBDIRS:%=%/__crosstest__)
1507
1508 checklink:: $(BUILDSUBDIRS:%=%/__checklink__)
1509
1510 ### Dependencies: