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 lzexpand
/liblz32.@LIBEXT@ \
29 msacm
/libmsacm.@LIBEXT@ \
30 msacm32
/libmsacm32.@LIBEXT@ \
31 msnet32
/libmsnet32.@LIBEXT@ \
32 msvideo
/libmsvfw32.@LIBEXT@ \
33 odbc32
/libodbc32.@LIBEXT@ \
34 ole32
/libole32.@LIBEXT@ \
35 oleaut32
/liboleaut32.@LIBEXT@ \
36 olecli
/libolecli32.@LIBEXT@ \
37 oledlg
/liboledlg.@LIBEXT@ \
38 olepro32
/libolepro32.@LIBEXT@ \
39 olesvr
/libolesvr32.@LIBEXT@ \
40 psapi
/libpsapi.@LIBEXT@ \
41 rasapi32
/librasapi32.@LIBEXT@ \
42 richedit
/libriched32.@LIBEXT@ \
43 setupx
/libsetupx.@LIBEXT@ \
44 shell32
/libshell32.@LIBEXT@ \
45 sound
/libsound.@LIBEXT@ \
46 stress
/libstress.@LIBEXT@ \
47 tapi32
/libtapi32.@LIBEXT@ \
48 ttydrv
/libttydrv.@LIBEXT@ \
49 urlmon
/liburlmon.@LIBEXT@ \
50 user
/libuser32.@LIBEXT@ \
51 version
/libversion.@LIBEXT@ \
52 win32s
/libw32skrnl.@LIBEXT@ \
53 win87em
/libwin87em.@LIBEXT@ \
54 winaspi
/libwnaspi32.@LIBEXT@ \
55 windebug
/libwindebug.@LIBEXT@ \
56 wing
/libwing.@LIBEXT@ \
57 wininet
/libwininet.@LIBEXT@ \
58 winmm
/joystick
/libjoystick.drv.@LIBEXT@ \
59 winmm
/libwinmm.@LIBEXT@ \
60 winmm
/mcianim
/libmcianim.drv.@LIBEXT@ \
61 winmm
/mciavi
/libmciavi.drv.@LIBEXT@ \
62 winmm
/mcicda
/libmcicda.drv.@LIBEXT@ \
63 winmm
/mciseq
/libmciseq.drv.@LIBEXT@ \
64 winmm
/mciwave
/libmciwave.drv.@LIBEXT@ \
65 winmm
/midimap
/libmidimap.drv.@LIBEXT@ \
66 winmm
/wavemap
/libmsacm.drv.@LIBEXT@ \
67 winmm
/wineoss
/libwineoss.drv.@LIBEXT@ \
68 winsock
/libwsock32.@LIBEXT@ \
69 winspool
/libwinspool.drv.@LIBEXT@
71 # extra names for dlls containing multiple spec files
155 all: $(DLLS
:%=lib
%.@LIBEXT@
) $(EXTRADLLNAMES
:%=lib
%.@LIBEXT@
)
157 # Map library name to directory
159 libavifil32.@LIBEXT@ libavifile.@LIBEXT@
: avifil32
/libavifil32.@LIBEXT@
160 $(RM
) $@
&& $(LN_S
) avifil32
/libavifil32.@LIBEXT@
$@
162 libcomctl32.@LIBEXT@
: comctl32
/libcomctl32.@LIBEXT@
163 $(RM
) $@
&& $(LN_S
) comctl32
/libcomctl32.@LIBEXT@
$@
165 libcomdlg32.@LIBEXT@ libcommdlg.@LIBEXT@
: commdlg
/libcomdlg32.@LIBEXT@
166 $(RM
) $@
&& $(LN_S
) commdlg
/libcomdlg32.@LIBEXT@
$@
168 libdciman32.@LIBEXT@
: dciman32
/libdciman32.@LIBEXT@
169 $(RM
) $@
&& $(LN_S
) dciman32
/libdciman32.@LIBEXT@
$@
171 libddraw.@LIBEXT@
: ddraw
/libddraw.@LIBEXT@
172 $(RM
) $@
&& $(LN_S
) ddraw
/libddraw.@LIBEXT@
$@
174 libdinput.@LIBEXT@
: dinput
/libdinput.@LIBEXT@
175 $(RM
) $@
&& $(LN_S
) dinput
/libdinput.@LIBEXT@
$@
177 libdplayx.@LIBEXT@ libdplay.@LIBEXT@
: dplayx
/libdplayx.@LIBEXT@
178 $(RM
) $@
&& $(LN_S
) dplayx
/libdplayx.@LIBEXT@
$@
180 libdsound.@LIBEXT@
: dsound
/libdsound.@LIBEXT@
181 $(RM
) $@
&& $(LN_S
) dsound
/libdsound.@LIBEXT@
$@
183 libgdi32.@LIBEXT@ libgdi.@LIBEXT@
: gdi
/libgdi32.@LIBEXT@
184 $(RM
) $@
&& $(LN_S
) gdi
/libgdi32.@LIBEXT@
$@
186 libicmp.@LIBEXT@
: icmp
/libicmp.@LIBEXT@
187 $(RM
) $@
&& $(LN_S
) icmp
/libicmp.@LIBEXT@
$@
189 libimagehlp.@LIBEXT@
: imagehlp
/libimagehlp.@LIBEXT@
190 $(RM
) $@
&& $(LN_S
) imagehlp
/libimagehlp.@LIBEXT@
$@
192 libimm32.@LIBEXT@
: imm32
/libimm32.@LIBEXT@
193 $(RM
) $@
&& $(LN_S
) imm32
/libimm32.@LIBEXT@
$@
195 libjoystick.drv.@LIBEXT@
: winmm
/joystick
/libjoystick.drv.@LIBEXT@
196 $(RM
) $@
&& $(LN_S
) winmm
/joystick
/libjoystick.drv.@LIBEXT@
$@
198 liblz32.@LIBEXT@ liblzexpand.@LIBEXT@
: lzexpand
/liblz32.@LIBEXT@
199 $(RM
) $@
&& $(LN_S
) lzexpand
/liblz32.@LIBEXT@
$@
201 libmcianim.drv.@LIBEXT@
: winmm
/mcianim
/libmcianim.drv.@LIBEXT@
202 $(RM
) $@
&& $(LN_S
) winmm
/mcianim
/libmcianim.drv.@LIBEXT@
$@
204 libmciavi.drv.@LIBEXT@
: winmm
/mciavi
/libmciavi.drv.@LIBEXT@
205 $(RM
) $@
&& $(LN_S
) winmm
/mciavi
/libmciavi.drv.@LIBEXT@
$@
207 libmcicda.drv.@LIBEXT@
: winmm
/mcicda
/libmcicda.drv.@LIBEXT@
208 $(RM
) $@
&& $(LN_S
) winmm
/mcicda
/libmcicda.drv.@LIBEXT@
$@
210 libmciseq.drv.@LIBEXT@
: winmm
/mciseq
/libmciseq.drv.@LIBEXT@
211 $(RM
) $@
&& $(LN_S
) winmm
/mciseq
/libmciseq.drv.@LIBEXT@
$@
213 libmciwave.drv.@LIBEXT@
: winmm
/mciwave
/libmciwave.drv.@LIBEXT@
214 $(RM
) $@
&& $(LN_S
) winmm
/mciwave
/libmciwave.drv.@LIBEXT@
$@
216 libmidimap.drv.@LIBEXT@
: winmm
/midimap
/libmidimap.drv.@LIBEXT@
217 $(RM
) $@
&& $(LN_S
) winmm
/midimap
/libmidimap.drv.@LIBEXT@
$@
219 libmpr.@LIBEXT@
: mpr
/libmpr.@LIBEXT@
220 $(RM
) $@
&& $(LN_S
) mpr
/libmpr.@LIBEXT@
$@
222 libmsacm.@LIBEXT@
: msacm
/libmsacm.@LIBEXT@
223 $(RM
) $@
&& $(LN_S
) msacm
/libmsacm.@LIBEXT@
$@
225 libmsacm.drv.@LIBEXT@
: winmm
/wavemap
/libmsacm.drv.@LIBEXT@
226 $(RM
) $@
&& $(LN_S
) winmm
/wavemap
/libmsacm.drv.@LIBEXT@
$@
228 libmsacm32.@LIBEXT@
: msacm32
/libmsacm32.@LIBEXT@
229 $(RM
) $@
&& $(LN_S
) msacm32
/libmsacm32.@LIBEXT@
$@
231 libmsnet32.@LIBEXT@
: msnet32
/libmsnet32.@LIBEXT@
232 $(RM
) $@
&& $(LN_S
) msnet32
/libmsnet32.@LIBEXT@
$@
234 libmsvfw32.@LIBEXT@ libmsvideo.@LIBEXT@
: msvideo
/libmsvfw32.@LIBEXT@
235 $(RM
) $@
&& $(LN_S
) msvideo
/libmsvfw32.@LIBEXT@
$@
237 libodbc32.@LIBEXT@
: odbc32
/libodbc32.@LIBEXT@
238 $(RM
) $@
&& $(LN_S
) odbc32
/libodbc32.@LIBEXT@
$@
240 libole32.@LIBEXT@ libole2.@LIBEXT@ libole2conv.@LIBEXT@ libole2nls.@LIBEXT@ libole2prox.@LIBEXT@ libole2thk.@LIBEXT@ libstorage.@LIBEXT@ libcompobj.@LIBEXT@
: ole32
/libole32.@LIBEXT@
241 $(RM
) $@
&& $(LN_S
) ole32
/libole32.@LIBEXT@
$@
243 liboleaut32.@LIBEXT@ libole2disp.@LIBEXT@ libtypelib.@LIBEXT@
: oleaut32
/liboleaut32.@LIBEXT@
244 $(RM
) $@
&& $(LN_S
) oleaut32
/liboleaut32.@LIBEXT@
$@
246 libolecli32.@LIBEXT@ libolecli.@LIBEXT@
: olecli
/libolecli32.@LIBEXT@
247 $(RM
) $@
&& $(LN_S
) olecli
/libolecli32.@LIBEXT@
$@
249 liboledlg.@LIBEXT@
: oledlg
/liboledlg.@LIBEXT@
250 $(RM
) $@
&& $(LN_S
) oledlg
/liboledlg.@LIBEXT@
$@
252 libolepro32.@LIBEXT@
: olepro32
/libolepro32.@LIBEXT@
253 $(RM
) $@
&& $(LN_S
) olepro32
/libolepro32.@LIBEXT@
$@
255 libolesvr32.@LIBEXT@ libolesvr.@LIBEXT@
: olesvr
/libolesvr32.@LIBEXT@
256 $(RM
) $@
&& $(LN_S
) olesvr
/libolesvr32.@LIBEXT@
$@
258 libopengl32.@LIBEXT@
: opengl32
/libopengl32.@LIBEXT@
259 $(RM
) $@
&& $(LN_S
) opengl32
/libopengl32.@LIBEXT@
$@
261 libpsapi.@LIBEXT@
: psapi
/libpsapi.@LIBEXT@
262 $(RM
) $@
&& $(LN_S
) psapi
/libpsapi.@LIBEXT@
$@
264 librasapi32.@LIBEXT@ librasapi16.@LIBEXT@
: rasapi32
/librasapi32.@LIBEXT@
265 $(RM
) $@
&& $(LN_S
) rasapi32
/librasapi32.@LIBEXT@
$@
267 libriched32.@LIBEXT@
: richedit
/libriched32.@LIBEXT@
268 $(RM
) $@
&& $(LN_S
) richedit
/libriched32.@LIBEXT@
$@
270 libsetupx.@LIBEXT@
: setupx
/libsetupx.@LIBEXT@
271 $(RM
) $@
&& $(LN_S
) setupx
/libsetupx.@LIBEXT@
$@
273 libshell32.@LIBEXT@ libshell.@LIBEXT@ libshlwapi.@LIBEXT@
: shell32
/libshell32.@LIBEXT@
274 $(RM
) $@
&& $(LN_S
) shell32
/libshell32.@LIBEXT@
$@
276 libsound.@LIBEXT@
: sound
/libsound.@LIBEXT@
277 $(RM
) $@
&& $(LN_S
) sound
/libsound.@LIBEXT@
$@
279 libstress.@LIBEXT@
: stress
/libstress.@LIBEXT@
280 $(RM
) $@
&& $(LN_S
) stress
/libstress.@LIBEXT@
$@
282 libtapi32.@LIBEXT@
: tapi32
/libtapi32.@LIBEXT@
283 $(RM
) $@
&& $(LN_S
) tapi32
/libtapi32.@LIBEXT@
$@
285 libttydrv.@LIBEXT@
: ttydrv
/libttydrv.@LIBEXT@
286 $(RM
) $@
&& $(LN_S
) ttydrv
/libttydrv.@LIBEXT@
$@
288 liburlmon.@LIBEXT@
: urlmon
/liburlmon.@LIBEXT@
289 $(RM
) $@
&& $(LN_S
) urlmon
/liburlmon.@LIBEXT@
$@
291 libuser32.@LIBEXT@ libuser.@LIBEXT@ libkeyboard.@LIBEXT@ libddeml.@LIBEXT@
: user
/libuser32.@LIBEXT@
292 $(RM
) $@
&& $(LN_S
) user
/libuser32.@LIBEXT@
$@
294 libversion.@LIBEXT@ libver.@LIBEXT@
: version
/libversion.@LIBEXT@
295 $(RM
) $@
&& $(LN_S
) version
/libversion.@LIBEXT@
$@
297 libw32skrnl.@LIBEXT@ libw32sys.@LIBEXT@ libwin32s16.@LIBEXT@
: win32s
/libw32skrnl.@LIBEXT@
298 $(RM
) $@
&& $(LN_S
) win32s
/libw32skrnl.@LIBEXT@
$@
300 libwin87em.@LIBEXT@
: win87em
/libwin87em.@LIBEXT@
301 $(RM
) $@
&& $(LN_S
) win87em
/libwin87em.@LIBEXT@
$@
303 libwindebug.@LIBEXT@
: windebug
/libwindebug.@LIBEXT@
304 $(RM
) $@
&& $(LN_S
) windebug
/libwindebug.@LIBEXT@
$@
306 libwineoss.drv.@LIBEXT@
: winmm
/wineoss
/libwineoss.drv.@LIBEXT@
307 $(RM
) $@
&& $(LN_S
) winmm
/wineoss
/libwineoss.drv.@LIBEXT@
$@
309 libwing.@LIBEXT@
: wing
/libwing.@LIBEXT@
310 $(RM
) $@
&& $(LN_S
) wing
/libwing.@LIBEXT@
$@
312 libwininet.@LIBEXT@
: wininet
/libwininet.@LIBEXT@
313 $(RM
) $@
&& $(LN_S
) wininet
/libwininet.@LIBEXT@
$@
315 libwinmm.@LIBEXT@ libmmsystem.@LIBEXT@
: winmm
/libwinmm.@LIBEXT@
316 $(RM
) $@
&& $(LN_S
) winmm
/libwinmm.@LIBEXT@
$@
318 libwinspool.drv.@LIBEXT@
: winspool
/libwinspool.drv.@LIBEXT@
319 $(RM
) $@
&& $(LN_S
) winspool
/libwinspool.drv.@LIBEXT@
$@
321 libwnaspi32.@LIBEXT@ libwinaspi.@LIBEXT@
: winaspi
/libwnaspi32.@LIBEXT@
322 $(RM
) $@
&& $(LN_S
) winaspi
/libwnaspi32.@LIBEXT@
$@
324 libwsock32.@LIBEXT@ libwinsock.@LIBEXT@
: winsock
/libwsock32.@LIBEXT@
325 $(RM
) $@
&& $(LN_S
) winsock
/libwsock32.@LIBEXT@
$@
327 libx11drv.@LIBEXT@
: x11drv
/libx11drv.@LIBEXT@
328 $(RM
) $@
&& $(LN_S
) x11drv
/libx11drv.@LIBEXT@
$@
330 # Inter-dll dependencies (only necessary for .so)
332 avifil32
/libavifil32.so
: libmsvfw32.so libwinmm.so
333 commdlg
/libcomdlg32.so
: libwinspool.drv.so
334 ddraw
/libddraw.so
: libx11drv.so
335 dplayx
/libdplayx.so
: libole32.so
336 msvideo
/libmsvfw32.so
: libwinmm.so
337 oleaut32
/liboleaut32.so
: libole32.so libcomctl32.so
338 olecli
/libolecli32.so
: libolesvr32.so libole32.so
339 olepro32
/libolepro32.so
: liboleaut32.so libole32.so
340 opengl32
/libopengl32.so
: libx11drv.so libgdi32.so
341 shell32
/libshell32.so
: libole32.so
342 urlmon
/liburlmon.so
: libole32.so
343 version
/libversion.so
: liblz32.so
344 winmm
/joystick
/libjoystick.drv.so
: libwinmm.so
345 winmm
/mcianim
/libmcianim.drv.so
: libwinmm.so
346 winmm
/mciavi
/libmciavi.drv.so
: libwinmm.so
347 winmm
/mcicda
/libmcicda.drv.so
: libwinmm.so
348 winmm
/mciseq
/libmciseq.drv.so
: libwinmm.so
349 winmm
/mciwave
/libmciwave.drv.so
: libwinmm.so
350 winmm
/midimap
/libmidimap.drv.so
: libwinmm.so
351 winmm
/wavemap
/libmsacm.drv.so
: libwinmm.so
352 winmm
/wineoss
/libwineoss.drv.so
: libwinmm.so
356 @cd
`dirname $@` && $(MAKE
)
358 $(DLLFILES
:%=%_install_
): dummy
359 @cd
`dirname $@` && $(MAKE
) install
361 $(DLLFILES
:%=%_uninstall_
): dummy
362 @cd
`dirname $@` && $(MAKE
) uninstall
364 $(DLLFILES
:%=%_checklink_
): dummy
365 @cd
`dirname $@` && $(MAKE
) checklink
367 install:: $(DLLFILES
:%=%_install_
)
369 uninstall:: $(DLLFILES
:%=%_uninstall_
)
371 checklink
:: $(DLLFILES
:%=%_checklink_
)