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