]>
Commit | Line | Data |
---|---|---|
0706fb23 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
506e9b7e | 3 | # Bakefile 0.2.5 (http://www.bakefile.org) |
0706fb23 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
7921cf2b | 6 | |
fd9f42b6 | 7 | !include <../../build/msw/config.vc> |
0706fb23 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
ae4ccf12 | 15 | WX_RELEASE_NODOT = 29 |
444833b3 | 16 | COMPILER_PREFIX = vc |
b17c1746 | 17 | OBJS = \ |
444833b3 CE |
18 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU) |
19 | LIBDIRNAME = \ | |
20 | .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) | |
b17c1746 DE |
21 | SETUPHDIR = \ |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
21c6080d JS |
23 | CLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \ |
24 | $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \ | |
25 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
26 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
3abcf424 RD |
27 | $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \ |
28 | /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
29 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \ | |
30 | $(CXXFLAGS) | |
e9877ed3 VS |
31 | CLIENT_OBJECTS = \ |
32 | $(OBJS)\client_client.obj \ | |
33 | $(OBJS)\client_client.res | |
21c6080d JS |
34 | SERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \ |
35 | $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \ | |
36 | $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
37 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
3abcf424 RD |
38 | $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \ |
39 | /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
40 | /I.\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \ | |
41 | $(CXXFLAGS) | |
e9877ed3 VS |
42 | SERVER_OBJECTS = \ |
43 | $(OBJS)\server_server.obj \ | |
44 | $(OBJS)\server_server.res | |
2804f77d VZ |
45 | BASECLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS_36)$(__DEBUGRUNTIME) /DWIN32 \ |
46 | $(__DEBUGINFO) /Fd$(OBJS)\baseclient.pdb $(____DEBUGRUNTIME) \ | |
47 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
48 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
49 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
50 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \ | |
51 | /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \ | |
52 | $(CXXFLAGS) | |
53 | BASECLIENT_OBJECTS = \ | |
54 | $(OBJS)\baseclient_baseclient.obj | |
55 | BASESERVER_CXXFLAGS = /M$(__RUNTIME_LIBS_50)$(__DEBUGRUNTIME) /DWIN32 \ | |
56 | $(__DEBUGINFO) /Fd$(OBJS)\baseserver.pdb $(____DEBUGRUNTIME) \ | |
57 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
58 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
59 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
60 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \ | |
61 | /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \ | |
62 | $(CXXFLAGS) | |
63 | BASESERVER_OBJECTS = \ | |
64 | $(OBJS)\baseserver_baseserver.obj | |
0706fb23 VS |
65 | |
66 | ### Conditionally set variables: ### | |
67 | ||
68 | !if "$(USE_GUI)" == "0" | |
69 | PORTNAME = base | |
70 | !endif | |
71 | !if "$(USE_GUI)" == "1" | |
72 | PORTNAME = msw | |
73 | !endif | |
25a73439 VS |
74 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
75 | WXDEBUGFLAG = d | |
76 | !endif | |
77 | !if "$(DEBUG_FLAG)" == "1" | |
0706fb23 VS |
78 | WXDEBUGFLAG = d |
79 | !endif | |
0706fb23 VS |
80 | !if "$(UNICODE)" == "1" |
81 | WXUNICODEFLAG = u | |
82 | !endif | |
83 | !if "$(WXUNIV)" == "1" | |
84 | WXUNIVNAME = univ | |
85 | !endif | |
8ece421c | 86 | !if "$(TARGET_CPU)" == "AMD64" |
ab6ea1ac MW |
87 | DIR_SUFFIX_CPU = _amd64 |
88 | !endif | |
8ece421c VZ |
89 | !if "$(TARGET_CPU)" == "IA64" |
90 | DIR_SUFFIX_CPU = _ia64 | |
91 | !endif | |
9d309aad MW |
92 | !if "$(TARGET_CPU)" == "amd64" |
93 | DIR_SUFFIX_CPU = _amd64 | |
94 | !endif | |
95 | !if "$(TARGET_CPU)" == "ia64" | |
96 | DIR_SUFFIX_CPU = _ia64 | |
97 | !endif | |
b17c1746 DE |
98 | !if "$(SHARED)" == "1" |
99 | WXDLLFLAG = dll | |
100 | !endif | |
b14abf14 JS |
101 | !if "$(SHARED)" == "0" |
102 | LIBTYPE_SUFFIX = lib | |
103 | !endif | |
104 | !if "$(SHARED)" == "1" | |
105 | LIBTYPE_SUFFIX = dll | |
106 | !endif | |
8ece421c | 107 | !if "$(TARGET_CPU)" == "AMD64" |
9d309aad MW |
108 | LINK_TARGET_CPU = /MACHINE:AMD64 |
109 | !endif | |
8ece421c VZ |
110 | !if "$(TARGET_CPU)" == "IA64" |
111 | LINK_TARGET_CPU = /MACHINE:IA64 | |
112 | !endif | |
9d309aad | 113 | !if "$(TARGET_CPU)" == "amd64" |
ab6ea1ac MW |
114 | LINK_TARGET_CPU = /MACHINE:AMD64 |
115 | !endif | |
9d309aad MW |
116 | !if "$(TARGET_CPU)" == "ia64" |
117 | LINK_TARGET_CPU = /MACHINE:IA64 | |
118 | !endif | |
dd65d8c8 RN |
119 | !if "$(MONOLITHIC)" == "0" |
120 | EXTRALIBS_FOR_BASE = | |
121 | !endif | |
122 | !if "$(MONOLITHIC)" == "1" | |
123 | EXTRALIBS_FOR_BASE = | |
124 | !endif | |
2804f77d VZ |
125 | !if "$(USE_GUI)" == "1" |
126 | __client___depname = $(OBJS)\client.exe | |
127 | !endif | |
8c9f8f91 JS |
128 | !if "$(RUNTIME_LIBS)" == "dynamic" |
129 | __RUNTIME_LIBS_8 = D | |
130 | !endif | |
131 | !if "$(RUNTIME_LIBS)" == "static" | |
132 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) | |
133 | !endif | |
2804f77d VZ |
134 | !if "$(USE_GUI)" == "1" |
135 | __server___depname = $(OBJS)\server.exe | |
136 | !endif | |
8c9f8f91 JS |
137 | !if "$(RUNTIME_LIBS)" == "dynamic" |
138 | __RUNTIME_LIBS_22 = D | |
139 | !endif | |
140 | !if "$(RUNTIME_LIBS)" == "static" | |
141 | __RUNTIME_LIBS_22 = $(__THREADSFLAG) | |
b17c1746 | 142 | !endif |
2804f77d VZ |
143 | !if "$(RUNTIME_LIBS)" == "dynamic" |
144 | __RUNTIME_LIBS_36 = D | |
145 | !endif | |
146 | !if "$(RUNTIME_LIBS)" == "static" | |
147 | __RUNTIME_LIBS_36 = $(__THREADSFLAG) | |
148 | !endif | |
149 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
150 | __RUNTIME_LIBS_50 = D | |
151 | !endif | |
152 | !if "$(RUNTIME_LIBS)" == "static" | |
153 | __RUNTIME_LIBS_50 = $(__THREADSFLAG) | |
154 | !endif | |
155 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
156 | ____DEBUGRUNTIME_0 = /d _DEBUG | |
157 | !endif | |
158 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" | |
159 | ____DEBUGRUNTIME_0 = | |
160 | !endif | |
161 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
162 | ____DEBUGRUNTIME_0 = | |
163 | !endif | |
164 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
165 | ____DEBUGRUNTIME_0 = /d _DEBUG | |
166 | !endif | |
167 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
168 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ | |
169 | !endif | |
170 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
171 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ | |
172 | !endif | |
173 | !if "$(WXUNIV)" == "1" | |
174 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__ | |
175 | !endif | |
176 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
177 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
178 | !endif | |
179 | !if "$(DEBUG_FLAG)" == "1" | |
180 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
181 | !endif | |
182 | !if "$(USE_EXCEPTIONS)" == "0" | |
183 | __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS | |
184 | !endif | |
185 | !if "$(USE_RTTI)" == "0" | |
186 | __RTTI_DEFINE_p_0 = /d wxNO_RTTI | |
187 | !endif | |
188 | !if "$(USE_THREADS)" == "0" | |
189 | __THREAD_DEFINE_p_0 = /d wxNO_THREADS | |
190 | !endif | |
191 | !if "$(UNICODE)" == "0" | |
192 | __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=0 | |
193 | !endif | |
194 | !if "$(UNICODE)" == "1" | |
195 | __UNICODE_DEFINE_p_0 = /d _UNICODE | |
196 | !endif | |
197 | !if "$(MSLU)" == "1" | |
198 | __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1 | |
199 | !endif | |
200 | !if "$(USE_GDIPLUS)" == "1" | |
201 | __GFXCTX_DEFINE_p_0 = /d wxUSE_GRAPHICS_CONTEXT=1 | |
202 | !endif | |
203 | !if "$(SHARED)" == "1" | |
204 | __DLLFLAG_p_0 = /d WXUSINGDLL | |
205 | !endif | |
206 | !if "$(MONOLITHIC)" == "0" | |
207 | __WXLIB_CORE_p = \ | |
208 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
209 | !endif | |
210 | !if "$(USE_GUI)" == "1" | |
211 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
212 | !endif | |
213 | !if "$(USE_GUI)" == "1" | |
214 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
215 | !endif | |
216 | !if "$(USE_GUI)" == "1" | |
217 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
218 | !endif | |
25a73439 | 219 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
b17c1746 | 220 | __DEBUGINFO = /Zi |
250700e4 | 221 | !endif |
25a73439 VS |
222 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
223 | __DEBUGINFO = | |
250700e4 | 224 | !endif |
25a73439 VS |
225 | !if "$(DEBUG_INFO)" == "0" |
226 | __DEBUGINFO = | |
250700e4 | 227 | !endif |
25a73439 | 228 | !if "$(DEBUG_INFO)" == "1" |
b17c1746 | 229 | __DEBUGINFO = /Zi |
250700e4 | 230 | !endif |
25a73439 | 231 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
2804f77d | 232 | __DEBUGINFO_3 = /DEBUG |
250700e4 | 233 | !endif |
25a73439 | 234 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
2804f77d | 235 | __DEBUGINFO_3 = |
250700e4 | 236 | !endif |
25a73439 | 237 | !if "$(DEBUG_INFO)" == "0" |
2804f77d | 238 | __DEBUGINFO_3 = |
25a73439 VS |
239 | !endif |
240 | !if "$(DEBUG_INFO)" == "1" | |
2804f77d | 241 | __DEBUGINFO_3 = /DEBUG |
25a73439 | 242 | !endif |
21c6080d JS |
243 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
244 | ____DEBUGRUNTIME = /D_DEBUG | |
25a73439 | 245 | !endif |
21c6080d JS |
246 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
247 | ____DEBUGRUNTIME = | |
25a73439 | 248 | !endif |
21c6080d JS |
249 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
250 | ____DEBUGRUNTIME = | |
25a73439 | 251 | !endif |
21c6080d JS |
252 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
253 | ____DEBUGRUNTIME = /D_DEBUG | |
25a73439 | 254 | !endif |
21c6080d | 255 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
21c6080d | 256 | __DEBUGRUNTIME = d |
25a73439 | 257 | !endif |
21c6080d JS |
258 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
259 | __DEBUGRUNTIME = | |
25a73439 | 260 | !endif |
21c6080d JS |
261 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
262 | __DEBUGRUNTIME = | |
0706fb23 | 263 | !endif |
21c6080d JS |
264 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
265 | __DEBUGRUNTIME = d | |
25a73439 | 266 | !endif |
b17c1746 DE |
267 | !if "$(BUILD)" == "debug" |
268 | __OPTIMIZEFLAG = /Od | |
25a73439 | 269 | !endif |
b17c1746 DE |
270 | !if "$(BUILD)" == "release" |
271 | __OPTIMIZEFLAG = /O2 | |
0706fb23 | 272 | !endif |
8c9f8f91 JS |
273 | !if "$(USE_THREADS)" == "0" |
274 | __THREADSFLAG = L | |
0706fb23 | 275 | !endif |
8c9f8f91 JS |
276 | !if "$(USE_THREADS)" == "1" |
277 | __THREADSFLAG = T | |
e9877ed3 | 278 | !endif |
8c9f8f91 JS |
279 | !if "$(USE_RTTI)" == "0" |
280 | __RTTIFLAG = | |
b71531ad | 281 | !endif |
8c9f8f91 JS |
282 | !if "$(USE_RTTI)" == "1" |
283 | __RTTIFLAG = /GR | |
b71531ad VZ |
284 | !endif |
285 | !if "$(USE_EXCEPTIONS)" == "0" | |
8c9f8f91 | 286 | __EXCEPTIONSFLAG = |
b71531ad VZ |
287 | !endif |
288 | !if "$(USE_EXCEPTIONS)" == "1" | |
8c9f8f91 | 289 | __EXCEPTIONSFLAG = /EHsc |
250700e4 | 290 | !endif |
ec08d395 JS |
291 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
292 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
293 | !endif | |
294 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
295 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
296 | !endif | |
b17c1746 DE |
297 | !if "$(WXUNIV)" == "1" |
298 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
250700e4 | 299 | !endif |
b17c1746 DE |
300 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
301 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
250700e4 | 302 | !endif |
b17c1746 DE |
303 | !if "$(DEBUG_FLAG)" == "1" |
304 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
305 | !endif | |
8c9f8f91 JS |
306 | !if "$(USE_EXCEPTIONS)" == "0" |
307 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
308 | !endif | |
8c9f8f91 JS |
309 | !if "$(USE_RTTI)" == "0" |
310 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
311 | !endif | |
8c9f8f91 JS |
312 | !if "$(USE_THREADS)" == "0" |
313 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
314 | !endif | |
7379e476 VZ |
315 | !if "$(UNICODE)" == "0" |
316 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0 | |
317 | !endif | |
0706fb23 | 318 | !if "$(UNICODE)" == "1" |
ec08d395 | 319 | __UNICODE_DEFINE_p = /D_UNICODE |
0706fb23 | 320 | !endif |
2113bc77 MW |
321 | !if "$(MSLU)" == "1" |
322 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
323 | !endif | |
3abcf424 RD |
324 | !if "$(USE_GDIPLUS)" == "1" |
325 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1 | |
326 | !endif | |
b17c1746 DE |
327 | !if "$(SHARED)" == "1" |
328 | __DLLFLAG_p = /DWXUSINGDLL | |
329 | !endif | |
e9877ed3 | 330 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
331 | __WXLIB_NET_p = \ |
332 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
0706fb23 | 333 | !endif |
b17c1746 | 334 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
335 | __WXLIB_BASE_p = \ |
336 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
25a73439 | 337 | !endif |
b17c1746 DE |
338 | !if "$(MONOLITHIC)" == "1" |
339 | __WXLIB_MONO_p = \ | |
c33fae85 | 340 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
25a73439 | 341 | !endif |
b17c1746 DE |
342 | !if "$(MSLU)" == "1" |
343 | __UNICOWS_LIB_p = unicows.lib | |
bdc408c4 | 344 | !endif |
3abcf424 RD |
345 | !if "$(USE_GDIPLUS)" == "1" |
346 | __GDIPLUS_LIB_p = gdiplus.lib | |
347 | !endif | |
0706fb23 VS |
348 | |
349 | ||
350 | all: $(OBJS) | |
351 | $(OBJS): | |
352 | -if not exist $(OBJS) mkdir $(OBJS) | |
353 | ||
354 | ### Targets: ### | |
355 | ||
2804f77d | 356 | all: $(__client___depname) $(__server___depname) $(OBJS)\baseclient.exe $(OBJS)\baseserver.exe |
250700e4 | 357 | |
0706fb23 VS |
358 | clean: |
359 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
360 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 361 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
250700e4 | 362 | -if exist $(OBJS)\client.exe del $(OBJS)\client.exe |
ec08d395 JS |
363 | -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk |
364 | -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb | |
250700e4 | 365 | -if exist $(OBJS)\server.exe del $(OBJS)\server.exe |
ec08d395 JS |
366 | -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk |
367 | -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb | |
2804f77d VZ |
368 | -if exist $(OBJS)\baseclient.exe del $(OBJS)\baseclient.exe |
369 | -if exist $(OBJS)\baseclient.ilk del $(OBJS)\baseclient.ilk | |
370 | -if exist $(OBJS)\baseclient.pdb del $(OBJS)\baseclient.pdb | |
371 | -if exist $(OBJS)\baseserver.exe del $(OBJS)\baseserver.exe | |
372 | -if exist $(OBJS)\baseserver.ilk del $(OBJS)\baseserver.ilk | |
373 | -if exist $(OBJS)\baseserver.pdb del $(OBJS)\baseserver.pdb | |
0706fb23 | 374 | |
2804f77d | 375 | !if "$(USE_GUI)" == "1" |
e9877ed3 | 376 | $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res |
8ece421c | 377 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_3) /pdb:"$(OBJS)\client.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<< |
7379e476 | 378 | $(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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib |
0706fb23 | 379 | << |
2804f77d | 380 | !endif |
0706fb23 | 381 | |
2804f77d | 382 | !if "$(USE_GUI)" == "1" |
e9877ed3 | 383 | $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res |
8ece421c | 384 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_3) /pdb:"$(OBJS)\server.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<< |
7379e476 | 385 | $(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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib |
250700e4 | 386 | << |
2804f77d VZ |
387 | !endif |
388 | ||
389 | $(OBJS)\baseclient.exe: $(BASECLIENT_OBJECTS) | |
8ece421c | 390 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_3) /pdb:"$(OBJS)\baseclient.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(LDFLAGS) @<< |
2804f77d VZ |
391 | $(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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib |
392 | << | |
393 | ||
394 | $(OBJS)\baseserver.exe: $(BASESERVER_OBJECTS) | |
8ece421c | 395 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_3) /pdb:"$(OBJS)\baseserver.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(LDFLAGS) @<< |
2804f77d VZ |
396 | $(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) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib |
397 | << | |
b17c1746 DE |
398 | |
399 | $(OBJS)\client_client.obj: .\client.cpp | |
6e0fbb3d | 400 | $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) .\client.cpp |
b17c1746 DE |
401 | |
402 | $(OBJS)\client_client.res: .\client.rc | |
6e0fbb3d | 403 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /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) /d _WINDOWS /i .\..\..\samples /d NOPCH .\client.rc |
b17c1746 DE |
404 | |
405 | $(OBJS)\server_server.obj: .\server.cpp | |
6e0fbb3d | 406 | $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) .\server.cpp |
b17c1746 DE |
407 | |
408 | $(OBJS)\server_server.res: .\server.rc | |
6e0fbb3d | 409 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /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) /d _WINDOWS /i .\..\..\samples /d NOPCH .\server.rc |
b14abf14 | 410 | |
2804f77d | 411 | $(OBJS)\baseclient_baseclient.obj: .\baseclient.cpp |
6e0fbb3d | 412 | $(CXX) /c /nologo /TP /Fo$@ $(BASECLIENT_CXXFLAGS) .\baseclient.cpp |
2804f77d VZ |
413 | |
414 | $(OBJS)\baseserver_baseserver.obj: .\baseserver.cpp | |
6e0fbb3d | 415 | $(CXX) /c /nologo /TP /Fo$@ $(BASESERVER_CXXFLAGS) .\baseserver.cpp |
2804f77d | 416 |