Makefile.in 8.52 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
	eject \
14
	expand \
15
	explorer \
Jacek Caban's avatar
Jacek Caban committed
16
	hh \
17
	msiexec \
Alexandre Julliard's avatar
Alexandre Julliard committed
18 19
	notepad \
	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 \
Joshua Thielen's avatar
Joshua Thielen committed
36
	winemine \
37
	winepath \
38
	winetest \
39
	winevdm \
Alexandre Julliard's avatar
Alexandre Julliard committed
40
	winhelp \
41 42
	winver \
	wordpad
Alexandre Julliard's avatar
Alexandre Julliard committed
43

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

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

97 98
# Symlinks to apps that we want to run from inside the source tree
SYMLINKS = \
99 100 101 102 103
	aviinfo.exe$(DLLEXT) \
	aviplay.exe$(DLLEXT) \
	clock.exe$(DLLEXT) \
	cmdlgtst.exe$(DLLEXT) \
	control.exe$(DLLEXT) \
104
	eject.exe$(DLLEXT) \
105
	expand.exe$(DLLEXT) \
106
	explorer.exe$(DLLEXT) \
Jacek Caban's avatar
Jacek Caban committed
107
	hh.exe$(DLLEXT) \
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
	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) \
133 134
	winver.exe$(DLLEXT) \
	wordpad.exe$(DLLEXT)
Alexandre Julliard's avatar
Alexandre Julliard committed
135

136
@MAKE_RULES@
Alexandre Julliard's avatar
Alexandre Julliard committed
137

138
all: wineapploader winelauncher $(SUBDIRS) $(SYMLINKS)
139 140

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

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

146 147 148 149 150
# Rules for installation

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

install-apploader: wineapploader dummy
151 152
	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
	$(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
153 154

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

157
install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
158
	$(RM) $(DESTDIR)$(bindir)/wineapploader
159

160
install-progs: # nothing to do here
161

162
install:: winelauncher install-progs$(DLLEXT)
163 164
	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
	$(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
165

166
uninstall::
167 168
	-cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
	-rmdir $(DESTDIR)$(dlldir)
169 170

clean::
171
	$(RM) wineapploader winelauncher $(SYMLINKS)
172 173

# Rules for testing
174

175 176
check test:: $(SUBDIRS:%=%/__test__)

177 178
# Rules for symlinks

179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
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) $@

194 195 196
eject.exe$(DLLEXT): eject/eject.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) eject/eject.exe$(DLLEXT) $@

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

200 201 202
explorer.exe$(DLLEXT): explorer/explorer.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) explorer/explorer.exe$(DLLEXT) $@

Jacek Caban's avatar
Jacek Caban committed
203 204 205
hh.exe$(DLLEXT): hh/hh.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) hh/hh.exe$(DLLEXT) $@

206 207 208
icinfo.exe$(DLLEXT): avitools/icinfo.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) avitools/icinfo.exe$(DLLEXT) $@

209 210 211
msiexec.exe$(DLLEXT): msiexec/msiexec.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) msiexec/msiexec.exe$(DLLEXT) $@

212 213 214 215 216 217 218 219 220 221 222 223
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) $@

224 225 226
rpcss.exe$(DLLEXT): rpcss/rpcss.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) rpcss/rpcss.exe$(DLLEXT) $@

227 228 229 230 231 232
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) $@

233 234 235
taskmgr.exe$(DLLEXT): taskmgr/taskmgr.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) taskmgr/taskmgr.exe$(DLLEXT) $@

236 237 238 239 240 241
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) $@

242 243 244
wcmd.exe$(DLLEXT): wcmd/wcmd.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wcmd/wcmd.exe$(DLLEXT) $@

245 246 247
wineboot.exe$(DLLEXT): wineboot/wineboot.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wineboot/wineboot.exe$(DLLEXT) $@

248 249 250
winebrowser.exe$(DLLEXT): winebrowser/winebrowser.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winebrowser/winebrowser.exe$(DLLEXT) $@

251 252 253
winecfg.exe$(DLLEXT): winecfg/winecfg.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winecfg/winecfg.exe$(DLLEXT) $@

254 255 256
wineconsole.exe$(DLLEXT): wineconsole/wineconsole.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wineconsole/wineconsole.exe$(DLLEXT) $@

257 258
winedbg.exe$(DLLEXT): winedbg/winedbg.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winedbg/winedbg.exe$(DLLEXT) $@
259

260 261 262
winefile.exe$(DLLEXT): winefile/winefile.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winefile/winefile.exe$(DLLEXT) $@

263 264 265
winemenubuilder.exe$(DLLEXT): winemenubuilder/winemenubuilder.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winemenubuilder/winemenubuilder.exe$(DLLEXT) $@

266 267 268 269 270 271
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) $@

272 273 274
winetest.exe$(DLLEXT): winetest/winetest.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winetest/winetest.exe$(DLLEXT) $@

275 276 277
winevdm.exe$(DLLEXT): winevdm/winevdm.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winevdm/winevdm.exe$(DLLEXT) $@

278 279 280
winhelp.exe$(DLLEXT): winhelp/winhelp.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winhelp/winhelp.exe$(DLLEXT) $@

281 282 283
winver.exe$(DLLEXT): winver/winver.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) winver/winver.exe$(DLLEXT) $@

284 285 286
wordpad.exe$(DLLEXT): wordpad/wordpad.exe$(DLLEXT)
	$(RM) $@ && $(LN_S) wordpad/wordpad.exe$(DLLEXT) $@

287 288 289 290 291
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
292
eject/eject.exe$(DLLEXT): eject
293
expand/expand.exe$(DLLEXT): expand
294
explorer/explorer.exe$(DLLEXT): explorer
Jacek Caban's avatar
Jacek Caban committed
295
hh/hh.exe$(DLLEXT): hh
296
avitools/icinfo.exe$(DLLEXT): avitools
297
msiexec/msiexec.exe$(DLLEXT): msiexec
298 299 300 301 302 303 304
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
305
taskmgr/taskmgr.exe$(DLLEXT): taskmgr
306 307
uninstaller/uninstaller.exe$(DLLEXT): uninstaller
view/view.exe$(DLLEXT): view
308
wcmd/wcmd.exe$(DLLEXT): wcmd
309
wineboot/wineboot.exe$(DLLEXT): wineboot
310
winebrowser/winebrowser.exe$(DLLEXT): winebrowser
311
winecfg/winecfg.exe$(DLLEXT): winecfg
312
wineconsole/wineconsole.exe$(DLLEXT): wineconsole
313
winedbg/winedbg.exe$(DLLEXT): winedbg
314
winefile/winefile.exe$(DLLEXT): winefile
315
winemenubuilder/winemenubuilder.exe$(DLLEXT): winemenubuilder
316 317
winemine/winemine.exe$(DLLEXT): winemine
winepath/winepath.exe$(DLLEXT): winepath
318
winetest/winetest.exe$(DLLEXT): winetest
319
winevdm/winevdm.exe$(DLLEXT): winevdm
320
winhelp/winhelp.exe$(DLLEXT): winhelp
321
winver/winver.exe$(DLLEXT): winver
322
wordpad/wordpad.exe$(DLLEXT): wordpad
Alexandre Julliard's avatar
Alexandre Julliard committed
323

324
### Dependencies: