1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.6 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 IPCCLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
36 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
38 $(OBJS)\ipcclient_client.obj
39 IPCSERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
40 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
41 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
42 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
43 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
44 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
46 $(OBJS)\ipcserver_server.obj
47 BASEIPCCLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
48 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
50 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
51 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
52 -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS)
53 BASEIPCCLIENT_OBJECTS = \
54 $(OBJS)\baseipcclient_baseclient.obj
55 BASEIPCSERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
56 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
57 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
58 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
59 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
60 -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS)
61 BASEIPCSERVER_OBJECTS = \
62 $(OBJS)\baseipcserver_baseserver.obj
64 ### Conditionally set variables: ###
66 !if "$(USE_GUI)" == "0"
69 !if "$(USE_GUI)" == "1"
72 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75 !if "$(DEBUG_FLAG)" == "1"
78 !if "$(UNICODE)" == "1"
81 !if "$(WXUNIV)" == "1"
84 !if "$(SHARED)" == "1"
87 !if "$(SHARED)" == "0"
90 !if "$(SHARED)" == "1"
93 !if "$(MONOLITHIC)" == "0"
96 !if "$(MONOLITHIC)" == "1"
99 !if "$(USE_GUI)" == "1"
100 __ipcclient___depname = $(OBJS)\ipcclient.exe
102 !if "$(USE_GUI)" == "1"
103 __ipcserver___depname = $(OBJS)\ipcserver.exe
105 !if "$(WXUNIV)" == "1"
106 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
108 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
109 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
111 !if "$(DEBUG_FLAG)" == "1"
112 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
114 !if "$(USE_EXCEPTIONS)" == "0"
115 __EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS
117 !if "$(USE_RTTI)" == "0"
118 __RTTI_DEFINE_p_0 = -dwxNO_RTTI
120 !if "$(USE_THREADS)" == "0"
121 __THREAD_DEFINE_p_0 = -dwxNO_THREADS
123 !if "$(UNICODE)" == "0"
124 __UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0
126 !if "$(UNICODE)" == "1"
127 __UNICODE_DEFINE_p_0 = -d_UNICODE
130 __MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1
132 !if "$(USE_GDIPLUS)" == "1"
133 __GFXCTX_DEFINE_p_0 = -dwxUSE_GRAPHICS_CONTEXT=1
135 !if "$(SHARED)" == "1"
136 __DLLFLAG_p_0 = -dWXUSINGDLL
138 !if "$(MONOLITHIC)" == "0"
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
142 !if "$(USE_GUI)" == "1"
143 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
145 !if "$(USE_GUI)" == "1"
146 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
148 !if "$(USE_GUI)" == "1"
149 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
151 !if "$(BUILD)" == "debug"
154 !if "$(BUILD)" == "release"
157 !if "$(USE_THREADS)" == "0"
160 !if "$(USE_THREADS)" == "1"
163 !if "$(USE_THREADS)" == "0"
166 !if "$(USE_THREADS)" == "1"
167 __THREADSFLAG_2 = -tWM
169 !if "$(RUNTIME_LIBS)" == "dynamic"
170 __RUNTIME_LIBS = -tWR
172 !if "$(RUNTIME_LIBS)" == "static"
175 !if "$(RUNTIME_LIBS)" == "dynamic"
178 !if "$(RUNTIME_LIBS)" == "static"
181 !if "$(WXUNIV)" == "1"
182 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
184 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
185 __DEBUG_DEFINE_p = -D__WXDEBUG__
187 !if "$(DEBUG_FLAG)" == "1"
188 __DEBUG_DEFINE_p = -D__WXDEBUG__
190 !if "$(USE_EXCEPTIONS)" == "0"
191 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
193 !if "$(USE_RTTI)" == "0"
194 __RTTI_DEFINE_p = -DwxNO_RTTI
196 !if "$(USE_THREADS)" == "0"
197 __THREAD_DEFINE_p = -DwxNO_THREADS
199 !if "$(UNICODE)" == "0"
200 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
202 !if "$(UNICODE)" == "1"
203 __UNICODE_DEFINE_p = -D_UNICODE
206 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
208 !if "$(USE_GDIPLUS)" == "1"
209 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
211 !if "$(SHARED)" == "1"
212 __DLLFLAG_p = -DWXUSINGDLL
214 !if "$(MONOLITHIC)" == "0"
216 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
218 !if "$(MONOLITHIC)" == "0"
220 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
222 !if "$(MONOLITHIC)" == "1"
224 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
227 __UNICOWS_LIB_p = unicows.lib
229 !if "$(USE_GDIPLUS)" == "1"
230 __GDIPLUS_LIB_p = gdiplus.lib
232 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
235 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
238 !if "$(DEBUG_INFO)" == "0"
241 !if "$(DEBUG_INFO)" == "1"
248 -if not exist $(OBJS) mkdir $(OBJS)
252 all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
255 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
256 -if exist $(OBJS)\*.res del $(OBJS)\*.res
257 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
258 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
259 -if exist $(OBJS)\ipcclient.tds del $(OBJS)\ipcclient.tds
260 -if exist $(OBJS)\ipcclient.ilc del $(OBJS)\ipcclient.ilc
261 -if exist $(OBJS)\ipcclient.ild del $(OBJS)\ipcclient.ild
262 -if exist $(OBJS)\ipcclient.ilf del $(OBJS)\ipcclient.ilf
263 -if exist $(OBJS)\ipcclient.ils del $(OBJS)\ipcclient.ils
264 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
265 -if exist $(OBJS)\ipcserver.tds del $(OBJS)\ipcserver.tds
266 -if exist $(OBJS)\ipcserver.ilc del $(OBJS)\ipcserver.ilc
267 -if exist $(OBJS)\ipcserver.ild del $(OBJS)\ipcserver.ild
268 -if exist $(OBJS)\ipcserver.ilf del $(OBJS)\ipcserver.ilf
269 -if exist $(OBJS)\ipcserver.ils del $(OBJS)\ipcserver.ils
270 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
271 -if exist $(OBJS)\baseipcclient.tds del $(OBJS)\baseipcclient.tds
272 -if exist $(OBJS)\baseipcclient.ilc del $(OBJS)\baseipcclient.ilc
273 -if exist $(OBJS)\baseipcclient.ild del $(OBJS)\baseipcclient.ild
274 -if exist $(OBJS)\baseipcclient.ilf del $(OBJS)\baseipcclient.ilf
275 -if exist $(OBJS)\baseipcclient.ils del $(OBJS)\baseipcclient.ils
276 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
277 -if exist $(OBJS)\baseipcserver.tds del $(OBJS)\baseipcserver.tds
278 -if exist $(OBJS)\baseipcserver.ilc del $(OBJS)\baseipcserver.ilc
279 -if exist $(OBJS)\baseipcserver.ild del $(OBJS)\baseipcserver.ild
280 -if exist $(OBJS)\baseipcserver.ilf del $(OBJS)\baseipcserver.ilf
281 -if exist $(OBJS)\baseipcserver.ils del $(OBJS)\baseipcserver.ils
283 !if "$(USE_GUI)" == "1"
284 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
285 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&|
286 c0w32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\ipcclient_sample.res
290 !if "$(USE_GUI)" == "1"
291 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
292 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&|
293 c0w32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\ipcserver_sample.res
297 $(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)
298 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(LDFLAGS) @&&|
299 c0x32.obj $(BASEIPCCLIENT_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,
302 $(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)
303 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(LDFLAGS) @&&|
304 c0x32.obj $(BASEIPCSERVER_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,
307 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
308 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc
310 $(OBJS)\ipcclient_client.obj: .\client.cpp
311 $(CXX) -q -c -P -o$@ $(IPCCLIENT_CXXFLAGS) .\client.cpp
313 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
314 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc
316 $(OBJS)\ipcserver_server.obj: .\server.cpp
317 $(CXX) -q -c -P -o$@ $(IPCSERVER_CXXFLAGS) .\server.cpp
319 $(OBJS)\baseipcclient_baseclient.obj: .\baseclient.cpp
320 $(CXX) -q -c -P -o$@ $(BASEIPCCLIENT_CXXFLAGS) .\baseclient.cpp
322 $(OBJS)\baseipcserver_baseserver.obj: .\baseserver.cpp
323 $(CXX) -q -c -P -o$@ $(BASEIPCSERVER_CXXFLAGS) .\baseserver.cpp