]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/sockets/makefile.bcc
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / samples / sockets / makefile.bcc
... / ...
CommitLineData
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# =========================================================================
6
7.autodepend
8
9!ifndef BCCDIR
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
13BCCDIR = $(MAKEDIR)\..
14!endif
15
16!include ../../build/msw/config.bcc
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
22### Variables: ###
23
24WX_RELEASE_NODOT = 25
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30CLIENT_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)
34CLIENT_OBJECTS = \
35 $(OBJS)\client_client.obj
36SERVER_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)
40SERVER_OBJECTS = \
41 $(OBJS)\server_server.obj
42
43### Conditionally set variables: ###
44
45!if "$(USE_GUI)" == "0"
46PORTNAME = base
47!endif
48!if "$(USE_GUI)" == "1"
49PORTNAME = msw
50!endif
51!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
52WXDEBUGFLAG = d
53!endif
54!if "$(DEBUG_FLAG)" == "1"
55WXDEBUGFLAG = d
56!endif
57!if "$(UNICODE)" == "1"
58WXUNICODEFLAG = u
59!endif
60!if "$(WXUNIV)" == "1"
61WXUNIVNAME = univ
62!endif
63!if "$(SHARED)" == "1"
64WXDLLFLAG = dll
65!endif
66!if "$(SHARED)" == "0"
67LIBTYPE_SUFFIX = lib
68!endif
69!if "$(SHARED)" == "1"
70LIBTYPE_SUFFIX = dll
71!endif
72!if "$(MONOLITHIC)" == "0"
73EXTRALIBS_FOR_BASE =
74!endif
75!if "$(MONOLITHIC)" == "1"
76EXTRALIBS_FOR_BASE =
77!endif
78!if "$(BUILD)" == "debug"
79__OPTIMIZEFLAG = -Od
80!endif
81!if "$(BUILD)" == "release"
82__OPTIMIZEFLAG = -O2
83!endif
84!if "$(RUNTIME_LIBS)" == "dynamic"
85__RUNTIME_LIBS = -tWR
86!endif
87!if "$(RUNTIME_LIBS)" == "static"
88__RUNTIME_LIBS =
89!endif
90!if "$(RUNTIME_LIBS)" == "dynamic"
91__RUNTIME_LIBS_0 = i
92!endif
93!if "$(RUNTIME_LIBS)" == "static"
94__RUNTIME_LIBS_0 =
95!endif
96!if "$(WXUNIV)" == "1"
97__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
98!endif
99!if "$(WXUNIV)" == "1"
100__WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__
101!endif
102!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
103__DEBUG_DEFINE_p = -D__WXDEBUG__
104!endif
105!if "$(DEBUG_FLAG)" == "1"
106__DEBUG_DEFINE_p = -D__WXDEBUG__
107!endif
108!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
109__DEBUG_DEFINE_p_0 = -d__WXDEBUG__
110!endif
111!if "$(DEBUG_FLAG)" == "1"
112__DEBUG_DEFINE_p_0 = -d__WXDEBUG__
113!endif
114!if "$(UNICODE)" == "1"
115__UNICODE_DEFINE_p = -D_UNICODE
116!endif
117!if "$(UNICODE)" == "1"
118__UNICODE_DEFINE_p_0 = -d_UNICODE
119!endif
120!if "$(SHARED)" == "1"
121__DLLFLAG_p = -DWXUSINGDLL
122!endif
123!if "$(SHARED)" == "1"
124__DLLFLAG_p_0 = -dWXUSINGDLL
125!endif
126!if "$(MONOLITHIC)" == "0"
127__WXLIB_CORE_p = \
128 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
129!endif
130!if "$(MONOLITHIC)" == "0"
131__WXLIB_NET_p = \
132 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
133!endif
134!if "$(MONOLITHIC)" == "0"
135__WXLIB_BASE_p = \
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
137!endif
138!if "$(MONOLITHIC)" == "1"
139__WXLIB_MONO_p = \
140 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
141!endif
142!if "$(USE_GUI)" == "1"
143__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144!endif
145!if "$(USE_GUI)" == "1"
146__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
147!endif
148!if "$(USE_GUI)" == "1"
149__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
150!endif
151!if "$(MSLU)" == "1"
152__UNICOWS_LIB_p = unicows.lib
153!endif
154!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155__DEBUGINFO = -v
156!endif
157!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158__DEBUGINFO = -v-
159!endif
160!if "$(DEBUG_INFO)" == "0"
161__DEBUGINFO = -v-
162!endif
163!if "$(DEBUG_INFO)" == "1"
164__DEBUGINFO = -v
165!endif
166
167
168all: $(OBJS)
169$(OBJS):
170 -if not exist $(OBJS) mkdir $(OBJS)
171
172### Targets: ###
173
174all: $(OBJS)\client.exe $(OBJS)\server.exe
175
176clean:
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
192
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
196|
197
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
201|
202
203$(OBJS)\client_client.obj: .\client.cpp
204 $(CXX) -q -c -P -o$@ $(CLIENT_CXXFLAGS) $**
205
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 $**
208
209$(OBJS)\server_server.obj: .\server.cpp
210 $(CXX) -q -c -P -o$@ $(SERVER_CXXFLAGS) $**
211
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 $**
214