1 TOPSRCDIR
= @top_srcdir@
7 opengl32
/libopengl32.@LIBEXT@
10 ddraw
/libddraw.@LIBEXT@ \
12 x11drv
/libx11drv.@LIBEXT@
16 advapi32
/libadvapi32.@LIBEXT@ \
17 avifil32
/libavifil32.@LIBEXT@ \
18 comctl32
/libcomctl32.@LIBEXT@ \
19 commdlg
/libcomdlg32.@LIBEXT@ \
20 crtdll
/libcrtdll.@LIBEXT@ \
21 dciman32
/libdciman32.@LIBEXT@ \
22 dinput
/libdinput.@LIBEXT@ \
23 dplay
/libdplay.@LIBEXT@ \
24 dplayx
/libdplayx.@LIBEXT@ \
25 dsound
/libdsound.@LIBEXT@ \
26 gdi
/libgdi32.@LIBEXT@ \
27 icmp
/libicmp.@LIBEXT@ \
28 imagehlp
/libimagehlp.@LIBEXT@ \
29 imm32
/libimm32.@LIBEXT@ \
30 kernel
/libkernel32.@LIBEXT@ \
31 lzexpand
/liblz32.@LIBEXT@ \
33 msacm
/libmsacm32.@LIBEXT@ \
34 msnet32
/libmsnet32.@LIBEXT@ \
35 msvideo
/libmsvfw32.@LIBEXT@ \
36 odbc32
/libodbc32.@LIBEXT@ \
37 ole32
/libole32.@LIBEXT@ \
38 oleaut32
/liboleaut32.@LIBEXT@ \
39 olecli
/libolecli32.@LIBEXT@ \
40 oledlg
/liboledlg.@LIBEXT@ \
41 olepro32
/libolepro32.@LIBEXT@ \
42 olesvr
/libolesvr32.@LIBEXT@ \
43 psapi
/libpsapi.@LIBEXT@ \
44 rasapi32
/librasapi32.@LIBEXT@ \
45 richedit
/libriched32.@LIBEXT@ \
46 rpcrt4
/librpcrt4.@LIBEXT@ \
47 serialui
/libserialui.@LIBEXT@ \
48 setupapi
/libsetupapi.@LIBEXT@ \
49 shell32
/libshell32.@LIBEXT@ \
50 shfolder
/libshfolder.@LIBEXT@ \
51 shlwapi
/libshlwapi.@LIBEXT@ \
52 tapi32
/libtapi32.@LIBEXT@ \
53 ttydrv
/libttydrv.@LIBEXT@ \
54 urlmon
/liburlmon.@LIBEXT@ \
55 user
/libuser32.@LIBEXT@ \
56 version
/libversion.@LIBEXT@ \
57 win32s
/libw32skrnl.@LIBEXT@ \
58 winaspi
/libwnaspi32.@LIBEXT@ \
59 wineps
/libwineps.@LIBEXT@ \
60 wininet
/libwininet.@LIBEXT@ \
61 winmm
/joystick
/libjoystick.drv.@LIBEXT@ \
62 winmm
/libwinmm.@LIBEXT@ \
63 winmm
/mcianim
/libmcianim.drv.@LIBEXT@ \
64 winmm
/mciavi
/libmciavi.drv.@LIBEXT@ \
65 winmm
/mcicda
/libmcicda.drv.@LIBEXT@ \
66 winmm
/mciseq
/libmciseq.drv.@LIBEXT@ \
67 winmm
/mciwave
/libmciwave.drv.@LIBEXT@ \
68 winmm
/midimap
/libmidimap.drv.@LIBEXT@ \
69 winmm
/wavemap
/libmsacm.drv.@LIBEXT@ \
70 winmm
/wineoss
/libwineoss.drv.@LIBEXT@ \
71 winsock
/libws2_32.@LIBEXT@ \
72 winspool
/libwinspool.drv.@LIBEXT@ \
73 wow32
/libwow32.@LIBEXT@ \
74 wsock32
/libwsock32.@LIBEXT@
76 # extra names for dlls containing multiple spec files
179 all: $(DLLS
:%=lib
%.@LIBEXT@
) $(EXTRADLLNAMES
:%=lib
%.@LIBEXT@
)
181 # Map library name to directory
183 libadvapi32.@LIBEXT@
: advapi32
/libadvapi32.@LIBEXT@
184 $(RM
) $@
&& $(LN_S
) advapi32
/libadvapi32.@LIBEXT@
$@
186 libavifil32.@LIBEXT@ libavifile.@LIBEXT@
: avifil32
/libavifil32.@LIBEXT@
187 $(RM
) $@
&& $(LN_S
) avifil32
/libavifil32.@LIBEXT@
$@
189 libcomctl32.@LIBEXT@
: comctl32
/libcomctl32.@LIBEXT@
190 $(RM
) $@
&& $(LN_S
) comctl32
/libcomctl32.@LIBEXT@
$@
192 libcomdlg32.@LIBEXT@ libcommdlg.@LIBEXT@
: commdlg
/libcomdlg32.@LIBEXT@
193 $(RM
) $@
&& $(LN_S
) commdlg
/libcomdlg32.@LIBEXT@
$@
195 libcrtdll.@LIBEXT@
: crtdll
/libcrtdll.@LIBEXT@
196 $(RM
) $@
&& $(LN_S
) crtdll
/libcrtdll.@LIBEXT@
$@
198 libdciman32.@LIBEXT@
: dciman32
/libdciman32.@LIBEXT@
199 $(RM
) $@
&& $(LN_S
) dciman32
/libdciman32.@LIBEXT@
$@
201 libddraw.@LIBEXT@
: ddraw
/libddraw.@LIBEXT@
202 $(RM
) $@
&& $(LN_S
) ddraw
/libddraw.@LIBEXT@
$@
204 libdinput.@LIBEXT@
: dinput
/libdinput.@LIBEXT@
205 $(RM
) $@
&& $(LN_S
) dinput
/libdinput.@LIBEXT@
$@
207 libdplay.@LIBEXT@
: dplay
/libdplay.@LIBEXT@
208 $(RM
) $@
&& $(LN_S
) dplay
/libdplay.@LIBEXT@
$@
210 libdplayx.@LIBEXT@
: dplayx
/libdplayx.@LIBEXT@
211 $(RM
) $@
&& $(LN_S
) dplayx
/libdplayx.@LIBEXT@
$@
213 libdsound.@LIBEXT@
: dsound
/libdsound.@LIBEXT@
214 $(RM
) $@
&& $(LN_S
) dsound
/libdsound.@LIBEXT@
$@
216 libgdi32.@LIBEXT@ libdispdib.@LIBEXT@ libgdi.@LIBEXT@ libwing.@LIBEXT@
: gdi
/libgdi32.@LIBEXT@
217 $(RM
) $@
&& $(LN_S
) gdi
/libgdi32.@LIBEXT@
$@
219 libicmp.@LIBEXT@
: icmp
/libicmp.@LIBEXT@
220 $(RM
) $@
&& $(LN_S
) icmp
/libicmp.@LIBEXT@
$@
222 libimagehlp.@LIBEXT@
: imagehlp
/libimagehlp.@LIBEXT@
223 $(RM
) $@
&& $(LN_S
) imagehlp
/libimagehlp.@LIBEXT@
$@
225 libimm32.@LIBEXT@
: imm32
/libimm32.@LIBEXT@
226 $(RM
) $@
&& $(LN_S
) imm32
/libimm32.@LIBEXT@
$@
228 libjoystick.drv.@LIBEXT@
: winmm
/joystick
/libjoystick.drv.@LIBEXT@
229 $(RM
) $@
&& $(LN_S
) winmm
/joystick
/libjoystick.drv.@LIBEXT@
$@
231 libkernel32.@LIBEXT@ libcomm.@LIBEXT@ libkernel.@LIBEXT@ libstress.@LIBEXT@ \
232 libsystem.@LIBEXT@ libtoolhelp.@LIBEXT@ libwin87em.@LIBEXT@ libwindebug.@LIBEXT@ \
233 libwprocs.@LIBEXT@
: kernel
/libkernel32.@LIBEXT@
234 $(RM
) $@
&& $(LN_S
) kernel
/libkernel32.@LIBEXT@
$@
236 liblz32.@LIBEXT@ liblzexpand.@LIBEXT@
: lzexpand
/liblz32.@LIBEXT@
237 $(RM
) $@
&& $(LN_S
) lzexpand
/liblz32.@LIBEXT@
$@
239 libmcianim.drv.@LIBEXT@
: winmm
/mcianim
/libmcianim.drv.@LIBEXT@
240 $(RM
) $@
&& $(LN_S
) winmm
/mcianim
/libmcianim.drv.@LIBEXT@
$@
242 libmciavi.drv.@LIBEXT@
: winmm
/mciavi
/libmciavi.drv.@LIBEXT@
243 $(RM
) $@
&& $(LN_S
) winmm
/mciavi
/libmciavi.drv.@LIBEXT@
$@
245 libmcicda.drv.@LIBEXT@
: winmm
/mcicda
/libmcicda.drv.@LIBEXT@
246 $(RM
) $@
&& $(LN_S
) winmm
/mcicda
/libmcicda.drv.@LIBEXT@
$@
248 libmciseq.drv.@LIBEXT@
: winmm
/mciseq
/libmciseq.drv.@LIBEXT@
249 $(RM
) $@
&& $(LN_S
) winmm
/mciseq
/libmciseq.drv.@LIBEXT@
$@
251 libmciwave.drv.@LIBEXT@
: winmm
/mciwave
/libmciwave.drv.@LIBEXT@
252 $(RM
) $@
&& $(LN_S
) winmm
/mciwave
/libmciwave.drv.@LIBEXT@
$@
254 libmidimap.drv.@LIBEXT@
: winmm
/midimap
/libmidimap.drv.@LIBEXT@
255 $(RM
) $@
&& $(LN_S
) winmm
/midimap
/libmidimap.drv.@LIBEXT@
$@
257 libmpr.@LIBEXT@
: mpr
/libmpr.@LIBEXT@
258 $(RM
) $@
&& $(LN_S
) mpr
/libmpr.@LIBEXT@
$@
260 libmsacm.drv.@LIBEXT@
: winmm
/wavemap
/libmsacm.drv.@LIBEXT@
261 $(RM
) $@
&& $(LN_S
) winmm
/wavemap
/libmsacm.drv.@LIBEXT@
$@
263 libmsacm32.@LIBEXT@ libmsacm.@LIBEXT@
: msacm
/libmsacm32.@LIBEXT@
264 $(RM
) $@
&& $(LN_S
) msacm
/libmsacm32.@LIBEXT@
$@
266 libmsnet32.@LIBEXT@
: msnet32
/libmsnet32.@LIBEXT@
267 $(RM
) $@
&& $(LN_S
) msnet32
/libmsnet32.@LIBEXT@
$@
269 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@
: msvideo
/libmsvfw32.@LIBEXT@
270 $(RM
) $@
&& $(LN_S
) msvideo
/libmsvfw32.@LIBEXT@
$@
272 libodbc32.@LIBEXT@
: odbc32
/libodbc32.@LIBEXT@
273 $(RM
) $@
&& $(LN_S
) odbc32
/libodbc32.@LIBEXT@
$@
275 libole32.@LIBEXT@ libcompobj.@LIBEXT@ libole2.@LIBEXT@ libole2conv.@LIBEXT@ \
276 libole2nls.@LIBEXT@ libole2prox.@LIBEXT@ libole2thk.@LIBEXT@ libstorage.@LIBEXT@
: ole32
/libole32.@LIBEXT@
277 $(RM
) $@
&& $(LN_S
) ole32
/libole32.@LIBEXT@
$@
279 liboleaut32.@LIBEXT@ libole2disp.@LIBEXT@ libtypelib.@LIBEXT@
: oleaut32
/liboleaut32.@LIBEXT@
280 $(RM
) $@
&& $(LN_S
) oleaut32
/liboleaut32.@LIBEXT@
$@
282 libolecli32.@LIBEXT@ libolecli.@LIBEXT@
: olecli
/libolecli32.@LIBEXT@
283 $(RM
) $@
&& $(LN_S
) olecli
/libolecli32.@LIBEXT@
$@
285 liboledlg.@LIBEXT@
: oledlg
/liboledlg.@LIBEXT@
286 $(RM
) $@
&& $(LN_S
) oledlg
/liboledlg.@LIBEXT@
$@
288 libolepro32.@LIBEXT@
: olepro32
/libolepro32.@LIBEXT@
289 $(RM
) $@
&& $(LN_S
) olepro32
/libolepro32.@LIBEXT@
$@
291 libolesvr32.@LIBEXT@ libolesvr.@LIBEXT@
: olesvr
/libolesvr32.@LIBEXT@
292 $(RM
) $@
&& $(LN_S
) olesvr
/libolesvr32.@LIBEXT@
$@
294 libopengl32.@LIBEXT@
: opengl32
/libopengl32.@LIBEXT@
295 $(RM
) $@
&& $(LN_S
) opengl32
/libopengl32.@LIBEXT@
$@
297 libpsapi.@LIBEXT@
: psapi
/libpsapi.@LIBEXT@
298 $(RM
) $@
&& $(LN_S
) psapi
/libpsapi.@LIBEXT@
$@
300 librasapi32.@LIBEXT@ librasapi16.@LIBEXT@
: rasapi32
/librasapi32.@LIBEXT@
301 $(RM
) $@
&& $(LN_S
) rasapi32
/librasapi32.@LIBEXT@
$@
303 libriched32.@LIBEXT@
: richedit
/libriched32.@LIBEXT@
304 $(RM
) $@
&& $(LN_S
) richedit
/libriched32.@LIBEXT@
$@
306 librpcrt4.@LIBEXT@
: rpcrt4
/librpcrt4.@LIBEXT@
307 $(RM
) $@
&& $(LN_S
) rpcrt4
/librpcrt4.@LIBEXT@
$@
309 libserialui.@LIBEXT@
: serialui
/libserialui.@LIBEXT@
310 $(RM
) $@
&& $(LN_S
) serialui
/libserialui.@LIBEXT@
$@
312 libsetupapi.@LIBEXT@ libsetupx.@LIBEXT@
: setupapi
/libsetupapi.@LIBEXT@
313 $(RM
) $@
&& $(LN_S
) setupapi
/libsetupapi.@LIBEXT@
$@
315 libshell32.@LIBEXT@ libshell.@LIBEXT@
: shell32
/libshell32.@LIBEXT@
316 $(RM
) $@
&& $(LN_S
) shell32
/libshell32.@LIBEXT@
$@
318 libshfolder.@LIBEXT@
: shfolder
/libshfolder.@LIBEXT@
319 $(RM
) $@
&& $(LN_S
) shfolder
/libshfolder.@LIBEXT@
$@
321 libshlwapi.@LIBEXT@
: shlwapi
/libshlwapi.@LIBEXT@
322 $(RM
) $@
&& $(LN_S
) shlwapi
/libshlwapi.@LIBEXT@
$@
324 libtapi32.@LIBEXT@
: tapi32
/libtapi32.@LIBEXT@
325 $(RM
) $@
&& $(LN_S
) tapi32
/libtapi32.@LIBEXT@
$@
327 libttydrv.@LIBEXT@
: ttydrv
/libttydrv.@LIBEXT@
328 $(RM
) $@
&& $(LN_S
) ttydrv
/libttydrv.@LIBEXT@
$@
330 liburlmon.@LIBEXT@
: urlmon
/liburlmon.@LIBEXT@
331 $(RM
) $@
&& $(LN_S
) urlmon
/liburlmon.@LIBEXT@
$@
333 libuser32.@LIBEXT@ libddeml.@LIBEXT@ libdisplay.@LIBEXT@ libkeyboard.@LIBEXT@ \
334 libmouse.@LIBEXT@ libuser.@LIBEXT@
: user
/libuser32.@LIBEXT@
335 $(RM
) $@
&& $(LN_S
) user
/libuser32.@LIBEXT@
$@
337 libversion.@LIBEXT@ libver.@LIBEXT@
: version
/libversion.@LIBEXT@
338 $(RM
) $@
&& $(LN_S
) version
/libversion.@LIBEXT@
$@
340 libw32skrnl.@LIBEXT@ libw32sys.@LIBEXT@ libwin32s16.@LIBEXT@
: win32s
/libw32skrnl.@LIBEXT@
341 $(RM
) $@
&& $(LN_S
) win32s
/libw32skrnl.@LIBEXT@
$@
343 libwineoss.drv.@LIBEXT@
: winmm
/wineoss
/libwineoss.drv.@LIBEXT@
344 $(RM
) $@
&& $(LN_S
) winmm
/wineoss
/libwineoss.drv.@LIBEXT@
$@
346 libwineps.@LIBEXT@ libwineps16.@LIBEXT@
: wineps
/libwineps.@LIBEXT@
347 $(RM
) $@
&& $(LN_S
) wineps
/libwineps.@LIBEXT@
$@
349 libwininet.@LIBEXT@
: wininet
/libwininet.@LIBEXT@
350 $(RM
) $@
&& $(LN_S
) wininet
/libwininet.@LIBEXT@
$@
352 libwinmm.@LIBEXT@ libmmsystem.@LIBEXT@ libsound.@LIBEXT@
: winmm
/libwinmm.@LIBEXT@
353 $(RM
) $@
&& $(LN_S
) winmm
/libwinmm.@LIBEXT@
$@
355 libwinspool.drv.@LIBEXT@
: winspool
/libwinspool.drv.@LIBEXT@
356 $(RM
) $@
&& $(LN_S
) winspool
/libwinspool.drv.@LIBEXT@
$@
358 libwnaspi32.@LIBEXT@ libwinaspi.@LIBEXT@
: winaspi
/libwnaspi32.@LIBEXT@
359 $(RM
) $@
&& $(LN_S
) winaspi
/libwnaspi32.@LIBEXT@
$@
361 libwow32.@LIBEXT@
: wow32
/libwow32.@LIBEXT@
362 $(RM
) $@
&& $(LN_S
) wow32
/libwow32.@LIBEXT@
$@
364 libws2_32.@LIBEXT@ libwinsock.@LIBEXT@
: winsock
/libws2_32.@LIBEXT@
365 $(RM
) $@
&& $(LN_S
) winsock
/libws2_32.@LIBEXT@
$@
367 libwsock32.@LIBEXT@
: wsock32
/libwsock32.@LIBEXT@
368 $(RM
) $@
&& $(LN_S
) wsock32
/libwsock32.@LIBEXT@
$@
370 libx11drv.@LIBEXT@
: x11drv
/libx11drv.@LIBEXT@
371 $(RM
) $@
&& $(LN_S
) x11drv
/libx11drv.@LIBEXT@
$@
373 # Inter-dll dependencies (only necessary for .so)
375 advapi32
/libadvapi32.so
: libkernel32.so
376 avifil32
/libavifil32.so
: libmsvfw32.so libkernel32.so
377 comctl32
/libcomctl32.so
: libuser32.so libgdi32.so libkernel32.so
378 commdlg
/libcomdlg32.so
: libshell32.so libshlwapi.so libcomctl32.so libuser32.so libwinspool.drv.so libgdi32.so libkernel32.so
379 crtdll
/libcrtdll.so
: libkernel32.so
380 ddraw
/libddraw.so
: libole32.so libuser32.so libx11drv.so libgdi32.so libkernel32.so
381 dinput
/libdinput.so
: libuser32.so libkernel32.so
382 dplay
/libdplay.so
: libdplayx.so
383 dplayx
/libdplayx.so
: libole32.so libadvapi32.so libkernel32.so
384 dsound
/libdsound.so
: libwinmm.so libkernel32.so
385 gdi
/libgdi32.so
: libkernel32.so
386 icmp
/libicmp.so
: libkernel32.so
387 imagehlp
/libimagehlp.so
: libkernel32.so
388 imm32
/libimm32.so
: libkernel32.so
389 lzexpand
/liblz32.so
: libkernel32.so
390 mpr
/libmpr.so
: libkernel32.so
391 msacm
/libmsacm32.so
: libwinmm.so libkernel32.so
392 msvideo
/libmsvfw32.so
: libwinmm.so libuser32.so libgdi32.so libkernel32.so
393 ole32
/libole32.so
: libadvapi32.so libuser32.so libgdi32.so librpcrt4.so libkernel32.so
394 oleaut32
/liboleaut32.so
: libole32.so libgdi32.so libkernel32.so
395 olecli
/libolecli32.so
: libole32.so libolesvr32.so libgdi32.so
396 olepro32
/libolepro32.so
: liboleaut32.so
397 opengl32
/libopengl32.so
: libx11drv.so libkernel32.so
398 psapi
/libpsapi.so
: libkernel32.so
399 richedit
/libriched32.so
: libuser32.so libkernel32.so
400 serialui
/libserialui.so
: libuser32.so libadvapi32.so libkernel32.so
401 setupapi
/libsetupapi.so
: libadvapi32.so libkernel32.so
402 shell32
/libshell32.so
: libole32.so libshlwapi.so libcomctl32.so libadvapi32.so libuser32.so libgdi32.so libkernel32.so
403 shfolder
/libshfolder.so
: libshell32.so
404 shlwapi
/libshlwapi.so
: libadvapi32.so libuser32.so libgdi32.so libkernel32.so
405 tapi32
/libtapi32.so
: libkernel32.so
406 ttydrv
/libttydrv.so
: libuser32.so libgdi32.so libkernel32.so
407 urlmon
/liburlmon.so
: libole32.so
408 user
/libuser32.so
: libgdi32.so libkernel32.so
409 version
/libversion.so
: liblz32.so libkernel32.so
410 win32s
/libw32skrnl.so
: libkernel32.so
411 winaspi
/libwnaspi32.so
: libkernel32.so
412 wineps
/libwineps.so
: libgdi32.so libkernel32.so
413 wininet
/libwininet.so
: libuser32.so libkernel32.so
414 winmm
/joystick
/libjoystick.drv.so
: libwinmm.so libuser32.so
415 winmm
/libwinmm.so
: libuser32.so libkernel32.so
416 winmm
/mcianim
/libmcianim.drv.so
: libwinmm.so libuser32.so libkernel32.so
417 winmm
/mciavi
/libmciavi.drv.so
: libwinmm.so libuser32.so libkernel32.so
418 winmm
/mcicda
/libmcicda.drv.so
: libwinmm.so libuser32.so libkernel32.so
419 winmm
/mciseq
/libmciseq.drv.so
: libwinmm.so libuser32.so libkernel32.so
420 winmm
/mciwave
/libmciwave.drv.so
: libwinmm.so libuser32.so libkernel32.so
421 winmm
/midimap
/libmidimap.drv.so
: libwinmm.so libuser32.so libkernel32.so
422 winmm
/wavemap
/libmsacm.drv.so
: libwinmm.so libuser32.so libkernel32.so
423 winmm
/wineoss
/libwineoss.drv.so
: libwinmm.so libuser32.so libkernel32.so
424 winsock
/libws2_32.so
: libuser32.so libkernel32.so
425 winspool
/libwinspool.drv.so
: libgdi32.so libadvapi32.so libkernel32.so
426 wow32
/libwow32.so
: libkernel32.so
427 wsock32
/libwsock32.so
: libws2_32.so
428 x11drv
/libx11drv.so
: libuser32.so libgdi32.so libkernel32.so
431 @cd
`dirname $@` && $(MAKE
)
433 $(DLLFILES
:%=%_install_
): dummy
434 @cd
`dirname $@` && $(MAKE
) install
436 $(DLLFILES
:%=%_uninstall_
): dummy
437 @cd
`dirname $@` && $(MAKE
) uninstall
439 $(DLLFILES
:%=%_checklink_
): dummy
440 @cd
`dirname $@` && $(MAKE
) checklink
442 install:: $(DLLFILES
:%=%_install_
)
444 uninstall:: $(DLLFILES
:%=%_uninstall_
)
446 checklink
:: $(DLLFILES
:%=%_checklink_
)