1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
18 LIBDIRNAME = .\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 IPCCLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \
22 $(__DEBUGINFO) /Fd$(OBJS)\ipcclient.pdb $(____DEBUGRUNTIME) \
23 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
27 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
28 $(CPPFLAGS) $(CXXFLAGS)
30 $(OBJS)\ipcclient_sample.res \
31 $(OBJS)\ipcclient_client.obj
32 IPCSERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
33 $(__DEBUGINFO) /Fd$(OBJS)\ipcserver.pdb $(____DEBUGRUNTIME) \
34 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
35 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
36 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
37 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
38 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
39 $(CPPFLAGS) $(CXXFLAGS)
41 $(OBJS)\ipcserver_sample.res \
42 $(OBJS)\ipcserver_server.obj
44 ### Conditionally set variables: ###
46 !if "$(USE_GUI)" == "0"
49 !if "$(USE_GUI)" == "1"
52 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55 !if "$(DEBUG_FLAG)" == "1"
58 !if "$(UNICODE)" == "1"
61 !if "$(WXUNIV)" == "1"
64 !if "$(TARGET_CPU)" == "amd64"
65 DIR_SUFFIX_CPU = _amd64
67 !if "$(TARGET_CPU)" == "amd64"
68 DIR_SUFFIX_CPU = _amd64
70 !if "$(TARGET_CPU)" == "ia64"
71 DIR_SUFFIX_CPU = _ia64
73 !if "$(TARGET_CPU)" == "ia64"
74 DIR_SUFFIX_CPU = _ia64
76 !if "$(SHARED)" == "1"
79 !if "$(SHARED)" == "0"
82 !if "$(SHARED)" == "1"
85 !if "$(TARGET_CPU)" == "amd64"
86 LINK_TARGET_CPU = /MACHINE:AMD64
88 !if "$(TARGET_CPU)" == "amd64"
89 LINK_TARGET_CPU = /MACHINE:AMD64
91 !if "$(TARGET_CPU)" == "ia64"
92 LINK_TARGET_CPU = /MACHINE:IA64
94 !if "$(TARGET_CPU)" == "ia64"
95 LINK_TARGET_CPU = /MACHINE:IA64
97 !if "$(MONOLITHIC)" == "0"
100 !if "$(MONOLITHIC)" == "1"
103 !if "$(RUNTIME_LIBS)" == "dynamic"
106 !if "$(RUNTIME_LIBS)" == "static"
107 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
109 !if "$(RUNTIME_LIBS)" == "dynamic"
110 __RUNTIME_LIBS_22 = D
112 !if "$(RUNTIME_LIBS)" == "static"
113 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
115 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
118 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
121 !if "$(DEBUG_INFO)" == "0"
124 !if "$(DEBUG_INFO)" == "1"
127 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128 __DEBUGINFO_1 = /DEBUG
130 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
133 !if "$(DEBUG_INFO)" == "0"
136 !if "$(DEBUG_INFO)" == "1"
137 __DEBUGINFO_1 = /DEBUG
139 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
140 ____DEBUGRUNTIME = /D_DEBUG
142 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
145 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
148 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
149 ____DEBUGRUNTIME = /D_DEBUG
151 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
152 ____DEBUGRUNTIME_0 = /d _DEBUG
154 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
157 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
160 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
161 ____DEBUGRUNTIME_0 = /d _DEBUG
163 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
166 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
169 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
172 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
175 !if "$(BUILD)" == "debug"
178 !if "$(BUILD)" == "release"
181 !if "$(USE_THREADS)" == "0"
184 !if "$(USE_THREADS)" == "1"
187 !if "$(USE_RTTI)" == "0"
190 !if "$(USE_RTTI)" == "1"
193 !if "$(USE_EXCEPTIONS)" == "0"
196 !if "$(USE_EXCEPTIONS)" == "1"
197 __EXCEPTIONSFLAG = /EHsc
199 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
200 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
202 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
203 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
205 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
206 __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
208 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
209 __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
211 !if "$(WXUNIV)" == "1"
212 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
214 !if "$(WXUNIV)" == "1"
215 __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
217 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
218 __DEBUG_DEFINE_p = /D__WXDEBUG__
220 !if "$(DEBUG_FLAG)" == "1"
221 __DEBUG_DEFINE_p = /D__WXDEBUG__
223 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
224 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
226 !if "$(DEBUG_FLAG)" == "1"
227 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
229 !if "$(USE_EXCEPTIONS)" == "0"
230 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
232 !if "$(USE_EXCEPTIONS)" == "0"
233 __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS
235 !if "$(USE_RTTI)" == "0"
236 __RTTI_DEFINE_p = /DwxNO_RTTI
238 !if "$(USE_RTTI)" == "0"
239 __RTTI_DEFINE_p_0 = /d wxNO_RTTI
241 !if "$(USE_THREADS)" == "0"
242 __THREAD_DEFINE_p = /DwxNO_THREADS
244 !if "$(USE_THREADS)" == "0"
245 __THREAD_DEFINE_p_0 = /d wxNO_THREADS
247 !if "$(UNICODE)" == "1"
248 __UNICODE_DEFINE_p = /D_UNICODE
250 !if "$(UNICODE)" == "1"
251 __UNICODE_DEFINE_p_0 = /d _UNICODE
254 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
257 __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1
259 !if "$(USE_GDIPLUS)" == "1"
260 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
262 !if "$(USE_GDIPLUS)" == "1"
263 __GFXCTX_DEFINE_p_0 = /d wxUSE_GRAPHICS_CONTEXT=1
265 !if "$(SHARED)" == "1"
266 __DLLFLAG_p = /DWXUSINGDLL
268 !if "$(SHARED)" == "1"
269 __DLLFLAG_p_0 = /d WXUSINGDLL
271 !if "$(MONOLITHIC)" == "0"
273 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
275 !if "$(MONOLITHIC)" == "0"
277 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
279 !if "$(MONOLITHIC)" == "0"
281 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
283 !if "$(MONOLITHIC)" == "1"
285 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
287 !if "$(USE_GUI)" == "1"
288 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
290 !if "$(USE_GUI)" == "1"
291 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
293 !if "$(USE_GUI)" == "1"
294 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
297 __UNICOWS_LIB_p = unicows.lib
299 !if "$(USE_GDIPLUS)" == "1"
300 __GDIPLUS_LIB_p = gdiplus.lib
306 -if not exist $(OBJS) mkdir $(OBJS)
310 all: $(OBJS)\ipcclient.exe $(OBJS)\ipcserver.exe
313 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
314 -if exist $(OBJS)\*.res del $(OBJS)\*.res
315 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
316 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
317 -if exist $(OBJS)\ipcclient.ilk del $(OBJS)\ipcclient.ilk
318 -if exist $(OBJS)\ipcclient.pdb del $(OBJS)\ipcclient.pdb
319 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
320 -if exist $(OBJS)\ipcserver.ilk del $(OBJS)\ipcserver.ilk
321 -if exist $(OBJS)\ipcserver.pdb del $(OBJS)\ipcserver.pdb
323 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
324 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
325 $(IPCCLIENT_OBJECTS) $(__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) $(__GDIPLUS_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 odbc32.lib
328 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
329 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
330 $(IPCSERVER_OBJECTS) $(__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) $(__GDIPLUS_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 odbc32.lib
333 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
334 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples $**
336 $(OBJS)\ipcclient_client.obj: .\client.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(IPCCLIENT_CXXFLAGS) $**
339 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
340 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples $**
342 $(OBJS)\ipcserver_server.obj: .\server.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(IPCSERVER_CXXFLAGS) $**