]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
3 | # Bakefile 0.2.8 (http://www.bakefile.org)\r | |
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 | |
3cb332c1 | 34 | $(OBJS)\client_sample.res |
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 | |
3cb332c1 | 46 | $(OBJS)\server_sample.res |
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 | |
125 | EXTRALIBS_FOR_BASE = \r | |
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 | |
187 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
188 | __DEBUGINFO_50 = $(__DEBUGRUNTIME_2)\r | |
189 | !endif\r | |
190 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
191 | __DEBUGINFO_50 = \r | |
192 | !endif\r | |
193 | !if "$(DEBUG_INFO)" == "0"\r | |
194 | __DEBUGINFO_50 = \r | |
195 | !endif\r | |
196 | !if "$(DEBUG_INFO)" == "1"\r | |
197 | __DEBUGINFO_50 = $(__DEBUGRUNTIME_2)\r | |
198 | !endif\r | |
199 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
200 | __RUNTIME_LIBS_58 = D\r | |
201 | !endif\r | |
202 | !if "$(RUNTIME_LIBS)" == "static"\r | |
203 | __RUNTIME_LIBS_58 = $(__THREADSFLAG)\r | |
204 | !endif\r | |
205 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
206 | ____DEBUGRUNTIME_0 = /d _DEBUG\r | |
207 | !endif\r | |
208 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
209 | ____DEBUGRUNTIME_0 = \r | |
210 | !endif\r | |
211 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
212 | ____DEBUGRUNTIME_0 = \r | |
213 | !endif\r | |
214 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
215 | ____DEBUGRUNTIME_0 = /d _DEBUG\r | |
216 | !endif\r | |
217 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
218 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__\r | |
219 | !endif\r | |
220 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
221 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__\r | |
222 | !endif\r | |
223 | !if "$(WXUNIV)" == "1"\r | |
224 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__\r | |
225 | !endif\r | |
226 | !if "$(DEBUG_FLAG)" == "0"\r | |
227 | __DEBUG_DEFINE_p_0 = /d wxDEBUG_LEVEL=0\r | |
228 | !endif\r | |
b796194b VS |
229 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
230 | __NDEBUG_DEFINE_p_0 = /d NDEBUG\r | |
231 | !endif\r | |
232 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
233 | __NDEBUG_DEFINE_p_0 = /d NDEBUG\r | |
234 | !endif\r | |
f82b7036 KO |
235 | !if "$(USE_EXCEPTIONS)" == "0"\r |
236 | __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS\r | |
237 | !endif\r | |
238 | !if "$(USE_RTTI)" == "0"\r | |
239 | __RTTI_DEFINE_p_0 = /d wxNO_RTTI\r | |
240 | !endif\r | |
241 | !if "$(USE_THREADS)" == "0"\r | |
242 | __THREAD_DEFINE_p_0 = /d wxNO_THREADS\r | |
243 | !endif\r | |
244 | !if "$(UNICODE)" == "0"\r | |
245 | __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=0\r | |
246 | !endif\r | |
247 | !if "$(UNICODE)" == "1"\r | |
248 | __UNICODE_DEFINE_p_0 = /d _UNICODE\r | |
249 | !endif\r | |
250 | !if "$(MSLU)" == "1"\r | |
251 | __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1\r | |
252 | !endif\r | |
f82b7036 KO |
253 | !if "$(USE_CAIRO)" == "1"\r |
254 | ____CAIRO_INCLUDEDIR_FILENAMES_0 = /i $(CAIRO_ROOT)\include\cairo\r | |
255 | !endif\r | |
256 | !if "$(SHARED)" == "1"\r | |
257 | __DLLFLAG_p_0 = /d WXUSINGDLL\r | |
258 | !endif\r | |
259 | !if "$(MONOLITHIC)" == "0"\r | |
260 | __WXLIB_CORE_p = \\r | |
261 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
262 | !endif\r | |
263 | !if "$(USE_GUI)" == "1"\r | |
264 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
265 | !endif\r | |
266 | !if "$(USE_GUI)" == "1"\r | |
267 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
268 | !endif\r | |
269 | !if "$(USE_GUI)" == "1"\r | |
270 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
271 | !endif\r | |
272 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
273 | __DEBUGINFO = /Zi\r | |
274 | !endif\r | |
275 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
276 | __DEBUGINFO = \r | |
277 | !endif\r | |
278 | !if "$(DEBUG_INFO)" == "0"\r | |
279 | __DEBUGINFO = \r | |
280 | !endif\r | |
281 | !if "$(DEBUG_INFO)" == "1"\r | |
282 | __DEBUGINFO = /Zi\r | |
283 | !endif\r | |
284 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
285 | __DEBUGINFO_4 = /DEBUG\r | |
286 | !endif\r | |
287 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
288 | __DEBUGINFO_4 = \r | |
289 | !endif\r | |
290 | !if "$(DEBUG_INFO)" == "0"\r | |
291 | __DEBUGINFO_4 = \r | |
292 | !endif\r | |
293 | !if "$(DEBUG_INFO)" == "1"\r | |
294 | __DEBUGINFO_4 = /DEBUG\r | |
295 | !endif\r | |
296 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
297 | ____DEBUGRUNTIME = /D_DEBUG\r | |
298 | !endif\r | |
299 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
300 | ____DEBUGRUNTIME = \r | |
301 | !endif\r | |
302 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
303 | ____DEBUGRUNTIME = \r | |
304 | !endif\r | |
305 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
306 | ____DEBUGRUNTIME = /D_DEBUG\r | |
307 | !endif\r | |
308 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
309 | __DEBUGRUNTIME = d\r | |
310 | !endif\r | |
311 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
312 | __DEBUGRUNTIME = \r | |
313 | !endif\r | |
314 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
315 | __DEBUGRUNTIME = \r | |
316 | !endif\r | |
317 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
318 | __DEBUGRUNTIME = d\r | |
319 | !endif\r | |
320 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
321 | __DEBUGRUNTIME_2 = \r | |
322 | !endif\r | |
323 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
324 | __DEBUGRUNTIME_2 = /opt:ref /opt:icf\r | |
325 | !endif\r | |
326 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
327 | __DEBUGRUNTIME_2 = /opt:ref /opt:icf\r | |
328 | !endif\r | |
329 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
330 | __DEBUGRUNTIME_2 = \r | |
331 | !endif\r | |
332 | !if "$(BUILD)" == "debug"\r | |
333 | __OPTIMIZEFLAG = /Od\r | |
334 | !endif\r | |
335 | !if "$(BUILD)" == "release"\r | |
336 | __OPTIMIZEFLAG = /O2\r | |
337 | !endif\r | |
338 | !if "$(USE_THREADS)" == "0"\r | |
339 | __THREADSFLAG = L\r | |
340 | !endif\r | |
341 | !if "$(USE_THREADS)" == "1"\r | |
342 | __THREADSFLAG = T\r | |
343 | !endif\r | |
344 | !if "$(USE_RTTI)" == "0"\r | |
345 | __RTTIFLAG = \r | |
346 | !endif\r | |
347 | !if "$(USE_RTTI)" == "1"\r | |
348 | __RTTIFLAG = /GR\r | |
349 | !endif\r | |
350 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
351 | __EXCEPTIONSFLAG = \r | |
352 | !endif\r | |
353 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
354 | __EXCEPTIONSFLAG = /EHsc\r | |
355 | !endif\r | |
356 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
357 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
358 | !endif\r | |
359 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
360 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
361 | !endif\r | |
362 | !if "$(WXUNIV)" == "1"\r | |
363 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
364 | !endif\r | |
365 | !if "$(DEBUG_FLAG)" == "0"\r | |
366 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
367 | !endif\r | |
b796194b VS |
368 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r |
369 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
370 | !endif\r | |
371 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
372 | __NDEBUG_DEFINE_p = /DNDEBUG\r | |
373 | !endif\r | |
f82b7036 KO |
374 | !if "$(USE_EXCEPTIONS)" == "0"\r |
375 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
376 | !endif\r | |
377 | !if "$(USE_RTTI)" == "0"\r | |
378 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
379 | !endif\r | |
380 | !if "$(USE_THREADS)" == "0"\r | |
381 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
382 | !endif\r | |
383 | !if "$(UNICODE)" == "0"\r | |
384 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
385 | !endif\r | |
386 | !if "$(UNICODE)" == "1"\r | |
387 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
388 | !endif\r | |
389 | !if "$(MSLU)" == "1"\r | |
390 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
391 | !endif\r | |
f82b7036 KO |
392 | !if "$(USE_CAIRO)" == "1"\r |
393 | ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo\r | |
394 | !endif\r | |
395 | !if "$(SHARED)" == "1"\r | |
396 | __DLLFLAG_p = /DWXUSINGDLL\r | |
397 | !endif\r | |
398 | !if "$(MONOLITHIC)" == "0"\r | |
399 | __WXLIB_NET_p = \\r | |
400 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r | |
401 | !endif\r | |
402 | !if "$(MONOLITHIC)" == "0"\r | |
403 | __WXLIB_BASE_p = \\r | |
404 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
405 | !endif\r | |
406 | !if "$(MONOLITHIC)" == "1"\r | |
407 | __WXLIB_MONO_p = \\r | |
408 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
409 | !endif\r | |
410 | !if "$(MSLU)" == "1"\r | |
411 | __UNICOWS_LIB_p = unicows.lib\r | |
412 | !endif\r | |
f82b7036 KO |
413 | !if "$(USE_CAIRO)" == "1"\r |
414 | __CAIRO_LIB_p = cairo.lib\r | |
415 | !endif\r | |
416 | !if "$(USE_CAIRO)" == "1"\r | |
417 | ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib\r | |
418 | !endif\r | |
419 | \r | |
420 | \r | |
421 | all: $(OBJS)\r | |
422 | $(OBJS):\r | |
423 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
424 | \r | |
425 | ### Targets: ###\r | |
426 | \r | |
427 | all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r | |
428 | \r | |
429 | clean: \r | |
430 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
431 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
432 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
433 | -if exist $(OBJS)\client.exe del $(OBJS)\client.exe\r | |
434 | -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk\r | |
435 | -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb\r | |
436 | -if exist $(OBJS)\server.exe del $(OBJS)\server.exe\r | |
437 | -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk\r | |
438 | -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb\r | |
439 | -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe\r | |
440 | -if exist $(OBJS)\baseclient.ilk del $(OBJS)\baseclient.ilk\r | |
441 | -if exist $(OBJS)\baseclient.pdb del $(OBJS)\baseclient.pdb\r | |
442 | -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe\r | |
443 | -if exist $(OBJS)\baseserver.ilk del $(OBJS)\baseserver.ilk\r | |
444 | -if exist $(OBJS)\baseserver.pdb del $(OBJS)\baseserver.pdb\r | |
445 | \r | |
446 | !if "$(USE_GUI)" == "1"\r | |
3cb332c1 | 447 | $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res |
f82b7036 | 448 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\client.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r |
b796194b | 449 | $(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 |
450 | <<\r |
451 | !endif\r | |
452 | \r | |
453 | !if "$(USE_GUI)" == "1"\r | |
3cb332c1 | 454 | $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res |
f82b7036 | 455 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\server.pdb" $(__DEBUGINFO_18) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r |
b796194b | 456 | $(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 |
457 | <<\r |
458 | !endif\r | |
459 | \r | |
460 | $(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)\r | |
461 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseclient.pdb" $(__DEBUGINFO_34) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
b796194b | 462 | $(BASECLIENT_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_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 |
463 | <<\r |
464 | \r | |
465 | $(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)\r | |
466 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseserver.pdb" $(__DEBUGINFO_50) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<\r | |
b796194b | 467 | $(BASESERVER_OBJECTS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_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 |
468 | <<\r |
469 | \r | |
3cb332c1 VZ |
470 | $(OBJS)\client_sample.res: .\..\..\samples\sample.rc |
471 | 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 | |
472 | ||
f82b7036 KO |
473 | $(OBJS)\client_client.obj: .\client.cpp\r |
474 | $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) .\client.cpp\r | |
475 | \r | |
3cb332c1 VZ |
476 | $(OBJS)\server_sample.res: .\..\..\samples\sample.rc |
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 | |
f82b7036 KO |
478 | \r |
479 | $(OBJS)\server_server.obj: .\server.cpp\r | |
480 | $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) .\server.cpp\r | |
481 | \r | |
f82b7036 KO |
482 | $(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp\r |
483 | $(CXX) /c /nologo /TP /Fo$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp\r | |
484 | \r | |
485 | $(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp\r | |
486 | $(CXX) /c /nologo /TP /Fo$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp\r | |
487 | \r |