Makefile.in 7.89 KB
Newer Older
1 2
# Automatically generated by make_progs; DO NOT EDIT!!

3 4 5 6 7
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@

8 9 10 11
SUBDIRS = \
	avitools \
	clock \
	cmdlgtst \
Alexandre Julliard's avatar
Alexandre Julliard committed
12
	control \
13
	expand \
Jacek Caban's avatar
Jacek Caban committed
14
	hh \
15
	msiexec \
Alexandre Julliard's avatar
Alexandre Julliard committed
16 17
	notepad \
	progman \
18
	regedit \
19
	regsvr32 \
20
	rpcss \
21
	rundll32 \
22
	start \
23
	taskmgr \
24
	uninstaller \
25
	view \
26
	wcmd \
27
	wineboot \
28
	winebrowser \
29
	winecfg \
30
	wineconsole \
31
	winedbg \
32
	winefile \
33
	winemenubuilder \
Joshua Thielen's avatar
Joshua Thielen committed
34
	winemine \
35
	winepath \
36
	winetest \
37
	winevdm \
Alexandre Julliard's avatar
Alexandre Julliard committed
38 39
	winhelp \
	winver
Alexandre Julliard's avatar
Alexandre Julliard committed
40

41
# Sub-directories to run make install into
42 43 44 45 46
INSTALLSUBDIRS = \
	avitools \
	clock \
	control \
	expand \
Jacek Caban's avatar
Jacek Caban committed
47
	hh \
48
	msiexec \
49 50 51 52
	notepad \
	progman \
	regedit \
	regsvr32 \
53
	rpcss \
54
	rundll32 \
55
	start \
56
	taskmgr \
57 58
	uninstaller \
	wcmd \
59
	wineboot \
60
	winebrowser \
61
	winecfg \
62 63 64
	wineconsole \
	winedbg \
	winefile \
65
	winemenubuilder \
66 67
	winemine \
	winepath \
68
	winetest \
Hans Leidekker's avatar
Hans Leidekker committed
69
	winevdm \
70 71
	winhelp \
	winver
72

73 74
# Programs to install in bin directory
INSTALLPROGS = \
75
	msiexec \
76 77 78 79 80 81
	notepad \
	progman \
	regedit \
	regsvr32 \
	uninstaller \
	wcmd \
82
	wineboot \
83
	winebrowser \
84
	winecfg \
85 86
	wineconsole \
	winedbg \
87
	winefile \
88 89 90
	winemine \
	winepath \
	winhelp
91

92 93
# Symlinks to apps that we want to run from inside the source tree
SYMLINKS = \
94 95 96 97 98 99
	aviinfo.exe$(DLLEXT) \
	aviplay.exe$(DLLEXT) \
	clock.exe$(DLLEXT) \
	cmdlgtst.exe$(DLLEXT) \
	control.exe$(DLLEXT) \
	expand.exe$(DLLEXT) \
Jacek Caban's avatar
Jacek Caban committed
100
	hh.exe$(DLLEXT) \
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
	icinfo.exe$(DLLEXT) \
	msiexec.exe$(DLLEXT) \
	notepad.exe$(DLLEXT) \
	progman.exe$(DLLEXT) \
	regedit.exe$(DLLEXT) \
	regsvr32.exe$(DLLEXT) \
	rpcss.exe$(DLLEXT) \
	rundll32.exe$(DLLEXT) \
	start.exe$(DLLEXT) \
	taskmgr.exe$(DLLEXT) \
	uninstaller.exe$(DLLEXT) \
	view.exe$(DLLEXT) \
	wcmd.exe$(DLLEXT) \
	wineboot.exe$(DLLEXT) \
	winebrowser.exe$(DLLEXT) \
	winecfg.exe$(DLLEXT) \
	wineconsole.exe$(DLLEXT) \
	winedbg.exe$(DLLEXT) \
	winefile.exe$(DLLEXT) \
	winemenubuilder.exe$(DLLEXT) \
	winemine.exe$(DLLEXT) \
	winepath.exe$(DLLEXT) \
	winetest.exe$(DLLEXT) \
	winevdm.exe$(DLLEXT) \
	winhelp.exe$(DLLEXT) \
	winver.exe$(DLLEXT)
Alexandre Julliard's avatar
Alexandre Julliard committed
127

128
@MAKE_RULES@
Alexandre Julliard's avatar
Alexandre Julliard committed
129

130
all: wineapploader winelauncher $(SUBDIRS) $(SYMLINKS)
131 132

wineapploader: wineapploader.in
133
	sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
134

135
winelauncher: winelauncher.in
136
	sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
137

138 139 140 141 142 143 144 145 146 147
# Rules for installation

.PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)

install-apploader: wineapploader dummy
	$(MKINSTALLDIRS) $(bindir)
	$(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader

$(INSTALLPROGS:%=%/__installprog__): install-apploader
	$(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@`
Alexandre Julliard's avatar
Alexandre Julliard committed
148

149 150
install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
	$(RM) $(bindir)/wineapploader
151

152
install-progs: # nothing to do here
153

154 155 156
install:: winelauncher install-progs$(DLLEXT)
	$(MKINSTALLDIRS) $(bindir)
	$(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
157

158
uninstall::
159
	-cd $(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
160 161 162
	-rmdir $(dlldir)

clean::
163
	$(RM) wineapploader winelauncher $(SYMLINKS)
164 165

# Rules for testing
166

167 168
check test:: $(SUBDIRS:%=%/__test__)

169 170
# Rules for symlinks

171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
aviinfo.exe$(DLLEXT): avitools/aviinfo.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) avitools/aviinfo.exe$(DLLEXT) $@

aviplay.exe$(DLLEXT): avitools/aviplay.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) avitools/aviplay.exe$(DLLEXT) $@

clock.exe$(DLLEXT): clock/clock.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) clock/clock.exe$(DLLEXT) $@

cmdlgtst.exe$(DLLEXT): cmdlgtst/cmdlgtst.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) cmdlgtst/cmdlgtst.exe$(DLLEXT) $@

control.exe$(DLLEXT): control/control.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) control/control.exe$(DLLEXT) $@

expand.exe$(DLLEXT): expand/expand.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) expand/expand.exe$(DLLEXT) $@

Jacek Caban's avatar
Jacek Caban committed
189 190 191
hh.exe$(DLLEXT): hh/hh.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) hh/hh.exe$(DLLEXT) $@

192 193 194
icinfo.exe$(DLLEXT): avitools/icinfo.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) avitools/icinfo.exe$(DLLEXT) $@

195 196 197
msiexec.exe$(DLLEXT): msiexec/msiexec.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) msiexec/msiexec.exe$(DLLEXT) $@

198 199 200 201 202 203 204 205 206 207 208 209
notepad.exe$(DLLEXT): notepad/notepad.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) notepad/notepad.exe$(DLLEXT) $@

progman.exe$(DLLEXT): progman/progman.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) progman/progman.exe$(DLLEXT) $@

regedit.exe$(DLLEXT): regedit/regedit.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) regedit/regedit.exe$(DLLEXT) $@

regsvr32.exe$(DLLEXT): regsvr32/regsvr32.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) regsvr32/regsvr32.exe$(DLLEXT) $@

210 211 212
rpcss.exe$(DLLEXT): rpcss/rpcss.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) rpcss/rpcss.exe$(DLLEXT) $@

213 214 215 216 217 218
rundll32.exe$(DLLEXT): rundll32/rundll32.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) rundll32/rundll32.exe$(DLLEXT) $@

start.exe$(DLLEXT): start/start.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) start/start.exe$(DLLEXT) $@

219 220 221
taskmgr.exe$(DLLEXT): taskmgr/taskmgr.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) taskmgr/taskmgr.exe$(DLLEXT) $@

222 223 224 225 226 227
uninstaller.exe$(DLLEXT): uninstaller/uninstaller.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) uninstaller/uninstaller.exe$(DLLEXT) $@

view.exe$(DLLEXT): view/view.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) view/view.exe$(DLLEXT) $@

228 229 230
wcmd.exe$(DLLEXT): wcmd/wcmd.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wcmd/wcmd.exe$(DLLEXT) $@

231 232 233
wineboot.exe$(DLLEXT): wineboot/wineboot.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wineboot/wineboot.exe$(DLLEXT) $@

234 235 236
winebrowser.exe$(DLLEXT): winebrowser/winebrowser.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winebrowser/winebrowser.exe$(DLLEXT) $@

237 238 239
winecfg.exe$(DLLEXT): winecfg/winecfg.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winecfg/winecfg.exe$(DLLEXT) $@

240 241 242
wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@

243 244
winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
245

246 247 248
winefile.exe$(DLLEXT): winefile/winefile.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winefile/winefile.exe$(DLLEXT) $@

249 250 251
winemenubuilder.exe$(DLLEXT): winemenubuilder/winemenubuilder.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winemenubuilder/winemenubuilder.exe$(DLLEXT) $@

252 253 254 255 256 257
winemine.exe$(DLLEXT): winemine/winemine.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winemine/winemine.exe$(DLLEXT) $@

winepath.exe$(DLLEXT): winepath/winepath.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winepath/winepath.exe$(DLLEXT) $@

258 259 260
winetest.exe$(DLLEXT): winetest/winetest.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winetest/winetest.exe$(DLLEXT) $@

261 262 263
winevdm.exe$(DLLEXT): winevdm/winevdm.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winevdm/winevdm.exe$(DLLEXT) $@

264 265 266
winhelp.exe$(DLLEXT): winhelp/winhelp.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winhelp/winhelp.exe$(DLLEXT) $@

267 268 269 270 271 272 273 274 275
winver.exe$(DLLEXT): winver/winver.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winver/winver.exe$(DLLEXT) $@

avitools/aviinfo.exe$(DLLEXT): avitools
avitools/aviplay.exe$(DLLEXT): avitools
clock/clock.exe$(DLLEXT): clock
cmdlgtst/cmdlgtst.exe$(DLLEXT): cmdlgtst
control/control.exe$(DLLEXT): control
expand/expand.exe$(DLLEXT): expand
Jacek Caban's avatar
Jacek Caban committed
276
hh/hh.exe$(DLLEXT): hh
277
avitools/icinfo.exe$(DLLEXT): avitools
278
msiexec/msiexec.exe$(DLLEXT): msiexec
279 280 281 282 283 284 285
notepad/notepad.exe$(DLLEXT): notepad
progman/progman.exe$(DLLEXT): progman
regedit/regedit.exe$(DLLEXT): regedit
regsvr32/regsvr32.exe$(DLLEXT): regsvr32
rpcss/rpcss.exe$(DLLEXT): rpcss
rundll32/rundll32.exe$(DLLEXT): rundll32
start/start.exe$(DLLEXT): start
286
taskmgr/taskmgr.exe$(DLLEXT): taskmgr
287 288
uninstaller/uninstaller.exe$(DLLEXT): uninstaller
view/view.exe$(DLLEXT): view
289
wcmd/wcmd.exe$(DLLEXT): wcmd
290
wineboot/wineboot.exe$(DLLEXT): wineboot
291
winebrowser/winebrowser.exe$(DLLEXT): winebrowser
292
winecfg/winecfg.exe$(DLLEXT): winecfg
293
wineconsole/wineconsole.exe$(DLLEXT): wineconsole
294
winedbg/winedbg.exe$(DLLEXT): winedbg
295
winefile/winefile.exe$(DLLEXT): winefile
296
winemenubuilder/winemenubuilder.exe$(DLLEXT): winemenubuilder
297 298
winemine/winemine.exe$(DLLEXT): winemine
winepath/winepath.exe$(DLLEXT): winepath
299
winetest/winetest.exe$(DLLEXT): winetest
300
winevdm/winevdm.exe$(DLLEXT): winevdm
301
winhelp/winhelp.exe$(DLLEXT): winhelp
302
winver/winver.exe$(DLLEXT): winver
Alexandre Julliard's avatar
Alexandre Julliard committed
303

304
### Dependencies: