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