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