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