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