Added an 'eject' Winelib app that allows unmounting and ejecting a CD
[wine] / programs / Makefile.in
1 # Automatically generated by make_progs; DO NOT EDIT!!
2
3 TOPSRCDIR = @top_srcdir@
4 TOPOBJDIR = ..
5 SRCDIR    = @srcdir@
6 VPATH     = @srcdir@
7
8 SUBDIRS = \
9         avitools \
10         clock \
11         cmdlgtst \
12         control \
13         eject \
14         expand \
15         hh \
16         msiexec \
17         notepad \
18         progman \
19         regedit \
20         regsvr32 \
21         rpcss \
22         rundll32 \
23         start \
24         taskmgr \
25         uninstaller \
26         view \
27         wcmd \
28         wineboot \
29         winebrowser \
30         winecfg \
31         wineconsole \
32         winedbg \
33         winefile \
34         winemenubuilder \
35         winemine \
36         winepath \
37         winetest \
38         winevdm \
39         winhelp \
40         winver
41
42 # Sub-directories to run make install into
43 INSTALLSUBDIRS = \
44         avitools \
45         clock \
46         control \
47         eject \
48         expand \
49         hh \
50         msiexec \
51         notepad \
52         progman \
53         regedit \
54         regsvr32 \
55         rpcss \
56         rundll32 \
57         start \
58         taskmgr \
59         uninstaller \
60         wcmd \
61         wineboot \
62         winebrowser \
63         winecfg \
64         wineconsole \
65         winedbg \
66         winefile \
67         winemenubuilder \
68         winemine \
69         winepath \
70         winetest \
71         winevdm \
72         winhelp \
73         winver
74
75 # Programs to install in bin directory
76 INSTALLPROGS = \
77         msiexec \
78         notepad \
79         progman \
80         regedit \
81         regsvr32 \
82         uninstaller \
83         wcmd \
84         wineboot \
85         winebrowser \
86         winecfg \
87         wineconsole \
88         winedbg \
89         winefile \
90         winemine \
91         winepath \
92         winhelp
93
94 # Symlinks to apps that we want to run from inside the source tree
95 SYMLINKS = \
96         aviinfo.exe$(DLLEXT) \
97         aviplay.exe$(DLLEXT) \
98         clock.exe$(DLLEXT) \
99         cmdlgtst.exe$(DLLEXT) \
100         control.exe$(DLLEXT) \
101         eject.exe$(DLLEXT) \
102         expand.exe$(DLLEXT) \
103         hh.exe$(DLLEXT) \
104         icinfo.exe$(DLLEXT) \
105         msiexec.exe$(DLLEXT) \
106         notepad.exe$(DLLEXT) \
107         progman.exe$(DLLEXT) \
108         regedit.exe$(DLLEXT) \
109         regsvr32.exe$(DLLEXT) \
110         rpcss.exe$(DLLEXT) \
111         rundll32.exe$(DLLEXT) \
112         start.exe$(DLLEXT) \
113         taskmgr.exe$(DLLEXT) \
114         uninstaller.exe$(DLLEXT) \
115         view.exe$(DLLEXT) \
116         wcmd.exe$(DLLEXT) \
117         wineboot.exe$(DLLEXT) \
118         winebrowser.exe$(DLLEXT) \
119         winecfg.exe$(DLLEXT) \
120         wineconsole.exe$(DLLEXT) \
121         winedbg.exe$(DLLEXT) \
122         winefile.exe$(DLLEXT) \
123         winemenubuilder.exe$(DLLEXT) \
124         winemine.exe$(DLLEXT) \
125         winepath.exe$(DLLEXT) \
126         winetest.exe$(DLLEXT) \
127         winevdm.exe$(DLLEXT) \
128         winhelp.exe$(DLLEXT) \
129         winver.exe$(DLLEXT)
130
131 @MAKE_RULES@
132
133 all: wineapploader winelauncher $(SUBDIRS) $(SYMLINKS)
134
135 wineapploader: wineapploader.in
136         sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
137
138 winelauncher: winelauncher.in
139         sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
140
141 # Rules for installation
142
143 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
144
145 install-apploader: wineapploader dummy
146         $(MKINSTALLDIRS) $(bindir)
147         $(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader
148
149 $(INSTALLPROGS:%=%/__installprog__): install-apploader
150         $(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@`
151
152 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
153         $(RM) $(bindir)/wineapploader
154
155 install-progs: # nothing to do here
156
157 install:: winelauncher install-progs$(DLLEXT)
158         $(MKINSTALLDIRS) $(bindir)
159         $(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
160
161 uninstall::
162         -cd $(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
163         -rmdir $(dlldir)
164
165 clean::
166         $(RM) wineapploader winelauncher $(SYMLINKS)
167
168 # Rules for testing
169
170 check test:: $(SUBDIRS:%=%/__test__)
171
172 # Rules for symlinks
173
174 aviinfo.exe$(DLLEXT): avitools/aviinfo.exe$(DLLEXT)
175         $(RM) $@ && $(LN_S) avitools/aviinfo.exe$(DLLEXT) $@
176
177 aviplay.exe$(DLLEXT): avitools/aviplay.exe$(DLLEXT)
178         $(RM) $@ && $(LN_S) avitools/aviplay.exe$(DLLEXT) $@
179
180 clock.exe$(DLLEXT): clock/clock.exe$(DLLEXT)
181         $(RM) $@ && $(LN_S) clock/clock.exe$(DLLEXT) $@
182
183 cmdlgtst.exe$(DLLEXT): cmdlgtst/cmdlgtst.exe$(DLLEXT)
184         $(RM) $@ && $(LN_S) cmdlgtst/cmdlgtst.exe$(DLLEXT) $@
185
186 control.exe$(DLLEXT): control/control.exe$(DLLEXT)
187         $(RM) $@ && $(LN_S) control/control.exe$(DLLEXT) $@
188
189 eject.exe$(DLLEXT): eject/eject.exe$(DLLEXT)
190         $(RM) $@ && $(LN_S) eject/eject.exe$(DLLEXT) $@
191
192 expand.exe$(DLLEXT): expand/expand.exe$(DLLEXT)
193         $(RM) $@ && $(LN_S) expand/expand.exe$(DLLEXT) $@
194
195 hh.exe$(DLLEXT): hh/hh.exe$(DLLEXT)
196         $(RM) $@ && $(LN_S) hh/hh.exe$(DLLEXT) $@
197
198 icinfo.exe$(DLLEXT): avitools/icinfo.exe$(DLLEXT)
199         $(RM) $@ && $(LN_S) avitools/icinfo.exe$(DLLEXT) $@
200
201 msiexec.exe$(DLLEXT): msiexec/msiexec.exe$(DLLEXT)
202         $(RM) $@ && $(LN_S) msiexec/msiexec.exe$(DLLEXT) $@
203
204 notepad.exe$(DLLEXT): notepad/notepad.exe$(DLLEXT)
205         $(RM) $@ && $(LN_S) notepad/notepad.exe$(DLLEXT) $@
206
207 progman.exe$(DLLEXT): progman/progman.exe$(DLLEXT)
208         $(RM) $@ && $(LN_S) progman/progman.exe$(DLLEXT) $@
209
210 regedit.exe$(DLLEXT): regedit/regedit.exe$(DLLEXT)
211         $(RM) $@ && $(LN_S) regedit/regedit.exe$(DLLEXT) $@
212
213 regsvr32.exe$(DLLEXT): regsvr32/regsvr32.exe$(DLLEXT)
214         $(RM) $@ && $(LN_S) regsvr32/regsvr32.exe$(DLLEXT) $@
215
216 rpcss.exe$(DLLEXT): rpcss/rpcss.exe$(DLLEXT)
217         $(RM) $@ && $(LN_S) rpcss/rpcss.exe$(DLLEXT) $@
218
219 rundll32.exe$(DLLEXT): rundll32/rundll32.exe$(DLLEXT)
220         $(RM) $@ && $(LN_S) rundll32/rundll32.exe$(DLLEXT) $@
221
222 start.exe$(DLLEXT): start/start.exe$(DLLEXT)
223         $(RM) $@ && $(LN_S) start/start.exe$(DLLEXT) $@
224
225 taskmgr.exe$(DLLEXT): taskmgr/taskmgr.exe$(DLLEXT)
226         $(RM) $@ && $(LN_S) taskmgr/taskmgr.exe$(DLLEXT) $@
227
228 uninstaller.exe$(DLLEXT): uninstaller/uninstaller.exe$(DLLEXT)
229         $(RM) $@ && $(LN_S) uninstaller/uninstaller.exe$(DLLEXT) $@
230
231 view.exe$(DLLEXT): view/view.exe$(DLLEXT)
232         $(RM) $@ && $(LN_S) view/view.exe$(DLLEXT) $@
233
234 wcmd.exe$(DLLEXT): wcmd/wcmd.exe$(DLLEXT)
235         $(RM) $@ && $(LN_S) wcmd/wcmd.exe$(DLLEXT) $@
236
237 wineboot.exe$(DLLEXT): wineboot/wineboot.exe$(DLLEXT)
238         $(RM) $@ && $(LN_S) wineboot/wineboot.exe$(DLLEXT) $@
239
240 winebrowser.exe$(DLLEXT): winebrowser/winebrowser.exe$(DLLEXT)
241         $(RM) $@ && $(LN_S) winebrowser/winebrowser.exe$(DLLEXT) $@
242
243 winecfg.exe$(DLLEXT): winecfg/winecfg.exe$(DLLEXT)
244         $(RM) $@ && $(LN_S) winecfg/winecfg.exe$(DLLEXT) $@
245
246 wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
247         $(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@
248
249 winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
250         $(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
251
252 winefile.exe$(DLLEXT): winefile/winefile.exe$(DLLEXT)
253         $(RM) $@ && $(LN_S) winefile/winefile.exe$(DLLEXT) $@
254
255 winemenubuilder.exe$(DLLEXT): winemenubuilder/winemenubuilder.exe$(DLLEXT)
256         $(RM) $@ && $(LN_S) winemenubuilder/winemenubuilder.exe$(DLLEXT) $@
257
258 winemine.exe$(DLLEXT): winemine/winemine.exe$(DLLEXT)
259         $(RM) $@ && $(LN_S) winemine/winemine.exe$(DLLEXT) $@
260
261 winepath.exe$(DLLEXT): winepath/winepath.exe$(DLLEXT)
262         $(RM) $@ && $(LN_S) winepath/winepath.exe$(DLLEXT) $@
263
264 winetest.exe$(DLLEXT): winetest/winetest.exe$(DLLEXT)
265         $(RM) $@ && $(LN_S) winetest/winetest.exe$(DLLEXT) $@
266
267 winevdm.exe$(DLLEXT): winevdm/winevdm.exe$(DLLEXT)
268         $(RM) $@ && $(LN_S) winevdm/winevdm.exe$(DLLEXT) $@
269
270 winhelp.exe$(DLLEXT): winhelp/winhelp.exe$(DLLEXT)
271         $(RM) $@ && $(LN_S) winhelp/winhelp.exe$(DLLEXT) $@
272
273 winver.exe$(DLLEXT): winver/winver.exe$(DLLEXT)
274         $(RM) $@ && $(LN_S) winver/winver.exe$(DLLEXT) $@
275
276 avitools/aviinfo.exe$(DLLEXT): avitools
277 avitools/aviplay.exe$(DLLEXT): avitools
278 clock/clock.exe$(DLLEXT): clock
279 cmdlgtst/cmdlgtst.exe$(DLLEXT): cmdlgtst
280 control/control.exe$(DLLEXT): control
281 eject/eject.exe$(DLLEXT): eject
282 expand/expand.exe$(DLLEXT): expand
283 hh/hh.exe$(DLLEXT): hh
284 avitools/icinfo.exe$(DLLEXT): avitools
285 msiexec/msiexec.exe$(DLLEXT): msiexec
286 notepad/notepad.exe$(DLLEXT): notepad
287 progman/progman.exe$(DLLEXT): progman
288 regedit/regedit.exe$(DLLEXT): regedit
289 regsvr32/regsvr32.exe$(DLLEXT): regsvr32
290 rpcss/rpcss.exe$(DLLEXT): rpcss
291 rundll32/rundll32.exe$(DLLEXT): rundll32
292 start/start.exe$(DLLEXT): start
293 taskmgr/taskmgr.exe$(DLLEXT): taskmgr
294 uninstaller/uninstaller.exe$(DLLEXT): uninstaller
295 view/view.exe$(DLLEXT): view
296 wcmd/wcmd.exe$(DLLEXT): wcmd
297 wineboot/wineboot.exe$(DLLEXT): wineboot
298 winebrowser/winebrowser.exe$(DLLEXT): winebrowser
299 winecfg/winecfg.exe$(DLLEXT): winecfg
300 wineconsole/wineconsole.exe$(DLLEXT): wineconsole
301 winedbg/winedbg.exe$(DLLEXT): winedbg
302 winefile/winefile.exe$(DLLEXT): winefile
303 winemenubuilder/winemenubuilder.exe$(DLLEXT): winemenubuilder
304 winemine/winemine.exe$(DLLEXT): winemine
305 winepath/winepath.exe$(DLLEXT): winepath
306 winetest/winetest.exe$(DLLEXT): winetest
307 winevdm/winevdm.exe$(DLLEXT): winevdm
308 winhelp/winhelp.exe$(DLLEXT): winhelp
309 winver/winver.exe$(DLLEXT): winver
310
311 ### Dependencies: