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 ntdll/libntdll.@LIBEXT@ \
37 odbc32/libodbc32.@LIBEXT@ \
38 ole32/libole32.@LIBEXT@ \
39 oleaut32/liboleaut32.@LIBEXT@ \
40 olecli/libolecli32.@LIBEXT@ \
41 oledlg/liboledlg.@LIBEXT@ \
42 olepro32/libolepro32.@LIBEXT@ \
43 olesvr/libolesvr32.@LIBEXT@ \
44 psapi/libpsapi.@LIBEXT@ \
45 rasapi32/librasapi32.@LIBEXT@ \
46 richedit/libriched32.@LIBEXT@ \
47 rpcrt4/librpcrt4.@LIBEXT@ \
48 serialui/libserialui.@LIBEXT@ \
49 setupapi/libsetupapi.@LIBEXT@ \
50 shell32/libshell32.@LIBEXT@ \
51 shfolder/libshfolder.@LIBEXT@ \
52 shlwapi/libshlwapi.@LIBEXT@ \
53 tapi32/libtapi32.@LIBEXT@ \
54 ttydrv/libttydrv.@LIBEXT@ \
55 urlmon/liburlmon.@LIBEXT@ \
56 user/libuser32.@LIBEXT@ \
57 version/libversion.@LIBEXT@ \
58 win32s/libw32skrnl.@LIBEXT@ \
59 winaspi/libwnaspi32.@LIBEXT@ \
60 wineps/libwineps.@LIBEXT@ \
61 wininet/libwininet.@LIBEXT@ \
62 winmm/joystick/libjoystick.drv.@LIBEXT@ \
63 winmm/libwinmm.@LIBEXT@ \
64 winmm/mcianim/libmcianim.drv.@LIBEXT@ \
65 winmm/mciavi/libmciavi.drv.@LIBEXT@ \
66 winmm/mcicda/libmcicda.drv.@LIBEXT@ \
67 winmm/mciseq/libmciseq.drv.@LIBEXT@ \
68 winmm/mciwave/libmciwave.drv.@LIBEXT@ \
69 winmm/midimap/libmidimap.drv.@LIBEXT@ \
70 winmm/wavemap/libmsacm.drv.@LIBEXT@ \
71 winmm/wineoss/libwineoss.drv.@LIBEXT@ \
72 winsock/libws2_32.@LIBEXT@ \
73 winspool/libwinspool.drv.@LIBEXT@ \
74 wow32/libwow32.@LIBEXT@ \
75 wsock32/libwsock32.@LIBEXT@
77 # extra names for dlls containing multiple spec files
181 all: $(DLLS:%=lib%.@LIBEXT@) $(EXTRADLLNAMES:%=lib%.@LIBEXT@)
183 # Map library name to directory
185 libadvapi32.@LIBEXT@: advapi32/libadvapi32.@LIBEXT@
186 $(RM) $@ && $(LN_S) advapi32/libadvapi32.@LIBEXT@ $@
188 libavifil32.@LIBEXT@ libavifile.@LIBEXT@: avifil32/libavifil32.@LIBEXT@
189 $(RM) $@ && $(LN_S) avifil32/libavifil32.@LIBEXT@ $@
191 libcomctl32.@LIBEXT@: comctl32/libcomctl32.@LIBEXT@
192 $(RM) $@ && $(LN_S) comctl32/libcomctl32.@LIBEXT@ $@
194 libcomdlg32.@LIBEXT@ libcommdlg.@LIBEXT@: commdlg/libcomdlg32.@LIBEXT@
195 $(RM) $@ && $(LN_S) commdlg/libcomdlg32.@LIBEXT@ $@
197 libcrtdll.@LIBEXT@: crtdll/libcrtdll.@LIBEXT@
198 $(RM) $@ && $(LN_S) crtdll/libcrtdll.@LIBEXT@ $@
200 libdciman32.@LIBEXT@: dciman32/libdciman32.@LIBEXT@
201 $(RM) $@ && $(LN_S) dciman32/libdciman32.@LIBEXT@ $@
203 libddraw.@LIBEXT@: ddraw/libddraw.@LIBEXT@
204 $(RM) $@ && $(LN_S) ddraw/libddraw.@LIBEXT@ $@
206 libdinput.@LIBEXT@: dinput/libdinput.@LIBEXT@
207 $(RM) $@ && $(LN_S) dinput/libdinput.@LIBEXT@ $@
209 libdplay.@LIBEXT@: dplay/libdplay.@LIBEXT@
210 $(RM) $@ && $(LN_S) dplay/libdplay.@LIBEXT@ $@
212 libdplayx.@LIBEXT@: dplayx/libdplayx.@LIBEXT@
213 $(RM) $@ && $(LN_S) dplayx/libdplayx.@LIBEXT@ $@
215 libdsound.@LIBEXT@: dsound/libdsound.@LIBEXT@
216 $(RM) $@ && $(LN_S) dsound/libdsound.@LIBEXT@ $@
218 libgdi32.@LIBEXT@ libdispdib.@LIBEXT@ libgdi.@LIBEXT@ libwing.@LIBEXT@: gdi/libgdi32.@LIBEXT@
219 $(RM) $@ && $(LN_S) gdi/libgdi32.@LIBEXT@ $@
221 libicmp.@LIBEXT@: icmp/libicmp.@LIBEXT@
222 $(RM) $@ && $(LN_S) icmp/libicmp.@LIBEXT@ $@
224 libimagehlp.@LIBEXT@: imagehlp/libimagehlp.@LIBEXT@
225 $(RM) $@ && $(LN_S) imagehlp/libimagehlp.@LIBEXT@ $@
227 libimm32.@LIBEXT@: imm32/libimm32.@LIBEXT@
228 $(RM) $@ && $(LN_S) imm32/libimm32.@LIBEXT@ $@
230 libjoystick.drv.@LIBEXT@: winmm/joystick/libjoystick.drv.@LIBEXT@
231 $(RM) $@ && $(LN_S) winmm/joystick/libjoystick.drv.@LIBEXT@ $@
233 libkernel32.@LIBEXT@ libcomm.@LIBEXT@ libkernel.@LIBEXT@ libstress.@LIBEXT@ \
234 libsystem.@LIBEXT@ libtoolhelp.@LIBEXT@ libwin87em.@LIBEXT@ libwindebug.@LIBEXT@ \
235 libwprocs.@LIBEXT@: kernel/libkernel32.@LIBEXT@
236 $(RM) $@ && $(LN_S) kernel/libkernel32.@LIBEXT@ $@
238 liblz32.@LIBEXT@ liblzexpand.@LIBEXT@: lzexpand/liblz32.@LIBEXT@
239 $(RM) $@ && $(LN_S) lzexpand/liblz32.@LIBEXT@ $@
241 libmcianim.drv.@LIBEXT@: winmm/mcianim/libmcianim.drv.@LIBEXT@
242 $(RM) $@ && $(LN_S) winmm/mcianim/libmcianim.drv.@LIBEXT@ $@
244 libmciavi.drv.@LIBEXT@: winmm/mciavi/libmciavi.drv.@LIBEXT@
245 $(RM) $@ && $(LN_S) winmm/mciavi/libmciavi.drv.@LIBEXT@ $@
247 libmcicda.drv.@LIBEXT@: winmm/mcicda/libmcicda.drv.@LIBEXT@
248 $(RM) $@ && $(LN_S) winmm/mcicda/libmcicda.drv.@LIBEXT@ $@
250 libmciseq.drv.@LIBEXT@: winmm/mciseq/libmciseq.drv.@LIBEXT@
251 $(RM) $@ && $(LN_S) winmm/mciseq/libmciseq.drv.@LIBEXT@ $@
253 libmciwave.drv.@LIBEXT@: winmm/mciwave/libmciwave.drv.@LIBEXT@
254 $(RM) $@ && $(LN_S) winmm/mciwave/libmciwave.drv.@LIBEXT@ $@
256 libmidimap.drv.@LIBEXT@: winmm/midimap/libmidimap.drv.@LIBEXT@
257 $(RM) $@ && $(LN_S) winmm/midimap/libmidimap.drv.@LIBEXT@ $@
259 libmpr.@LIBEXT@: mpr/libmpr.@LIBEXT@
260 $(RM) $@ && $(LN_S) mpr/libmpr.@LIBEXT@ $@
262 libmsacm.drv.@LIBEXT@: winmm/wavemap/libmsacm.drv.@LIBEXT@
263 $(RM) $@ && $(LN_S) winmm/wavemap/libmsacm.drv.@LIBEXT@ $@
265 libmsacm32.@LIBEXT@ libmsacm.@LIBEXT@: msacm/libmsacm32.@LIBEXT@
266 $(RM) $@ && $(LN_S) msacm/libmsacm32.@LIBEXT@ $@
268 libmsnet32.@LIBEXT@: msnet32/libmsnet32.@LIBEXT@
269 $(RM) $@ && $(LN_S) msnet32/libmsnet32.@LIBEXT@ $@
271 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@: msvideo/libmsvfw32.@LIBEXT@
272 $(RM) $@ && $(LN_S) msvideo/libmsvfw32.@LIBEXT@ $@
274 libntdll.@LIBEXT@: ntdll/libntdll.@LIBEXT@
275 $(RM) $@ && $(LN_S) ntdll/libntdll.@LIBEXT@ $@
277 libodbc32.@LIBEXT@: odbc32/libodbc32.@LIBEXT@
278 $(RM) $@ && $(LN_S) odbc32/libodbc32.@LIBEXT@ $@
280 libole32.@LIBEXT@ libcompobj.@LIBEXT@ libole2.@LIBEXT@ libole2conv.@LIBEXT@ \
281 libole2nls.@LIBEXT@ libole2prox.@LIBEXT@ libole2thk.@LIBEXT@ libstorage.@LIBEXT@: ole32/libole32.@LIBEXT@
282 $(RM) $@ && $(LN_S) ole32/libole32.@LIBEXT@ $@
284 liboleaut32.@LIBEXT@ libole2disp.@LIBEXT@ libtypelib.@LIBEXT@: oleaut32/liboleaut32.@LIBEXT@
285 $(RM) $@ && $(LN_S) oleaut32/liboleaut32.@LIBEXT@ $@
287 libolecli32.@LIBEXT@ libolecli.@LIBEXT@: olecli/libolecli32.@LIBEXT@
288 $(RM) $@ && $(LN_S) olecli/libolecli32.@LIBEXT@ $@
290 liboledlg.@LIBEXT@: oledlg/liboledlg.@LIBEXT@
291 $(RM) $@ && $(LN_S) oledlg/liboledlg.@LIBEXT@ $@
293 libolepro32.@LIBEXT@: olepro32/libolepro32.@LIBEXT@
294 $(RM) $@ && $(LN_S) olepro32/libolepro32.@LIBEXT@ $@
296 libolesvr32.@LIBEXT@ libolesvr.@LIBEXT@: olesvr/libolesvr32.@LIBEXT@
297 $(RM) $@ && $(LN_S) olesvr/libolesvr32.@LIBEXT@ $@
299 libopengl32.@LIBEXT@: opengl32/libopengl32.@LIBEXT@
300 $(RM) $@ && $(LN_S) opengl32/libopengl32.@LIBEXT@ $@
302 libpsapi.@LIBEXT@: psapi/libpsapi.@LIBEXT@
303 $(RM) $@ && $(LN_S) psapi/libpsapi.@LIBEXT@ $@
305 librasapi32.@LIBEXT@ librasapi16.@LIBEXT@: rasapi32/librasapi32.@LIBEXT@
306 $(RM) $@ && $(LN_S) rasapi32/librasapi32.@LIBEXT@ $@
308 libriched32.@LIBEXT@: richedit/libriched32.@LIBEXT@
309 $(RM) $@ && $(LN_S) richedit/libriched32.@LIBEXT@ $@
311 librpcrt4.@LIBEXT@: rpcrt4/librpcrt4.@LIBEXT@
312 $(RM) $@ && $(LN_S) rpcrt4/librpcrt4.@LIBEXT@ $@
314 libserialui.@LIBEXT@: serialui/libserialui.@LIBEXT@
315 $(RM) $@ && $(LN_S) serialui/libserialui.@LIBEXT@ $@
317 libsetupapi.@LIBEXT@ libsetupx.@LIBEXT@: setupapi/libsetupapi.@LIBEXT@
318 $(RM) $@ && $(LN_S) setupapi/libsetupapi.@LIBEXT@ $@
320 libshell32.@LIBEXT@ libshell.@LIBEXT@: shell32/libshell32.@LIBEXT@
321 $(RM) $@ && $(LN_S) shell32/libshell32.@LIBEXT@ $@
323 libshfolder.@LIBEXT@: shfolder/libshfolder.@LIBEXT@
324 $(RM) $@ && $(LN_S) shfolder/libshfolder.@LIBEXT@ $@
326 libshlwapi.@LIBEXT@: shlwapi/libshlwapi.@LIBEXT@
327 $(RM) $@ && $(LN_S) shlwapi/libshlwapi.@LIBEXT@ $@
329 libtapi32.@LIBEXT@: tapi32/libtapi32.@LIBEXT@
330 $(RM) $@ && $(LN_S) tapi32/libtapi32.@LIBEXT@ $@
332 libttydrv.@LIBEXT@: ttydrv/libttydrv.@LIBEXT@
333 $(RM) $@ && $(LN_S) ttydrv/libttydrv.@LIBEXT@ $@
335 liburlmon.@LIBEXT@: urlmon/liburlmon.@LIBEXT@
336 $(RM) $@ && $(LN_S) urlmon/liburlmon.@LIBEXT@ $@
338 libuser32.@LIBEXT@ libddeml.@LIBEXT@ libdisplay.@LIBEXT@ libkeyboard.@LIBEXT@ \
339 libmouse.@LIBEXT@ libuser.@LIBEXT@: user/libuser32.@LIBEXT@
340 $(RM) $@ && $(LN_S) user/libuser32.@LIBEXT@ $@
342 libversion.@LIBEXT@ libver.@LIBEXT@: version/libversion.@LIBEXT@
343 $(RM) $@ && $(LN_S) version/libversion.@LIBEXT@ $@
345 libw32skrnl.@LIBEXT@ libw32sys.@LIBEXT@ libwin32s16.@LIBEXT@: win32s/libw32skrnl.@LIBEXT@
346 $(RM) $@ && $(LN_S) win32s/libw32skrnl.@LIBEXT@ $@
348 libwineoss.drv.@LIBEXT@: winmm/wineoss/libwineoss.drv.@LIBEXT@
349 $(RM) $@ && $(LN_S) winmm/wineoss/libwineoss.drv.@LIBEXT@ $@
351 libwineps.@LIBEXT@ libwineps16.@LIBEXT@: wineps/libwineps.@LIBEXT@
352 $(RM) $@ && $(LN_S) wineps/libwineps.@LIBEXT@ $@
354 libwininet.@LIBEXT@: wininet/libwininet.@LIBEXT@
355 $(RM) $@ && $(LN_S) wininet/libwininet.@LIBEXT@ $@
357 libwinmm.@LIBEXT@ libmmsystem.@LIBEXT@ libsound.@LIBEXT@: winmm/libwinmm.@LIBEXT@
358 $(RM) $@ && $(LN_S) winmm/libwinmm.@LIBEXT@ $@
360 libwinspool.drv.@LIBEXT@: winspool/libwinspool.drv.@LIBEXT@
361 $(RM) $@ && $(LN_S) winspool/libwinspool.drv.@LIBEXT@ $@
363 libwnaspi32.@LIBEXT@ libwinaspi.@LIBEXT@: winaspi/libwnaspi32.@LIBEXT@
364 $(RM) $@ && $(LN_S) winaspi/libwnaspi32.@LIBEXT@ $@
366 libwow32.@LIBEXT@: wow32/libwow32.@LIBEXT@
367 $(RM) $@ && $(LN_S) wow32/libwow32.@LIBEXT@ $@
369 libws2_32.@LIBEXT@ libwinsock.@LIBEXT@: winsock/libws2_32.@LIBEXT@
370 $(RM) $@ && $(LN_S) winsock/libws2_32.@LIBEXT@ $@
372 libwsock32.@LIBEXT@: wsock32/libwsock32.@LIBEXT@
373 $(RM) $@ && $(LN_S) wsock32/libwsock32.@LIBEXT@ $@
375 libx11drv.@LIBEXT@: x11drv/libx11drv.@LIBEXT@
376 $(RM) $@ && $(LN_S) x11drv/libx11drv.@LIBEXT@ $@
378 # Inter-dll dependencies (only necessary for .so)
380 advapi32/libadvapi32.so: libkernel32.so libntdll.so
381 avifil32/libavifil32.so: libmsvfw32.so libkernel32.so libntdll.so
382 comctl32/libcomctl32.so: libuser32.so libgdi32.so libadvapi32.so libkernel32.so libntdll.so
383 commdlg/libcomdlg32.so: libshell32.so libshlwapi.so libcomctl32.so libuser32.so libwinspool.drv.so libgdi32.so libkernel32.so libntdll.so
384 crtdll/libcrtdll.so: libkernel32.so libntdll.so
385 dciman32/libdciman32.so: libntdll.so
386 ddraw/libddraw.so: libole32.so libuser32.so libx11drv.so libgdi32.so libkernel32.so
387 dinput/libdinput.so: libuser32.so libkernel32.so libntdll.so
388 dplay/libdplay.so: libdplayx.so
389 dplayx/libdplayx.so: libwinmm.so libole32.so libuser32.so libadvapi32.so libkernel32.so libntdll.so
390 dsound/libdsound.so: libwinmm.so libkernel32.so libntdll.so
391 gdi/libgdi32.so: libadvapi32.so libkernel32.so libntdll.so
392 icmp/libicmp.so: libkernel32.so libntdll.so
393 imagehlp/libimagehlp.so: libkernel32.so libntdll.so
394 imm32/libimm32.so: libkernel32.so libntdll.so
395 kernel/libkernel32.so: libntdll.so
396 lzexpand/liblz32.so: libkernel32.so libntdll.so
397 mpr/libmpr.so: libkernel32.so libntdll.so
398 msacm/libmsacm32.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
399 msnet32/libmsnet32.so: libntdll.so
400 msvideo/libmsvfw32.so: libwinmm.so libuser32.so libgdi32.so libkernel32.so libntdll.so
401 odbc32/libodbc32.so: libntdll.so
402 ole32/libole32.so: libadvapi32.so libuser32.so libgdi32.so librpcrt4.so libkernel32.so libntdll.so
403 oleaut32/liboleaut32.so: libole32.so libuser32.so libgdi32.so libkernel32.so libntdll.so
404 olecli/libolecli32.so: libole32.so libolesvr32.so libgdi32.so libntdll.so
405 oledlg/liboledlg.so: libntdll.so
406 olepro32/libolepro32.so: liboleaut32.so libntdll.so
407 olesvr/libolesvr32.so: libntdll.so
408 opengl32/libopengl32.so: libx11drv.so libkernel32.so
409 psapi/libpsapi.so: libkernel32.so libntdll.so
410 rasapi32/librasapi32.so: libntdll.so
411 richedit/libriched32.so: libuser32.so libkernel32.so libntdll.so
412 rpcrt4/librpcrt4.so: libntdll.so
413 serialui/libserialui.so: libuser32.so libadvapi32.so libkernel32.so libntdll.so
414 setupapi/libsetupapi.so: libadvapi32.so libkernel32.so libntdll.so
415 shell32/libshell32.so: libole32.so libshlwapi.so libcomctl32.so libadvapi32.so libuser32.so libgdi32.so libkernel32.so libntdll.so
416 shfolder/libshfolder.so: libshell32.so libntdll.so
417 shlwapi/libshlwapi.so: libadvapi32.so libuser32.so libgdi32.so libkernel32.so libntdll.so
418 tapi32/libtapi32.so: libkernel32.so
419 ttydrv/libttydrv.so: libuser32.so libgdi32.so libkernel32.so libntdll.so
420 urlmon/liburlmon.so: libole32.so libntdll.so
421 user/libuser32.so: libgdi32.so libadvapi32.so libkernel32.so libntdll.so
422 version/libversion.so: liblz32.so libkernel32.so libntdll.so
423 win32s/libw32skrnl.so: libkernel32.so libntdll.so
424 winaspi/libwnaspi32.so: libadvapi32.so libkernel32.so libntdll.so
425 wineps/libwineps.so: libuser32.so libgdi32.so libkernel32.so libntdll.so
426 wininet/libwininet.so: libuser32.so libkernel32.so libntdll.so
427 winmm/joystick/libjoystick.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
428 winmm/libwinmm.so: libuser32.so libkernel32.so libntdll.so
429 winmm/mcianim/libmcianim.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
430 winmm/mciavi/libmciavi.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
431 winmm/mcicda/libmcicda.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
432 winmm/mciseq/libmciseq.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
433 winmm/mciwave/libmciwave.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
434 winmm/midimap/libmidimap.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
435 winmm/wavemap/libmsacm.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
436 winmm/wineoss/libwineoss.drv.so: libwinmm.so libuser32.so libkernel32.so libntdll.so
437 winsock/libws2_32.so: libuser32.so libkernel32.so libntdll.so
438 winspool/libwinspool.drv.so: libgdi32.so libadvapi32.so libkernel32.so libntdll.so
439 wow32/libwow32.so: libkernel32.so libntdll.so
440 wsock32/libwsock32.so: libws2_32.so libkernel32.so libntdll.so
441 x11drv/libx11drv.so: libuser32.so libgdi32.so libkernel32.so
444 @cd `dirname $@` && $(MAKE)
446 $(DLLFILES:%=%_install_): dummy
447 @cd `dirname $@` && $(MAKE) install
449 $(DLLFILES:%=%_uninstall_): dummy
450 @cd `dirname $@` && $(MAKE) uninstall
452 $(DLLFILES:%=%_checklink_): dummy
453 @cd `dirname $@` && $(MAKE) checklink
455 install:: $(DLLFILES:%=%_install_)
457 uninstall:: $(DLLFILES:%=%_uninstall_)
459 checklink:: $(DLLFILES:%=%_checklink_)