1 TOPSRCDIR
= @top_srcdir@
7 opengl32
/libopengl32.@LIBEXT@
10 ddraw
/libddraw.@LIBEXT@ \
12 x11drv
/libx11drv.@LIBEXT@
16 avifil32
/libavifil32.@LIBEXT@ \
17 comctl32
/libcomctl32.@LIBEXT@ \
18 commdlg
/libcomdlg32.@LIBEXT@ \
19 dciman32
/libdciman32.@LIBEXT@ \
20 dinput
/libdinput.@LIBEXT@ \
21 dplayx
/libdplayx.@LIBEXT@ \
22 dsound
/libdsound.@LIBEXT@ \
23 gdi
/libgdi32.@LIBEXT@ \
24 icmp
/libicmp.@LIBEXT@ \
25 imagehlp
/libimagehlp.@LIBEXT@ \
26 imm32
/libimm32.@LIBEXT@ \
27 kernel
/libkernel32.@LIBEXT@ \
28 lzexpand
/liblz32.@LIBEXT@ \
30 msacm
/libmsacm.@LIBEXT@ \
31 msacm32
/libmsacm32.@LIBEXT@ \
32 msnet32
/libmsnet32.@LIBEXT@ \
33 msvideo
/libmsvfw32.@LIBEXT@ \
34 odbc32
/libodbc32.@LIBEXT@ \
35 ole32
/libole32.@LIBEXT@ \
36 oleaut32
/liboleaut32.@LIBEXT@ \
37 olecli
/libolecli32.@LIBEXT@ \
38 oledlg
/liboledlg.@LIBEXT@ \
39 olepro32
/libolepro32.@LIBEXT@ \
40 olesvr
/libolesvr32.@LIBEXT@ \
41 psapi
/libpsapi.@LIBEXT@ \
42 rasapi32
/librasapi32.@LIBEXT@ \
43 richedit
/libriched32.@LIBEXT@ \
44 setupx
/libsetupx.@LIBEXT@ \
45 shell32
/libshell32.@LIBEXT@ \
46 sound
/libsound.@LIBEXT@ \
47 stress
/libstress.@LIBEXT@ \
48 tapi32
/libtapi32.@LIBEXT@ \
49 ttydrv
/libttydrv.@LIBEXT@ \
50 urlmon
/liburlmon.@LIBEXT@ \
51 user
/libuser32.@LIBEXT@ \
52 version
/libversion.@LIBEXT@ \
53 win32s
/libw32skrnl.@LIBEXT@ \
54 win87em
/libwin87em.@LIBEXT@ \
55 winaspi
/libwnaspi32.@LIBEXT@ \
56 windebug
/libwindebug.@LIBEXT@ \
57 wineps
/libwineps.@LIBEXT@ \
58 wing
/libwing.@LIBEXT@ \
59 wininet
/libwininet.@LIBEXT@ \
60 winmm
/joystick
/libjoystick.drv.@LIBEXT@ \
61 winmm
/libwinmm.@LIBEXT@ \
62 winmm
/mcianim
/libmcianim.drv.@LIBEXT@ \
63 winmm
/mciavi
/libmciavi.drv.@LIBEXT@ \
64 winmm
/mcicda
/libmcicda.drv.@LIBEXT@ \
65 winmm
/mciseq
/libmciseq.drv.@LIBEXT@ \
66 winmm
/mciwave
/libmciwave.drv.@LIBEXT@ \
67 winmm
/midimap
/libmidimap.drv.@LIBEXT@ \
68 winmm
/wavemap
/libmsacm.drv.@LIBEXT@ \
69 winmm
/wineoss
/libwineoss.drv.@LIBEXT@ \
70 winsock
/libwsock32.@LIBEXT@ \
71 winspool
/libwinspool.drv.@LIBEXT@
73 # extra names for dlls containing multiple spec files
166 all: $(DLLS
:%=lib
%.@LIBEXT@
) $(EXTRADLLNAMES
:%=lib
%.@LIBEXT@
)
168 # Map library name to directory
170 libavifil32.@LIBEXT@ libavifile.@LIBEXT@
: avifil32
/libavifil32.@LIBEXT@
171 $(RM
) $@
&& $(LN_S
) avifil32
/libavifil32.@LIBEXT@
$@
173 libcomctl32.@LIBEXT@
: comctl32
/libcomctl32.@LIBEXT@
174 $(RM
) $@
&& $(LN_S
) comctl32
/libcomctl32.@LIBEXT@
$@
176 libcomdlg32.@LIBEXT@ libcommdlg.@LIBEXT@
: commdlg
/libcomdlg32.@LIBEXT@
177 $(RM
) $@
&& $(LN_S
) commdlg
/libcomdlg32.@LIBEXT@
$@
179 libdciman32.@LIBEXT@
: dciman32
/libdciman32.@LIBEXT@
180 $(RM
) $@
&& $(LN_S
) dciman32
/libdciman32.@LIBEXT@
$@
182 libddraw.@LIBEXT@
: ddraw
/libddraw.@LIBEXT@
183 $(RM
) $@
&& $(LN_S
) ddraw
/libddraw.@LIBEXT@
$@
185 libdinput.@LIBEXT@
: dinput
/libdinput.@LIBEXT@
186 $(RM
) $@
&& $(LN_S
) dinput
/libdinput.@LIBEXT@
$@
188 libdplayx.@LIBEXT@ libdplay.@LIBEXT@
: dplayx
/libdplayx.@LIBEXT@
189 $(RM
) $@
&& $(LN_S
) dplayx
/libdplayx.@LIBEXT@
$@
191 libdsound.@LIBEXT@
: dsound
/libdsound.@LIBEXT@
192 $(RM
) $@
&& $(LN_S
) dsound
/libdsound.@LIBEXT@
$@
194 libgdi32.@LIBEXT@ libgdi.@LIBEXT@ libdispdib.@LIBEXT@
: gdi
/libgdi32.@LIBEXT@
195 $(RM
) $@
&& $(LN_S
) gdi
/libgdi32.@LIBEXT@
$@
197 libicmp.@LIBEXT@
: icmp
/libicmp.@LIBEXT@
198 $(RM
) $@
&& $(LN_S
) icmp
/libicmp.@LIBEXT@
$@
200 libimagehlp.@LIBEXT@
: imagehlp
/libimagehlp.@LIBEXT@
201 $(RM
) $@
&& $(LN_S
) imagehlp
/libimagehlp.@LIBEXT@
$@
203 libimm32.@LIBEXT@
: imm32
/libimm32.@LIBEXT@
204 $(RM
) $@
&& $(LN_S
) imm32
/libimm32.@LIBEXT@
$@
206 libkernel32.@LIBEXT@ libwow32.@LIBEXT@ libcomm.@LIBEXT@ libkernel.@LIBEXT@ libsystem.@LIBEXT@ libtoolhelp.@LIBEXT@ libwprocs.@LIBEXT@
: kernel
/libkernel32.@LIBEXT@
207 $(RM
) $@
&& $(LN_S
) kernel
/libkernel32.@LIBEXT@
$@
209 libjoystick.drv.@LIBEXT@
: winmm
/joystick
/libjoystick.drv.@LIBEXT@
210 $(RM
) $@
&& $(LN_S
) winmm
/joystick
/libjoystick.drv.@LIBEXT@
$@
212 liblz32.@LIBEXT@ liblzexpand.@LIBEXT@
: lzexpand
/liblz32.@LIBEXT@
213 $(RM
) $@
&& $(LN_S
) lzexpand
/liblz32.@LIBEXT@
$@
215 libmcianim.drv.@LIBEXT@
: winmm
/mcianim
/libmcianim.drv.@LIBEXT@
216 $(RM
) $@
&& $(LN_S
) winmm
/mcianim
/libmcianim.drv.@LIBEXT@
$@
218 libmciavi.drv.@LIBEXT@
: winmm
/mciavi
/libmciavi.drv.@LIBEXT@
219 $(RM
) $@
&& $(LN_S
) winmm
/mciavi
/libmciavi.drv.@LIBEXT@
$@
221 libmcicda.drv.@LIBEXT@
: winmm
/mcicda
/libmcicda.drv.@LIBEXT@
222 $(RM
) $@
&& $(LN_S
) winmm
/mcicda
/libmcicda.drv.@LIBEXT@
$@
224 libmciseq.drv.@LIBEXT@
: winmm
/mciseq
/libmciseq.drv.@LIBEXT@
225 $(RM
) $@
&& $(LN_S
) winmm
/mciseq
/libmciseq.drv.@LIBEXT@
$@
227 libmciwave.drv.@LIBEXT@
: winmm
/mciwave
/libmciwave.drv.@LIBEXT@
228 $(RM
) $@
&& $(LN_S
) winmm
/mciwave
/libmciwave.drv.@LIBEXT@
$@
230 libmidimap.drv.@LIBEXT@
: winmm
/midimap
/libmidimap.drv.@LIBEXT@
231 $(RM
) $@
&& $(LN_S
) winmm
/midimap
/libmidimap.drv.@LIBEXT@
$@
233 libmpr.@LIBEXT@
: mpr
/libmpr.@LIBEXT@
234 $(RM
) $@
&& $(LN_S
) mpr
/libmpr.@LIBEXT@
$@
236 libmsacm.@LIBEXT@
: msacm
/libmsacm.@LIBEXT@
237 $(RM
) $@
&& $(LN_S
) msacm
/libmsacm.@LIBEXT@
$@
239 libmsacm.drv.@LIBEXT@
: winmm
/wavemap
/libmsacm.drv.@LIBEXT@
240 $(RM
) $@
&& $(LN_S
) winmm
/wavemap
/libmsacm.drv.@LIBEXT@
$@
242 libmsacm32.@LIBEXT@
: msacm32
/libmsacm32.@LIBEXT@
243 $(RM
) $@
&& $(LN_S
) msacm32
/libmsacm32.@LIBEXT@
$@
245 libmsnet32.@LIBEXT@
: msnet32
/libmsnet32.@LIBEXT@
246 $(RM
) $@
&& $(LN_S
) msnet32
/libmsnet32.@LIBEXT@
$@
248 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@
: msvideo
/libmsvfw32.@LIBEXT@
249 $(RM
) $@
&& $(LN_S
) msvideo
/libmsvfw32.@LIBEXT@
$@
251 libodbc32.@LIBEXT@
: odbc32
/libodbc32.@LIBEXT@
252 $(RM
) $@
&& $(LN_S
) odbc32
/libodbc32.@LIBEXT@
$@
254 libole32.@LIBEXT@ libole2.@LIBEXT@ libole2conv.@LIBEXT@ libole2nls.@LIBEXT@ libole2prox.@LIBEXT@ libole2thk.@LIBEXT@ libstorage.@LIBEXT@ libcompobj.@LIBEXT@
: ole32
/libole32.@LIBEXT@
255 $(RM
) $@
&& $(LN_S
) ole32
/libole32.@LIBEXT@
$@
257 liboleaut32.@LIBEXT@ libole2disp.@LIBEXT@ libtypelib.@LIBEXT@
: oleaut32
/liboleaut32.@LIBEXT@
258 $(RM
) $@
&& $(LN_S
) oleaut32
/liboleaut32.@LIBEXT@
$@
260 libolecli32.@LIBEXT@ libolecli.@LIBEXT@
: olecli
/libolecli32.@LIBEXT@
261 $(RM
) $@
&& $(LN_S
) olecli
/libolecli32.@LIBEXT@
$@
263 liboledlg.@LIBEXT@
: oledlg
/liboledlg.@LIBEXT@
264 $(RM
) $@
&& $(LN_S
) oledlg
/liboledlg.@LIBEXT@
$@
266 libolepro32.@LIBEXT@
: olepro32
/libolepro32.@LIBEXT@
267 $(RM
) $@
&& $(LN_S
) olepro32
/libolepro32.@LIBEXT@
$@
269 libolesvr32.@LIBEXT@ libolesvr.@LIBEXT@
: olesvr
/libolesvr32.@LIBEXT@
270 $(RM
) $@
&& $(LN_S
) olesvr
/libolesvr32.@LIBEXT@
$@
272 libopengl32.@LIBEXT@
: opengl32
/libopengl32.@LIBEXT@
273 $(RM
) $@
&& $(LN_S
) opengl32
/libopengl32.@LIBEXT@
$@
275 libpsapi.@LIBEXT@
: psapi
/libpsapi.@LIBEXT@
276 $(RM
) $@
&& $(LN_S
) psapi
/libpsapi.@LIBEXT@
$@
278 librasapi32.@LIBEXT@ librasapi16.@LIBEXT@
: rasapi32
/librasapi32.@LIBEXT@
279 $(RM
) $@
&& $(LN_S
) rasapi32
/librasapi32.@LIBEXT@
$@
281 libriched32.@LIBEXT@
: richedit
/libriched32.@LIBEXT@
282 $(RM
) $@
&& $(LN_S
) richedit
/libriched32.@LIBEXT@
$@
284 libsetupx.@LIBEXT@
: setupx
/libsetupx.@LIBEXT@
285 $(RM
) $@
&& $(LN_S
) setupx
/libsetupx.@LIBEXT@
$@
287 libshell32.@LIBEXT@ libshell.@LIBEXT@ libshlwapi.@LIBEXT@
: shell32
/libshell32.@LIBEXT@
288 $(RM
) $@
&& $(LN_S
) shell32
/libshell32.@LIBEXT@
$@
290 libsound.@LIBEXT@
: sound
/libsound.@LIBEXT@
291 $(RM
) $@
&& $(LN_S
) sound
/libsound.@LIBEXT@
$@
293 libstress.@LIBEXT@
: stress
/libstress.@LIBEXT@
294 $(RM
) $@
&& $(LN_S
) stress
/libstress.@LIBEXT@
$@
296 libtapi32.@LIBEXT@
: tapi32
/libtapi32.@LIBEXT@
297 $(RM
) $@
&& $(LN_S
) tapi32
/libtapi32.@LIBEXT@
$@
299 libttydrv.@LIBEXT@
: ttydrv
/libttydrv.@LIBEXT@
300 $(RM
) $@
&& $(LN_S
) ttydrv
/libttydrv.@LIBEXT@
$@
302 liburlmon.@LIBEXT@
: urlmon
/liburlmon.@LIBEXT@
303 $(RM
) $@
&& $(LN_S
) urlmon
/liburlmon.@LIBEXT@
$@
305 libuser32.@LIBEXT@ libuser.@LIBEXT@ libkeyboard.@LIBEXT@ libddeml.@LIBEXT@
: user
/libuser32.@LIBEXT@
306 $(RM
) $@
&& $(LN_S
) user
/libuser32.@LIBEXT@
$@
308 libversion.@LIBEXT@ libver.@LIBEXT@
: version
/libversion.@LIBEXT@
309 $(RM
) $@
&& $(LN_S
) version
/libversion.@LIBEXT@
$@
311 libw32skrnl.@LIBEXT@ libw32sys.@LIBEXT@ libwin32s16.@LIBEXT@
: win32s
/libw32skrnl.@LIBEXT@
312 $(RM
) $@
&& $(LN_S
) win32s
/libw32skrnl.@LIBEXT@
$@
314 libwin87em.@LIBEXT@
: win87em
/libwin87em.@LIBEXT@
315 $(RM
) $@
&& $(LN_S
) win87em
/libwin87em.@LIBEXT@
$@
317 libwindebug.@LIBEXT@
: windebug
/libwindebug.@LIBEXT@
318 $(RM
) $@
&& $(LN_S
) windebug
/libwindebug.@LIBEXT@
$@
320 libwineoss.drv.@LIBEXT@
: winmm
/wineoss
/libwineoss.drv.@LIBEXT@
321 $(RM
) $@
&& $(LN_S
) winmm
/wineoss
/libwineoss.drv.@LIBEXT@
$@
323 libwineps.@LIBEXT@
: wineps
/libwineps.@LIBEXT@
324 $(RM
) $@
&& $(LN_S
) wineps
/libwineps.@LIBEXT@
$@
326 libwing.@LIBEXT@
: wing
/libwing.@LIBEXT@
327 $(RM
) $@
&& $(LN_S
) wing
/libwing.@LIBEXT@
$@
329 libwininet.@LIBEXT@
: wininet
/libwininet.@LIBEXT@
330 $(RM
) $@
&& $(LN_S
) wininet
/libwininet.@LIBEXT@
$@
332 libwinmm.@LIBEXT@ libmmsystem.@LIBEXT@
: winmm
/libwinmm.@LIBEXT@
333 $(RM
) $@
&& $(LN_S
) winmm
/libwinmm.@LIBEXT@
$@
335 libwinspool.drv.@LIBEXT@
: winspool
/libwinspool.drv.@LIBEXT@
336 $(RM
) $@
&& $(LN_S
) winspool
/libwinspool.drv.@LIBEXT@
$@
338 libwnaspi32.@LIBEXT@ libwinaspi.@LIBEXT@
: winaspi
/libwnaspi32.@LIBEXT@
339 $(RM
) $@
&& $(LN_S
) winaspi
/libwnaspi32.@LIBEXT@
$@
341 libwsock32.@LIBEXT@ libwinsock.@LIBEXT@
: winsock
/libwsock32.@LIBEXT@
342 $(RM
) $@
&& $(LN_S
) winsock
/libwsock32.@LIBEXT@
$@
344 libx11drv.@LIBEXT@
: x11drv
/libx11drv.@LIBEXT@
345 $(RM
) $@
&& $(LN_S
) x11drv
/libx11drv.@LIBEXT@
$@
347 # Inter-dll dependencies (only necessary for .so)
349 avifil32
/libavifil32.so
: libmsvfw32.so libwinmm.so
350 commdlg
/libcomdlg32.so
: libwinspool.drv.so
351 ddraw
/libddraw.so
: libx11drv.so
352 dplayx
/libdplayx.so
: libole32.so
353 msvideo
/libmsvfw32.so
: libwinmm.so
354 oleaut32
/liboleaut32.so
: libole32.so libcomctl32.so
355 olecli
/libolecli32.so
: libolesvr32.so libole32.so
356 olepro32
/libolepro32.so
: liboleaut32.so libole32.so
357 opengl32
/libopengl32.so
: libx11drv.so libgdi32.so
358 shell32
/libshell32.so
: libole32.so
359 urlmon
/liburlmon.so
: libole32.so
360 version
/libversion.so
: liblz32.so
361 winmm
/joystick
/libjoystick.drv.so
: libwinmm.so
362 winmm
/mcianim
/libmcianim.drv.so
: libwinmm.so
363 winmm
/mciavi
/libmciavi.drv.so
: libwinmm.so
364 winmm
/mcicda
/libmcicda.drv.so
: libwinmm.so
365 winmm
/mciseq
/libmciseq.drv.so
: libwinmm.so
366 winmm
/mciwave
/libmciwave.drv.so
: libwinmm.so
367 winmm
/midimap
/libmidimap.drv.so
: libwinmm.so
368 winmm
/wavemap
/libmsacm.drv.so
: libwinmm.so
369 winmm
/wineoss
/libwineoss.drv.so
: libwinmm.so
373 @cd
`dirname $@` && $(MAKE
)
375 $(DLLFILES
:%=%_install_
): dummy
376 @cd
`dirname $@` && $(MAKE
) install
378 $(DLLFILES
:%=%_uninstall_
): dummy
379 @cd
`dirname $@` && $(MAKE
) uninstall
381 $(DLLFILES
:%=%_checklink_
): dummy
382 @cd
`dirname $@` && $(MAKE
) checklink
384 install:: $(DLLFILES
:%=%_install_
)
386 uninstall:: $(DLLFILES
:%=%_uninstall_
)
388 checklink
:: $(DLLFILES
:%=%_checklink_
)