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