]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
444833b3 | 3 | # Bakefile 0.2.2 (http://bakefile.sourceforge.net) |
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 |
13 | BCCDIR = $(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 | 24 | WX_RELEASE_NODOT = 29 |
444833b3 | 25 | COMPILER_PREFIX = bcc |
b17c1746 | 26 | OBJS = \ |
444833b3 CE |
27 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
28 | LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) | |
b17c1746 DE |
29 | SETUPHDIR = \ |
30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
7dc467c5 | 31 | IPCCLIENT_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ |
8c9f8f91 JS |
32 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
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 |
37 | IPCCLIENT_OBJECTS = \ |
38 | $(OBJS)\ipcclient_client.obj | |
39 | IPCSERVER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ | |
8c9f8f91 JS |
40 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
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 |
45 | IPCSERVER_OBJECTS = \ |
46 | $(OBJS)\ipcserver_server.obj | |
250700e4 RD |
47 | |
48 | ### Conditionally set variables: ### | |
49 | ||
50 | !if "$(USE_GUI)" == "0" | |
51 | PORTNAME = base | |
52 | !endif | |
53 | !if "$(USE_GUI)" == "1" | |
54 | PORTNAME = msw | |
55 | !endif | |
076f10e0 VS |
56 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
57 | WXDEBUGFLAG = d | |
58 | !endif | |
59 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
60 | WXDEBUGFLAG = d |
61 | !endif | |
250700e4 RD |
62 | !if "$(UNICODE)" == "1" |
63 | WXUNICODEFLAG = u | |
64 | !endif | |
65 | !if "$(WXUNIV)" == "1" | |
66 | WXUNIVNAME = univ | |
67 | !endif | |
250700e4 | 68 | !if "$(SHARED)" == "1" |
b17c1746 | 69 | WXDLLFLAG = dll |
076f10e0 | 70 | !endif |
b14abf14 JS |
71 | !if "$(SHARED)" == "0" |
72 | LIBTYPE_SUFFIX = lib | |
73 | !endif | |
74 | !if "$(SHARED)" == "1" | |
75 | LIBTYPE_SUFFIX = dll | |
76 | !endif | |
dd65d8c8 RN |
77 | !if "$(MONOLITHIC)" == "0" |
78 | EXTRALIBS_FOR_BASE = | |
79 | !endif | |
80 | !if "$(MONOLITHIC)" == "1" | |
81 | EXTRALIBS_FOR_BASE = | |
82 | !endif | |
250700e4 | 83 | !if "$(BUILD)" == "debug" |
d179e30b | 84 | __OPTIMIZEFLAG = -Od |
250700e4 RD |
85 | !endif |
86 | !if "$(BUILD)" == "release" | |
d179e30b | 87 | __OPTIMIZEFLAG = -O2 |
250700e4 | 88 | !endif |
8c9f8f91 JS |
89 | !if "$(USE_THREADS)" == "0" |
90 | __THREADSFLAG = | |
91 | !endif | |
92 | !if "$(USE_THREADS)" == "1" | |
93 | __THREADSFLAG = mt | |
94 | !endif | |
95 | !if "$(USE_THREADS)" == "0" | |
96 | __THREADSFLAG_0 = | |
97 | !endif | |
98 | !if "$(USE_THREADS)" == "1" | |
99 | __THREADSFLAG_0 = -tWM | |
100 | !endif | |
250700e4 | 101 | !if "$(RUNTIME_LIBS)" == "dynamic" |
b17c1746 | 102 | __RUNTIME_LIBS = -tWR |
250700e4 RD |
103 | !endif |
104 | !if "$(RUNTIME_LIBS)" == "static" | |
d179e30b | 105 | __RUNTIME_LIBS = |
250700e4 RD |
106 | !endif |
107 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
b17c1746 | 108 | __RUNTIME_LIBS_0 = i |
250700e4 RD |
109 | !endif |
110 | !if "$(RUNTIME_LIBS)" == "static" | |
d179e30b | 111 | __RUNTIME_LIBS_0 = |
250700e4 | 112 | !endif |
b17c1746 DE |
113 | !if "$(WXUNIV)" == "1" |
114 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
115 | !endif | |
116 | !if "$(WXUNIV)" == "1" | |
117 | __WXUNIV_DEFINE_p_0 = -d__WXUNIVERSAL__ | |
118 | !endif | |
119 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
120 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
121 | !endif | |
122 | !if "$(DEBUG_FLAG)" == "1" | |
123 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
124 | !endif | |
125 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
126 | __DEBUG_DEFINE_p_0 = -d__WXDEBUG__ | |
127 | !endif | |
128 | !if "$(DEBUG_FLAG)" == "1" | |
129 | __DEBUG_DEFINE_p_0 = -d__WXDEBUG__ | |
130 | !endif | |
8c9f8f91 JS |
131 | !if "$(USE_EXCEPTIONS)" == "0" |
132 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
133 | !endif | |
134 | !if "$(USE_EXCEPTIONS)" == "0" | |
135 | __EXCEPTIONS_DEFINE_p_0 = -dwxNO_EXCEPTIONS | |
136 | !endif | |
137 | !if "$(USE_RTTI)" == "0" | |
138 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
139 | !endif | |
140 | !if "$(USE_RTTI)" == "0" | |
141 | __RTTI_DEFINE_p_0 = -dwxNO_RTTI | |
142 | !endif | |
143 | !if "$(USE_THREADS)" == "0" | |
144 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
145 | !endif | |
146 | !if "$(USE_THREADS)" == "0" | |
147 | __THREAD_DEFINE_p_0 = -dwxNO_THREADS | |
148 | !endif | |
7379e476 VZ |
149 | !if "$(UNICODE)" == "0" |
150 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 | |
151 | !endif | |
250700e4 | 152 | !if "$(UNICODE)" == "1" |
ec08d395 | 153 | __UNICODE_DEFINE_p = -D_UNICODE |
250700e4 | 154 | !endif |
7379e476 VZ |
155 | !if "$(UNICODE)" == "0" |
156 | __UNICODE_DEFINE_p_0 = -dwxUSE_UNICODE=0 | |
157 | !endif | |
250700e4 | 158 | !if "$(UNICODE)" == "1" |
ec08d395 | 159 | __UNICODE_DEFINE_p_0 = -d_UNICODE |
250700e4 | 160 | !endif |
2113bc77 MW |
161 | !if "$(MSLU)" == "1" |
162 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
163 | !endif | |
164 | !if "$(MSLU)" == "1" | |
165 | __MSLU_DEFINE_p_0 = -dwxUSE_UNICODE_MSLU=1 | |
166 | !endif | |
3abcf424 RD |
167 | !if "$(USE_GDIPLUS)" == "1" |
168 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
169 | !endif | |
170 | !if "$(USE_GDIPLUS)" == "1" | |
171 | __GFXCTX_DEFINE_p_0 = -dwxUSE_GRAPHICS_CONTEXT=1 | |
172 | !endif | |
b17c1746 DE |
173 | !if "$(SHARED)" == "1" |
174 | __DLLFLAG_p = -DWXUSINGDLL | |
175 | !endif | |
176 | !if "$(SHARED)" == "1" | |
177 | __DLLFLAG_p_0 = -dWXUSINGDLL | |
250700e4 RD |
178 | !endif |
179 | !if "$(MONOLITHIC)" == "0" | |
180 | __WXLIB_CORE_p = \ | |
c33fae85 | 181 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
250700e4 | 182 | !endif |
b17c1746 | 183 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
184 | __WXLIB_NET_p = \ |
185 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
b17c1746 DE |
186 | !endif |
187 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
188 | __WXLIB_BASE_p = \ |
189 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 | 190 | !endif |
250700e4 RD |
191 | !if "$(MONOLITHIC)" == "1" |
192 | __WXLIB_MONO_p = \ | |
c33fae85 | 193 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
250700e4 | 194 | !endif |
b17c1746 | 195 | !if "$(USE_GUI)" == "1" |
9c2d002b | 196 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
d179e30b | 197 | !endif |
b17c1746 | 198 | !if "$(USE_GUI)" == "1" |
9c2d002b | 199 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
250700e4 | 200 | !endif |
b17c1746 | 201 | !if "$(USE_GUI)" == "1" |
9c2d002b | 202 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
b17c1746 DE |
203 | !endif |
204 | !if "$(MSLU)" == "1" | |
205 | __UNICOWS_LIB_p = unicows.lib | |
206 | !endif | |
3abcf424 RD |
207 | !if "$(USE_GDIPLUS)" == "1" |
208 | __GDIPLUS_LIB_p = gdiplus.lib | |
209 | !endif | |
b17c1746 DE |
210 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
211 | __DEBUGINFO = -v | |
212 | !endif | |
213 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
214 | __DEBUGINFO = -v- | |
215 | !endif | |
216 | !if "$(DEBUG_INFO)" == "0" | |
217 | __DEBUGINFO = -v- | |
218 | !endif | |
219 | !if "$(DEBUG_INFO)" == "1" | |
220 | __DEBUGINFO = -v | |
250700e4 RD |
221 | !endif |
222 | ||
223 | ||
224 | all: $(OBJS) | |
225 | $(OBJS): | |
226 | -if not exist $(OBJS) mkdir $(OBJS) | |
227 | ||
228 | ### Targets: ### | |
229 | ||
7dc467c5 | 230 | all: $(OBJS)\ipcclient.exe $(OBJS)\ipcserver.exe |
d179e30b | 231 | |
250700e4 RD |
232 | clean: |
233 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
234 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 235 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm |
7dc467c5 VZ |
236 | -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe |
237 | -if exist $(OBJS)\ipcclient.tds del $(OBJS)\ipcclient.tds | |
238 | -if exist $(OBJS)\ipcclient.ilc del $(OBJS)\ipcclient.ilc | |
239 | -if exist $(OBJS)\ipcclient.ild del $(OBJS)\ipcclient.ild | |
240 | -if exist $(OBJS)\ipcclient.ilf del $(OBJS)\ipcclient.ilf | |
241 | -if exist $(OBJS)\ipcclient.ils del $(OBJS)\ipcclient.ils | |
242 | -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe | |
243 | -if exist $(OBJS)\ipcserver.tds del $(OBJS)\ipcserver.tds | |
244 | -if exist $(OBJS)\ipcserver.ilc del $(OBJS)\ipcserver.ilc | |
245 | -if exist $(OBJS)\ipcserver.ild del $(OBJS)\ipcserver.ild | |
246 | -if exist $(OBJS)\ipcserver.ilf del $(OBJS)\ipcserver.ilf | |
247 | -if exist $(OBJS)\ipcserver.ils del $(OBJS)\ipcserver.ils | |
d179e30b | 248 | |
7dc467c5 | 249 | $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample.res |
9bfe7ad9 | 250 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| |
7379e476 | 251 | 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_0).lib,, $(OBJS)\ipcclient_sample.res |
d179e30b | 252 | | |
250700e4 | 253 | |
7dc467c5 | 254 | $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample.res |
9bfe7ad9 | 255 | ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| |
7379e476 | 256 | 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_0).lib,, $(OBJS)\ipcserver_sample.res |
250700e4 | 257 | | |
b17c1746 | 258 | |
7dc467c5 | 259 | $(OBJS)\ipcclient_sample.res: .\..\..\samples\sample.rc |
444833b3 | 260 | 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 $** |
b17c1746 | 261 | |
7dc467c5 VZ |
262 | $(OBJS)\ipcclient_client.obj: .\client.cpp |
263 | $(CXX) -q -c -P -o$@ $(IPCCLIENT_CXXFLAGS) $** | |
b17c1746 | 264 | |
7dc467c5 | 265 | $(OBJS)\ipcserver_sample.res: .\..\..\samples\sample.rc |
444833b3 | 266 | 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 $** |
b17c1746 | 267 | |
7dc467c5 VZ |
268 | $(OBJS)\ipcserver_server.obj: .\server.cpp |
269 | $(CXX) -q -c -P -o$@ $(IPCSERVER_CXXFLAGS) $** | |
b14abf14 | 270 |