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 CLIENT_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)\client_client.obj
39 SERVER_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)\server_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)" == "0"
150 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p = -D_UNICODE
155 !if "$(UNICODE)" == "0"
156 __UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0
158 !if "$(UNICODE)" == "1"
159 __UNICODE_DEFINE_p_0 = -d_UNICODE
162 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
165 __MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1
167 !if "$(USE_GDIPLUS)" == "1"
168 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
170 !if "$(USE_GDIPLUS)" == "1"
171 __GFXCTX_DEFINE_p_0 = -dwxUSE_GRAPHICS_CONTEXT=1
173 !if "$(SHARED)" == "1"
174 __DLLFLAG_p = -DWXUSINGDLL
176 !if "$(SHARED)" == "1"
177 __DLLFLAG_p_0 = -dWXUSINGDLL
179 !if "$(MONOLITHIC)" == "0"
181 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
183 !if "$(MONOLITHIC)" == "0"
185 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
187 !if "$(MONOLITHIC)" == "0"
189 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
191 !if "$(MONOLITHIC)" == "1"
193 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
195 !if "$(USE_GUI)" == "1"
196 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
198 !if "$(USE_GUI)" == "1"
199 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
201 !if "$(USE_GUI)" == "1"
202 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
205 __UNICOWS_LIB_p = unicows.lib
207 !if "$(USE_GDIPLUS)" == "1"
208 __GDIPLUS_LIB_p = gdiplus.lib
210 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
213 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
216 !if "$(DEBUG_INFO)" == "0"
219 !if "$(DEBUG_INFO)" == "1"
226 -if not exist $(OBJS) mkdir $(OBJS)
230 all: $(OBJS)\client.exe $(OBJS)\server.exe
233 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
234 -if exist $(OBJS)\*.res del $(OBJS)\*.res
235 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
236 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
237 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds
238 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc
239 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild
240 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf
241 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils
242 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
243 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds
244 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc
245 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild
246 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf
247 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils
249 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
250 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
251 c0w32.obj $(CLIENT_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_0).lib,, $(OBJS)\client_client.res
254 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
255 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
256 c0w32.obj $(SERVER_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_0).lib,, $(OBJS)\server_server.res
259 $(OBJS)\client_client.obj: .\client.cpp
260 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
262 $(OBJS)\client_client.res: .\client.rc
263 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 $**
265 $(OBJS)\server_server.obj: .\server.cpp
266 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**
268 $(OBJS)\server_server.res: .\server.rc
269 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 $**