Makefile.in 43.2 KB
Newer Older
1 2
# Automatically generated by make_dlls; DO NOT EDIT!!

3 4 5 6 7
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@

8 9 10
# special configure-dependent targets

GLU32FILES = glu32
Raphael Junqueira's avatar
Raphael Junqueira committed
11
OPENGLFILES = d3d8 d3dx8 opengl32
12 13 14 15
XFILES = ddraw x11drv
EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @XFILES@

# Subdir list
16

17
BASEDIRS = \
18
	advapi32 \
19
	avicap32 \
20
	avifil32 \
21
	cabinet \
22
	comcat \
23 24
	comctl32 \
	commdlg \
25
	crtdll \
26
	crypt32 \
27
	dciman32 \
28
	devenum \
29
	dinput \
30
	dinput8 \
31
	dplay \
32 33 34 35 36 37
	dplayx \
	dsound \
	gdi \
	icmp \
	imagehlp \
	imm32 \
38
	kernel \
39
	lzexpand \
40
	mapi32 \
41 42
	mpr \
	msacm \
43
	msacm/imaadp32 \
44
	msacm/msadp32 \
45
	msacm/msg711 \
46
	msacm/winemp3 \
47
	msdmo \
48
	msimg32 \
49
	msisys \
50
	msnet32 \
51
	msvcrt \
52
	msvcrt20 \
53
	msvideo \
54
	msvideo/msrle32 \
55
	netapi32 \
56
	ntdll \
57 58 59 60 61 62 63 64
	odbc32 \
	ole32 \
	oleaut32 \
	olecli \
	oledlg \
	olepro32 \
	olesvr \
	psapi \
65
	qcap \
66
	quartz \
67
	rasapi32 \
68
	richedit \
Huw D M Davies's avatar
Huw D M Davies committed
69
	rpcrt4 \
70
	serialui \
71
	setupapi \
72
	shdocvw \
73
	shell32 \
74 75
	shfolder \
	shlwapi \
76
	snmpapi \
77
	sti \
78 79
	tapi32 \
	ttydrv \
80
	twain \
81
	url \
82
	urlmon \
83 84 85 86
	user \
	version \
	win32s \
	winaspi \
87
	winedos \
88
	wineps \
89
	wininet \
90
	winmm \
91 92 93 94 95 96 97 98
	winmm/joystick \
	winmm/mcianim \
	winmm/mciavi \
	winmm/mcicda \
	winmm/mciseq \
	winmm/mciwave \
	winmm/midimap \
	winmm/wavemap \
99
	winmm/winealsa \
Chris Morgan's avatar
Chris Morgan committed
100
	winmm/winearts \
101
	winmm/wineaudioio \
102
	winmm/winejack \
103
	winmm/winenas \
104
	winmm/wineoss \
105
	winnls \
106 107
	winsock \
	winspool \
108
	wintab32 \
109
	wintrust \
110
	wow32 \
111 112
	wsock32

113 114
SUBDIRS = \
	$(BASEDIRS) \
115
	d3d8 \
Raphael Junqueira's avatar
Raphael Junqueira committed
116
	d3dx8 \
117 118 119 120 121 122 123
	ddraw \
	glu32 \
	opengl32 \
	x11drv

BUILDSUBDIRS = $(BASEDIRS) $(EXTRADIRS)

124 125
INSTALLSUBDIRS = $(BUILDSUBDIRS)

126 127
# Main target

128 129
@MAKE_RULES@

130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
WIN16_FILES = \
	avifile.dll$(DLLEXT) \
	comm.dll$(DLLEXT) \
	commdlg.dll$(DLLEXT) \
	compobj.dll$(DLLEXT) \
	ddeml.dll$(DLLEXT) \
	dispdib.dll$(DLLEXT) \
	display.dll$(DLLEXT) \
	gdi.exe$(DLLEXT) \
	imm.dll$(DLLEXT) \
	keyboard.dll$(DLLEXT) \
	krnl386.exe$(DLLEXT) \
	lzexpand.dll$(DLLEXT) \
	mmsystem.dll$(DLLEXT) \
	mouse.dll$(DLLEXT) \
	msacm.dll$(DLLEXT) \
	msvideo.dll$(DLLEXT) \
	ole2.dll$(DLLEXT) \
	ole2conv.dll$(DLLEXT) \
	ole2disp.dll$(DLLEXT) \
	ole2nls.dll$(DLLEXT) \
	ole2prox.dll$(DLLEXT) \
	ole2thk.dll$(DLLEXT) \
	olecli.dll$(DLLEXT) \
	olesvr.dll$(DLLEXT) \
	rasapi16.dll$(DLLEXT) \
	setupx.dll$(DLLEXT) \
	shell.dll$(DLLEXT) \
	sound.dll$(DLLEXT) \
	storage.dll$(DLLEXT) \
	stress.dll$(DLLEXT) \
	system.dll$(DLLEXT) \
	toolhelp.dll$(DLLEXT) \
	typelib.dll$(DLLEXT) \
	user.exe$(DLLEXT) \
	ver.dll$(DLLEXT) \
	w32sys.dll$(DLLEXT) \
	win32s16.dll$(DLLEXT) \
	win87em.dll$(DLLEXT) \
	winaspi.dll$(DLLEXT) \
	windebug.dll$(DLLEXT) \
	wineps16.dll$(DLLEXT) \
	wing.dll$(DLLEXT) \
	winnls.dll$(DLLEXT) \
	winsock.dll$(DLLEXT) \
175
	wintab.dll$(DLLEXT) \
176 177
	wprocs.dll$(DLLEXT)

178 179
all: \
	$(EXTRADIRS:%=%.dll$(DLLEXT)) \
180
	@WIN16_FILES@ \
181 182 183
	advapi32.dll$(DLLEXT) \
	avicap32.dll$(DLLEXT) \
	avifil32.dll$(DLLEXT) \
184
	cabinet.dll$(DLLEXT) \
185
	comcat.dll$(DLLEXT) \
186 187 188 189 190 191 192
	comctl32.dll$(DLLEXT) \
	comdlg32.dll$(DLLEXT) \
	crtdll.dll$(DLLEXT) \
	crypt32.dll$(DLLEXT) \
	dciman32.dll$(DLLEXT) \
	devenum.dll$(DLLEXT) \
	dinput.dll$(DLLEXT) \
193
	dinput8.dll$(DLLEXT) \
194 195 196 197 198
	dplay.dll$(DLLEXT) \
	dplayx.dll$(DLLEXT) \
	dsound.dll$(DLLEXT) \
	gdi32.dll$(DLLEXT) \
	icmp.dll$(DLLEXT) \
199
	imaadp32.acm$(DLLEXT) \
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
	imagehlp.dll$(DLLEXT) \
	imm32.dll$(DLLEXT) \
	joystick.drv$(DLLEXT) \
	kernel32.dll$(DLLEXT) \
	lz32.dll$(DLLEXT) \
	mapi32.dll$(DLLEXT) \
	mcianim.drv$(DLLEXT) \
	mciavi.drv$(DLLEXT) \
	mcicda.drv$(DLLEXT) \
	mciseq.drv$(DLLEXT) \
	mciwave.drv$(DLLEXT) \
	midimap.drv$(DLLEXT) \
	mpr.dll$(DLLEXT) \
	msacm.drv$(DLLEXT) \
	msacm32.dll$(DLLEXT) \
215
	msadp32.acm$(DLLEXT) \
216
	msdmo.dll$(DLLEXT) \
217
	msg711.acm$(DLLEXT) \
218
	msimg32.dll$(DLLEXT) \
219
	msisys.ocx$(DLLEXT) \
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
	msnet32.dll$(DLLEXT) \
	msrle32.dll$(DLLEXT) \
	msvcrt.dll$(DLLEXT) \
	msvcrt20.dll$(DLLEXT) \
	msvfw32.dll$(DLLEXT) \
	netapi32.dll$(DLLEXT) \
	ntdll.dll$(DLLEXT) \
	odbc32.dll$(DLLEXT) \
	ole32.dll$(DLLEXT) \
	oleaut32.dll$(DLLEXT) \
	olecli32.dll$(DLLEXT) \
	oledlg.dll$(DLLEXT) \
	olepro32.dll$(DLLEXT) \
	olesvr32.dll$(DLLEXT) \
	psapi.dll$(DLLEXT) \
	qcap.dll$(DLLEXT) \
	quartz.dll$(DLLEXT) \
	rasapi32.dll$(DLLEXT) \
	riched32.dll$(DLLEXT) \
	rpcrt4.dll$(DLLEXT) \
	serialui.dll$(DLLEXT) \
	setupapi.dll$(DLLEXT) \
	shdocvw.dll$(DLLEXT) \
	shell32.dll$(DLLEXT) \
	shfolder.dll$(DLLEXT) \
	shlwapi.dll$(DLLEXT) \
246
	snmpapi.dll$(DLLEXT) \
247 248 249
	sti.dll$(DLLEXT) \
	tapi32.dll$(DLLEXT) \
	ttydrv.dll$(DLLEXT) \
250
	twain_32.dll$(DLLEXT) \
251 252 253 254 255
	url.dll$(DLLEXT) \
	urlmon.dll$(DLLEXT) \
	user32.dll$(DLLEXT) \
	version.dll$(DLLEXT) \
	w32skrnl.dll$(DLLEXT) \
256
	winealsa.drv$(DLLEXT) \
Chris Morgan's avatar
Chris Morgan committed
257
	winearts.drv$(DLLEXT) \
258
	wineaudioio.drv$(DLLEXT) \
259
	winedos.dll$(DLLEXT) \
260
	winejack.drv$(DLLEXT) \
261
	winemp3.acm$(DLLEXT) \
262
	winenas.drv$(DLLEXT) \
263 264 265 266 267 268
	wineoss.drv$(DLLEXT) \
	wineps.dll$(DLLEXT) \
	wininet.dll$(DLLEXT) \
	winmm.dll$(DLLEXT) \
	winnls32.dll$(DLLEXT) \
	winspool.drv$(DLLEXT) \
269
	wintab32.dll$(DLLEXT) \
270 271 272 273 274 275
	wintrust.dll$(DLLEXT) \
	wnaspi32.dll$(DLLEXT) \
	wow32.dll$(DLLEXT) \
	ws2_32.dll$(DLLEXT) \
	wsock32.dll$(DLLEXT)

276
# Map symlink name to the corresponding library
277

278
advapi32.dll$(DLLEXT): advapi32/advapi32.dll$(DLLEXT)
279
	$(RM) $@ && $(LN_S) advapi32/advapi32.dll$(DLLEXT) $@
280

281
avicap32.dll$(DLLEXT): avicap32/avicap32.dll$(DLLEXT)
282
	$(RM) $@ && $(LN_S) avicap32/avicap32.dll$(DLLEXT) $@
283

284
avifil32.dll$(DLLEXT) avifile.dll$(DLLEXT): avifil32/avifil32.dll$(DLLEXT)
285
	$(RM) $@ && $(LN_S) avifil32/avifil32.dll$(DLLEXT) $@
286

287 288 289
cabinet.dll$(DLLEXT): cabinet/cabinet.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) cabinet/cabinet.dll$(DLLEXT) $@

290
comcat.dll$(DLLEXT): comcat/comcat.dll$(DLLEXT)
291 292
	$(RM) $@ && $(LN_S) comcat/comcat.dll$(DLLEXT) $@

293
comctl32.dll$(DLLEXT): comctl32/comctl32.dll$(DLLEXT)
294
	$(RM) $@ && $(LN_S) comctl32/comctl32.dll$(DLLEXT) $@
295

296
comdlg32.dll$(DLLEXT) commdlg.dll$(DLLEXT): commdlg/comdlg32.dll$(DLLEXT)
297
	$(RM) $@ && $(LN_S) commdlg/comdlg32.dll$(DLLEXT) $@
298

299
crtdll.dll$(DLLEXT): crtdll/crtdll.dll$(DLLEXT)
300
	$(RM) $@ && $(LN_S) crtdll/crtdll.dll$(DLLEXT) $@
301

302
crypt32.dll$(DLLEXT): crypt32/crypt32.dll$(DLLEXT)
303
	$(RM) $@ && $(LN_S) crypt32/crypt32.dll$(DLLEXT) $@
304

305 306 307
d3d8.dll$(DLLEXT): d3d8/d3d8.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) d3d8/d3d8.dll$(DLLEXT) $@

Raphael Junqueira's avatar
Raphael Junqueira committed
308 309 310
d3dx8.dll$(DLLEXT): d3dx8/d3dx8.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) d3dx8/d3dx8.dll$(DLLEXT) $@

311
dciman32.dll$(DLLEXT): dciman32/dciman32.dll$(DLLEXT)
312
	$(RM) $@ && $(LN_S) dciman32/dciman32.dll$(DLLEXT) $@
313

314
ddraw.dll$(DLLEXT): ddraw/ddraw.dll$(DLLEXT)
315
	$(RM) $@ && $(LN_S) ddraw/ddraw.dll$(DLLEXT) $@
316

317
devenum.dll$(DLLEXT): devenum/devenum.dll$(DLLEXT)
318
	$(RM) $@ && $(LN_S) devenum/devenum.dll$(DLLEXT) $@
319

320
dinput.dll$(DLLEXT): dinput/dinput.dll$(DLLEXT)
321
	$(RM) $@ && $(LN_S) dinput/dinput.dll$(DLLEXT) $@
322

323 324 325
dinput8.dll$(DLLEXT): dinput8/dinput8.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) dinput8/dinput8.dll$(DLLEXT) $@

326
dplay.dll$(DLLEXT): dplay/dplay.dll$(DLLEXT)
327
	$(RM) $@ && $(LN_S) dplay/dplay.dll$(DLLEXT) $@
328

329
dplayx.dll$(DLLEXT): dplayx/dplayx.dll$(DLLEXT)
330
	$(RM) $@ && $(LN_S) dplayx/dplayx.dll$(DLLEXT) $@
331

332
dsound.dll$(DLLEXT): dsound/dsound.dll$(DLLEXT)
333
	$(RM) $@ && $(LN_S) dsound/dsound.dll$(DLLEXT) $@
334

335
gdi32.dll$(DLLEXT) dispdib.dll$(DLLEXT) gdi.exe$(DLLEXT) \
336
  wing.dll$(DLLEXT): gdi/gdi32.dll$(DLLEXT)
337
	$(RM) $@ && $(LN_S) gdi/gdi32.dll$(DLLEXT) $@
338

339
glu32.dll$(DLLEXT): glu32/glu32.dll$(DLLEXT)
340
	$(RM) $@ && $(LN_S) glu32/glu32.dll$(DLLEXT) $@
341

342
icmp.dll$(DLLEXT): icmp/icmp.dll$(DLLEXT)
343
	$(RM) $@ && $(LN_S) icmp/icmp.dll$(DLLEXT) $@
344

345
imaadp32.acm$(DLLEXT): msacm/imaadp32/imaadp32.acm$(DLLEXT)
346 347
	$(RM) $@ && $(LN_S) msacm/imaadp32/imaadp32.acm$(DLLEXT) $@

348
imagehlp.dll$(DLLEXT): imagehlp/imagehlp.dll$(DLLEXT)
349
	$(RM) $@ && $(LN_S) imagehlp/imagehlp.dll$(DLLEXT) $@
350

351
imm32.dll$(DLLEXT) imm.dll$(DLLEXT): imm32/imm32.dll$(DLLEXT)
352
	$(RM) $@ && $(LN_S) imm32/imm32.dll$(DLLEXT) $@
353

354
joystick.drv$(DLLEXT): winmm/joystick/joystick.drv$(DLLEXT)
355
	$(RM) $@ && $(LN_S) winmm/joystick/joystick.drv$(DLLEXT) $@
356

357
kernel32.dll$(DLLEXT) comm.dll$(DLLEXT) krnl386.exe$(DLLEXT) \
358
  stress.dll$(DLLEXT) system.dll$(DLLEXT) toolhelp.dll$(DLLEXT) \
359
  win87em.dll$(DLLEXT) windebug.dll$(DLLEXT) wprocs.dll$(DLLEXT): kernel/kernel32.dll$(DLLEXT)
360
	$(RM) $@ && $(LN_S) kernel/kernel32.dll$(DLLEXT) $@
361

362
lz32.dll$(DLLEXT) lzexpand.dll$(DLLEXT): lzexpand/lz32.dll$(DLLEXT)
363
	$(RM) $@ && $(LN_S) lzexpand/lz32.dll$(DLLEXT) $@
364

365
mapi32.dll$(DLLEXT): mapi32/mapi32.dll$(DLLEXT)
366
	$(RM) $@ && $(LN_S) mapi32/mapi32.dll$(DLLEXT) $@
367

368
mcianim.drv$(DLLEXT): winmm/mcianim/mcianim.drv$(DLLEXT)
369
	$(RM) $@ && $(LN_S) winmm/mcianim/mcianim.drv$(DLLEXT) $@
370

371
mciavi.drv$(DLLEXT): winmm/mciavi/mciavi.drv$(DLLEXT)
372
	$(RM) $@ && $(LN_S) winmm/mciavi/mciavi.drv$(DLLEXT) $@
373

374
mcicda.drv$(DLLEXT): winmm/mcicda/mcicda.drv$(DLLEXT)
375
	$(RM) $@ && $(LN_S) winmm/mcicda/mcicda.drv$(DLLEXT) $@
376

377
mciseq.drv$(DLLEXT): winmm/mciseq/mciseq.drv$(DLLEXT)
378
	$(RM) $@ && $(LN_S) winmm/mciseq/mciseq.drv$(DLLEXT) $@
379

380
mciwave.drv$(DLLEXT): winmm/mciwave/mciwave.drv$(DLLEXT)
381
	$(RM) $@ && $(LN_S) winmm/mciwave/mciwave.drv$(DLLEXT) $@
382

383
midimap.drv$(DLLEXT): winmm/midimap/midimap.drv$(DLLEXT)
384
	$(RM) $@ && $(LN_S) winmm/midimap/midimap.drv$(DLLEXT) $@
385

386
mpr.dll$(DLLEXT): mpr/mpr.dll$(DLLEXT)
387
	$(RM) $@ && $(LN_S) mpr/mpr.dll$(DLLEXT) $@
388

389
msacm.drv$(DLLEXT): winmm/wavemap/msacm.drv$(DLLEXT)
390
	$(RM) $@ && $(LN_S) winmm/wavemap/msacm.drv$(DLLEXT) $@
391

392
msacm32.dll$(DLLEXT) msacm.dll$(DLLEXT): msacm/msacm32.dll$(DLLEXT)
393
	$(RM) $@ && $(LN_S) msacm/msacm32.dll$(DLLEXT) $@
394

395
msadp32.acm$(DLLEXT): msacm/msadp32/msadp32.acm$(DLLEXT)
396 397
	$(RM) $@ && $(LN_S) msacm/msadp32/msadp32.acm$(DLLEXT) $@

398
msdmo.dll$(DLLEXT): msdmo/msdmo.dll$(DLLEXT)
399
	$(RM) $@ && $(LN_S) msdmo/msdmo.dll$(DLLEXT) $@
400

401
msg711.acm$(DLLEXT): msacm/msg711/msg711.acm$(DLLEXT)
402
	$(RM) $@ && $(LN_S) msacm/msg711/msg711.acm$(DLLEXT) $@
403

404
msimg32.dll$(DLLEXT): msimg32/msimg32.dll$(DLLEXT)
405
	$(RM) $@ && $(LN_S) msimg32/msimg32.dll$(DLLEXT) $@
406

407
msisys.ocx$(DLLEXT): msisys/msisys.ocx$(DLLEXT)
408 409
	$(RM) $@ && $(LN_S) msisys/msisys.ocx$(DLLEXT) $@

410
msnet32.dll$(DLLEXT): msnet32/msnet32.dll$(DLLEXT)
411
	$(RM) $@ && $(LN_S) msnet32/msnet32.dll$(DLLEXT) $@
412

413 414
msrle32.dll$(DLLEXT): msvideo/msrle32/msrle32.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) msvideo/msrle32/msrle32.dll$(DLLEXT) $@
415

416
msvcrt.dll$(DLLEXT): msvcrt/msvcrt.dll$(DLLEXT)
417
	$(RM) $@ && $(LN_S) msvcrt/msvcrt.dll$(DLLEXT) $@
418

419
msvcrt20.dll$(DLLEXT): msvcrt20/msvcrt20.dll$(DLLEXT)
420
	$(RM) $@ && $(LN_S) msvcrt20/msvcrt20.dll$(DLLEXT) $@
421

422
msvfw32.dll$(DLLEXT) msvideo.dll$(DLLEXT): msvideo/msvfw32.dll$(DLLEXT)
423
	$(RM) $@ && $(LN_S) msvideo/msvfw32.dll$(DLLEXT) $@
424

425
netapi32.dll$(DLLEXT): netapi32/netapi32.dll$(DLLEXT)
426
	$(RM) $@ && $(LN_S) netapi32/netapi32.dll$(DLLEXT) $@
427

428
ntdll.dll$(DLLEXT): ntdll/ntdll.dll$(DLLEXT)
429
	$(RM) $@ && $(LN_S) ntdll/ntdll.dll$(DLLEXT) $@
430

431
odbc32.dll$(DLLEXT): odbc32/odbc32.dll$(DLLEXT)
432
	$(RM) $@ && $(LN_S) odbc32/odbc32.dll$(DLLEXT) $@
433

434 435
ole32.dll$(DLLEXT) compobj.dll$(DLLEXT) ole2.dll$(DLLEXT) \
  ole2conv.dll$(DLLEXT) ole2nls.dll$(DLLEXT) ole2prox.dll$(DLLEXT) \
436
  ole2thk.dll$(DLLEXT) storage.dll$(DLLEXT): ole32/ole32.dll$(DLLEXT)
437
	$(RM) $@ && $(LN_S) ole32/ole32.dll$(DLLEXT) $@
438

439
oleaut32.dll$(DLLEXT) ole2disp.dll$(DLLEXT) typelib.dll$(DLLEXT): oleaut32/oleaut32.dll$(DLLEXT)
440
	$(RM) $@ && $(LN_S) oleaut32/oleaut32.dll$(DLLEXT) $@
441

442
olecli32.dll$(DLLEXT) olecli.dll$(DLLEXT): olecli/olecli32.dll$(DLLEXT)
443
	$(RM) $@ && $(LN_S) olecli/olecli32.dll$(DLLEXT) $@
444

445
oledlg.dll$(DLLEXT): oledlg/oledlg.dll$(DLLEXT)
446
	$(RM) $@ && $(LN_S) oledlg/oledlg.dll$(DLLEXT) $@
447

448
olepro32.dll$(DLLEXT): olepro32/olepro32.dll$(DLLEXT)
449
	$(RM) $@ && $(LN_S) olepro32/olepro32.dll$(DLLEXT) $@
450

451
olesvr32.dll$(DLLEXT) olesvr.dll$(DLLEXT): olesvr/olesvr32.dll$(DLLEXT)
452
	$(RM) $@ && $(LN_S) olesvr/olesvr32.dll$(DLLEXT) $@
453

454
opengl32.dll$(DLLEXT): opengl32/opengl32.dll$(DLLEXT)
455
	$(RM) $@ && $(LN_S) opengl32/opengl32.dll$(DLLEXT) $@
456

457
psapi.dll$(DLLEXT): psapi/psapi.dll$(DLLEXT)
458
	$(RM) $@ && $(LN_S) psapi/psapi.dll$(DLLEXT) $@
459

460
qcap.dll$(DLLEXT): qcap/qcap.dll$(DLLEXT)
461
	$(RM) $@ && $(LN_S) qcap/qcap.dll$(DLLEXT) $@
462

463
quartz.dll$(DLLEXT): quartz/quartz.dll$(DLLEXT)
464
	$(RM) $@ && $(LN_S) quartz/quartz.dll$(DLLEXT) $@
465

466
rasapi32.dll$(DLLEXT) rasapi16.dll$(DLLEXT): rasapi32/rasapi32.dll$(DLLEXT)
467
	$(RM) $@ && $(LN_S) rasapi32/rasapi32.dll$(DLLEXT) $@
468

469
riched32.dll$(DLLEXT): richedit/riched32.dll$(DLLEXT)
470
	$(RM) $@ && $(LN_S) richedit/riched32.dll$(DLLEXT) $@
471

472
rpcrt4.dll$(DLLEXT): rpcrt4/rpcrt4.dll$(DLLEXT)
473
	$(RM) $@ && $(LN_S) rpcrt4/rpcrt4.dll$(DLLEXT) $@
474

475
serialui.dll$(DLLEXT): serialui/serialui.dll$(DLLEXT)
476
	$(RM) $@ && $(LN_S) serialui/serialui.dll$(DLLEXT) $@
477

478
setupapi.dll$(DLLEXT) setupx.dll$(DLLEXT): setupapi/setupapi.dll$(DLLEXT)
479
	$(RM) $@ && $(LN_S) setupapi/setupapi.dll$(DLLEXT) $@
480

481
shdocvw.dll$(DLLEXT): shdocvw/shdocvw.dll$(DLLEXT)
482
	$(RM) $@ && $(LN_S) shdocvw/shdocvw.dll$(DLLEXT) $@
483

484
shell32.dll$(DLLEXT) shell.dll$(DLLEXT): shell32/shell32.dll$(DLLEXT)
485
	$(RM) $@ && $(LN_S) shell32/shell32.dll$(DLLEXT) $@
486

487
shfolder.dll$(DLLEXT): shfolder/shfolder.dll$(DLLEXT)
488
	$(RM) $@ && $(LN_S) shfolder/shfolder.dll$(DLLEXT) $@
489

490
shlwapi.dll$(DLLEXT): shlwapi/shlwapi.dll$(DLLEXT)
491
	$(RM) $@ && $(LN_S) shlwapi/shlwapi.dll$(DLLEXT) $@
492

493
snmpapi.dll$(DLLEXT): snmpapi/snmpapi.dll$(DLLEXT)
494 495
	$(RM) $@ && $(LN_S) snmpapi/snmpapi.dll$(DLLEXT) $@

496
sti.dll$(DLLEXT): sti/sti.dll$(DLLEXT)
497
	$(RM) $@ && $(LN_S) sti/sti.dll$(DLLEXT) $@
498

499
tapi32.dll$(DLLEXT): tapi32/tapi32.dll$(DLLEXT)
500
	$(RM) $@ && $(LN_S) tapi32/tapi32.dll$(DLLEXT) $@
501

502
ttydrv.dll$(DLLEXT): ttydrv/ttydrv.dll$(DLLEXT)
503
	$(RM) $@ && $(LN_S) ttydrv/ttydrv.dll$(DLLEXT) $@
504

505
twain_32.dll$(DLLEXT): twain/twain_32.dll$(DLLEXT)
506 507
	$(RM) $@ && $(LN_S) twain/twain_32.dll$(DLLEXT) $@

508
url.dll$(DLLEXT): url/url.dll$(DLLEXT)
509
	$(RM) $@ && $(LN_S) url/url.dll$(DLLEXT) $@
510

511
urlmon.dll$(DLLEXT): urlmon/urlmon.dll$(DLLEXT)
512
	$(RM) $@ && $(LN_S) urlmon/urlmon.dll$(DLLEXT) $@
513

514
user32.dll$(DLLEXT) ddeml.dll$(DLLEXT) display.dll$(DLLEXT) \
515
  keyboard.dll$(DLLEXT) mouse.dll$(DLLEXT) user.exe$(DLLEXT): user/user32.dll$(DLLEXT)
516
	$(RM) $@ && $(LN_S) user/user32.dll$(DLLEXT) $@
517

518
version.dll$(DLLEXT) ver.dll$(DLLEXT): version/version.dll$(DLLEXT)
519
	$(RM) $@ && $(LN_S) version/version.dll$(DLLEXT) $@
520

521
w32skrnl.dll$(DLLEXT) w32sys.dll$(DLLEXT) win32s16.dll$(DLLEXT): win32s/w32skrnl.dll$(DLLEXT)
522
	$(RM) $@ && $(LN_S) win32s/w32skrnl.dll$(DLLEXT) $@
523

524 525 526
winealsa.drv$(DLLEXT): winmm/winealsa/winealsa.drv$(DLLEXT)
	$(RM) $@ && $(LN_S) winmm/winealsa/winealsa.drv$(DLLEXT) $@

527
winearts.drv$(DLLEXT): winmm/winearts/winearts.drv$(DLLEXT)
Chris Morgan's avatar
Chris Morgan committed
528 529
	$(RM) $@ && $(LN_S) winmm/winearts/winearts.drv$(DLLEXT) $@

530 531 532
wineaudioio.drv$(DLLEXT): winmm/wineaudioio/wineaudioio.drv$(DLLEXT)
	$(RM) $@ && $(LN_S) winmm/wineaudioio/wineaudioio.drv$(DLLEXT) $@

533
winedos.dll$(DLLEXT): winedos/winedos.dll$(DLLEXT)
534
	$(RM) $@ && $(LN_S) winedos/winedos.dll$(DLLEXT) $@
535

536 537 538
winejack.drv$(DLLEXT): winmm/winejack/winejack.drv$(DLLEXT)
	$(RM) $@ && $(LN_S) winmm/winejack/winejack.drv$(DLLEXT) $@

539 540 541
winemp3.acm$(DLLEXT): msacm/winemp3/winemp3.acm$(DLLEXT)
	$(RM) $@ && $(LN_S) msacm/winemp3/winemp3.acm$(DLLEXT) $@

542 543 544
winenas.drv$(DLLEXT): winmm/winenas/winenas.drv$(DLLEXT)
	$(RM) $@ && $(LN_S) winmm/winenas/winenas.drv$(DLLEXT) $@

545
wineoss.drv$(DLLEXT): winmm/wineoss/wineoss.drv$(DLLEXT)
546
	$(RM) $@ && $(LN_S) winmm/wineoss/wineoss.drv$(DLLEXT) $@
547

548
wineps.dll$(DLLEXT) wineps16.dll$(DLLEXT): wineps/wineps.dll$(DLLEXT)
549
	$(RM) $@ && $(LN_S) wineps/wineps.dll$(DLLEXT) $@
550

551
wininet.dll$(DLLEXT): wininet/wininet.dll$(DLLEXT)
552
	$(RM) $@ && $(LN_S) wininet/wininet.dll$(DLLEXT) $@
553

554
winmm.dll$(DLLEXT) mmsystem.dll$(DLLEXT) sound.dll$(DLLEXT): winmm/winmm.dll$(DLLEXT)
555
	$(RM) $@ && $(LN_S) winmm/winmm.dll$(DLLEXT) $@
556

557
winnls32.dll$(DLLEXT) winnls.dll$(DLLEXT): winnls/winnls32.dll$(DLLEXT)
558
	$(RM) $@ && $(LN_S) winnls/winnls32.dll$(DLLEXT) $@
559

560
winspool.drv$(DLLEXT): winspool/winspool.drv$(DLLEXT)
561
	$(RM) $@ && $(LN_S) winspool/winspool.drv$(DLLEXT) $@
562

563 564 565
wintab32.dll$(DLLEXT) wintab.dll$(DLLEXT): wintab32/wintab32.dll$(DLLEXT)
	$(RM) $@ && $(LN_S) wintab32/wintab32.dll$(DLLEXT) $@

566
wintrust.dll$(DLLEXT): wintrust/wintrust.dll$(DLLEXT)
567
	$(RM) $@ && $(LN_S) wintrust/wintrust.dll$(DLLEXT) $@
568

569
wnaspi32.dll$(DLLEXT) winaspi.dll$(DLLEXT): winaspi/wnaspi32.dll$(DLLEXT)
570
	$(RM) $@ && $(LN_S) winaspi/wnaspi32.dll$(DLLEXT) $@
571

572
wow32.dll$(DLLEXT): wow32/wow32.dll$(DLLEXT)
573
	$(RM) $@ && $(LN_S) wow32/wow32.dll$(DLLEXT) $@
574

575
ws2_32.dll$(DLLEXT) winsock.dll$(DLLEXT): winsock/ws2_32.dll$(DLLEXT)
576
	$(RM) $@ && $(LN_S) winsock/ws2_32.dll$(DLLEXT) $@
577

578
wsock32.dll$(DLLEXT): wsock32/wsock32.dll$(DLLEXT)
579
	$(RM) $@ && $(LN_S) wsock32/wsock32.dll$(DLLEXT) $@
580

581
x11drv.dll$(DLLEXT): x11drv/x11drv.dll$(DLLEXT)
582
	$(RM) $@ && $(LN_S) x11drv/x11drv.dll$(DLLEXT) $@
583

584 585 586 587

# Import libraries

IMPORT_LIBS = \
588 589 590 591 592 593 594 595 596 597
	libadvapi32 \
	libavicap32 \
	libavifil32 \
	libcabinet \
	libcomcat \
	libcomctl32 \
	libcomdlg32 \
	libcrtdll \
	libcrypt32 \
	libd3d8 \
Raphael Junqueira's avatar
Raphael Junqueira committed
598
	libd3dx8 \
599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661
	libdciman32 \
	libddraw \
	libdevenum \
	libdinput \
	libdinput8 \
	libdplay \
	libdplayx \
	libdsound \
	libgdi32 \
	libglu32 \
	libicmp \
	libimagehlp \
	libimm32 \
	libkernel32 \
	liblz32 \
	libmapi32 \
	libmpr \
	libmsacm32 \
	libmsdmo \
	libmsimg32 \
	libmsnet32 \
	libmsrle32 \
	libmsvcrt \
	libmsvcrt20 \
	libmsvfw32 \
	libnetapi32 \
	libntdll \
	libodbc32 \
	libole32 \
	liboleaut32 \
	libolecli32 \
	liboledlg \
	libolepro32 \
	libolesvr32 \
	libopengl32 \
	libpsapi \
	libqcap \
	libquartz \
	librasapi32 \
	libriched32 \
	librpcrt4 \
	libserialui \
	libsetupapi \
	libshdocvw \
	libshell32 \
	libshfolder \
	libshlwapi \
	libsnmpapi \
	libsti \
	libtapi32 \
	libttydrv \
	libtwain_32 \
	liburl \
	liburlmon \
	libuser32 \
	libversion \
	libw32skrnl \
	libwinedos \
	libwineps \
	libwininet \
	libwinmm \
	libwinnls32 \
	libwinspool \
662
	libwintab32 \
663 664 665 666 667 668
	libwintrust \
	libwnaspi32 \
	libwow32 \
	libws2_32 \
	libwsock32 \
	libx11drv
669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719

libadvapi32.def: advapi32/advapi32.spec.def
	$(RM) $@ && $(LN_S) advapi32/advapi32.spec.def $@
libadvapi32.a: advapi32/advapi32.spec.def
	$(DLLTOOL) -k -l $@ -d advapi32/advapi32.spec.def

libavicap32.def: avicap32/avicap32.spec.def
	$(RM) $@ && $(LN_S) avicap32/avicap32.spec.def $@
libavicap32.a: avicap32/avicap32.spec.def
	$(DLLTOOL) -k -l $@ -d avicap32/avicap32.spec.def

libavifil32.def: avifil32/avifil32.spec.def
	$(RM) $@ && $(LN_S) avifil32/avifil32.spec.def $@
libavifil32.a: avifil32/avifil32.spec.def
	$(DLLTOOL) -k -l $@ -d avifil32/avifil32.spec.def

libcabinet.def: cabinet/cabinet.spec.def
	$(RM) $@ && $(LN_S) cabinet/cabinet.spec.def $@
libcabinet.a: cabinet/cabinet.spec.def
	$(DLLTOOL) -k -l $@ -d cabinet/cabinet.spec.def

libcomcat.def: comcat/comcat.spec.def
	$(RM) $@ && $(LN_S) comcat/comcat.spec.def $@
libcomcat.a: comcat/comcat.spec.def
	$(DLLTOOL) -k -l $@ -d comcat/comcat.spec.def

libcomctl32.def: comctl32/comctl32.spec.def
	$(RM) $@ && $(LN_S) comctl32/comctl32.spec.def $@
libcomctl32.a: comctl32/comctl32.spec.def
	$(DLLTOOL) -k -l $@ -d comctl32/comctl32.spec.def

libcomdlg32.def: commdlg/comdlg32.spec.def
	$(RM) $@ && $(LN_S) commdlg/comdlg32.spec.def $@
libcomdlg32.a: commdlg/comdlg32.spec.def
	$(DLLTOOL) -k -l $@ -d commdlg/comdlg32.spec.def

libcrtdll.def: crtdll/crtdll.spec.def
	$(RM) $@ && $(LN_S) crtdll/crtdll.spec.def $@
libcrtdll.a: crtdll/crtdll.spec.def
	$(DLLTOOL) -k -l $@ -d crtdll/crtdll.spec.def

libcrypt32.def: crypt32/crypt32.spec.def
	$(RM) $@ && $(LN_S) crypt32/crypt32.spec.def $@
libcrypt32.a: crypt32/crypt32.spec.def
	$(DLLTOOL) -k -l $@ -d crypt32/crypt32.spec.def

libd3d8.def: d3d8/d3d8.spec.def
	$(RM) $@ && $(LN_S) d3d8/d3d8.spec.def $@
libd3d8.a: d3d8/d3d8.spec.def
	$(DLLTOOL) -k -l $@ -d d3d8/d3d8.spec.def

Raphael Junqueira's avatar
Raphael Junqueira committed
720 721 722 723 724
libd3dx8.def: d3dx8/d3dx8.spec.def
	$(RM) $@ && $(LN_S) d3dx8/d3dx8.spec.def $@
libd3dx8.a: d3dx8/d3dx8.spec.def
	$(DLLTOOL) -k -l $@ -d d3dx8/d3dx8.spec.def

725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039
libdciman32.def: dciman32/dciman32.spec.def
	$(RM) $@ && $(LN_S) dciman32/dciman32.spec.def $@
libdciman32.a: dciman32/dciman32.spec.def
	$(DLLTOOL) -k -l $@ -d dciman32/dciman32.spec.def

libddraw.def: ddraw/ddraw.spec.def
	$(RM) $@ && $(LN_S) ddraw/ddraw.spec.def $@
libddraw.a: ddraw/ddraw.spec.def
	$(DLLTOOL) -k -l $@ -d ddraw/ddraw.spec.def

libdevenum.def: devenum/devenum.spec.def
	$(RM) $@ && $(LN_S) devenum/devenum.spec.def $@
libdevenum.a: devenum/devenum.spec.def
	$(DLLTOOL) -k -l $@ -d devenum/devenum.spec.def

libdinput.def: dinput/dinput.spec.def
	$(RM) $@ && $(LN_S) dinput/dinput.spec.def $@
libdinput.a: dinput/dinput.spec.def
	$(DLLTOOL) -k -l $@ -d dinput/dinput.spec.def

libdinput8.def: dinput8/dinput8.spec.def
	$(RM) $@ && $(LN_S) dinput8/dinput8.spec.def $@
libdinput8.a: dinput8/dinput8.spec.def
	$(DLLTOOL) -k -l $@ -d dinput8/dinput8.spec.def

libdplay.def: dplay/dplay.spec.def
	$(RM) $@ && $(LN_S) dplay/dplay.spec.def $@
libdplay.a: dplay/dplay.spec.def
	$(DLLTOOL) -k -l $@ -d dplay/dplay.spec.def

libdplayx.def: dplayx/dplayx.spec.def
	$(RM) $@ && $(LN_S) dplayx/dplayx.spec.def $@
libdplayx.a: dplayx/dplayx.spec.def
	$(DLLTOOL) -k -l $@ -d dplayx/dplayx.spec.def

libdsound.def: dsound/dsound.spec.def
	$(RM) $@ && $(LN_S) dsound/dsound.spec.def $@
libdsound.a: dsound/dsound.spec.def
	$(DLLTOOL) -k -l $@ -d dsound/dsound.spec.def

libgdi32.def: gdi/gdi32.spec.def
	$(RM) $@ && $(LN_S) gdi/gdi32.spec.def $@
libgdi32.a: gdi/gdi32.spec.def
	$(DLLTOOL) -k -l $@ -d gdi/gdi32.spec.def

libglu32.def: glu32/glu32.spec.def
	$(RM) $@ && $(LN_S) glu32/glu32.spec.def $@
libglu32.a: glu32/glu32.spec.def
	$(DLLTOOL) -k -l $@ -d glu32/glu32.spec.def

libicmp.def: icmp/icmp.spec.def
	$(RM) $@ && $(LN_S) icmp/icmp.spec.def $@
libicmp.a: icmp/icmp.spec.def
	$(DLLTOOL) -k -l $@ -d icmp/icmp.spec.def

libimagehlp.def: imagehlp/imagehlp.spec.def
	$(RM) $@ && $(LN_S) imagehlp/imagehlp.spec.def $@
libimagehlp.a: imagehlp/imagehlp.spec.def
	$(DLLTOOL) -k -l $@ -d imagehlp/imagehlp.spec.def

libimm32.def: imm32/imm32.spec.def
	$(RM) $@ && $(LN_S) imm32/imm32.spec.def $@
libimm32.a: imm32/imm32.spec.def
	$(DLLTOOL) -k -l $@ -d imm32/imm32.spec.def

libkernel32.def: kernel/kernel32.spec.def
	$(RM) $@ && $(LN_S) kernel/kernel32.spec.def $@
libkernel32.a: kernel/kernel32.spec.def
	$(DLLTOOL) -k -l $@ -d kernel/kernel32.spec.def

liblz32.def: lzexpand/lz32.spec.def
	$(RM) $@ && $(LN_S) lzexpand/lz32.spec.def $@
liblz32.a: lzexpand/lz32.spec.def
	$(DLLTOOL) -k -l $@ -d lzexpand/lz32.spec.def

libmapi32.def: mapi32/mapi32.spec.def
	$(RM) $@ && $(LN_S) mapi32/mapi32.spec.def $@
libmapi32.a: mapi32/mapi32.spec.def
	$(DLLTOOL) -k -l $@ -d mapi32/mapi32.spec.def

libmpr.def: mpr/mpr.spec.def
	$(RM) $@ && $(LN_S) mpr/mpr.spec.def $@
libmpr.a: mpr/mpr.spec.def
	$(DLLTOOL) -k -l $@ -d mpr/mpr.spec.def

libmsacm32.def: msacm/msacm32.spec.def
	$(RM) $@ && $(LN_S) msacm/msacm32.spec.def $@
libmsacm32.a: msacm/msacm32.spec.def
	$(DLLTOOL) -k -l $@ -d msacm/msacm32.spec.def

libmsdmo.def: msdmo/msdmo.spec.def
	$(RM) $@ && $(LN_S) msdmo/msdmo.spec.def $@
libmsdmo.a: msdmo/msdmo.spec.def
	$(DLLTOOL) -k -l $@ -d msdmo/msdmo.spec.def

libmsimg32.def: msimg32/msimg32.spec.def
	$(RM) $@ && $(LN_S) msimg32/msimg32.spec.def $@
libmsimg32.a: msimg32/msimg32.spec.def
	$(DLLTOOL) -k -l $@ -d msimg32/msimg32.spec.def

libmsnet32.def: msnet32/msnet32.spec.def
	$(RM) $@ && $(LN_S) msnet32/msnet32.spec.def $@
libmsnet32.a: msnet32/msnet32.spec.def
	$(DLLTOOL) -k -l $@ -d msnet32/msnet32.spec.def

libmsrle32.def: msvideo/msrle32/msrle32.spec.def
	$(RM) $@ && $(LN_S) msvideo/msrle32/msrle32.spec.def $@
libmsrle32.a: msvideo/msrle32/msrle32.spec.def
	$(DLLTOOL) -k -l $@ -d msvideo/msrle32/msrle32.spec.def

libmsvcrt.def: msvcrt/msvcrt.spec.def
	$(RM) $@ && $(LN_S) msvcrt/msvcrt.spec.def $@
libmsvcrt.a: msvcrt/msvcrt.spec.def
	$(DLLTOOL) -k -l $@ -d msvcrt/msvcrt.spec.def

libmsvcrt20.def: msvcrt20/msvcrt20.spec.def
	$(RM) $@ && $(LN_S) msvcrt20/msvcrt20.spec.def $@
libmsvcrt20.a: msvcrt20/msvcrt20.spec.def
	$(DLLTOOL) -k -l $@ -d msvcrt20/msvcrt20.spec.def

libmsvfw32.def: msvideo/msvfw32.spec.def
	$(RM) $@ && $(LN_S) msvideo/msvfw32.spec.def $@
libmsvfw32.a: msvideo/msvfw32.spec.def
	$(DLLTOOL) -k -l $@ -d msvideo/msvfw32.spec.def

libnetapi32.def: netapi32/netapi32.spec.def
	$(RM) $@ && $(LN_S) netapi32/netapi32.spec.def $@
libnetapi32.a: netapi32/netapi32.spec.def
	$(DLLTOOL) -k -l $@ -d netapi32/netapi32.spec.def

libntdll.def: ntdll/ntdll.spec.def
	$(RM) $@ && $(LN_S) ntdll/ntdll.spec.def $@
libntdll.a: ntdll/ntdll.spec.def
	$(DLLTOOL) -k -l $@ -d ntdll/ntdll.spec.def

libodbc32.def: odbc32/odbc32.spec.def
	$(RM) $@ && $(LN_S) odbc32/odbc32.spec.def $@
libodbc32.a: odbc32/odbc32.spec.def
	$(DLLTOOL) -k -l $@ -d odbc32/odbc32.spec.def

libole32.def: ole32/ole32.spec.def
	$(RM) $@ && $(LN_S) ole32/ole32.spec.def $@
libole32.a: ole32/ole32.spec.def
	$(DLLTOOL) -k -l $@ -d ole32/ole32.spec.def

liboleaut32.def: oleaut32/oleaut32.spec.def
	$(RM) $@ && $(LN_S) oleaut32/oleaut32.spec.def $@
liboleaut32.a: oleaut32/oleaut32.spec.def
	$(DLLTOOL) -k -l $@ -d oleaut32/oleaut32.spec.def

libolecli32.def: olecli/olecli32.spec.def
	$(RM) $@ && $(LN_S) olecli/olecli32.spec.def $@
libolecli32.a: olecli/olecli32.spec.def
	$(DLLTOOL) -k -l $@ -d olecli/olecli32.spec.def

liboledlg.def: oledlg/oledlg.spec.def
	$(RM) $@ && $(LN_S) oledlg/oledlg.spec.def $@
liboledlg.a: oledlg/oledlg.spec.def
	$(DLLTOOL) -k -l $@ -d oledlg/oledlg.spec.def

libolepro32.def: olepro32/olepro32.spec.def
	$(RM) $@ && $(LN_S) olepro32/olepro32.spec.def $@
libolepro32.a: olepro32/olepro32.spec.def
	$(DLLTOOL) -k -l $@ -d olepro32/olepro32.spec.def

libolesvr32.def: olesvr/olesvr32.spec.def
	$(RM) $@ && $(LN_S) olesvr/olesvr32.spec.def $@
libolesvr32.a: olesvr/olesvr32.spec.def
	$(DLLTOOL) -k -l $@ -d olesvr/olesvr32.spec.def

libopengl32.def: opengl32/opengl32.spec.def
	$(RM) $@ && $(LN_S) opengl32/opengl32.spec.def $@
libopengl32.a: opengl32/opengl32.spec.def
	$(DLLTOOL) -k -l $@ -d opengl32/opengl32.spec.def

libpsapi.def: psapi/psapi.spec.def
	$(RM) $@ && $(LN_S) psapi/psapi.spec.def $@
libpsapi.a: psapi/psapi.spec.def
	$(DLLTOOL) -k -l $@ -d psapi/psapi.spec.def

libqcap.def: qcap/qcap.spec.def
	$(RM) $@ && $(LN_S) qcap/qcap.spec.def $@
libqcap.a: qcap/qcap.spec.def
	$(DLLTOOL) -k -l $@ -d qcap/qcap.spec.def

libquartz.def: quartz/quartz.spec.def
	$(RM) $@ && $(LN_S) quartz/quartz.spec.def $@
libquartz.a: quartz/quartz.spec.def
	$(DLLTOOL) -k -l $@ -d quartz/quartz.spec.def

librasapi32.def: rasapi32/rasapi32.spec.def
	$(RM) $@ && $(LN_S) rasapi32/rasapi32.spec.def $@
librasapi32.a: rasapi32/rasapi32.spec.def
	$(DLLTOOL) -k -l $@ -d rasapi32/rasapi32.spec.def

libriched32.def: richedit/riched32.spec.def
	$(RM) $@ && $(LN_S) richedit/riched32.spec.def $@
libriched32.a: richedit/riched32.spec.def
	$(DLLTOOL) -k -l $@ -d richedit/riched32.spec.def

librpcrt4.def: rpcrt4/rpcrt4.spec.def
	$(RM) $@ && $(LN_S) rpcrt4/rpcrt4.spec.def $@
librpcrt4.a: rpcrt4/rpcrt4.spec.def
	$(DLLTOOL) -k -l $@ -d rpcrt4/rpcrt4.spec.def

libserialui.def: serialui/serialui.spec.def
	$(RM) $@ && $(LN_S) serialui/serialui.spec.def $@
libserialui.a: serialui/serialui.spec.def
	$(DLLTOOL) -k -l $@ -d serialui/serialui.spec.def

libsetupapi.def: setupapi/setupapi.spec.def
	$(RM) $@ && $(LN_S) setupapi/setupapi.spec.def $@
libsetupapi.a: setupapi/setupapi.spec.def
	$(DLLTOOL) -k -l $@ -d setupapi/setupapi.spec.def

libshdocvw.def: shdocvw/shdocvw.spec.def
	$(RM) $@ && $(LN_S) shdocvw/shdocvw.spec.def $@
libshdocvw.a: shdocvw/shdocvw.spec.def
	$(DLLTOOL) -k -l $@ -d shdocvw/shdocvw.spec.def

libshell32.def: shell32/shell32.spec.def
	$(RM) $@ && $(LN_S) shell32/shell32.spec.def $@
libshell32.a: shell32/shell32.spec.def
	$(DLLTOOL) -k -l $@ -d shell32/shell32.spec.def

libshfolder.def: shfolder/shfolder.spec.def
	$(RM) $@ && $(LN_S) shfolder/shfolder.spec.def $@
libshfolder.a: shfolder/shfolder.spec.def
	$(DLLTOOL) -k -l $@ -d shfolder/shfolder.spec.def

libshlwapi.def: shlwapi/shlwapi.spec.def
	$(RM) $@ && $(LN_S) shlwapi/shlwapi.spec.def $@
libshlwapi.a: shlwapi/shlwapi.spec.def
	$(DLLTOOL) -k -l $@ -d shlwapi/shlwapi.spec.def

libsnmpapi.def: snmpapi/snmpapi.spec.def
	$(RM) $@ && $(LN_S) snmpapi/snmpapi.spec.def $@
libsnmpapi.a: snmpapi/snmpapi.spec.def
	$(DLLTOOL) -k -l $@ -d snmpapi/snmpapi.spec.def

libsti.def: sti/sti.spec.def
	$(RM) $@ && $(LN_S) sti/sti.spec.def $@
libsti.a: sti/sti.spec.def
	$(DLLTOOL) -k -l $@ -d sti/sti.spec.def

libtapi32.def: tapi32/tapi32.spec.def
	$(RM) $@ && $(LN_S) tapi32/tapi32.spec.def $@
libtapi32.a: tapi32/tapi32.spec.def
	$(DLLTOOL) -k -l $@ -d tapi32/tapi32.spec.def

libttydrv.def: ttydrv/ttydrv.spec.def
	$(RM) $@ && $(LN_S) ttydrv/ttydrv.spec.def $@
libttydrv.a: ttydrv/ttydrv.spec.def
	$(DLLTOOL) -k -l $@ -d ttydrv/ttydrv.spec.def

libtwain_32.def: twain/twain_32.spec.def
	$(RM) $@ && $(LN_S) twain/twain_32.spec.def $@
libtwain_32.a: twain/twain_32.spec.def
	$(DLLTOOL) -k -l $@ -d twain/twain_32.spec.def

liburl.def: url/url.spec.def
	$(RM) $@ && $(LN_S) url/url.spec.def $@
liburl.a: url/url.spec.def
	$(DLLTOOL) -k -l $@ -d url/url.spec.def

liburlmon.def: urlmon/urlmon.spec.def
	$(RM) $@ && $(LN_S) urlmon/urlmon.spec.def $@
liburlmon.a: urlmon/urlmon.spec.def
	$(DLLTOOL) -k -l $@ -d urlmon/urlmon.spec.def

libuser32.def: user/user32.spec.def
	$(RM) $@ && $(LN_S) user/user32.spec.def $@
libuser32.a: user/user32.spec.def
	$(DLLTOOL) -k -l $@ -d user/user32.spec.def

libversion.def: version/version.spec.def
	$(RM) $@ && $(LN_S) version/version.spec.def $@
libversion.a: version/version.spec.def
	$(DLLTOOL) -k -l $@ -d version/version.spec.def

libw32skrnl.def: win32s/w32skrnl.spec.def
	$(RM) $@ && $(LN_S) win32s/w32skrnl.spec.def $@
libw32skrnl.a: win32s/w32skrnl.spec.def
	$(DLLTOOL) -k -l $@ -d win32s/w32skrnl.spec.def

libwinedos.def: winedos/winedos.spec.def
	$(RM) $@ && $(LN_S) winedos/winedos.spec.def $@
libwinedos.a: winedos/winedos.spec.def
	$(DLLTOOL) -k -l $@ -d winedos/winedos.spec.def

libwineps.def: wineps/wineps.spec.def
	$(RM) $@ && $(LN_S) wineps/wineps.spec.def $@
libwineps.a: wineps/wineps.spec.def
	$(DLLTOOL) -k -l $@ -d wineps/wineps.spec.def

libwininet.def: wininet/wininet.spec.def
	$(RM) $@ && $(LN_S) wininet/wininet.spec.def $@
libwininet.a: wininet/wininet.spec.def
	$(DLLTOOL) -k -l $@ -d wininet/wininet.spec.def

libwinmm.def: winmm/winmm.spec.def
	$(RM) $@ && $(LN_S) winmm/winmm.spec.def $@
libwinmm.a: winmm/winmm.spec.def
	$(DLLTOOL) -k -l $@ -d winmm/winmm.spec.def

libwinnls32.def: winnls/winnls32.spec.def
	$(RM) $@ && $(LN_S) winnls/winnls32.spec.def $@
libwinnls32.a: winnls/winnls32.spec.def
	$(DLLTOOL) -k -l $@ -d winnls/winnls32.spec.def

libwinspool.def: winspool/winspool.drv.spec.def
	$(RM) $@ && $(LN_S) winspool/winspool.drv.spec.def $@
libwinspool.a: winspool/winspool.drv.spec.def
	$(DLLTOOL) -k -l $@ -d winspool/winspool.drv.spec.def

1040 1041 1042 1043 1044
libwintab32.def: wintab32/wintab32.spec.def
	$(RM) $@ && $(LN_S) wintab32/wintab32.spec.def $@
libwintab32.a: wintab32/wintab32.spec.def
	$(DLLTOOL) -k -l $@ -d wintab32/wintab32.spec.def

1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
libwintrust.def: wintrust/wintrust.spec.def
	$(RM) $@ && $(LN_S) wintrust/wintrust.spec.def $@
libwintrust.a: wintrust/wintrust.spec.def
	$(DLLTOOL) -k -l $@ -d wintrust/wintrust.spec.def

libwnaspi32.def: winaspi/wnaspi32.spec.def
	$(RM) $@ && $(LN_S) winaspi/wnaspi32.spec.def $@
libwnaspi32.a: winaspi/wnaspi32.spec.def
	$(DLLTOOL) -k -l $@ -d winaspi/wnaspi32.spec.def

libwow32.def: wow32/wow32.spec.def
	$(RM) $@ && $(LN_S) wow32/wow32.spec.def $@
libwow32.a: wow32/wow32.spec.def
	$(DLLTOOL) -k -l $@ -d wow32/wow32.spec.def

libws2_32.def: winsock/ws2_32.spec.def
	$(RM) $@ && $(LN_S) winsock/ws2_32.spec.def $@
libws2_32.a: winsock/ws2_32.spec.def
	$(DLLTOOL) -k -l $@ -d winsock/ws2_32.spec.def

libwsock32.def: wsock32/wsock32.spec.def
	$(RM) $@ && $(LN_S) wsock32/wsock32.spec.def $@
libwsock32.a: wsock32/wsock32.spec.def
	$(DLLTOOL) -k -l $@ -d wsock32/wsock32.spec.def

libx11drv.def: x11drv/x11drv.spec.def
	$(RM) $@ && $(LN_S) x11drv/x11drv.spec.def $@
libx11drv.a: x11drv/x11drv.spec.def
	$(DLLTOOL) -k -l $@ -d x11drv/x11drv.spec.def

advapi32/advapi32.spec.def: $(WINEBUILD)
avicap32/avicap32.spec.def: $(WINEBUILD)
avifil32/avifil32.spec.def: $(WINEBUILD)
cabinet/cabinet.spec.def: $(WINEBUILD)
comcat/comcat.spec.def: $(WINEBUILD)
comctl32/comctl32.spec.def: $(WINEBUILD)
commdlg/comdlg32.spec.def: $(WINEBUILD)
crtdll/crtdll.spec.def: $(WINEBUILD)
crypt32/crypt32.spec.def: $(WINEBUILD)
d3d8/d3d8.spec.def: $(WINEBUILD)
Raphael Junqueira's avatar
Raphael Junqueira committed
1085
d3dx8/d3dx8.spec.def: $(WINEBUILD)
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
dciman32/dciman32.spec.def: $(WINEBUILD)
ddraw/ddraw.spec.def: $(WINEBUILD)
devenum/devenum.spec.def: $(WINEBUILD)
dinput/dinput.spec.def: $(WINEBUILD)
dinput8/dinput8.spec.def: $(WINEBUILD)
dplay/dplay.spec.def: $(WINEBUILD)
dplayx/dplayx.spec.def: $(WINEBUILD)
dsound/dsound.spec.def: $(WINEBUILD)
gdi/gdi32.spec.def: $(WINEBUILD)
glu32/glu32.spec.def: $(WINEBUILD)
icmp/icmp.spec.def: $(WINEBUILD)
imagehlp/imagehlp.spec.def: $(WINEBUILD)
imm32/imm32.spec.def: $(WINEBUILD)
kernel/kernel32.spec.def: $(WINEBUILD)
lzexpand/lz32.spec.def: $(WINEBUILD)
mapi32/mapi32.spec.def: $(WINEBUILD)
mpr/mpr.spec.def: $(WINEBUILD)
msacm/msacm32.spec.def: $(WINEBUILD)
msdmo/msdmo.spec.def: $(WINEBUILD)
msimg32/msimg32.spec.def: $(WINEBUILD)
msnet32/msnet32.spec.def: $(WINEBUILD)
msvideo/msrle32/msrle32.spec.def: $(WINEBUILD)
msvcrt/msvcrt.spec.def: $(WINEBUILD)
msvcrt20/msvcrt20.spec.def: $(WINEBUILD)
msvideo/msvfw32.spec.def: $(WINEBUILD)
netapi32/netapi32.spec.def: $(WINEBUILD)
ntdll/ntdll.spec.def: $(WINEBUILD)
odbc32/odbc32.spec.def: $(WINEBUILD)
ole32/ole32.spec.def: $(WINEBUILD)
oleaut32/oleaut32.spec.def: $(WINEBUILD)
olecli/olecli32.spec.def: $(WINEBUILD)
oledlg/oledlg.spec.def: $(WINEBUILD)
olepro32/olepro32.spec.def: $(WINEBUILD)
olesvr/olesvr32.spec.def: $(WINEBUILD)
opengl32/opengl32.spec.def: $(WINEBUILD)
psapi/psapi.spec.def: $(WINEBUILD)
qcap/qcap.spec.def: $(WINEBUILD)
quartz/quartz.spec.def: $(WINEBUILD)
rasapi32/rasapi32.spec.def: $(WINEBUILD)
richedit/riched32.spec.def: $(WINEBUILD)
rpcrt4/rpcrt4.spec.def: $(WINEBUILD)
serialui/serialui.spec.def: $(WINEBUILD)
setupapi/setupapi.spec.def: $(WINEBUILD)
shdocvw/shdocvw.spec.def: $(WINEBUILD)
shell32/shell32.spec.def: $(WINEBUILD)
shfolder/shfolder.spec.def: $(WINEBUILD)
shlwapi/shlwapi.spec.def: $(WINEBUILD)
snmpapi/snmpapi.spec.def: $(WINEBUILD)
sti/sti.spec.def: $(WINEBUILD)
tapi32/tapi32.spec.def: $(WINEBUILD)
ttydrv/ttydrv.spec.def: $(WINEBUILD)
twain/twain_32.spec.def: $(WINEBUILD)
url/url.spec.def: $(WINEBUILD)
urlmon/urlmon.spec.def: $(WINEBUILD)
user/user32.spec.def: $(WINEBUILD)
version/version.spec.def: $(WINEBUILD)
win32s/w32skrnl.spec.def: $(WINEBUILD)
winedos/winedos.spec.def: $(WINEBUILD)
wineps/wineps.spec.def: $(WINEBUILD)
wininet/wininet.spec.def: $(WINEBUILD)
winmm/winmm.spec.def: $(WINEBUILD)
winnls/winnls32.spec.def: $(WINEBUILD)
winspool/winspool.drv.spec.def: $(WINEBUILD)
1149
wintab32/wintab32.spec.def: $(WINEBUILD)
1150 1151 1152 1153 1154 1155 1156
wintrust/wintrust.spec.def: $(WINEBUILD)
winaspi/wnaspi32.spec.def: $(WINEBUILD)
wow32/wow32.spec.def: $(WINEBUILD)
winsock/ws2_32.spec.def: $(WINEBUILD)
wsock32/wsock32.spec.def: $(WINEBUILD)
x11drv/x11drv.spec.def: $(WINEBUILD)

1157 1158
$(SUBDIRS): $(IMPORT_LIBS:%=%.$(IMPLIBEXT))
$(SUBDIRS:%=%/__crosstest__): $(IMPORT_LIBS:%=%.a)
1159

1160 1161 1162 1163 1164
# Map library name to the corresponding directory

advapi32/advapi32.dll$(DLLEXT): advapi32
avicap32/avicap32.dll$(DLLEXT): avicap32
avifil32/avifil32.dll$(DLLEXT): avifil32
1165
cabinet/cabinet.dll$(DLLEXT): cabinet
1166 1167 1168 1169 1170
comcat/comcat.dll$(DLLEXT): comcat
comctl32/comctl32.dll$(DLLEXT): comctl32
commdlg/comdlg32.dll$(DLLEXT): commdlg
crtdll/crtdll.dll$(DLLEXT): crtdll
crypt32/crypt32.dll$(DLLEXT): crypt32
1171
d3d8/d3d8.dll$(DLLEXT): d3d8
Raphael Junqueira's avatar
Raphael Junqueira committed
1172
d3dx8/d3dx8.dll$(DLLEXT): d3dx8
1173 1174 1175 1176
dciman32/dciman32.dll$(DLLEXT): dciman32
ddraw/ddraw.dll$(DLLEXT): ddraw
devenum/devenum.dll$(DLLEXT): devenum
dinput/dinput.dll$(DLLEXT): dinput
1177
dinput8/dinput8.dll$(DLLEXT): dinput8
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
dplay/dplay.dll$(DLLEXT): dplay
dplayx/dplayx.dll$(DLLEXT): dplayx
dsound/dsound.dll$(DLLEXT): dsound
gdi/gdi32.dll$(DLLEXT): gdi
glu32/glu32.dll$(DLLEXT): glu32
icmp/icmp.dll$(DLLEXT): icmp
msacm/imaadp32/imaadp32.acm$(DLLEXT): msacm/imaadp32
imagehlp/imagehlp.dll$(DLLEXT): imagehlp
imm32/imm32.dll$(DLLEXT): imm32
winmm/joystick/joystick.drv$(DLLEXT): winmm/joystick
kernel/kernel32.dll$(DLLEXT): kernel
lzexpand/lz32.dll$(DLLEXT): lzexpand
mapi32/mapi32.dll$(DLLEXT): mapi32
winmm/mcianim/mcianim.drv$(DLLEXT): winmm/mcianim
winmm/mciavi/mciavi.drv$(DLLEXT): winmm/mciavi
winmm/mcicda/mcicda.drv$(DLLEXT): winmm/mcicda
winmm/mciseq/mciseq.drv$(DLLEXT): winmm/mciseq
winmm/mciwave/mciwave.drv$(DLLEXT): winmm/mciwave
winmm/midimap/midimap.drv$(DLLEXT): winmm/midimap
mpr/mpr.dll$(DLLEXT): mpr
winmm/wavemap/msacm.drv$(DLLEXT): winmm/wavemap
msacm/msacm32.dll$(DLLEXT): msacm
msacm/msadp32/msadp32.acm$(DLLEXT): msacm/msadp32
msdmo/msdmo.dll$(DLLEXT): msdmo
msacm/msg711/msg711.acm$(DLLEXT): msacm/msg711
msimg32/msimg32.dll$(DLLEXT): msimg32
msisys/msisys.ocx$(DLLEXT): msisys
msnet32/msnet32.dll$(DLLEXT): msnet32
1206
msvideo/msrle32/msrle32.dll$(DLLEXT): msvideo/msrle32
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
msvcrt/msvcrt.dll$(DLLEXT): msvcrt
msvcrt20/msvcrt20.dll$(DLLEXT): msvcrt20
msvideo/msvfw32.dll$(DLLEXT): msvideo
netapi32/netapi32.dll$(DLLEXT): netapi32
ntdll/ntdll.dll$(DLLEXT): ntdll
odbc32/odbc32.dll$(DLLEXT): odbc32
ole32/ole32.dll$(DLLEXT): ole32
oleaut32/oleaut32.dll$(DLLEXT): oleaut32
olecli/olecli32.dll$(DLLEXT): olecli
oledlg/oledlg.dll$(DLLEXT): oledlg
olepro32/olepro32.dll$(DLLEXT): olepro32
olesvr/olesvr32.dll$(DLLEXT): olesvr
opengl32/opengl32.dll$(DLLEXT): opengl32
psapi/psapi.dll$(DLLEXT): psapi
qcap/qcap.dll$(DLLEXT): qcap
quartz/quartz.dll$(DLLEXT): quartz
rasapi32/rasapi32.dll$(DLLEXT): rasapi32
richedit/riched32.dll$(DLLEXT): richedit
rpcrt4/rpcrt4.dll$(DLLEXT): rpcrt4
serialui/serialui.dll$(DLLEXT): serialui
setupapi/setupapi.dll$(DLLEXT): setupapi
shdocvw/shdocvw.dll$(DLLEXT): shdocvw
shell32/shell32.dll$(DLLEXT): shell32
shfolder/shfolder.dll$(DLLEXT): shfolder
shlwapi/shlwapi.dll$(DLLEXT): shlwapi
snmpapi/snmpapi.dll$(DLLEXT): snmpapi
sti/sti.dll$(DLLEXT): sti
tapi32/tapi32.dll$(DLLEXT): tapi32
ttydrv/ttydrv.dll$(DLLEXT): ttydrv
twain/twain_32.dll$(DLLEXT): twain
url/url.dll$(DLLEXT): url
urlmon/urlmon.dll$(DLLEXT): urlmon
user/user32.dll$(DLLEXT): user
version/version.dll$(DLLEXT): version
win32s/w32skrnl.dll$(DLLEXT): win32s
1242
winmm/winealsa/winealsa.drv$(DLLEXT): winmm/winealsa
1243
winmm/winearts/winearts.drv$(DLLEXT): winmm/winearts
1244
winmm/wineaudioio/wineaudioio.drv$(DLLEXT): winmm/wineaudioio
1245
winedos/winedos.dll$(DLLEXT): winedos
1246
winmm/winejack/winejack.drv$(DLLEXT): winmm/winejack
1247
msacm/winemp3/winemp3.acm$(DLLEXT): msacm/winemp3
1248
winmm/winenas/winenas.drv$(DLLEXT): winmm/winenas
1249 1250 1251 1252 1253 1254
winmm/wineoss/wineoss.drv$(DLLEXT): winmm/wineoss
wineps/wineps.dll$(DLLEXT): wineps
wininet/wininet.dll$(DLLEXT): wininet
winmm/winmm.dll$(DLLEXT): winmm
winnls/winnls32.dll$(DLLEXT): winnls
winspool/winspool.drv$(DLLEXT): winspool
1255
wintab32/wintab32.dll$(DLLEXT): wintab32
1256 1257 1258 1259 1260 1261 1262
wintrust/wintrust.dll$(DLLEXT): wintrust
winaspi/wnaspi32.dll$(DLLEXT): winaspi
wow32/wow32.dll$(DLLEXT): wow32
winsock/ws2_32.dll$(DLLEXT): winsock
wsock32/wsock32.dll$(DLLEXT): wsock32
x11drv/x11drv.dll$(DLLEXT): x11drv

1263 1264 1265 1266 1267
# Install dependencies

advapi32/__install__: advapi32.dll$(DLLEXT)
avicap32/__install__: avicap32.dll$(DLLEXT)
avifil32/__install__: avifil32.dll$(DLLEXT)
1268
cabinet/__install__: cabinet.dll$(DLLEXT)
1269 1270 1271 1272 1273
comcat/__install__: comcat.dll$(DLLEXT)
comctl32/__install__: comctl32.dll$(DLLEXT)
commdlg/__install__: comdlg32.dll$(DLLEXT)
crtdll/__install__: crtdll.dll$(DLLEXT)
crypt32/__install__: crypt32.dll$(DLLEXT)
1274
d3d8/__install__: d3d8.dll$(DLLEXT)
Raphael Junqueira's avatar
Raphael Junqueira committed
1275
d3dx8/__install__: d3dx8.dll$(DLLEXT)
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308
dciman32/__install__: dciman32.dll$(DLLEXT)
ddraw/__install__: ddraw.dll$(DLLEXT)
devenum/__install__: devenum.dll$(DLLEXT)
dinput/__install__: dinput.dll$(DLLEXT)
dinput8/__install__: dinput8.dll$(DLLEXT)
dplay/__install__: dplay.dll$(DLLEXT)
dplayx/__install__: dplayx.dll$(DLLEXT)
dsound/__install__: dsound.dll$(DLLEXT)
gdi/__install__: gdi32.dll$(DLLEXT)
glu32/__install__: glu32.dll$(DLLEXT)
icmp/__install__: icmp.dll$(DLLEXT)
msacm/imaadp32/__install__: imaadp32.acm$(DLLEXT)
imagehlp/__install__: imagehlp.dll$(DLLEXT)
imm32/__install__: imm32.dll$(DLLEXT)
winmm/joystick/__install__: joystick.drv$(DLLEXT)
kernel/__install__: kernel32.dll$(DLLEXT)
lzexpand/__install__: lz32.dll$(DLLEXT)
mapi32/__install__: mapi32.dll$(DLLEXT)
winmm/mcianim/__install__: mcianim.drv$(DLLEXT)
winmm/mciavi/__install__: mciavi.drv$(DLLEXT)
winmm/mcicda/__install__: mcicda.drv$(DLLEXT)
winmm/mciseq/__install__: mciseq.drv$(DLLEXT)
winmm/mciwave/__install__: mciwave.drv$(DLLEXT)
winmm/midimap/__install__: midimap.drv$(DLLEXT)
mpr/__install__: mpr.dll$(DLLEXT)
winmm/wavemap/__install__: msacm.drv$(DLLEXT)
msacm/__install__: msacm32.dll$(DLLEXT)
msacm/msadp32/__install__: msadp32.acm$(DLLEXT)
msdmo/__install__: msdmo.dll$(DLLEXT)
msacm/msg711/__install__: msg711.acm$(DLLEXT)
msimg32/__install__: msimg32.dll$(DLLEXT)
msisys/__install__: msisys.ocx$(DLLEXT)
msnet32/__install__: msnet32.dll$(DLLEXT)
1309
msvideo/msrle32/__install__: msrle32.dll$(DLLEXT)
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344
msvcrt/__install__: msvcrt.dll$(DLLEXT)
msvcrt20/__install__: msvcrt20.dll$(DLLEXT)
msvideo/__install__: msvfw32.dll$(DLLEXT)
netapi32/__install__: netapi32.dll$(DLLEXT)
ntdll/__install__: ntdll.dll$(DLLEXT)
odbc32/__install__: odbc32.dll$(DLLEXT)
ole32/__install__: ole32.dll$(DLLEXT)
oleaut32/__install__: oleaut32.dll$(DLLEXT)
olecli/__install__: olecli32.dll$(DLLEXT)
oledlg/__install__: oledlg.dll$(DLLEXT)
olepro32/__install__: olepro32.dll$(DLLEXT)
olesvr/__install__: olesvr32.dll$(DLLEXT)
opengl32/__install__: opengl32.dll$(DLLEXT)
psapi/__install__: psapi.dll$(DLLEXT)
qcap/__install__: qcap.dll$(DLLEXT)
quartz/__install__: quartz.dll$(DLLEXT)
rasapi32/__install__: rasapi32.dll$(DLLEXT)
richedit/__install__: riched32.dll$(DLLEXT)
rpcrt4/__install__: rpcrt4.dll$(DLLEXT)
serialui/__install__: serialui.dll$(DLLEXT)
setupapi/__install__: setupapi.dll$(DLLEXT)
shdocvw/__install__: shdocvw.dll$(DLLEXT)
shell32/__install__: shell32.dll$(DLLEXT)
shfolder/__install__: shfolder.dll$(DLLEXT)
shlwapi/__install__: shlwapi.dll$(DLLEXT)
snmpapi/__install__: snmpapi.dll$(DLLEXT)
sti/__install__: sti.dll$(DLLEXT)
tapi32/__install__: tapi32.dll$(DLLEXT)
ttydrv/__install__: ttydrv.dll$(DLLEXT)
twain/__install__: twain_32.dll$(DLLEXT)
url/__install__: url.dll$(DLLEXT)
urlmon/__install__: urlmon.dll$(DLLEXT)
user/__install__: user32.dll$(DLLEXT)
version/__install__: version.dll$(DLLEXT)
win32s/__install__: w32skrnl.dll$(DLLEXT)
1345
winmm/winealsa/__install__: winealsa.drv$(DLLEXT)
1346
winmm/winearts/__install__: winearts.drv$(DLLEXT)
1347
winmm/wineaudioio/__install__: wineaudioio.drv$(DLLEXT)
1348
winedos/__install__: winedos.dll$(DLLEXT)
1349
winmm/winejack/__install__: winejack.drv$(DLLEXT)
1350
msacm/winemp3/__install__: winemp3.acm$(DLLEXT)
1351
winmm/winenas/__install__: winenas.drv$(DLLEXT)
1352 1353 1354 1355 1356 1357
winmm/wineoss/__install__: wineoss.drv$(DLLEXT)
wineps/__install__: wineps.dll$(DLLEXT)
wininet/__install__: wininet.dll$(DLLEXT)
winmm/__install__: winmm.dll$(DLLEXT)
winnls/__install__: winnls32.dll$(DLLEXT)
winspool/__install__: winspool.drv$(DLLEXT)
1358
wintab32/__install__: wintab32.dll$(DLLEXT)
1359 1360 1361 1362 1363 1364 1365
wintrust/__install__: wintrust.dll$(DLLEXT)
winaspi/__install__: wnaspi32.dll$(DLLEXT)
wow32/__install__: wow32.dll$(DLLEXT)
winsock/__install__: ws2_32.dll$(DLLEXT)
wsock32/__install__: wsock32.dll$(DLLEXT)
x11drv/__install__: x11drv.dll$(DLLEXT)

1366
# Special targets for dlls that we need to link to
1367

1368
LINKABLE_DLLS = ntdll.dll
1369

1370
libntdll.dll.$(LIBEXT): ntdll/ntdll.dll$(DLLEXT)
1371
	$(RM) $@ && $(LN_S) ntdll/ntdll.dll$(DLLEXT) $@
1372

1373 1374
kernel: libntdll.dll.$(LIBEXT)

1375
uninstall::
1376 1377
	$(RM) $(LINKABLE_DLLS:%=$(libdir)/lib%.$(LIBEXT))

1378
install install-lib::
1379
	$(RM) $(LINKABLE_DLLS:%=$(libdir)/lib%.$(LIBEXT))
1380 1381 1382 1383 1384 1385 1386
	cd $(libdir) && if [ "$(dlldir)" = "$(libdir)/wine" ]; \
	then \
	  $(LN_S) wine/ntdll.dll$(DLLEXT) libntdll.dll.$(LIBEXT); \
	else \
	  $(LN_S) $(dlldir)/ntdll.dll$(DLLEXT) libntdll.dll.$(LIBEXT); \
	fi

1387 1388
# Misc rules

1389
install install-dev:: $(IMPORT_LIBS:%=%.$(IMPLIBEXT))
1390
	$(MKINSTALLDIRS) $(dlldir)
1391
	for f in $(IMPORT_LIBS:%=%.$(IMPLIBEXT)); do $(INSTALL_DATA) $$f $(dlldir)/$$f; done
1392 1393 1394

install install-lib:: $(INSTALLSUBDIRS:%=%/__install__)

1395
uninstall::
1396
	$(RM) $(IMPORT_LIBS:%=$(dlldir)/%.$(IMPLIBEXT))
1397
	-rmdir $(dlldir)
1398

1399
clean::
1400
	$(RM) $(IMPORT_LIBS:%=%.a) $(IMPORT_LIBS:%=%.def)
1401

1402
check test:: $(BUILDSUBDIRS:%=%/__test__)
1403

1404 1405
crosstest:: $(BUILDSUBDIRS:%=%/__crosstest__)

1406
checklink:: $(BUILDSUBDIRS:%=%/__checklink__)
1407 1408

### Dependencies: