1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 CLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
33 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
35 $(OBJS)\client_client.obj
36 SERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
37 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
39 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
41 $(OBJS)\server_server.obj
43 ### Conditionally set variables: ###
45 !if "$(USE_GUI)" == "0"
48 !if "$(USE_GUI)" == "1"
51 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
54 !if "$(DEBUG_FLAG)" == "1"
57 !if "$(UNICODE)" == "1"
60 !if "$(WXUNIV)" == "1"
63 !if "$(SHARED)" == "1"
66 !if "$(SHARED)" == "0"
69 !if "$(SHARED)" == "1"
72 !if "$(MONOLITHIC)" == "0"
75 !if "$(MONOLITHIC)" == "1"
78 !if "$(BUILD)" == "debug"
81 !if "$(BUILD)" == "release"
84 !if "$(RUNTIME_LIBS)" == "dynamic"
87 !if "$(RUNTIME_LIBS)" == "static"
90 !if "$(RUNTIME_LIBS)" == "dynamic"
93 !if "$(RUNTIME_LIBS)" == "static"
96 !if "$(WXUNIV)" == "1"
97 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
99 !if "$(WXUNIV)" == "1"
100 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
102 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
103 __DEBUG_DEFINE_p = -D__WXDEBUG__
105 !if "$(DEBUG_FLAG)" == "1"
106 __DEBUG_DEFINE_p = -D__WXDEBUG__
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 "$(UNICODE)" == "1"
115 __UNICODE_DEFINE_p = -D_UNICODE
117 !if "$(UNICODE)" == "1"
118 __UNICODE_DEFINE_p_0 = -d_UNICODE
120 !if "$(SHARED)" == "1"
121 __DLLFLAG_p = -DWXUSINGDLL
123 !if "$(SHARED)" == "1"
124 __DLLFLAG_p_0 = -dWXUSINGDLL
126 !if "$(MONOLITHIC)" == "0"
128 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
130 !if "$(MONOLITHIC)" == "0"
132 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
134 !if "$(MONOLITHIC)" == "0"
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
138 !if "$(MONOLITHIC)" == "1"
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).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
152 __UNICOWS_LIB_p = unicows.lib
154 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
157 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
160 !if "$(DEBUG_INFO)" == "0"
163 !if "$(DEBUG_INFO)" == "1"
170 -if not exist $(OBJS) mkdir $(OBJS)
174 all: $(OBJS)\client.exe $(OBJS)\server.exe
177 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
178 -if exist $(OBJS)\*.res del $(OBJS)\*.res
179 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
180 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
181 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds
182 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc
183 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild
184 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf
185 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils
186 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
187 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds
188 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc
189 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild
190 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf
191 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils
193 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
194 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
195 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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\client_client.res
198 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
199 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
200 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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\server_server.res
203 $(OBJS)\client_client.obj: .\client.cpp
204 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
206 $(OBJS)\client_client.res: .\client.rc
207 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) -i.\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_0) -i.\..\..\samples -dNOPCH $**
209 $(OBJS)\server_server.obj: .\server.cpp
210 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**
212 $(OBJS)\server_server.res: .\server.rc
213 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) -i.\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_0) -i.\..\..\samples -dNOPCH $**