]> git.saurik.com Git - wxWidgets.git/blob - samples/ipc/makefile.vc
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / samples / ipc / 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 = 30
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 IPCCLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO) /Fd$(OBJS)\ipcclient.pdb $(____DEBUGRUNTIME) \
25 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \
26 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
27 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
28 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
29 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
30 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \
31 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
32 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
33 IPCCLIENT_OBJECTS = \
34 $(OBJS)\ipcclient_client.obj
35 IPCCLIENT_RESOURCES = \
36 $(OBJS)\ipcclient_sample.res
37 IPCSERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_26)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO) /Fd$(OBJS)\ipcserver.pdb $(____DEBUGRUNTIME) \
39 $(__OPTIMIZEFLAG) /D_CRT_SECURE_NO_DEPRECATE=1 \
40 /D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
41 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
42 $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
43 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
44 /I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) /W4 /I. \
45 $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) \
46 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
47 IPCSERVER_OBJECTS = \
48 $(OBJS)\ipcserver_server.obj
49 IPCSERVER_RESOURCES = \
50 $(OBJS)\ipcserver_sample.res
51 BASEIPCCLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_42)$(__DEBUGRUNTIME) /DWIN32 \
52 $(__DEBUGINFO) /Fd$(OBJS)\baseipcclient.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 BASEIPCCLIENT_OBJECTS = \
62 $(OBJS)\baseipcclient_baseclient.obj
63 BASEIPCSERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_58)$(__DEBUGRUNTIME) /DWIN32 \
64 $(__DEBUGINFO) /Fd$(OBJS)\baseipcserver.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 BASEIPCSERVER_OBJECTS = \
74 $(OBJS)\baseipcserver_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$(TOOLKIT_VERSION)
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 __ipcclient___depname = $(OBJS)\ipcclient.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 __ipcserver___depname = $(OBJS)\ipcserver.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 "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
293 __LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib
294 !endif
295 !if "$(USE_GUI)" == "1"
296 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
297 !endif
298 !if "$(USE_GUI)" == "1"
299 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
300 !endif
301 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
302 __DEBUGINFO = /Zi
303 !endif
304 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
305 __DEBUGINFO =
306 !endif
307 !if "$(DEBUG_INFO)" == "0"
308 __DEBUGINFO =
309 !endif
310 !if "$(DEBUG_INFO)" == "1"
311 __DEBUGINFO = /Zi
312 !endif
313 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
314 __DEBUGINFO_4 = /DEBUG
315 !endif
316 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
317 __DEBUGINFO_4 =
318 !endif
319 !if "$(DEBUG_INFO)" == "0"
320 __DEBUGINFO_4 =
321 !endif
322 !if "$(DEBUG_INFO)" == "1"
323 __DEBUGINFO_4 = /DEBUG
324 !endif
325 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
326 ____DEBUGRUNTIME = /D_DEBUG
327 !endif
328 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
329 ____DEBUGRUNTIME =
330 !endif
331 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
332 ____DEBUGRUNTIME =
333 !endif
334 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
335 ____DEBUGRUNTIME = /D_DEBUG
336 !endif
337 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
338 __DEBUGRUNTIME = d
339 !endif
340 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
341 __DEBUGRUNTIME =
342 !endif
343 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
344 __DEBUGRUNTIME =
345 !endif
346 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
347 __DEBUGRUNTIME = d
348 !endif
349 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
350 __DEBUGRUNTIME_2 =
351 !endif
352 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
353 __DEBUGRUNTIME_2 = /opt:ref /opt:icf
354 !endif
355 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
356 __DEBUGRUNTIME_2 = /opt:ref /opt:icf
357 !endif
358 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
359 __DEBUGRUNTIME_2 =
360 !endif
361 !if "$(BUILD)" == "debug"
362 __OPTIMIZEFLAG = /Od
363 !endif
364 !if "$(BUILD)" == "release"
365 __OPTIMIZEFLAG = /O2
366 !endif
367 !if "$(USE_THREADS)" == "0"
368 __THREADSFLAG = L
369 !endif
370 !if "$(USE_THREADS)" == "1"
371 __THREADSFLAG = T
372 !endif
373 !if "$(USE_RTTI)" == "0"
374 __RTTIFLAG =
375 !endif
376 !if "$(USE_RTTI)" == "1"
377 __RTTIFLAG = /GR
378 !endif
379 !if "$(USE_EXCEPTIONS)" == "0"
380 __EXCEPTIONSFLAG =
381 !endif
382 !if "$(USE_EXCEPTIONS)" == "1"
383 __EXCEPTIONSFLAG = /EHsc
384 !endif
385 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
386 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
387 !endif
388 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
389 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
390 !endif
391 !if "$(WXUNIV)" == "1"
392 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
393 !endif
394 !if "$(DEBUG_FLAG)" == "0"
395 __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
396 !endif
397 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
398 __NDEBUG_DEFINE_p = /DNDEBUG
399 !endif
400 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
401 __NDEBUG_DEFINE_p = /DNDEBUG
402 !endif
403 !if "$(USE_EXCEPTIONS)" == "0"
404 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
405 !endif
406 !if "$(USE_RTTI)" == "0"
407 __RTTI_DEFINE_p = /DwxNO_RTTI
408 !endif
409 !if "$(USE_THREADS)" == "0"
410 __THREAD_DEFINE_p = /DwxNO_THREADS
411 !endif
412 !if "$(UNICODE)" == "0"
413 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
414 !endif
415 !if "$(UNICODE)" == "1"
416 __UNICODE_DEFINE_p = /D_UNICODE
417 !endif
418 !if "$(MSLU)" == "1"
419 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
420 !endif
421 !if "$(USE_CAIRO)" == "1"
422 ____CAIRO_INCLUDEDIR_FILENAMES = /I$(CAIRO_ROOT)\include\cairo
423 !endif
424 !if "$(SHARED)" == "1"
425 __DLLFLAG_p = /DWXUSINGDLL
426 !endif
427 !if "$(MONOLITHIC)" == "0"
428 __WXLIB_NET_p = \
429 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
430 !endif
431 !if "$(MONOLITHIC)" == "0"
432 __WXLIB_BASE_p = \
433 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
434 !endif
435 !if "$(MONOLITHIC)" == "1"
436 __WXLIB_MONO_p = \
437 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
438 !endif
439 !if "$(USE_GUI)" == "1"
440 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
441 !endif
442 !if "$(MSLU)" == "1"
443 __UNICOWS_LIB_p = unicows.lib
444 !endif
445 !if "$(USE_CAIRO)" == "1"
446 __CAIRO_LIB_p = cairo.lib
447 !endif
448 !if "$(USE_CAIRO)" == "1"
449 ____CAIRO_LIBDIR_FILENAMES = /LIBPATH:$(CAIRO_ROOT)\lib
450 !endif
451
452
453 all: $(OBJS)
454 $(OBJS):
455 -if not exist $(OBJS) mkdir $(OBJS)
456
457 ### Targets: ###
458
459 all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
460
461 clean:
462 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
463 -if exist $(OBJS)\*.res del $(OBJS)\*.res
464 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
465 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
466 -if exist $(OBJS)\ipcclient.ilk del $(OBJS)\ipcclient.ilk
467 -if exist $(OBJS)\ipcclient.pdb del $(OBJS)\ipcclient.pdb
468 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
469 -if exist $(OBJS)\ipcserver.ilk del $(OBJS)\ipcserver.ilk
470 -if exist $(OBJS)\ipcserver.pdb del $(OBJS)\ipcserver.pdb
471 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
472 -if exist $(OBJS)\baseipcclient.ilk del $(OBJS)\baseipcclient.ilk
473 -if exist $(OBJS)\baseipcclient.pdb del $(OBJS)\baseipcclient.pdb
474 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
475 -if exist $(OBJS)\baseipcserver.ilk del $(OBJS)\baseipcserver.ilk
476 -if exist $(OBJS)\baseipcserver.pdb del $(OBJS)\baseipcserver.pdb
477
478 !if "$(USE_GUI)" == "1"
479 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
480 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\ipcclient.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
481 $(IPCCLIENT_OBJECTS) $(IPCCLIENT_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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
482 <<
483 !endif
484
485 !if "$(USE_GUI)" == "1"
486 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
487 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\ipcserver.pdb" $(__DEBUGINFO_18) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
488 $(IPCSERVER_OBJECTS) $(IPCSERVER_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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
489 <<
490 !endif
491
492 $(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)
493 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseipcclient.pdb" $(__DEBUGINFO_34) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
494 $(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
495 <<
496
497 $(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)
498 link /NOLOGO /OUT:$@ $(__DEBUGINFO_4) /pdb:"$(OBJS)\baseipcserver.pdb" $(__DEBUGINFO_50) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @<<
499 $(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
500 <<
501
502 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
503 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
504
505 $(OBJS)\ipcclient_client.obj: .\client.cpp
506 $(CXX) /c /nologo /TP /Fo$@ $(IPCCLIENT_CXXFLAGS) .\client.cpp
507
508 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
509 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
510
511 $(OBJS)\ipcserver_server.obj: .\server.cpp
512 $(CXX) /c /nologo /TP /Fo$@ $(IPCSERVER_CXXFLAGS) .\server.cpp
513
514 $(OBJS)\baseipcclient_baseclient.obj: .\baseclient.cpp
515 $(CXX) /c /nologo /TP /Fo$@ $(BASEIPCCLIENT_CXXFLAGS) .\baseclient.cpp
516
517 $(OBJS)\baseipcserver_baseserver.obj: .\baseserver.cpp
518 $(CXX) /c /nologo /TP /Fo$@ $(BASEIPCSERVER_CXXFLAGS) .\baseserver.cpp
519