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