]> git.saurik.com Git - wxWidgets.git/blob - samples/sockets/makefile.vc
Add missing wxSTDCALL to fix wxWebView compilation with Borland.
[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__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
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 "$(USE_GUI)" == "1"
293 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
294 !endif
295 !if "$(USE_GUI)" == "1"
296 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
297 !endif
298 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
299 __DEBUGINFO = /Zi
300 !endif
301 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
302 __DEBUGINFO =
303 !endif
304 !if "$(DEBUG_INFO)" == "0"
305 __DEBUGINFO =
306 !endif
307 !if "$(DEBUG_INFO)" == "1"
308 __DEBUGINFO = /Zi
309 !endif
310 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
311 __DEBUGINFO_4 = /DEBUG
312 !endif
313 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
314 __DEBUGINFO_4 =
315 !endif
316 !if "$(DEBUG_INFO)" == "0"
317 __DEBUGINFO_4 =
318 !endif
319 !if "$(DEBUG_INFO)" == "1"
320 __DEBUGINFO_4 = /DEBUG
321 !endif
322 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
323 ____DEBUGRUNTIME = /D_DEBUG
324 !endif
325 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
326 ____DEBUGRUNTIME =
327 !endif
328 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
329 ____DEBUGRUNTIME =
330 !endif
331 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
332 ____DEBUGRUNTIME = /D_DEBUG
333 !endif
334 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
335 __DEBUGRUNTIME = d
336 !endif
337 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
338 __DEBUGRUNTIME =
339 !endif
340 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
341 __DEBUGRUNTIME =
342 !endif
343 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
344 __DEBUGRUNTIME = d
345 !endif
346 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
347 __DEBUGRUNTIME_2 =
348 !endif
349 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
350 __DEBUGRUNTIME_2 = /opt:ref /opt:icf
351 !endif
352 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
353 __DEBUGRUNTIME_2 = /opt:ref /opt:icf
354 !endif
355 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
356 __DEBUGRUNTIME_2 =
357 !endif
358 !if "$(BUILD)" == "debug"
359 __OPTIMIZEFLAG = /Od
360 !endif
361 !if "$(BUILD)" == "release"
362 __OPTIMIZEFLAG = /O2
363 !endif
364 !if "$(USE_THREADS)" == "0"
365 __THREADSFLAG = L
366 !endif
367 !if "$(USE_THREADS)" == "1"
368 __THREADSFLAG = T
369 !endif
370 !if "$(USE_RTTI)" == "0"
371 __RTTIFLAG =
372 !endif
373 !if "$(USE_RTTI)" == "1"
374 __RTTIFLAG = /GR
375 !endif
376 !if "$(USE_EXCEPTIONS)" == "0"
377 __EXCEPTIONSFLAG =
378 !endif
379 !if "$(USE_EXCEPTIONS)" == "1"
380 __EXCEPTIONSFLAG = /EHsc
381 !endif
382 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
383 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
384 !endif
385 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
386 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
387 !endif
388 !if "$(WXUNIV)" == "1"
389 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
390 !endif
391 !if "$(DEBUG_FLAG)" == "0"
392 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
393 !endif
394 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
395 __NDEBUG_DEFINE_p = /DNDEBUG
396 !endif
397 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
398 __NDEBUG_DEFINE_p = /DNDEBUG
399 !endif
400 !if "$(USE_EXCEPTIONS)" == "0"
401 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
402 !endif
403 !if "$(USE_RTTI)" == "0"
404 __RTTI_DEFINE_p = /DwxNO_RTTI
405 !endif
406 !if "$(USE_THREADS)" == "0"
407 __THREAD_DEFINE_p = /DwxNO_THREADS
408 !endif
409 !if "$(UNICODE)" == "0"
410 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
411 !endif
412 !if "$(UNICODE)" == "1"
413 __UNICODE_DEFINE_p = /D_UNICODE
414 !endif
415 !if "$(MSLU)" == "1"
416 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
417 !endif
418 !if "$(USE_CAIRO)" == "1"
419 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
420 !endif
421 !if "$(SHARED)" == "1"
422 __DLLFLAG_p = /DWXUSINGDLL
423 !endif
424 !if "$(MONOLITHIC)" == "0"
425 __WXLIB_NET_p = \
426 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
427 !endif
428 !if "$(MONOLITHIC)" == "0"
429 __WXLIB_BASE_p = \
430 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
431 !endif
432 !if "$(MONOLITHIC)" == "1"
433 __WXLIB_MONO_p = \
434 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
435 !endif
436 !if "$(USE_GUI)" == "1"
437 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
438 !endif
439 !if "$(MSLU)" == "1"
440 __UNICOWS_LIB_p = unicows.lib
441 !endif
442 !if "$(USE_CAIRO)" == "1"
443 __CAIRO_LIB_p = cairo.lib
444 !endif
445 !if "$(USE_CAIRO)" == "1"
446 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
447 !endif
448
449
450 all: $(OBJS)
451 $(OBJS):
452 -if not exist $(OBJS) mkdir $(OBJS)
453
454 ### Targets: ###
455
456 all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe
457
458 clean:
459 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
460 -if exist $(OBJS)\*.res del $(OBJS)\*.res
461 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
462 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
463 -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk
464 -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb
465 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
466 -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk
467 -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb
468 -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe
469 -if exist $(OBJS)\baseclient.ilk del $(OBJS)\baseclient.ilk
470 -if exist $(OBJS)\baseclient.pdb del $(OBJS)\baseclient.pdb
471 -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe
472 -if exist $(OBJS)\baseserver.ilk del $(OBJS)\baseserver.ilk
473 -if exist $(OBJS)\baseserver.pdb del $(OBJS)\baseserver.pdb
474
475 !if "$(USE_GUI)" == "1"
476 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res
477 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\client.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
478 $(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
479 <<
480 !endif
481
482 !if "$(USE_GUI)" == "1"
483 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res
484 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\server.pdb" $(__DEBUGINFO_18) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
485 $(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
486 <<
487 !endif
488
489 $(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)
490 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseclient.pdb" $(__DEBUGINFO_34) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
491 $(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
492 <<
493
494 $(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)
495 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseserver.pdb" $(__DEBUGINFO_50) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
496 $(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
497 <<
498
499 $(OBJS)\client_sample.res: .\..\..\samples\sample.rc
500 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
501
502 $(OBJS)\client_client.obj: .\client.cpp
503 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) .\client.cpp
504
505 $(OBJS)\server_sample.res: .\..\..\samples\sample.rc
506 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
507
508 $(OBJS)\server_server.obj: .\server.cpp
509 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) .\server.cpp
510
511 $(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp
512 $(CXX) /c /nologo /TP /Fo$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp
513
514 $(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp
515 $(CXX) /c /nologo /TP /Fo$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp
516