1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.2 (http://bakefile.sourceforge.net)
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_0) -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_0) -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
48 ### Conditionally set variables: ###
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
59 !if "$(DEBUG_FLAG)" == "1"
62 !if "$(UNICODE)" == "1"
65 !if "$(WXUNIV)" == "1"
68 !if "$(SHARED)" == "1"
71 !if "$(SHARED)" == "0"
74 !if "$(SHARED)" == "1"
77 !if "$(MONOLITHIC)" == "0"
80 !if "$(MONOLITHIC)" == "1"
83 !if "$(BUILD)" == "debug"
86 !if "$(BUILD)" == "release"
89 !if "$(USE_THREADS)" == "0"
92 !if "$(USE_THREADS)" == "1"
95 !if "$(USE_THREADS)" == "0"
98 !if "$(USE_THREADS)" == "1"
99 __THREADSFLAG_0 = -tWM
101 !if "$(RUNTIME_LIBS)" == "dynamic"
102 __RUNTIME_LIBS = -tWR
104 !if "$(RUNTIME_LIBS)" == "static"
107 !if "$(RUNTIME_LIBS)" == "dynamic"
110 !if "$(RUNTIME_LIBS)" == "static"
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
116 !if "$(WXUNIV)" == "1"
117 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
119 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
120 __DEBUG_DEFINE_p = -D__WXDEBUG__
122 !if "$(DEBUG_FLAG)" == "1"
123 __DEBUG_DEFINE_p = -D__WXDEBUG__
125 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
126 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
128 !if "$(DEBUG_FLAG)" == "1"
129 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
131 !if "$(USE_EXCEPTIONS)" == "0"
132 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
134 !if "$(USE_EXCEPTIONS)" == "0"
135 __EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS
137 !if "$(USE_RTTI)" == "0"
138 __RTTI_DEFINE_p = -DwxNO_RTTI
140 !if "$(USE_RTTI)" == "0"
141 __RTTI_DEFINE_p_0 = -dwxNO_RTTI
143 !if "$(USE_THREADS)" == "0"
144 __THREAD_DEFINE_p = -DwxNO_THREADS
146 !if "$(USE_THREADS)" == "0"
147 __THREAD_DEFINE_p_0 = -dwxNO_THREADS
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p = -D_UNICODE
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_0 = -d_UNICODE
156 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
159 __MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1
161 !if "$(USE_GDIPLUS)" == "1"
162 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
164 !if "$(USE_GDIPLUS)" == "1"
165 __GFXCTX_DEFINE_p_0 = -dwxUSE_GRAPHICS_CONTEXT=1
167 !if "$(SHARED)" == "1"
168 __DLLFLAG_p = -DWXUSINGDLL
170 !if "$(SHARED)" == "1"
171 __DLLFLAG_p_0 = -dWXUSINGDLL
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
177 !if "$(MONOLITHIC)" == "0"
179 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
181 !if "$(MONOLITHIC)" == "0"
183 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
185 !if "$(MONOLITHIC)" == "1"
187 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
195 !if "$(USE_GUI)" == "1"
196 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
199 __UNICOWS_LIB_p = unicows.lib
201 !if "$(USE_GDIPLUS)" == "1"
202 __GDIPLUS_LIB_p = gdiplus.lib
204 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
207 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
210 !if "$(DEBUG_INFO)" == "0"
213 !if "$(DEBUG_INFO)" == "1"
220 -if not exist $(OBJS) mkdir $(OBJS)
224 all: $(OBJS)\ipcclient.exe $(OBJS)\ipcserver.exe
227 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
228 -if exist $(OBJS)\*.res del $(OBJS)\*.res
229 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
230 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
231 -if exist $(OBJS)\ipcclient.tds del $(OBJS)\ipcclient.tds
232 -if exist $(OBJS)\ipcclient.ilc del $(OBJS)\ipcclient.ilc
233 -if exist $(OBJS)\ipcclient.ild del $(OBJS)\ipcclient.ild
234 -if exist $(OBJS)\ipcclient.ilf del $(OBJS)\ipcclient.ilf
235 -if exist $(OBJS)\ipcclient.ils del $(OBJS)\ipcclient.ils
236 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
237 -if exist $(OBJS)\ipcserver.tds del $(OBJS)\ipcserver.tds
238 -if exist $(OBJS)\ipcserver.ilc del $(OBJS)\ipcserver.ilc
239 -if exist $(OBJS)\ipcserver.ild del $(OBJS)\ipcserver.ild
240 -if exist $(OBJS)\ipcserver.ilf del $(OBJS)\ipcserver.ilf
241 -if exist $(OBJS)\ipcserver.ils del $(OBJS)\ipcserver.ils
243 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res
244 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
245 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 odbc32.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\ipcclient_sample.res
248 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res
249 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
250 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 odbc32.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\ipcserver_sample.res
253 $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc
254 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 $**
256 $(OBJS)\ipcclient_client.obj: .\client.cpp
257 $(CXX) -q -c -P -o$@ $(IPCCLIENT_CXXFLAGS) $**
259 $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc
260 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 $**
262 $(OBJS)\ipcserver_server.obj: .\server.cpp
263 $(CXX) -q -c -P -o$@ $(IPCSERVER_CXXFLAGS) $**