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