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