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