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