]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/sockets/makefile.bcc
Fix wxWakeUpIdle() in Unix console application broken by r71089.
[wxWidgets.git] / samples / sockets / makefile.bcc
... / ...
CommitLineData
1# =========================================================================\r
2# This makefile was generated by\r
3# Bakefile 0.2.9 (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
33 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
34 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
35 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
42 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
43 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
44 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
51 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
52 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
53 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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
60 $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r
61 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r
62 $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r
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 "$(MONOLITHIC)" == "1"\r
107__LIB_PNG_IF_MONO_p = $(__LIB_PNG_p)\r
108!endif\r
109!if "$(MONOLITHIC)" == "1"\r
110__LIB_PNG_IF_MONO_p_1 = $(__LIB_PNG_p)\r
111!endif\r
112!if "$(WXUNIV)" == "1"\r
113__WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__\r
114!endif\r
115!if "$(DEBUG_FLAG)" == "0"\r
116__DEBUG_DEFINE_p_0 = -dwxDEBUG_LEVEL=0\r
117!endif\r
118!if "$(BUILD)" == "release"\r
119__NDEBUG_DEFINE_p_0 = -dNDEBUG\r
120!endif\r
121!if "$(USE_EXCEPTIONS)" == "0"\r
122__EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS\r
123!endif\r
124!if "$(USE_RTTI)" == "0"\r
125__RTTI_DEFINE_p_0 = -dwxNO_RTTI\r
126!endif\r
127!if "$(USE_THREADS)" == "0"\r
128__THREAD_DEFINE_p_0 = -dwxNO_THREADS\r
129!endif\r
130!if "$(UNICODE)" == "0"\r
131__UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0\r
132!endif\r
133!if "$(UNICODE)" == "1"\r
134__UNICODE_DEFINE_p_0 = -d_UNICODE\r
135!endif\r
136!if "$(MSLU)" == "1"\r
137__MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1\r
138!endif\r
139!if "$(USE_CAIRO)" == "1"\r
140____CAIRO_INCLUDEDIR_FILENAMES_0 = -i$(CAIRO_ROOT)\include\cairo\r
141!endif\r
142!if "$(SHARED)" == "1"\r
143__DLLFLAG_p_0 = -dWXUSINGDLL\r
144!endif\r
145!if "$(MONOLITHIC)" == "0"\r
146__WXLIB_CORE_p = \\r
147 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
148!endif\r
149!if "$(USE_GUI)" == "1"\r
150__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
151!endif\r
152!if "$(USE_GUI)" == "1"\r
153__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
154!endif\r
155!if "$(BUILD)" == "debug"\r
156__OPTIMIZEFLAG = -Od\r
157!endif\r
158!if "$(BUILD)" == "release"\r
159__OPTIMIZEFLAG = -O2\r
160!endif\r
161!if "$(USE_THREADS)" == "0"\r
162__THREADSFLAG = \r
163!endif\r
164!if "$(USE_THREADS)" == "1"\r
165__THREADSFLAG = mt\r
166!endif\r
167!if "$(USE_THREADS)" == "0"\r
168__THREADSFLAG_2 = \r
169!endif\r
170!if "$(USE_THREADS)" == "1"\r
171__THREADSFLAG_2 = -tWM\r
172!endif\r
173!if "$(RUNTIME_LIBS)" == "dynamic"\r
174__RUNTIME_LIBS = -tWR\r
175!endif\r
176!if "$(RUNTIME_LIBS)" == "static"\r
177__RUNTIME_LIBS = \r
178!endif\r
179!if "$(RUNTIME_LIBS)" == "dynamic"\r
180__RUNTIME_LIBS_2 = i\r
181!endif\r
182!if "$(RUNTIME_LIBS)" == "static"\r
183__RUNTIME_LIBS_2 = \r
184!endif\r
185!if "$(WXUNIV)" == "1"\r
186__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
187!endif\r
188!if "$(DEBUG_FLAG)" == "0"\r
189__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
190!endif\r
191!if "$(BUILD)" == "release"\r
192__NDEBUG_DEFINE_p = -DNDEBUG\r
193!endif\r
194!if "$(USE_EXCEPTIONS)" == "0"\r
195__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
196!endif\r
197!if "$(USE_RTTI)" == "0"\r
198__RTTI_DEFINE_p = -DwxNO_RTTI\r
199!endif\r
200!if "$(USE_THREADS)" == "0"\r
201__THREAD_DEFINE_p = -DwxNO_THREADS\r
202!endif\r
203!if "$(UNICODE)" == "0"\r
204__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
205!endif\r
206!if "$(UNICODE)" == "1"\r
207__UNICODE_DEFINE_p = -D_UNICODE\r
208!endif\r
209!if "$(MSLU)" == "1"\r
210__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
211!endif\r
212!if "$(USE_CAIRO)" == "1"\r
213____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r
214!endif\r
215!if "$(SHARED)" == "1"\r
216__DLLFLAG_p = -DWXUSINGDLL\r
217!endif\r
218!if "$(MONOLITHIC)" == "0"\r
219__WXLIB_NET_p = \\r
220 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib\r
221!endif\r
222!if "$(MONOLITHIC)" == "0"\r
223__WXLIB_BASE_p = \\r
224 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
225!endif\r
226!if "$(MONOLITHIC)" == "1"\r
227__WXLIB_MONO_p = \\r
228 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
229!endif\r
230!if "$(USE_GUI)" == "1"\r
231__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
232!endif\r
233!if "$(MSLU)" == "1"\r
234__UNICOWS_LIB_p = unicows.lib\r
235!endif\r
236!if "$(USE_CAIRO)" == "1"\r
237__CAIRO_LIB_p = cairo.lib\r
238!endif\r
239!if "$(USE_CAIRO)" == "1"\r
240____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r
241!endif\r
242!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
243__DEBUGINFO = -v\r
244!endif\r
245!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
246__DEBUGINFO = -v-\r
247!endif\r
248!if "$(DEBUG_INFO)" == "0"\r
249__DEBUGINFO = -v-\r
250!endif\r
251!if "$(DEBUG_INFO)" == "1"\r
252__DEBUGINFO = -v\r
253!endif\r
254\r
255\r
256all: $(OBJS)\r
257$(OBJS):\r
258 -if not exist $(OBJS) mkdir $(OBJS)\r
259\r
260### Targets: ###\r
261\r
262all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe\r
263\r
264clean: \r
265 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
266 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
267 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r
268 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe\r
269 -if exist $(OBJS)\client.tds del $(OBJS)\client.tds\r
270 -if exist $(OBJS)\client.ilc del $(OBJS)\client.ilc\r
271 -if exist $(OBJS)\client.ild del $(OBJS)\client.ild\r
272 -if exist $(OBJS)\client.ilf del $(OBJS)\client.ilf\r
273 -if exist $(OBJS)\client.ils del $(OBJS)\client.ils\r
274 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe\r
275 -if exist $(OBJS)\server.tds del $(OBJS)\server.tds\r
276 -if exist $(OBJS)\server.ilc del $(OBJS)\server.ilc\r
277 -if exist $(OBJS)\server.ild del $(OBJS)\server.ild\r
278 -if exist $(OBJS)\server.ilf del $(OBJS)\server.ilf\r
279 -if exist $(OBJS)\server.ils del $(OBJS)\server.ils\r
280 -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe\r
281 -if exist $(OBJS)\baseclient.tds del $(OBJS)\baseclient.tds\r
282 -if exist $(OBJS)\baseclient.ilc del $(OBJS)\baseclient.ilc\r
283 -if exist $(OBJS)\baseclient.ild del $(OBJS)\baseclient.ild\r
284 -if exist $(OBJS)\baseclient.ilf del $(OBJS)\baseclient.ilf\r
285 -if exist $(OBJS)\baseclient.ils del $(OBJS)\baseclient.ils\r
286 -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe\r
287 -if exist $(OBJS)\baseserver.tds del $(OBJS)\baseserver.tds\r
288 -if exist $(OBJS)\baseserver.ilc del $(OBJS)\baseserver.ilc\r
289 -if exist $(OBJS)\baseserver.ild del $(OBJS)\baseserver.ild\r
290 -if exist $(OBJS)\baseserver.ilf del $(OBJS)\baseserver.ilf\r
291 -if exist $(OBJS)\baseserver.ils del $(OBJS)\baseserver.ils\r
292\r
293!if "$(USE_GUI)" == "1"\r
294$(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res\r
295 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
296 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_sample.res\r
297|\r
298!endif\r
299\r
300!if "$(USE_GUI)" == "1"\r
301$(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res\r
302 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
303 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_sample.res\r
304|\r
305!endif\r
306\r
307$(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS)\r
308 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
309 c0x32.obj $(BASECLIENT_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_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
310|\r
311\r
312$(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS)\r
313 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r
314 c0x32.obj $(BASESERVER_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_PNG_IF_MONO_p_1) 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
315|\r
316\r
317$(OBJS)\client_sample.res: .\..\..\samples\sample.rc\r
318 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 .\..\..\samples\sample.rc\r
319\r
320$(OBJS)\client_client.obj: .\client.cpp\r
321 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) .\client.cpp\r
322\r
323$(OBJS)\server_sample.res: .\..\..\samples\sample.rc\r
324 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 .\..\..\samples\sample.rc\r
325\r
326$(OBJS)\server_server.obj: .\server.cpp\r
327 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) .\server.cpp\r
328\r
329$(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp\r
330 $(CXX) -q -c -P -o$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp\r
331\r
332$(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp\r
333 $(CXX) -q -c -P -o$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp\r
334\r