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