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