1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 # -------------------------------------------------------------------------
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 CLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
31 -I.\..\..\samples $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\client_client.obj
34 SERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
35 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
37 -I.\..\..\samples $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\server_server.obj
41 ### Conditionally set variables: ###
43 !if "$(USE_GUI)" == "0"
46 !if "$(USE_GUI)" == "1"
49 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
52 !if "$(DEBUG_FLAG)" == "1"
55 !if "$(UNICODE)" == "1"
58 !if "$(WXUNIV)" == "1"
61 !if "$(SHARED)" == "1"
64 !if "$(BUILD)" == "debug"
67 !if "$(BUILD)" == "release"
70 !if "$(RUNTIME_LIBS)" == "dynamic"
73 !if "$(RUNTIME_LIBS)" == "static"
76 !if "$(RUNTIME_LIBS)" == "dynamic"
79 !if "$(RUNTIME_LIBS)" == "static"
82 !if "$(WXUNIV)" == "1"
83 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
85 !if "$(WXUNIV)" == "1"
86 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
88 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
89 __DEBUG_DEFINE_p = -D__WXDEBUG__
91 !if "$(DEBUG_FLAG)" == "1"
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
94 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
95 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
97 !if "$(DEBUG_FLAG)" == "1"
98 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
100 !if "$(UNICODE)" == "1"
101 __UNICODE_DEFINE_p = -D_UNICODE
103 !if "$(UNICODE)" == "1"
104 __UNICODE_DEFINE_p_0 = -d_UNICODE
106 !if "$(SHARED)" == "0"
107 LIBDIRNAME = .\..\..\lib\bcc_lib$(CFG)
109 !if "$(SHARED)" == "1"
110 LIBDIRNAME = .\..\..\lib\bcc_dll$(CFG)
112 !if "$(SHARED)" == "1"
113 __DLLFLAG_p = -DWXUSINGDLL
115 !if "$(SHARED)" == "1"
116 __DLLFLAG_p_0 = -dWXUSINGDLL
118 !if "$(MONOLITHIC)" == "0"
120 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
122 !if "$(MONOLITHIC)" == "0"
123 __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
125 !if "$(MONOLITHIC)" == "0"
126 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
128 !if "$(MONOLITHIC)" == "1"
130 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
132 !if "$(USE_GUI)" == "1"
133 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
135 !if "$(USE_GUI)" == "1"
136 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
138 !if "$(USE_GUI)" == "1"
139 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
142 __UNICOWS_LIB_p = unicows.lib
144 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
147 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
150 !if "$(DEBUG_INFO)" == "0"
153 !if "$(DEBUG_INFO)" == "1"
160 -if not exist $(OBJS) mkdir $(OBJS)
164 all: $(OBJS)\client.exe $(OBJS)\server.exe
167 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
168 -if exist $(OBJS)\*.res del $(OBJS)\*.res
169 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
170 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds
171 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc
172 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild
173 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf
174 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils
175 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
176 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds
177 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc
178 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild
179 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf
180 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils
182 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res
183 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
184 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\client_sample.res
187 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res
188 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
189 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\server_sample.res
192 $(OBJS)\client_sample.res: .\..\..\samples\sample.rc
193 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 $**
195 $(OBJS)\client_client.obj: .\client.cpp
196 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
198 $(OBJS)\server_sample.res: .\..\..\samples\sample.rc
199 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 $**
201 $(OBJS)\server_server.obj: .\server.cpp
202 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**