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