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