]>
Commit | Line | Data |
---|---|---|
0706fb23 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c4839ccf | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
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 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
b17c1746 DE |
16 | OBJS = \ |
17 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
18 | SETUPHDIR = \ | |
19 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 | 20 | CLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \ |
b17c1746 | 21 | $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME_2_p) \ |
ec08d395 JS |
22 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
23 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \ | |
c33fae85 RN |
24 | /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \ |
25 | $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 VS |
26 | CLIENT_OBJECTS = \ |
27 | $(OBJS)\client_client.obj \ | |
28 | $(OBJS)\client_client.res | |
9bfe7ad9 | 29 | SERVER_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \ |
b17c1746 | 30 | $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME_15_p) \ |
ec08d395 JS |
31 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
32 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \ | |
c33fae85 RN |
33 | /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH \ |
34 | $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS) | |
e9877ed3 VS |
35 | SERVER_OBJECTS = \ |
36 | $(OBJS)\server_server.obj \ | |
37 | $(OBJS)\server_server.res | |
0706fb23 VS |
38 | |
39 | ### Conditionally set variables: ### | |
40 | ||
41 | !if "$(USE_GUI)" == "0" | |
42 | PORTNAME = base | |
43 | !endif | |
44 | !if "$(USE_GUI)" == "1" | |
45 | PORTNAME = msw | |
46 | !endif | |
25a73439 VS |
47 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
48 | WXDEBUGFLAG = d | |
49 | !endif | |
50 | !if "$(DEBUG_FLAG)" == "1" | |
0706fb23 VS |
51 | WXDEBUGFLAG = d |
52 | !endif | |
0706fb23 VS |
53 | !if "$(UNICODE)" == "1" |
54 | WXUNICODEFLAG = u | |
55 | !endif | |
56 | !if "$(WXUNIV)" == "1" | |
57 | WXUNIVNAME = univ | |
58 | !endif | |
b17c1746 DE |
59 | !if "$(SHARED)" == "1" |
60 | WXDLLFLAG = dll | |
61 | !endif | |
dd65d8c8 RN |
62 | !if "$(MONOLITHIC)" == "0" |
63 | EXTRALIBS_FOR_BASE = | |
64 | !endif | |
65 | !if "$(MONOLITHIC)" == "1" | |
66 | EXTRALIBS_FOR_BASE = | |
67 | !endif | |
b17c1746 DE |
68 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
69 | ____DEBUGRUNTIME_2_p = | |
70 | !endif | |
71 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
72 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
73 | !endif | |
74 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
75 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) | |
76 | !endif | |
77 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
78 | ____DEBUGRUNTIME_2_p_1 = | |
79 | !endif | |
80 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
81 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
82 | !endif | |
83 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
84 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_0) | |
85 | !endif | |
86 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
87 | __DEBUGRUNTIME_3 = | |
88 | !endif | |
89 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
90 | __DEBUGRUNTIME_3 = d | |
91 | !endif | |
92 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
93 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_2) | |
94 | !endif | |
95 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
96 | ____DEBUGRUNTIME_15_p = | |
97 | !endif | |
98 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
99 | ____DEBUGRUNTIME_15_p = /D_DEBUG | |
100 | !endif | |
101 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
102 | ____DEBUGRUNTIME_15_p = $(____DEBUGINFO) | |
103 | !endif | |
104 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
105 | ____DEBUGRUNTIME_15_p_1 = | |
106 | !endif | |
107 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
108 | ____DEBUGRUNTIME_15_p_1 = /d _DEBUG | |
109 | !endif | |
110 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
111 | ____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_0) | |
112 | !endif | |
113 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
114 | __DEBUGRUNTIME_16 = | |
115 | !endif | |
116 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
117 | __DEBUGRUNTIME_16 = d | |
118 | !endif | |
119 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
120 | __DEBUGRUNTIME_16 = $(__DEBUGINFO_2) | |
121 | !endif | |
25a73439 | 122 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
b17c1746 | 123 | __DEBUGINFO = /Zi |
250700e4 | 124 | !endif |
25a73439 VS |
125 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
126 | __DEBUGINFO = | |
250700e4 | 127 | !endif |
25a73439 VS |
128 | !if "$(DEBUG_INFO)" == "0" |
129 | __DEBUGINFO = | |
250700e4 | 130 | !endif |
25a73439 | 131 | !if "$(DEBUG_INFO)" == "1" |
b17c1746 | 132 | __DEBUGINFO = /Zi |
250700e4 | 133 | !endif |
25a73439 VS |
134 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
135 | __DEBUGINFO_1 = /DEBUG | |
250700e4 | 136 | !endif |
25a73439 VS |
137 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
138 | __DEBUGINFO_1 = | |
250700e4 | 139 | !endif |
25a73439 VS |
140 | !if "$(DEBUG_INFO)" == "0" |
141 | __DEBUGINFO_1 = | |
142 | !endif | |
143 | !if "$(DEBUG_INFO)" == "1" | |
144 | __DEBUGINFO_1 = /DEBUG | |
145 | !endif | |
146 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 147 | ____DEBUGINFO = /D_DEBUG |
25a73439 VS |
148 | !endif |
149 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 150 | ____DEBUGINFO = |
25a73439 VS |
151 | !endif |
152 | !if "$(DEBUG_INFO)" == "0" | |
b17c1746 | 153 | ____DEBUGINFO = |
25a73439 VS |
154 | !endif |
155 | !if "$(DEBUG_INFO)" == "1" | |
b17c1746 | 156 | ____DEBUGINFO = /D_DEBUG |
25a73439 | 157 | !endif |
b17c1746 DE |
158 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
159 | ____DEBUGINFO_0 = /d _DEBUG | |
25a73439 | 160 | !endif |
b17c1746 DE |
161 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
162 | ____DEBUGINFO_0 = | |
25a73439 | 163 | !endif |
b17c1746 DE |
164 | !if "$(DEBUG_INFO)" == "0" |
165 | ____DEBUGINFO_0 = | |
25a73439 | 166 | !endif |
b17c1746 DE |
167 | !if "$(DEBUG_INFO)" == "1" |
168 | ____DEBUGINFO_0 = /d _DEBUG | |
25a73439 | 169 | !endif |
b17c1746 DE |
170 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
171 | __DEBUGINFO_2 = d | |
25a73439 | 172 | !endif |
b17c1746 DE |
173 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
174 | __DEBUGINFO_2 = | |
25a73439 | 175 | !endif |
b17c1746 DE |
176 | !if "$(DEBUG_INFO)" == "0" |
177 | __DEBUGINFO_2 = | |
0706fb23 | 178 | !endif |
b17c1746 DE |
179 | !if "$(DEBUG_INFO)" == "1" |
180 | __DEBUGINFO_2 = d | |
25a73439 | 181 | !endif |
b17c1746 DE |
182 | !if "$(BUILD)" == "debug" |
183 | __OPTIMIZEFLAG = /Od | |
25a73439 | 184 | !endif |
b17c1746 DE |
185 | !if "$(BUILD)" == "release" |
186 | __OPTIMIZEFLAG = /O2 | |
0706fb23 | 187 | !endif |
b17c1746 DE |
188 | !if "$(RUNTIME_LIBS)" == "dynamic" |
189 | __RUNTIME_LIBS = D | |
0706fb23 | 190 | !endif |
b17c1746 DE |
191 | !if "$(RUNTIME_LIBS)" == "static" |
192 | __RUNTIME_LIBS = T | |
e9877ed3 | 193 | !endif |
b71531ad VZ |
194 | !if "$(USE_EXCEPTIONS)" == "0" |
195 | __EXCEPTIONSFLAG = | |
196 | !endif | |
197 | !if "$(USE_EXCEPTIONS)" == "1" | |
b17c1746 | 198 | __EXCEPTIONSFLAG = /GR |
b71531ad VZ |
199 | !endif |
200 | !if "$(USE_EXCEPTIONS)" == "0" | |
201 | __EXCEPTIONSFLAG_0 = | |
202 | !endif | |
203 | !if "$(USE_EXCEPTIONS)" == "1" | |
b17c1746 | 204 | __EXCEPTIONSFLAG_0 = /GX |
250700e4 | 205 | !endif |
ec08d395 JS |
206 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
207 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
208 | !endif | |
209 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
210 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
211 | !endif | |
212 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
213 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ | |
214 | !endif | |
215 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
216 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ | |
217 | !endif | |
b17c1746 DE |
218 | !if "$(WXUNIV)" == "1" |
219 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
250700e4 | 220 | !endif |
b17c1746 DE |
221 | !if "$(WXUNIV)" == "1" |
222 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__ | |
250700e4 | 223 | !endif |
b17c1746 DE |
224 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
225 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
250700e4 | 226 | !endif |
b17c1746 DE |
227 | !if "$(DEBUG_FLAG)" == "1" |
228 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
229 | !endif | |
230 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
231 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
232 | !endif | |
233 | !if "$(DEBUG_FLAG)" == "1" | |
234 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
0706fb23 VS |
235 | !endif |
236 | !if "$(UNICODE)" == "1" | |
ec08d395 | 237 | __UNICODE_DEFINE_p = /D_UNICODE |
0706fb23 VS |
238 | !endif |
239 | !if "$(UNICODE)" == "1" | |
ec08d395 | 240 | __UNICODE_DEFINE_p_0 = /d _UNICODE |
0706fb23 | 241 | !endif |
b17c1746 DE |
242 | !if "$(SHARED)" == "0" |
243 | LIBDIRNAME = .\..\..\lib\vc_lib$(CFG) | |
4e209a20 | 244 | !endif |
b17c1746 DE |
245 | !if "$(SHARED)" == "1" |
246 | LIBDIRNAME = .\..\..\lib\vc_dll$(CFG) | |
247 | !endif | |
248 | !if "$(SHARED)" == "1" | |
249 | __DLLFLAG_p = /DWXUSINGDLL | |
250 | !endif | |
251 | !if "$(SHARED)" == "1" | |
252 | __DLLFLAG_p_0 = /d WXUSINGDLL | |
0706fb23 VS |
253 | !endif |
254 | !if "$(MONOLITHIC)" == "0" | |
e9877ed3 | 255 | __WXLIB_CORE_p = \ |
c33fae85 | 256 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
0706fb23 | 257 | !endif |
e9877ed3 | 258 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
259 | __WXLIB_NET_p = \ |
260 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib | |
0706fb23 | 261 | !endif |
b17c1746 | 262 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
263 | __WXLIB_BASE_p = \ |
264 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
25a73439 | 265 | !endif |
b17c1746 DE |
266 | !if "$(MONOLITHIC)" == "1" |
267 | __WXLIB_MONO_p = \ | |
c33fae85 | 268 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
25a73439 | 269 | !endif |
b17c1746 | 270 | !if "$(USE_GUI)" == "1" |
9c2d002b | 271 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
25a73439 | 272 | !endif |
b17c1746 | 273 | !if "$(USE_GUI)" == "1" |
9c2d002b | 274 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
25a73439 | 275 | !endif |
b17c1746 | 276 | !if "$(USE_GUI)" == "1" |
9c2d002b | 277 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
25a73439 | 278 | !endif |
b17c1746 DE |
279 | !if "$(MSLU)" == "1" |
280 | __UNICOWS_LIB_p = unicows.lib | |
bdc408c4 | 281 | !endif |
0706fb23 VS |
282 | |
283 | ||
284 | all: $(OBJS) | |
285 | $(OBJS): | |
286 | -if not exist $(OBJS) mkdir $(OBJS) | |
287 | ||
288 | ### Targets: ### | |
289 | ||
250700e4 RD |
290 | all: $(OBJS)\client.exe $(OBJS)\server.exe |
291 | ||
0706fb23 VS |
292 | clean: |
293 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
294 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
250700e4 | 295 | -if exist $(OBJS)\client.exe del $(OBJS)\client.exe |
ec08d395 JS |
296 | -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk |
297 | -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb | |
250700e4 | 298 | -if exist $(OBJS)\server.exe del $(OBJS)\server.exe |
ec08d395 JS |
299 | -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk |
300 | -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb | |
0706fb23 | 301 | |
e9877ed3 | 302 | $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res |
75a0a7b7 | 303 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 304 | $(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) 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 oleacc.lib odbc32.lib |
0706fb23 VS |
305 | << |
306 | ||
e9877ed3 | 307 | $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res |
75a0a7b7 | 308 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 309 | $(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) 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 oleacc.lib odbc32.lib |
250700e4 | 310 | << |
b17c1746 DE |
311 | |
312 | $(OBJS)\client_client.obj: .\client.cpp | |
313 | $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $** | |
314 | ||
315 | $(OBJS)\client_client.res: .\client.rc | |
c33fae85 | 316 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH $** |
b17c1746 DE |
317 | |
318 | $(OBJS)\server_server.obj: .\server.cpp | |
319 | $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $** | |
320 | ||
321 | $(OBJS)\server_server.res: .\server.rc | |
c33fae85 | 322 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_15_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples /d NOPCH $** |