]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
00eef16d | 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
f82b7036 KO |
4 | # Do not modify, all changes will be overwritten!\r |
5 | # =========================================================================\r | |
6 | \r | |
7 | !include <../../build/msw/config.vc>\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
18 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)\r | |
19 | LIBDIRNAME = \\r | |
20 | .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | CLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME) /DWIN32 \\r | |
24 | $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \\r | |
25 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r | |
b796194b VS |
26 | $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r |
27 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
f82b7036 KO |
28 | /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \\r |
29 | $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \\r | |
30 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r | |
31 | CLIENT_OBJECTS = \\r | |
32 | $(OBJS)\client_client.obj\r | |
33 | CLIENT_RESOURCES = \\r | |
00eef16d | 34 | $(OBJS)\client_sample.res\r |
f82b7036 KO |
35 | SERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_26)$(__DEBUGRUNTIME) /DWIN32 \\r |
36 | $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \\r | |
37 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \\r | |
b796194b VS |
38 | $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r |
39 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
f82b7036 KO |
40 | /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \\r |
41 | $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \\r | |
42 | $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r | |
43 | SERVER_OBJECTS = \\r | |
44 | $(OBJS)\server_server.obj\r | |
45 | SERVER_RESOURCES = \\r | |
00eef16d | 46 | $(OBJS)\server_sample.res\r |
f82b7036 KO |
47 | BASECLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_42)$(__DEBUGRUNTIME) /DWIN32 \\r |
48 | $(__DEBUGINFO) /Fd$(OBJS)\baseclient.pdb $(____DEBUGRUNTIME) \\r | |
49 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
b796194b VS |
50 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r |
51 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
52 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r | |
f82b7036 KO |
53 | $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE \\r |
54 | /DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r | |
55 | BASECLIENT_OBJECTS = \\r | |
56 | $(OBJS)\baseclient_baseclient.obj\r | |
57 | BASESERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_58)$(__DEBUGRUNTIME) /DWIN32 \\r | |
58 | $(__DEBUGINFO) /Fd$(OBJS)\baseserver.pdb $(____DEBUGRUNTIME) \\r | |
59 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
b796194b VS |
60 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r |
61 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
62 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include \\r | |
f82b7036 KO |
63 | $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE \\r |
64 | /DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)\r | |
65 | BASESERVER_OBJECTS = \\r | |
66 | $(OBJS)\baseserver_baseserver.obj\r | |
67 | \r | |
68 | ### Conditionally set variables: ###\r | |
69 | \r | |
70 | !if "$(USE_GUI)" == "0"\r | |
71 | PORTNAME = base\r | |
72 | !endif\r | |
73 | !if "$(USE_GUI)" == "1"\r | |
74 | PORTNAME = msw\r | |
75 | !endif\r | |
76 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
77 | WXDEBUGFLAG = d\r | |
78 | !endif\r | |
79 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
80 | WXDEBUGFLAG = d\r | |
81 | !endif\r | |
82 | !if "$(UNICODE)" == "1"\r | |
83 | WXUNICODEFLAG = u\r | |
84 | !endif\r | |
85 | !if "$(WXUNIV)" == "1"\r | |
86 | WXUNIVNAME = univ\r | |
87 | !endif\r | |
88 | !if "$(TARGET_CPU)" == "AMD64"\r | |
89 | DIR_SUFFIX_CPU = _amd64\r | |
90 | !endif\r | |
91 | !if "$(TARGET_CPU)" == "IA64"\r | |
92 | DIR_SUFFIX_CPU = _ia64\r | |
93 | !endif\r | |
94 | !if "$(TARGET_CPU)" == "amd64"\r | |
95 | DIR_SUFFIX_CPU = _amd64\r | |
96 | !endif\r | |
97 | !if "$(TARGET_CPU)" == "ia64"\r | |
98 | DIR_SUFFIX_CPU = _ia64\r | |
99 | !endif\r | |
100 | !if "$(SHARED)" == "1"\r | |
101 | WXDLLFLAG = dll\r | |
102 | !endif\r | |
103 | !if "$(SHARED)" == "0"\r | |
104 | LIBTYPE_SUFFIX = lib\r | |
105 | !endif\r | |
106 | !if "$(SHARED)" == "1"\r | |
107 | LIBTYPE_SUFFIX = dll\r | |
108 | !endif\r | |
109 | !if "$(TARGET_CPU)" == "AMD64"\r | |
94b6ce7f | 110 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
111 | !endif\r |
112 | !if "$(TARGET_CPU)" == "IA64"\r | |
113 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
114 | !endif\r | |
115 | !if "$(TARGET_CPU)" == "amd64"\r | |
94b6ce7f | 116 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
117 | !endif\r |
118 | !if "$(TARGET_CPU)" == "ia64"\r | |
119 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
120 | !endif\r | |
121 | !if "$(MONOLITHIC)" == "0"\r | |
122 | EXTRALIBS_FOR_BASE = \r | |
123 | !endif\r | |
124 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 125 | EXTRALIBS_FOR_BASE = \r |
f82b7036 KO |
126 | !endif\r |
127 | !if "$(USE_GUI)" == "1"\r | |
128 | __client___depname = $(OBJS)\client.exe\r | |
129 | !endif\r | |
130 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
131 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_2)\r | |
132 | !endif\r | |
133 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
134 | __DEBUGINFO_2 = \r | |
135 | !endif\r | |
136 | !if "$(DEBUG_INFO)" == "0"\r | |
137 | __DEBUGINFO_2 = \r | |
138 | !endif\r | |
139 | !if "$(DEBUG_INFO)" == "1"\r | |
140 | __DEBUGINFO_2 = $(__DEBUGRUNTIME_2)\r | |
141 | !endif\r | |
142 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
143 | __RUNTIME_LIBS_10 = D\r | |
144 | !endif\r | |
145 | !if "$(RUNTIME_LIBS)" == "static"\r | |
146 | __RUNTIME_LIBS_10 = $(__THREADSFLAG)\r | |
147 | !endif\r | |
148 | !if "$(USE_GUI)" == "1"\r | |
149 | __server___depname = $(OBJS)\server.exe\r | |
150 | !endif\r | |
151 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
152 | __DEBUGINFO_18 = $(__DEBUGRUNTIME_2)\r | |
153 | !endif\r | |
154 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
155 | __DEBUGINFO_18 = \r | |
156 | !endif\r | |
157 | !if "$(DEBUG_INFO)" == "0"\r | |
158 | __DEBUGINFO_18 = \r | |
159 | !endif\r | |
160 | !if "$(DEBUG_INFO)" == "1"\r | |
161 | __DEBUGINFO_18 = $(__DEBUGRUNTIME_2)\r | |
162 | !endif\r | |
163 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
164 | __RUNTIME_LIBS_26 = D\r | |
165 | !endif\r | |
166 | !if "$(RUNTIME_LIBS)" == "static"\r | |
167 | __RUNTIME_LIBS_26 = $(__THREADSFLAG)\r | |
168 | !endif\r | |
169 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
170 | __DEBUGINFO_34 = $(__DEBUGRUNTIME_2)\r | |
171 | !endif\r | |
172 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
173 | __DEBUGINFO_34 = \r | |
174 | !endif\r | |
175 | !if "$(DEBUG_INFO)" == "0"\r | |
176 | __DEBUGINFO_34 = \r | |
177 | !endif\r | |
178 | !if "$(DEBUG_INFO)" == "1"\r | |
179 | __DEBUGINFO_34 = $(__DEBUGRUNTIME_2)\r | |
180 | !endif\r | |
181 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
182 | __RUNTIME_LIBS_42 = D\r | |
183 | !endif\r | |
184 | !if "$(RUNTIME_LIBS)" == "static"\r | |
185 | __RUNTIME_LIBS_42 = $(__THREADSFLAG)\r | |
186 | !endif\r | |
57c74474 VZ |
187 | !if "$(MONOLITHIC)" == "1"\r |
188 | __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r | |
189 | !endif\r | |
f82b7036 KO |
190 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
191 | __DEBUGINFO_50 = $(__DEBUGRUNTIME_2)\r | |
192 | !endif\r | |
193 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
194 | __DEBUGINFO_50 = \r | |
195 | !endif\r | |
196 | !if "$(DEBUG_INFO)" == "0"\r | |
197 | __DEBUGINFO_50 = \r | |
198 | !endif\r | |
199 | !if "$(DEBUG_INFO)" == "1"\r | |
200 | __DEBUGINFO_50 = $(__DEBUGRUNTIME_2)\r | |
201 | !endif\r | |
202 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
203 | __RUNTIME_LIBS_58 = D\r | |
204 | !endif\r | |
205 | !if "$(RUNTIME_LIBS)" == "static"\r | |
206 | __RUNTIME_LIBS_58 = $(__THREADSFLAG)\r | |
207 | !endif\r | |
57c74474 VZ |
208 | !if "$(MONOLITHIC)" == "1"\r |
209 | __LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)\r | |
210 | !endif\r | |
f82b7036 KO |
211 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
212 | ____DEBUGRUNTIME_0 = /d _DEBUG\r | |
213 | !endif\r | |
214 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
215 | ____DEBUGRUNTIME_0 = \r | |
216 | !endif\r | |
217 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
218 | ____DEBUGRUNTIME_0 = \r | |
219 | !endif\r | |
220 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
221 | ____DEBUGRUNTIME_0 = /d _DEBUG\r | |
222 | !endif\r | |
223 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
224 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__\r | |
225 | !endif\r | |
226 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
227 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__\r | |
228 | !endif\r | |
229 | !if "$(WXUNIV)" == "1"\r | |
230 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__\r | |
231 | !endif\r | |
232 | !if "$(DEBUG_FLAG)" == "0"\r | |
233 | __DEBUG_DEFINE_p_0 = /d wxDEBUG_LEVEL=0\r | |
234 | !endif\r | |
b796194b VS |
235 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
236 | __NDEBUG_DEFINE_p_0 = /d NDEBUG\r | |
237 | !endif\r | |
238 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
239 | __NDEBUG_DEFINE_p_0 = /d NDEBUG\r | |
240 | !endif\r | |
f82b7036 KO |
241 | !if "$(USE_EXCEPTIONS)" == "0"\r |
242 | __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS\r | |
243 | !endif\r | |
244 | !if "$(USE_RTTI)" == "0"\r | |
245 | __RTTI_DEFINE_p_0 = /d wxNO_RTTI\r | |
246 | !endif\r | |
247 | !if "$(USE_THREADS)" == "0"\r | |
248 | __THREAD_DEFINE_p_0 = /d wxNO_THREADS\r | |
249 | !endif\r | |
250 | !if "$(UNICODE)" == "0"\r | |
251 | __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=0\r | |
252 | !endif\r | |
253 | !if "$(UNICODE)" == "1"\r | |
254 | __UNICODE_DEFINE_p_0 = /d _UNICODE\r | |
255 | !endif\r | |
256 | !if "$(MSLU)" == "1"\r | |
257 | __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1\r | |
258 | !endif\r | |
f82b7036 KO |
259 | !if "$(USE_CAIRO)" == "1"\r |
260 | ____CAIRO_INCLUDEDIR_FILENAMES_0 = /i $(CAIRO_ROOT)\include\cairo\r | |
261 | !endif\r | |
262 | !if "$(SHARED)" == "1"\r | |
263 | __DLLFLAG_p_0 = /d WXUSINGDLL\r | |
264 | !endif\r | |
265 | !if "$(MONOLITHIC)" == "0"\r | |
266 | __WXLIB_CORE_p = \\r | |
267 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
268 | !endif\r | |
269 | !if "$(USE_GUI)" == "1"\r | |
270 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
271 | !endif\r | |
272 | !if "$(USE_GUI)" == "1"\r | |
273 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
274 | !endif\r | |
f82b7036 KO |
275 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r |
276 | __DEBUGINFO = /Zi\r | |
277 | !endif\r | |
278 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
279 | __DEBUGINFO = \r | |
280 | !endif\r | |
281 | !if "$(DEBUG_INFO)" == "0"\r | |
282 | __DEBUGINFO = \r | |
283 | !endif\r | |
284 | !if "$(DEBUG_INFO)" == "1"\r | |
285 | __DEBUGINFO = /Zi\r | |
286 | !endif\r | |
287 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
288 | __DEBUGINFO_4 = /DEBUG\r | |
289 | !endif\r | |
290 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
291 | __DEBUGINFO_4 = \r | |
292 | !endif\r | |
293 | !if "$(DEBUG_INFO)" == "0"\r | |
294 | __DEBUGINFO_4 = \r | |
295 | !endif\r | |
296 | !if "$(DEBUG_INFO)" == "1"\r | |
297 | __DEBUGINFO_4 = /DEBUG\r | |
298 | !endif\r | |
299 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
300 | ____DEBUGRUNTIME = /D_DEBUG\r | |
301 | !endif\r | |
302 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
303 | ____DEBUGRUNTIME = \r | |
304 | !endif\r | |
305 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
306 | ____DEBUGRUNTIME = \r | |
307 | !endif\r | |
308 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
309 | ____DEBUGRUNTIME = /D_DEBUG\r | |
310 | !endif\r | |
311 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
312 | __DEBUGRUNTIME = d\r | |
313 | !endif\r | |
314 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
315 | __DEBUGRUNTIME = \r | |
316 | !endif\r | |
317 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
318 | __DEBUGRUNTIME = \r | |
319 | !endif\r | |
320 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
321 | __DEBUGRUNTIME = d\r | |
322 | !endif\r | |
323 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
324 | __DEBUGRUNTIME_2 = \r | |
325 | !endif\r | |
326 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
327 | __DEBUGRUNTIME_2 = /opt:ref /opt:icf\r | |
328 | !endif\r | |
329 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
330 | __DEBUGRUNTIME_2 = /opt:ref /opt:icf\r | |
331 | !endif\r | |
332 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
333 | __DEBUGRUNTIME_2 = \r | |
334 | !endif\r | |
335 | !if "$(BUILD)" == "debug"\r | |
336 | __OPTIMIZEFLAG = /Od\r | |
337 | !endif\r | |
338 | !if "$(BUILD)" == "release"\r | |
339 | __OPTIMIZEFLAG = /O2\r | |
340 | !endif\r | |
341 | !if "$(USE_THREADS)" == "0"\r | |
342 | __THREADSFLAG = L\r | |
343 | !endif\r | |
344 | !if "$(USE_THREADS)" == "1"\r | |
345 | __THREADSFLAG = T\r | |
346 | !endif\r | |
347 | !if "$(USE_RTTI)" == "0"\r | |
348 | __RTTIFLAG = \r | |
349 | !endif\r | |
350 | !if "$(USE_RTTI)" == "1"\r | |
351 | __RTTIFLAG = /GR\r | |
352 | !endif\r | |
353 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
354 | __EXCEPTIONSFLAG = \r | |
355 | !endif\r | |
356 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
357 | __EXCEPTIONSFLAG = /EHsc\r | |
358 | !endif\r | |
359 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
360 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
361 | !endif\r | |
362 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
363 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
364 | !endif\r | |
365 | !if "$(WXUNIV)" == "1"\r | |
366 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
367 | !endif\r | |
368 | !if "$(DEBUG_FLAG)" == "0"\r | |
369 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
370 | !endif\r | |
b796194b VS |
371 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
372 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
373 | !endif\r | |
374 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
375 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
376 | !endif\r | |
f82b7036 KO |
377 | !if "$(USE_EXCEPTIONS)" == "0"\r |
378 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
379 | !endif\r | |
380 | !if "$(USE_RTTI)" == "0"\r | |
381 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
382 | !endif\r | |
383 | !if "$(USE_THREADS)" == "0"\r | |
384 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
385 | !endif\r | |
386 | !if "$(UNICODE)" == "0"\r | |
387 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
388 | !endif\r | |
389 | !if "$(UNICODE)" == "1"\r | |
390 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
391 | !endif\r | |
392 | !if "$(MSLU)" == "1"\r | |
393 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
394 | !endif\r | |
f82b7036 KO |
395 | !if "$(USE_CAIRO)" == "1"\r |
396 | ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r | |
397 | !endif\r | |
398 | !if "$(SHARED)" == "1"\r | |
399 | __DLLFLAG_p = /DWXUSINGDLL\r | |
400 | !endif\r | |
401 | !if "$(MONOLITHIC)" == "0"\r | |
402 | __WXLIB_NET_p = \\r | |
403 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r | |
404 | !endif\r | |
405 | !if "$(MONOLITHIC)" == "0"\r | |
406 | __WXLIB_BASE_p = \\r | |
407 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
408 | !endif\r | |
409 | !if "$(MONOLITHIC)" == "1"\r | |
410 | __WXLIB_MONO_p = \\r | |
411 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
412 | !endif\r | |
57c74474 VZ |
413 | !if "$(USE_GUI)" == "1"\r |
414 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
415 | !endif\r | |
f82b7036 KO |
416 | !if "$(MSLU)" == "1"\r |
417 | __UNICOWS_LIB_p = unicows.lib\r | |
418 | !endif\r | |
f82b7036 KO |
419 | !if "$(USE_CAIRO)" == "1"\r |
420 | __CAIRO_LIB_p = cairo.lib\r | |
421 | !endif\r | |
422 | !if "$(USE_CAIRO)" == "1"\r | |
423 | ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
424 | !endif\r | |
425 | \r | |
426 | \r | |
427 | all: $(OBJS)\r | |
428 | $(OBJS):\r | |
429 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
430 | \r | |
431 | ### Targets: ###\r | |
432 | \r | |
433 | all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r | |
434 | \r | |
435 | clean: \r | |
436 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
437 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
438 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
439 | -if exist $(OBJS)\client.exe del $(OBJS)\client.exe\r | |
440 | -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk\r | |
441 | -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb\r | |
442 | -if exist $(OBJS)\server.exe del $(OBJS)\server.exe\r | |
443 | -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk\r | |
444 | -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb\r | |
445 | -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe\r | |
446 | -if exist $(OBJS)\baseclient.ilk del $(OBJS)\baseclient.ilk\r | |
447 | -if exist $(OBJS)\baseclient.pdb del $(OBJS)\baseclient.pdb\r | |
448 | -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe\r | |
449 | -if exist $(OBJS)\baseserver.ilk del $(OBJS)\baseserver.ilk\r | |
450 | -if exist $(OBJS)\baseserver.pdb del $(OBJS)\baseserver.pdb\r | |
451 | \r | |
452 | !if "$(USE_GUI)" == "1"\r | |
00eef16d | 453 | $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res\r |
f82b7036 | 454 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\client.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r |
b796194b | 455 | $(CLIENT_OBJECTS) $(CLIENT_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r |
f82b7036 KO |
456 | <<\r |
457 | !endif\r | |
458 | \r | |
459 | !if "$(USE_GUI)" == "1"\r | |
00eef16d | 460 | $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res\r |
f82b7036 | 461 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\server.pdb" $(__DEBUGINFO_18) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r |
b796194b | 462 | $(SERVER_OBJECTS) $(SERVER_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r |
f82b7036 KO |
463 | <<\r |
464 | !endif\r | |
465 | \r | |
466 | $(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)\r | |
467 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseclient.pdb" $(__DEBUGINFO_34) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
57c74474 | 468 | $(BASECLIENT_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r |
f82b7036 KO |
469 | <<\r |
470 | \r | |
471 | $(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)\r | |
472 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseserver.pdb" $(__DEBUGINFO_50) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
57c74474 | 473 | $(BASESERVER_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p_1) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib wininet.lib\r |
f82b7036 KO |
474 | <<\r |
475 | \r | |
00eef16d VZ |
476 | $(OBJS)\client_sample.res: .\..\..\samples\sample.rc\r |
477 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_0) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r | |
478 | \r | |
f82b7036 KO |
479 | $(OBJS)\client_client.obj: .\client.cpp\r |
480 | $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) .\client.cpp\r | |
481 | \r | |
00eef16d VZ |
482 | $(OBJS)\server_sample.res: .\..\..\samples\sample.rc\r |
483 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_0) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc\r | |
f82b7036 KO |
484 | \r |
485 | $(OBJS)\server_server.obj: .\server.cpp\r | |
486 | $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) .\server.cpp\r | |
487 | \r | |
f82b7036 KO |
488 | $(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp\r |
489 | $(CXX) /c /nologo /TP /Fo$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp\r | |
490 | \r | |
491 | $(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp\r | |
492 | $(CXX) /c /nologo /TP /Fo$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp\r | |
493 | \r |