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