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 # =========================================================================
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) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
34 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
36 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \
37 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\ipcclient_client.obj
40 IPCSERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
41 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
43 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
45 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \
46 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
48 $(OBJS)\ipcserver_server.obj
49 BASEIPCCLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
50 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
51 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
52 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
53 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
54 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
55 $(CPPFLAGS) $(CXXFLAGS)
56 BASEIPCCLIENT_OBJECTS = \
57 $(OBJS)\baseipcclient_baseclient.obj
58 BASEIPCSERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
59 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
60 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
61 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
62 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
63 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
64 $(CPPFLAGS) $(CXXFLAGS)
65 BASEIPCSERVER_OBJECTS = \
66 $(OBJS)\baseipcserver_baseserver.obj
68 ### Conditionally set variables: ###
70 !if "$(USE_GUI)" == "0"
73 !if "$(USE_GUI)" == "1"
76 !if "$(BUILD)" == "debug"
79 !if "$(UNICODE)" == "1"
82 !if "$(WXUNIV)" == "1"
85 !if "$(SHARED)" == "1"
88 !if "$(SHARED)" == "0"
91 !if "$(SHARED)" == "1"
94 !if "$(MONOLITHIC)" == "0"
97 !if "$(MONOLITHIC)" == "1"
100 !if "$(USE_GUI)" == "1"
101 __ipcclient___depname = $(OBJS)\ipcclient.exe
103 !if "$(USE_GUI)" == "1"
104 __ipcserver___depname = $(OBJS)\ipcserver.exe
106 !if "$(MONOLITHIC)" == "1"
107 __LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)
109 !if "$(MONOLITHIC)" == "1"
110 __LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)
112 !if "$(WXUNIV)" == "1"
113 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
115 !if "$(DEBUG_FLAG)" == "0"
116 __DEBUG_DEFINE_p_0 = -dwxDEBUG_LEVEL=0
118 !if "$(BUILD)" == "release"
119 __NDEBUG_DEFINE_p_0 = -dNDEBUG
121 !if "$(USE_EXCEPTIONS)" == "0"
122 __EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS
124 !if "$(USE_RTTI)" == "0"
125 __RTTI_DEFINE_p_0 = -dwxNO_RTTI
127 !if "$(USE_THREADS)" == "0"
128 __THREAD_DEFINE_p_0 = -dwxNO_THREADS
130 !if "$(UNICODE)" == "0"
131 __UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0
133 !if "$(UNICODE)" == "1"
134 __UNICODE_DEFINE_p_0 = -d_UNICODE
137 __MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1
139 !if "$(USE_CAIRO)" == "1"
140 ____CAIRO_INCLUDEDIR_FILENAMES_0 = -i$(CAIRO_ROOT)\include\cairo
142 !if "$(SHARED)" == "1"
143 __DLLFLAG_p_0 = -dWXUSINGDLL
145 !if "$(MONOLITHIC)" == "0"
147 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
149 !if "$(USE_GUI)" == "1"
150 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
152 !if "$(USE_GUI)" == "1"
153 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
155 !if "$(BUILD)" == "debug"
158 !if "$(BUILD)" == "release"
161 !if "$(USE_THREADS)" == "0"
164 !if "$(USE_THREADS)" == "1"
167 !if "$(USE_THREADS)" == "0"
170 !if "$(USE_THREADS)" == "1"
171 __THREADSFLAG_2 = -tWM
173 !if "$(RUNTIME_LIBS)" == "dynamic"
174 __RUNTIME_LIBS = -tWR
176 !if "$(RUNTIME_LIBS)" == "static"
179 !if "$(RUNTIME_LIBS)" == "dynamic"
182 !if "$(RUNTIME_LIBS)" == "static"
185 !if "$(WXUNIV)" == "1"
186 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
188 !if "$(DEBUG_FLAG)" == "0"
189 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
191 !if "$(BUILD)" == "release"
192 __NDEBUG_DEFINE_p = -DNDEBUG
194 !if "$(USE_EXCEPTIONS)" == "0"
195 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
197 !if "$(USE_RTTI)" == "0"
198 __RTTI_DEFINE_p = -DwxNO_RTTI
200 !if "$(USE_THREADS)" == "0"
201 __THREAD_DEFINE_p = -DwxNO_THREADS
203 !if "$(UNICODE)" == "0"
204 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
206 !if "$(UNICODE)" == "1"
207 __UNICODE_DEFINE_p = -D_UNICODE
210 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
212 !if "$(USE_CAIRO)" == "1"
213 ____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo
215 !if "$(SHARED)" == "1"
216 __DLLFLAG_p = -DWXUSINGDLL
218 !if "$(MONOLITHIC)" == "0"
220 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
222 !if "$(MONOLITHIC)" == "0"
224 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
226 !if "$(MONOLITHIC)" == "1"
228 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
230 !if "$(USE_GUI)" == "1"
231 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
234 __UNICOWS_LIB_p = unicows.lib
236 !if "$(USE_CAIRO)" == "1"
237 __CAIRO_LIB_p = cairo.lib
239 !if "$(USE_CAIRO)" == "1"
240 ____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib
242 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
245 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
248 !if "$(DEBUG_INFO)" == "0"
251 !if "$(DEBUG_INFO)" == "1"
258 -if not exist $(OBJS) mkdir $(OBJS)
262 all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
265 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
266 -if exist $(OBJS)\*.res del $(OBJS)\*.res
267 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
268 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
269 -if exist $(OBJS)\ipcclient.tds del $(OBJS)\ipcclient.tds
270 -if exist $(OBJS)\ipcclient.ilc del $(OBJS)\ipcclient.ilc
271 -if exist $(OBJS)\ipcclient.ild del $(OBJS)\ipcclient.ild
272 -if exist $(OBJS)\ipcclient.ilf del $(OBJS)\ipcclient.ilf
273 -if exist $(OBJS)\ipcclient.ils del $(OBJS)\ipcclient.ils
274 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
275 -if exist $(OBJS)\ipcserver.tds del $(OBJS)\ipcserver.tds
276 -if exist $(OBJS)\ipcserver.ilc del $(OBJS)\ipcserver.ilc
277 -if exist $(OBJS)\ipcserver.ild del $(OBJS)\ipcserver.ild
278 -if exist $(OBJS)\ipcserver.ilf del $(OBJS)\ipcserver.ilf
279 -if exist $(OBJS)\ipcserver.ils del $(OBJS)\ipcserver.ils
280 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
281 -if exist $(OBJS)\baseipcclient.tds del $(OBJS)\baseipcclient.tds
282 -if exist $(OBJS)\baseipcclient.ilc del $(OBJS)\baseipcclient.ilc
283 -if exist $(OBJS)\baseipcclient.ild del $(OBJS)\baseipcclient.ild
284 -if exist $(OBJS)\baseipcclient.ilf del $(OBJS)\baseipcclient.ilf
285 -if exist $(OBJS)\baseipcclient.ils del $(OBJS)\baseipcclient.ils
286 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
287 -if exist $(OBJS)\baseipcserver.tds del $(OBJS)\baseipcserver.tds
288 -if exist $(OBJS)\baseipcserver.ilc del $(OBJS)\baseipcserver.ilc
289 -if exist $(OBJS)\baseipcserver.ild del $(OBJS)\baseipcserver.ild
290 -if exist $(OBJS)\baseipcserver.ilf del $(OBJS)\baseipcserver.ilf
291 -if exist $(OBJS)\baseipcserver.ils del $(OBJS)\baseipcserver.ils
293 !if "$(USE_GUI)" == "1"
294 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
295 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
296 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\ipcclient_sample.res
300 !if "$(USE_GUI)" == "1"
301 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
302 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
303 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\ipcserver_sample.res
307 $(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)
308 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
309 c0x32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,
312 $(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)
313 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|
314 c0x32.obj $(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) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,
317 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
318 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc
320 $(OBJS)\ipcclient_client.obj: .\client.cpp
321 $(CXX) -q -c -P -o$@ $(IPCCLIENT_CXXFLAGS) .\client.cpp
323 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
324 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc
326 $(OBJS)\ipcserver_server.obj: .\server.cpp
327 $(CXX) -q -c -P -o$@ $(IPCSERVER_CXXFLAGS) .\server.cpp
329 $(OBJS)\baseipcclient_baseclient.obj: .\baseclient.cpp
330 $(CXX) -q -c -P -o$@ $(BASEIPCCLIENT_CXXFLAGS) .\baseclient.cpp
332 $(OBJS)\baseipcserver_baseserver.obj: .\baseserver.cpp
333 $(CXX) -q -c -P -o$@ $(BASEIPCSERVER_CXXFLAGS) .\baseserver.cpp