]>
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 | |
14b682f7 | 18 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(ARCH_SUFFIX) |
f82b7036 | 19 | LIBDIRNAME = \\r |
14b682f7 | 20 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) |
f82b7036 KO |
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 | 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 |
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 | 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 |
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 | |
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 |
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 | |
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 |
73 | BASESERVER_OBJECTS = \\r |
74 | $(OBJS)\baseserver_baseserver.obj\r | |
75 | \r | |
76 | ### Conditionally set variables: ###\r | |
77 | \r | |
22a3b6e4 VZ |
78 | !if "$(TOOLKIT)" == "GTK" |
79 | WIN32_TOOLKIT_LOWERCASE = gtk | |
80 | !endif | |
81 | !if "$(TOOLKIT)" == "MSW" | |
82 | WIN32_TOOLKIT_LOWERCASE = msw | |
83 | !endif | |
14b682f7 VZ |
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 | |
f82b7036 KO |
102 | !if "$(USE_GUI)" == "0"\r |
103 | PORTNAME = base\r | |
104 | !endif\r | |
105 | !if "$(USE_GUI)" == "1"\r | |
22a3b6e4 VZ |
106 | PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) |
107 | !endif | |
108 | !if "$(TOOLKIT)" == "MAC" | |
109 | WXBASEPORT = _carbon | |
110 | !endif | |
14b682f7 VZ |
111 | !if "$(OFFICIAL_BUILD)" == "1" |
112 | COMPILER_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 |
115 | WXDEBUGFLAG = d\r | |
116 | !endif\r | |
117 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
118 | WXDEBUGFLAG = d\r | |
119 | !endif\r | |
120 | !if "$(UNICODE)" == "1"\r | |
121 | WXUNICODEFLAG = u\r | |
122 | !endif\r | |
123 | !if "$(WXUNIV)" == "1"\r | |
124 | WXUNIVNAME = univ\r | |
125 | !endif\r | |
f82b7036 KO |
126 | !if "$(SHARED)" == "1"\r |
127 | WXDLLFLAG = dll\r | |
128 | !endif\r | |
129 | !if "$(SHARED)" == "0"\r | |
130 | LIBTYPE_SUFFIX = lib\r | |
131 | !endif\r | |
132 | !if "$(SHARED)" == "1"\r | |
133 | LIBTYPE_SUFFIX = dll\r | |
134 | !endif\r | |
135 | !if "$(TARGET_CPU)" == "AMD64"\r | |
94b6ce7f | 136 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
137 | !endif\r |
138 | !if "$(TARGET_CPU)" == "IA64"\r | |
139 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
140 | !endif\r | |
14b682f7 VZ |
141 | !if "$(TARGET_CPU)" == "X64" |
142 | LINK_TARGET_CPU = /MACHINE:X64 | |
143 | !endif | |
f82b7036 | 144 | !if "$(TARGET_CPU)" == "amd64"\r |
94b6ce7f | 145 | LINK_TARGET_CPU = /MACHINE:X64\r |
f82b7036 KO |
146 | !endif\r |
147 | !if "$(TARGET_CPU)" == "ia64"\r | |
148 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
149 | !endif\r | |
14b682f7 VZ |
150 | !if "$(TARGET_CPU)" == "x64" |
151 | LINK_TARGET_CPU = /MACHINE:X64 | |
152 | !endif | |
f82b7036 KO |
153 | !if "$(MONOLITHIC)" == "0"\r |
154 | EXTRALIBS_FOR_BASE = \r | |
155 | !endif\r | |
156 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 157 | EXTRALIBS_FOR_BASE = \r |
f82b7036 | 158 | !endif\r |
22a3b6e4 VZ |
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 | |
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 | |
464 | all: $(OBJS)\r | |
465 | $(OBJS):\r | |
466 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
467 | \r | |
468 | ### Targets: ###\r | |
469 | \r | |
470 | all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r | |
471 | \r | |
472 | clean: \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 |