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