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
178 all: $(DLLS
:%=lib
%.@LIBEXT@
) $(EXTRADLLNAMES
:%=lib
%.@LIBEXT@
)
180 # Map library name to directory
182 libadvapi32.@LIBEXT@
: advapi32
/libadvapi32.@LIBEXT@
183 $(RM
) $@
&& $(LN_S
) advapi32
/libadvapi32.@LIBEXT@
$@
185 libavifil32.@LIBEXT@ libavifile.@LIBEXT@
: avifil32
/libavifil32.@LIBEXT@
186 $(RM
) $@
&& $(LN_S
) avifil32
/libavifil32.@LIBEXT@
$@
188 libcomctl32.@LIBEXT@
: comctl32
/libcomctl32.@LIBEXT@
189 $(RM
) $@
&& $(LN_S
) comctl32
/libcomctl32.@LIBEXT@
$@
191 libcomdlg32.@LIBEXT@ libcommdlg.@LIBEXT@
: commdlg
/libcomdlg32.@LIBEXT@
192 $(RM
) $@
&& $(LN_S
) commdlg
/libcomdlg32.@LIBEXT@
$@
194 libcrtdll.@LIBEXT@
: crtdll
/libcrtdll.@LIBEXT@
195 $(RM
) $@
&& $(LN_S
) crtdll
/libcrtdll.@LIBEXT@
$@
197 libdciman32.@LIBEXT@
: dciman32
/libdciman32.@LIBEXT@
198 $(RM
) $@
&& $(LN_S
) dciman32
/libdciman32.@LIBEXT@
$@
200 libddraw.@LIBEXT@
: ddraw
/libddraw.@LIBEXT@
201 $(RM
) $@
&& $(LN_S
) ddraw
/libddraw.@LIBEXT@
$@
203 libdinput.@LIBEXT@
: dinput
/libdinput.@LIBEXT@
204 $(RM
) $@
&& $(LN_S
) dinput
/libdinput.@LIBEXT@
$@
206 libdplay.@LIBEXT@
: dplay
/libdplay.@LIBEXT@
207 $(RM
) $@
&& $(LN_S
) dplay
/libdplay.@LIBEXT@
$@
209 libdplayx.@LIBEXT@
: dplayx
/libdplayx.@LIBEXT@
210 $(RM
) $@
&& $(LN_S
) dplayx
/libdplayx.@LIBEXT@
$@
212 libdsound.@LIBEXT@
: dsound
/libdsound.@LIBEXT@
213 $(RM
) $@
&& $(LN_S
) dsound
/libdsound.@LIBEXT@
$@
215 libgdi32.@LIBEXT@ libgdi.@LIBEXT@ libdispdib.@LIBEXT@ libwing.@LIBEXT@
: gdi
/libgdi32.@LIBEXT@
216 $(RM
) $@
&& $(LN_S
) gdi
/libgdi32.@LIBEXT@
$@
218 libicmp.@LIBEXT@
: icmp
/libicmp.@LIBEXT@
219 $(RM
) $@
&& $(LN_S
) icmp
/libicmp.@LIBEXT@
$@
221 libimagehlp.@LIBEXT@
: imagehlp
/libimagehlp.@LIBEXT@
222 $(RM
) $@
&& $(LN_S
) imagehlp
/libimagehlp.@LIBEXT@
$@
224 libimm32.@LIBEXT@
: imm32
/libimm32.@LIBEXT@
225 $(RM
) $@
&& $(LN_S
) imm32
/libimm32.@LIBEXT@
$@
227 libkernel32.@LIBEXT@ libcomm.@LIBEXT@ libkernel.@LIBEXT@ libsystem.@LIBEXT@ \
228 libstress.@LIBEXT@ libtoolhelp.@LIBEXT@ libwin87em.@LIBEXT@ libwindebug.@LIBEXT@ \
229 libwprocs.@LIBEXT@
: kernel
/libkernel32.@LIBEXT@
230 $(RM
) $@
&& $(LN_S
) kernel
/libkernel32.@LIBEXT@
$@
232 libjoystick.drv.@LIBEXT@
: winmm
/joystick
/libjoystick.drv.@LIBEXT@
233 $(RM
) $@
&& $(LN_S
) winmm
/joystick
/libjoystick.drv.@LIBEXT@
$@
235 liblz32.@LIBEXT@ liblzexpand.@LIBEXT@
: lzexpand
/liblz32.@LIBEXT@
236 $(RM
) $@
&& $(LN_S
) lzexpand
/liblz32.@LIBEXT@
$@
238 libmcianim.drv.@LIBEXT@
: winmm
/mcianim
/libmcianim.drv.@LIBEXT@
239 $(RM
) $@
&& $(LN_S
) winmm
/mcianim
/libmcianim.drv.@LIBEXT@
$@
241 libmciavi.drv.@LIBEXT@
: winmm
/mciavi
/libmciavi.drv.@LIBEXT@
242 $(RM
) $@
&& $(LN_S
) winmm
/mciavi
/libmciavi.drv.@LIBEXT@
$@
244 libmcicda.drv.@LIBEXT@
: winmm
/mcicda
/libmcicda.drv.@LIBEXT@
245 $(RM
) $@
&& $(LN_S
) winmm
/mcicda
/libmcicda.drv.@LIBEXT@
$@
247 libmciseq.drv.@LIBEXT@
: winmm
/mciseq
/libmciseq.drv.@LIBEXT@
248 $(RM
) $@
&& $(LN_S
) winmm
/mciseq
/libmciseq.drv.@LIBEXT@
$@
250 libmciwave.drv.@LIBEXT@
: winmm
/mciwave
/libmciwave.drv.@LIBEXT@
251 $(RM
) $@
&& $(LN_S
) winmm
/mciwave
/libmciwave.drv.@LIBEXT@
$@
253 libmidimap.drv.@LIBEXT@
: winmm
/midimap
/libmidimap.drv.@LIBEXT@
254 $(RM
) $@
&& $(LN_S
) winmm
/midimap
/libmidimap.drv.@LIBEXT@
$@
256 libmpr.@LIBEXT@
: mpr
/libmpr.@LIBEXT@
257 $(RM
) $@
&& $(LN_S
) mpr
/libmpr.@LIBEXT@
$@
259 libmsacm.drv.@LIBEXT@
: winmm
/wavemap
/libmsacm.drv.@LIBEXT@
260 $(RM
) $@
&& $(LN_S
) winmm
/wavemap
/libmsacm.drv.@LIBEXT@
$@
262 libmsacm32.@LIBEXT@ libmsacm.@LIBEXT@
: msacm
/libmsacm32.@LIBEXT@
263 $(RM
) $@
&& $(LN_S
) msacm
/libmsacm32.@LIBEXT@
$@
265 libmsnet32.@LIBEXT@
: msnet32
/libmsnet32.@LIBEXT@
266 $(RM
) $@
&& $(LN_S
) msnet32
/libmsnet32.@LIBEXT@
$@
268 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@
: msvideo
/libmsvfw32.@LIBEXT@
269 $(RM
) $@
&& $(LN_S
) msvideo
/libmsvfw32.@LIBEXT@
$@
271 libodbc32.@LIBEXT@
: odbc32
/libodbc32.@LIBEXT@
272 $(RM
) $@
&& $(LN_S
) odbc32
/libodbc32.@LIBEXT@
$@
274 libole32.@LIBEXT@ libole2.@LIBEXT@ libole2conv.@LIBEXT@ libole2nls.@LIBEXT@ libole2prox.@LIBEXT@ libole2thk.@LIBEXT@ libstorage.@LIBEXT@ libcompobj.@LIBEXT@
: ole32
/libole32.@LIBEXT@
275 $(RM
) $@
&& $(LN_S
) ole32
/libole32.@LIBEXT@
$@
277 liboleaut32.@LIBEXT@ libole2disp.@LIBEXT@ libtypelib.@LIBEXT@
: oleaut32
/liboleaut32.@LIBEXT@
278 $(RM
) $@
&& $(LN_S
) oleaut32
/liboleaut32.@LIBEXT@
$@
280 libolecli32.@LIBEXT@ libolecli.@LIBEXT@
: olecli
/libolecli32.@LIBEXT@
281 $(RM
) $@
&& $(LN_S
) olecli
/libolecli32.@LIBEXT@
$@
283 liboledlg.@LIBEXT@
: oledlg
/liboledlg.@LIBEXT@
284 $(RM
) $@
&& $(LN_S
) oledlg
/liboledlg.@LIBEXT@
$@
286 libolepro32.@LIBEXT@
: olepro32
/libolepro32.@LIBEXT@
287 $(RM
) $@
&& $(LN_S
) olepro32
/libolepro32.@LIBEXT@
$@
289 libolesvr32.@LIBEXT@ libolesvr.@LIBEXT@
: olesvr
/libolesvr32.@LIBEXT@
290 $(RM
) $@
&& $(LN_S
) olesvr
/libolesvr32.@LIBEXT@
$@
292 libopengl32.@LIBEXT@
: opengl32
/libopengl32.@LIBEXT@
293 $(RM
) $@
&& $(LN_S
) opengl32
/libopengl32.@LIBEXT@
$@
295 libpsapi.@LIBEXT@
: psapi
/libpsapi.@LIBEXT@
296 $(RM
) $@
&& $(LN_S
) psapi
/libpsapi.@LIBEXT@
$@
298 librasapi32.@LIBEXT@ librasapi16.@LIBEXT@
: rasapi32
/librasapi32.@LIBEXT@
299 $(RM
) $@
&& $(LN_S
) rasapi32
/librasapi32.@LIBEXT@
$@
301 libriched32.@LIBEXT@
: richedit
/libriched32.@LIBEXT@
302 $(RM
) $@
&& $(LN_S
) richedit
/libriched32.@LIBEXT@
$@
304 librpcrt4.@LIBEXT@
: rpcrt4
/librpcrt4.@LIBEXT@
305 $(RM
) $@
&& $(LN_S
) rpcrt4
/librpcrt4.@LIBEXT@
$@
307 libserialui.@LIBEXT@
: serialui
/libserialui.@LIBEXT@
308 $(RM
) $@
&& $(LN_S
) serialui
/libserialui.@LIBEXT@
$@
310 libsetupapi.@LIBEXT@ libsetupx.@LIBEXT@
: setupapi
/libsetupapi.@LIBEXT@
311 $(RM
) $@
&& $(LN_S
) setupapi
/libsetupapi.@LIBEXT@
$@
313 libshell32.@LIBEXT@ libshell.@LIBEXT@
: shell32
/libshell32.@LIBEXT@
314 $(RM
) $@
&& $(LN_S
) shell32
/libshell32.@LIBEXT@
$@
316 libshfolder.@LIBEXT@
: shfolder
/libshfolder.@LIBEXT@
317 $(RM
) $@
&& $(LN_S
) shfolder
/libshfolder.@LIBEXT@
$@
319 libshlwapi.@LIBEXT@
: shlwapi
/libshlwapi.@LIBEXT@
320 $(RM
) $@
&& $(LN_S
) shlwapi
/libshlwapi.@LIBEXT@
$@
322 libtapi32.@LIBEXT@
: tapi32
/libtapi32.@LIBEXT@
323 $(RM
) $@
&& $(LN_S
) tapi32
/libtapi32.@LIBEXT@
$@
325 libttydrv.@LIBEXT@
: ttydrv
/libttydrv.@LIBEXT@
326 $(RM
) $@
&& $(LN_S
) ttydrv
/libttydrv.@LIBEXT@
$@
328 liburlmon.@LIBEXT@
: urlmon
/liburlmon.@LIBEXT@
329 $(RM
) $@
&& $(LN_S
) urlmon
/liburlmon.@LIBEXT@
$@
331 libuser32.@LIBEXT@ libuser.@LIBEXT@ libkeyboard.@LIBEXT@ libddeml.@LIBEXT@ libdisplay.@LIBEXT@ libmouse.@LIBEXT@
: user
/libuser32.@LIBEXT@
332 $(RM
) $@
&& $(LN_S
) user
/libuser32.@LIBEXT@
$@
334 libversion.@LIBEXT@ libver.@LIBEXT@
: version
/libversion.@LIBEXT@
335 $(RM
) $@
&& $(LN_S
) version
/libversion.@LIBEXT@
$@
337 libw32skrnl.@LIBEXT@ libw32sys.@LIBEXT@ libwin32s16.@LIBEXT@
: win32s
/libw32skrnl.@LIBEXT@
338 $(RM
) $@
&& $(LN_S
) win32s
/libw32skrnl.@LIBEXT@
$@
340 libwineoss.drv.@LIBEXT@
: winmm
/wineoss
/libwineoss.drv.@LIBEXT@
341 $(RM
) $@
&& $(LN_S
) winmm
/wineoss
/libwineoss.drv.@LIBEXT@
$@
343 libwineps.@LIBEXT@
: wineps
/libwineps.@LIBEXT@
344 $(RM
) $@
&& $(LN_S
) wineps
/libwineps.@LIBEXT@
$@
346 libwininet.@LIBEXT@
: wininet
/libwininet.@LIBEXT@
347 $(RM
) $@
&& $(LN_S
) wininet
/libwininet.@LIBEXT@
$@
349 libwinmm.@LIBEXT@ libmmsystem.@LIBEXT@ libsound.@LIBEXT@
: winmm
/libwinmm.@LIBEXT@
350 $(RM
) $@
&& $(LN_S
) winmm
/libwinmm.@LIBEXT@
$@
352 libwinspool.drv.@LIBEXT@
: winspool
/libwinspool.drv.@LIBEXT@
353 $(RM
) $@
&& $(LN_S
) winspool
/libwinspool.drv.@LIBEXT@
$@
355 libwnaspi32.@LIBEXT@ libwinaspi.@LIBEXT@
: winaspi
/libwnaspi32.@LIBEXT@
356 $(RM
) $@
&& $(LN_S
) winaspi
/libwnaspi32.@LIBEXT@
$@
358 libwow32.@LIBEXT@
: wow32
/libwow32.@LIBEXT@
359 $(RM
) $@
&& $(LN_S
) wow32
/libwow32.@LIBEXT@
$@
361 libws2_32.@LIBEXT@ libwinsock.@LIBEXT@
: winsock
/libws2_32.@LIBEXT@
362 $(RM
) $@
&& $(LN_S
) winsock
/libws2_32.@LIBEXT@
$@
364 libwsock32.@LIBEXT@
: wsock32
/libwsock32.@LIBEXT@
365 $(RM
) $@
&& $(LN_S
) wsock32
/libwsock32.@LIBEXT@
$@
367 libx11drv.@LIBEXT@
: x11drv
/libx11drv.@LIBEXT@
368 $(RM
) $@
&& $(LN_S
) x11drv
/libx11drv.@LIBEXT@
$@
370 # Inter-dll dependencies (only necessary for .so)
372 avifil32
/libavifil32.so
: libmsvfw32.so libwinmm.so
373 commdlg
/libcomdlg32.so
: libwinspool.drv.so
374 dinput
/libdinput.so
: libuser32.so
375 ddraw
/libddraw.so
: libx11drv.so
376 dplayx
/libdplayx.so
: libole32.so
377 dsound
/libdsound.so
: libwinmm.so
378 msvideo
/libmsvfw32.so
: libwinmm.so
379 ole32
/libole32.so
: librpcrt4.so libkernel32.so
380 oleaut32
/liboleaut32.so
: libole32.so libcomctl32.so
381 olecli
/libolecli32.so
: libolesvr32.so libole32.so
382 olepro32
/libolepro32.so
: liboleaut32.so libole32.so
383 opengl32
/libopengl32.so
: libx11drv.so libgdi32.so
384 shell32
/libshell32.so
: libole32.so libshlwapi.so
385 shfolder
/libshfolder.so
: libshell32.so
386 urlmon
/liburlmon.so
: libole32.so
387 version
/libversion.so
: liblz32.so
388 win32s
/libw32skrnl.so
: libkernel32.so
389 winmm
/joystick
/libjoystick.drv.so
: libwinmm.so
390 winmm
/mcianim
/libmcianim.drv.so
: libwinmm.so
391 winmm
/mciavi
/libmciavi.drv.so
: libwinmm.so
392 winmm
/mcicda
/libmcicda.drv.so
: libwinmm.so
393 winmm
/mciseq
/libmciseq.drv.so
: libwinmm.so
394 winmm
/mciwave
/libmciwave.drv.so
: libwinmm.so
395 winmm
/midimap
/libmidimap.drv.so
: libwinmm.so
396 winmm
/wavemap
/libmsacm.drv.so
: libwinmm.so
397 winmm
/wineoss
/libwineoss.drv.so
: libwinmm.so
398 wsock32
/libwsock32.so
: libws2_32.so
401 @cd
`dirname $@` && $(MAKE
)
403 $(DLLFILES
:%=%_install_
): dummy
404 @cd
`dirname $@` && $(MAKE
) install
406 $(DLLFILES
:%=%_uninstall_
): dummy
407 @cd
`dirname $@` && $(MAKE
) uninstall
409 $(DLLFILES
:%=%_checklink_
): dummy
410 @cd
`dirname $@` && $(MAKE
) checklink
412 install:: $(DLLFILES
:%=%_install_
)
414 uninstall:: $(DLLFILES
:%=%_uninstall_
)
416 checklink
:: $(DLLFILES
:%=%_checklink_
)