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