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