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