1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)
28 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
29 CLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
30 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
32 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
34 $(OBJS)\client_client.obj
35 SERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
36 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
38 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
40 $(OBJS)\server_server.obj
42 ### Conditionally set variables: ###
44 !if "$(USE_GUI)" == "0"
47 !if "$(USE_GUI)" == "1"
50 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
53 !if "$(DEBUG_FLAG)" == "1"
56 !if "$(UNICODE)" == "1"
59 !if "$(WXUNIV)" == "1"
62 !if "$(SHARED)" == "1"
65 !if "$(MONOLITHIC)" == "0"
68 !if "$(MONOLITHIC)" == "1"
71 !if "$(BUILD)" == "debug"
74 !if "$(BUILD)" == "release"
77 !if "$(RUNTIME_LIBS)" == "dynamic"
80 !if "$(RUNTIME_LIBS)" == "static"
83 !if "$(RUNTIME_LIBS)" == "dynamic"
86 !if "$(RUNTIME_LIBS)" == "static"
89 !if "$(WXUNIV)" == "1"
90 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
92 !if "$(WXUNIV)" == "1"
93 __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
98 !if "$(DEBUG_FLAG)" == "1"
99 __DEBUG_DEFINE_p = -D__WXDEBUG__
101 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
104 !if "$(DEBUG_FLAG)" == "1"
105 __DEBUG_DEFINE_p_0 = -d__WXDEBUG__
107 !if "$(UNICODE)" == "1"
108 __UNICODE_DEFINE_p = -D_UNICODE
110 !if "$(UNICODE)" == "1"
111 __UNICODE_DEFINE_p_0 = -d_UNICODE
113 !if "$(SHARED)" == "0"
114 LIBDIRNAME = .\..\..\lib\bcc_lib$(CFG)
116 !if "$(SHARED)" == "1"
117 LIBDIRNAME = .\..\..\lib\bcc_dll$(CFG)
119 !if "$(SHARED)" == "1"
120 __DLLFLAG_p = -DWXUSINGDLL
122 !if "$(SHARED)" == "1"
123 __DLLFLAG_p_0 = -dWXUSINGDLL
125 !if "$(MONOLITHIC)" == "0"
127 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
129 !if "$(MONOLITHIC)" == "0"
131 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
133 !if "$(MONOLITHIC)" == "0"
135 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
137 !if "$(MONOLITHIC)" == "1"
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
151 __UNICOWS_LIB_p = unicows.lib
153 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
156 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
159 !if "$(DEBUG_INFO)" == "0"
162 !if "$(DEBUG_INFO)" == "1"
169 -if not exist $(OBJS) mkdir $(OBJS)
173 all: $(OBJS)\client.exe $(OBJS)\server.exe
176 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
177 -if exist $(OBJS)\*.res del $(OBJS)\*.res
178 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
179 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds
180 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc
181 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild
182 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf
183 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils
184 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
185 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds
186 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc
187 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild
188 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf
189 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils
191 $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res
192 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
193 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
196 $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res
197 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
198 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
201 $(OBJS)\client_client.obj: .\client.cpp
202 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
204 $(OBJS)\client_client.res: .\client.rc
205 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 $**
207 $(OBJS)\server_server.obj: .\server.cpp
208 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**
210 $(OBJS)\server_server.res: .\server.rc
211 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 $**