]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.bcc
No real changes, just convert a Mac-specific file to UTF-8.
[wxWidgets.git] / samples / sockets / makefile.bcc
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.8 (http://www.bakefile.org)\r
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7.autodepend\r
8\r
9!ifndef BCCDIR\r
10!ifndef MAKEDIR\r
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r
12!endif\r
13BCCDIR = $(MAKEDIR)\..\r
14!endif\r
15\r
16!include ../../build/msw/config.bcc\r
17\r
18# -------------------------------------------------------------------------\r
19# Do not modify the rest of this file!\r
20# -------------------------------------------------------------------------\r
21\r
22### Variables: ###\r
23\r
24WX_RELEASE_NODOT = 29\r
25COMPILER_PREFIX = bcc\r
26OBJS = \\r
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
28LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
29SETUPHDIR = \\r
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
31CLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
33 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
34 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 35 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
36 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \\r
37 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r
38CLIENT_OBJECTS = \\r
39 $(OBJS)\client_client.obj\r
40SERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
41 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
42 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
43 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 44 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
45 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \\r
46 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r
47SERVER_OBJECTS = \\r
48 $(OBJS)\server_server.obj\r
49BASECLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
50 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
51 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
52 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 53 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
54 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
55 $(CPPFLAGS) $(CXXFLAGS)\r
56BASECLIENT_OBJECTS = \\r
57 $(OBJS)\baseclient_baseclient.obj\r
58BASESERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
59 $(__OPTIMIZEFLAG) $(__THREADSFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r
00fb97de
KO
60 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
61 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
b796194b 62 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
f82b7036
KO
63 $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \\r
64 $(CPPFLAGS) $(CXXFLAGS)\r
65BASESERVER_OBJECTS = \\r
66 $(OBJS)\baseserver_baseserver.obj\r
67\r
68### Conditionally set variables: ###\r
69\r
70!if "$(USE_GUI)" == "0"\r
71PORTNAME = base\r
72!endif\r
73!if "$(USE_GUI)" == "1"\r
74PORTNAME = msw\r
75!endif\r
76!if "$(BUILD)" == "debug"\r
77WXDEBUGFLAG = d\r
78!endif\r
79!if "$(UNICODE)" == "1"\r
80WXUNICODEFLAG = u\r
81!endif\r
82!if "$(WXUNIV)" == "1"\r
83WXUNIVNAME = univ\r
84!endif\r
85!if "$(SHARED)" == "1"\r
86WXDLLFLAG = dll\r
87!endif\r
88!if "$(SHARED)" == "0"\r
89LIBTYPE_SUFFIX = lib\r
90!endif\r
91!if "$(SHARED)" == "1"\r
92LIBTYPE_SUFFIX = dll\r
93!endif\r
94!if "$(MONOLITHIC)" == "0"\r
95EXTRALIBS_FOR_BASE = \r
96!endif\r
97!if "$(MONOLITHIC)" == "1"\r
98EXTRALIBS_FOR_BASE = \r
99!endif\r
100!if "$(USE_GUI)" == "1"\r
101__client___depname = $(OBJS)\client.exe\r
102!endif\r
103!if "$(USE_GUI)" == "1"\r
104__server___depname = $(OBJS)\server.exe\r
105!endif\r
106!if "$(WXUNIV)" == "1"\r
107__WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__\r
108!endif\r
109!if "$(DEBUG_FLAG)" == "0"\r
110__DEBUG_DEFINE_p_0 = -dwxDEBUG_LEVEL=0\r
111!endif\r
00fb97de
KO
112!if "$(BUILD)" == "release"\r
113__NDEBUG_DEFINE_p_0 = -dNDEBUG\r
114!endif\r
f82b7036
KO
115!if "$(USE_EXCEPTIONS)" == "0"\r
116__EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS\r
117!endif\r
118!if "$(USE_RTTI)" == "0"\r
119__RTTI_DEFINE_p_0 = -dwxNO_RTTI\r
120!endif\r
121!if "$(USE_THREADS)" == "0"\r
122__THREAD_DEFINE_p_0 = -dwxNO_THREADS\r
123!endif\r
124!if "$(UNICODE)" == "0"\r
125__UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0\r
126!endif\r
127!if "$(UNICODE)" == "1"\r
128__UNICODE_DEFINE_p_0 = -d_UNICODE\r
129!endif\r
130!if "$(MSLU)" == "1"\r
131__MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1\r
132!endif\r
f82b7036
KO
133!if "$(USE_CAIRO)" == "1"\r
134____CAIRO_INCLUDEDIR_FILENAMES_0 = -i$(CAIRO_ROOT)\include\cairo\r
135!endif\r
136!if "$(SHARED)" == "1"\r
137__DLLFLAG_p_0 = -dWXUSINGDLL\r
138!endif\r
139!if "$(MONOLITHIC)" == "0"\r
140__WXLIB_CORE_p = \\r
141 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
142!endif\r
143!if "$(USE_GUI)" == "1"\r
144__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
145!endif\r
146!if "$(USE_GUI)" == "1"\r
147__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
148!endif\r
149!if "$(USE_GUI)" == "1"\r
150__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
151!endif\r
152!if "$(BUILD)" == "debug"\r
153__OPTIMIZEFLAG = -Od\r
154!endif\r
155!if "$(BUILD)" == "release"\r
156__OPTIMIZEFLAG = -O2\r
157!endif\r
158!if "$(USE_THREADS)" == "0"\r
159__THREADSFLAG = \r
160!endif\r
161!if "$(USE_THREADS)" == "1"\r
162__THREADSFLAG = mt\r
163!endif\r
164!if "$(USE_THREADS)" == "0"\r
165__THREADSFLAG_2 = \r
166!endif\r
167!if "$(USE_THREADS)" == "1"\r
168__THREADSFLAG_2 = -tWM\r
169!endif\r
170!if "$(RUNTIME_LIBS)" == "dynamic"\r
171__RUNTIME_LIBS = -tWR\r
172!endif\r
173!if "$(RUNTIME_LIBS)" == "static"\r
174__RUNTIME_LIBS = \r
175!endif\r
176!if "$(RUNTIME_LIBS)" == "dynamic"\r
177__RUNTIME_LIBS_2 = i\r
178!endif\r
179!if "$(RUNTIME_LIBS)" == "static"\r
180__RUNTIME_LIBS_2 = \r
181!endif\r
182!if "$(WXUNIV)" == "1"\r
183__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
184!endif\r
185!if "$(DEBUG_FLAG)" == "0"\r
186__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
187!endif\r
00fb97de
KO
188!if "$(BUILD)" == "release"\r
189__NDEBUG_DEFINE_p = -DNDEBUG\r
190!endif\r
f82b7036
KO
191!if "$(USE_EXCEPTIONS)" == "0"\r
192__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
193!endif\r
194!if "$(USE_RTTI)" == "0"\r
195__RTTI_DEFINE_p = -DwxNO_RTTI\r
196!endif\r
197!if "$(USE_THREADS)" == "0"\r
198__THREAD_DEFINE_p = -DwxNO_THREADS\r
199!endif\r
200!if "$(UNICODE)" == "0"\r
201__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
202!endif\r
203!if "$(UNICODE)" == "1"\r
204__UNICODE_DEFINE_p = -D_UNICODE\r
205!endif\r
206!if "$(MSLU)" == "1"\r
207__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
208!endif\r
f82b7036
KO
209!if "$(USE_CAIRO)" == "1"\r
210____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
211!endif\r
212!if "$(SHARED)" == "1"\r
213__DLLFLAG_p = -DWXUSINGDLL\r
214!endif\r
215!if "$(MONOLITHIC)" == "0"\r
216__WXLIB_NET_p = \\r
217 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r
218!endif\r
219!if "$(MONOLITHIC)" == "0"\r
220__WXLIB_BASE_p = \\r
221 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
222!endif\r
223!if "$(MONOLITHIC)" == "1"\r
224__WXLIB_MONO_p = \\r
225 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
226!endif\r
227!if "$(MSLU)" == "1"\r
228__UNICOWS_LIB_p = unicows.lib\r
229!endif\r
f82b7036
KO
230!if "$(USE_CAIRO)" == "1"\r
231__CAIRO_LIB_p = cairo.lib\r
232!endif\r
233!if "$(USE_CAIRO)" == "1"\r
234____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
235!endif\r
236!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
237__DEBUGINFO = -v\r
238!endif\r
239!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
240__DEBUGINFO = -v-\r
241!endif\r
242!if "$(DEBUG_INFO)" == "0"\r
243__DEBUGINFO = -v-\r
244!endif\r
245!if "$(DEBUG_INFO)" == "1"\r
246__DEBUGINFO = -v\r
247!endif\r
248\r
249\r
250all: $(OBJS)\r
251$(OBJS):\r
252 -if not exist $(OBJS) mkdir $(OBJS)\r
253\r
254### Targets: ###\r
255\r
256all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r
257\r
258clean: \r
259 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
260 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
261 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r
262 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe\r
263 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds\r
264 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc\r
265 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild\r
266 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf\r
267 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils\r
268 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe\r
269 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds\r
270 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc\r
271 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild\r
272 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf\r
273 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils\r
274 -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe\r
275 -if exist $(OBJS)\baseclient.tds del $(OBJS)\baseclient.tds\r
276 -if exist $(OBJS)\baseclient.ilc del $(OBJS)\baseclient.ilc\r
277 -if exist $(OBJS)\baseclient.ild del $(OBJS)\baseclient.ild\r
278 -if exist $(OBJS)\baseclient.ilf del $(OBJS)\baseclient.ilf\r
279 -if exist $(OBJS)\baseclient.ils del $(OBJS)\baseclient.ils\r
280 -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe\r
281 -if exist $(OBJS)\baseserver.tds del $(OBJS)\baseserver.tds\r
282 -if exist $(OBJS)\baseserver.ilc del $(OBJS)\baseserver.ilc\r
283 -if exist $(OBJS)\baseserver.ild del $(OBJS)\baseserver.ild\r
284 -if exist $(OBJS)\baseserver.ilf del $(OBJS)\baseserver.ilf\r
285 -if exist $(OBJS)\baseserver.ils del $(OBJS)\baseserver.ils\r
286\r
287!if "$(USE_GUI)" == "1"\r
288$(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res\r
289 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
b796194b 290 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\client_client.res\r
f82b7036
KO
291|\r
292!endif\r
293\r
294!if "$(USE_GUI)" == "1"\r
295$(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res\r
296 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
b796194b 297 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) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,, $(OBJS)\server_server.res\r
f82b7036
KO
298|\r
299!endif\r
300\r
301$(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)\r
302 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
b796194b 303 c0x32.obj $(BASECLIENT_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,\r
f82b7036
KO
304|\r
305\r
306$(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)\r
307 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
b796194b 308 c0x32.obj $(BASESERVER_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_2).lib,,\r
f82b7036
KO
309|\r
310\r
311$(OBJS)\client_client.obj: .\client.cpp\r
312 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) .\client.cpp\r
313\r
314$(OBJS)\client_client.res: .\client.rc\r
b796194b 315 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_0) -i. $(__DLLFLAG_p_0) -i.\..\..\samples -dNOPCH .\client.rc\r
f82b7036
KO
316\r
317$(OBJS)\server_server.obj: .\server.cpp\r
318 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) .\server.cpp\r
319\r
320$(OBJS)\server_server.res: .\server.rc\r
b796194b 321 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__NDEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_0) -i. $(__DLLFLAG_p_0) -i.\..\..\samples -dNOPCH .\server.rc\r
f82b7036
KO
322\r
323$(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp\r
324 $(CXX) -q -c -P -o$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp\r
325\r
326$(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp\r
327 $(CXX) -q -c -P -o$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp\r
328\r