1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.3 (http://www.bakefile.org)
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 # -------------------------------------------------------------------------
18 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 IPCCLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO) /Fd$(OBJS)\ipcclient.pdb $(____DEBUGRUNTIME) \
25 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
26 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
27 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
28 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
29 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
30 $(CPPFLAGS) $(CXXFLAGS)
32 $(OBJS)\ipcclient_sample.res \
33 $(OBJS)\ipcclient_client.obj
34 IPCSERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
35 $(__DEBUGINFO) /Fd$(OBJS)\ipcserver.pdb $(____DEBUGRUNTIME) \
36 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
38 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
39 $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
40 /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
41 $(CPPFLAGS) $(CXXFLAGS)
43 $(OBJS)\ipcserver_sample.res \
44 $(OBJS)\ipcserver_server.obj
46 ### Conditionally set variables: ###
48 !if "$(USE_GUI)" == "0"
51 !if "$(USE_GUI)" == "1"
54 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
57 !if "$(DEBUG_FLAG)" == "1"
60 !if "$(UNICODE)" == "1"
63 !if "$(WXUNIV)" == "1"
66 !if "$(TARGET_CPU)" == "amd64"
67 DIR_SUFFIX_CPU = _amd64
69 !if "$(TARGET_CPU)" == "amd64"
70 DIR_SUFFIX_CPU = _amd64
72 !if "$(TARGET_CPU)" == "ia64"
73 DIR_SUFFIX_CPU = _ia64
75 !if "$(TARGET_CPU)" == "ia64"
76 DIR_SUFFIX_CPU = _ia64
78 !if "$(SHARED)" == "1"
81 !if "$(SHARED)" == "0"
84 !if "$(SHARED)" == "1"
87 !if "$(TARGET_CPU)" == "amd64"
88 LINK_TARGET_CPU = /MACHINE:AMD64
90 !if "$(TARGET_CPU)" == "amd64"
91 LINK_TARGET_CPU = /MACHINE:AMD64
93 !if "$(TARGET_CPU)" == "ia64"
94 LINK_TARGET_CPU = /MACHINE:IA64
96 !if "$(TARGET_CPU)" == "ia64"
97 LINK_TARGET_CPU = /MACHINE:IA64
99 !if "$(MONOLITHIC)" == "0"
102 !if "$(MONOLITHIC)" == "1"
105 !if "$(RUNTIME_LIBS)" == "dynamic"
108 !if "$(RUNTIME_LIBS)" == "static"
109 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
111 !if "$(RUNTIME_LIBS)" == "dynamic"
112 __RUNTIME_LIBS_22 = D
114 !if "$(RUNTIME_LIBS)" == "static"
115 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
117 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
123 !if "$(DEBUG_INFO)" == "0"
126 !if "$(DEBUG_INFO)" == "1"
129 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
130 __DEBUGINFO_1 = /DEBUG
132 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
135 !if "$(DEBUG_INFO)" == "0"
138 !if "$(DEBUG_INFO)" == "1"
139 __DEBUGINFO_1 = /DEBUG
141 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
142 ____DEBUGRUNTIME = /D_DEBUG
144 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
147 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
150 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
151 ____DEBUGRUNTIME = /D_DEBUG
153 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
154 ____DEBUGRUNTIME_0 = /d _DEBUG
156 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
159 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
162 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
163 ____DEBUGRUNTIME_0 = /d _DEBUG
165 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
168 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
171 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
174 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
177 !if "$(BUILD)" == "debug"
180 !if "$(BUILD)" == "release"
183 !if "$(USE_THREADS)" == "0"
186 !if "$(USE_THREADS)" == "1"
189 !if "$(USE_RTTI)" == "0"
192 !if "$(USE_RTTI)" == "1"
195 !if "$(USE_EXCEPTIONS)" == "0"
198 !if "$(USE_EXCEPTIONS)" == "1"
199 __EXCEPTIONSFLAG = /EHsc
201 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
202 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
204 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
205 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
207 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
208 __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
210 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
211 __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
213 !if "$(WXUNIV)" == "1"
214 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
216 !if "$(WXUNIV)" == "1"
217 __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
219 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
220 __DEBUG_DEFINE_p = /D__WXDEBUG__
222 !if "$(DEBUG_FLAG)" == "1"
223 __DEBUG_DEFINE_p = /D__WXDEBUG__
225 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
226 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
228 !if "$(DEBUG_FLAG)" == "1"
229 __DEBUG_DEFINE_p_0 = /d __WXDEBUG__
231 !if "$(USE_EXCEPTIONS)" == "0"
232 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
234 !if "$(USE_EXCEPTIONS)" == "0"
235 __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS
237 !if "$(USE_RTTI)" == "0"
238 __RTTI_DEFINE_p = /DwxNO_RTTI
240 !if "$(USE_RTTI)" == "0"
241 __RTTI_DEFINE_p_0 = /d wxNO_RTTI
243 !if "$(USE_THREADS)" == "0"
244 __THREAD_DEFINE_p = /DwxNO_THREADS
246 !if "$(USE_THREADS)" == "0"
247 __THREAD_DEFINE_p_0 = /d wxNO_THREADS
249 !if "$(UNICODE)" == "0"
250 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0
252 !if "$(UNICODE)" == "1"
253 __UNICODE_DEFINE_p = /D_UNICODE
255 !if "$(UNICODE)" == "0"
256 __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=0
258 !if "$(UNICODE)" == "1"
259 __UNICODE_DEFINE_p_0 = /d _UNICODE
262 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
265 __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1
267 !if "$(USE_GDIPLUS)" == "1"
268 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
270 !if "$(USE_GDIPLUS)" == "1"
271 __GFXCTX_DEFINE_p_0 = /d wxUSE_GRAPHICS_CONTEXT=1
273 !if "$(SHARED)" == "1"
274 __DLLFLAG_p = /DWXUSINGDLL
276 !if "$(SHARED)" == "1"
277 __DLLFLAG_p_0 = /d WXUSINGDLL
279 !if "$(MONOLITHIC)" == "0"
281 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
283 !if "$(MONOLITHIC)" == "0"
285 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
287 !if "$(MONOLITHIC)" == "0"
289 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
291 !if "$(MONOLITHIC)" == "1"
293 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
295 !if "$(USE_GUI)" == "1"
296 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
298 !if "$(USE_GUI)" == "1"
299 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
301 !if "$(USE_GUI)" == "1"
302 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
305 __UNICOWS_LIB_p = unicows.lib
307 !if "$(USE_GDIPLUS)" == "1"
308 __GDIPLUS_LIB_p = gdiplus.lib
314 -if not exist $(OBJS) mkdir $(OBJS)
318 all: $(OBJS)\ipcclient.exe $(OBJS)\ipcserver.exe
321 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
322 -if exist $(OBJS)\*.res del $(OBJS)\*.res
323 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
324 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
325 -if exist $(OBJS)\ipcclient.ilk del $(OBJS)\ipcclient.ilk
326 -if exist $(OBJS)\ipcclient.pdb del $(OBJS)\ipcclient.pdb
327 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
328 -if exist $(OBJS)\ipcserver.ilk del $(OBJS)\ipcserver.ilk
329 -if exist $(OBJS)\ipcserver.pdb del $(OBJS)\ipcserver.pdb
331 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
332 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /pdb:"$(OBJS)\ipcclient.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
333 $(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
336 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
337 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /pdb:"$(OBJS)\ipcserver.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
338 $(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
341 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
342 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 /d NOPCH .\..\..\samples\sample.rc
344 $(OBJS)\ipcclient_client.obj: .\client.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(IPCCLIENT_CXXFLAGS) .\client.cpp
347 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
348 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 /d NOPCH .\..\..\samples\sample.rc
350 $(OBJS)\ipcserver_server.obj: .\server.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(IPCSERVER_CXXFLAGS) .\server.cpp