]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | !include <../../build/msw/config.vc> | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | CLIENT_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \ | |
16 | $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME_2_p) \ | |
17 | $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
18 | $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \ | |
19 | /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \ | |
20 | /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS /I..\..\samples \ | |
21 | $(CXXFLAGS) | |
22 | CLIENT_OBJECTS = \ | |
23 | $(OBJS)\client_client.obj \ | |
24 | $(OBJS)\client_client.res | |
25 | LIBDIRNAME = \ | |
26 | .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
27 | OBJS = \ | |
28 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
29 | SERVER_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) /DWIN32 \ | |
30 | $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME_12_p) \ | |
31 | $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
32 | $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \ | |
33 | /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \ | |
34 | /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS /I..\..\samples \ | |
35 | $(CXXFLAGS) | |
36 | SERVER_OBJECTS = \ | |
37 | $(OBJS)\server_server.obj \ | |
38 | $(OBJS)\server_server.res | |
39 | ||
40 | ### Conditionally set variables: ### | |
41 | ||
42 | !if "$(USE_GUI)" == "0" | |
43 | PORTNAME = base | |
44 | !endif | |
45 | !if "$(USE_GUI)" == "1" | |
46 | PORTNAME = msw | |
47 | !endif | |
48 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
49 | WXDEBUGFLAG = d | |
50 | !endif | |
51 | !if "$(DEBUG_FLAG)" == "1" | |
52 | WXDEBUGFLAG = d | |
53 | !endif | |
54 | !if "$(SHARED)" == "1" | |
55 | WXDLLFLAG = dll | |
56 | !endif | |
57 | !if "$(UNICODE)" == "1" | |
58 | WXUNICODEFLAG = u | |
59 | !endif | |
60 | !if "$(WXUNIV)" == "1" | |
61 | WXUNIVNAME = univ | |
62 | !endif | |
63 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
64 | __DEBUGINFO = /Zi | |
65 | !endif | |
66 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
67 | __DEBUGINFO = | |
68 | !endif | |
69 | !if "$(DEBUG_INFO)" == "0" | |
70 | __DEBUGINFO = | |
71 | !endif | |
72 | !if "$(DEBUG_INFO)" == "1" | |
73 | __DEBUGINFO = /Zi | |
74 | !endif | |
75 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
76 | __DEBUGINFO_1 = /DEBUG | |
77 | !endif | |
78 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
79 | __DEBUGINFO_1 = | |
80 | !endif | |
81 | !if "$(DEBUG_INFO)" == "0" | |
82 | __DEBUGINFO_1 = | |
83 | !endif | |
84 | !if "$(DEBUG_INFO)" == "1" | |
85 | __DEBUGINFO_1 = /DEBUG | |
86 | !endif | |
87 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
88 | __DEBUGINFO_2 = d | |
89 | !endif | |
90 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
91 | __DEBUGINFO_2 = | |
92 | !endif | |
93 | !if "$(DEBUG_INFO)" == "0" | |
94 | __DEBUGINFO_2 = | |
95 | !endif | |
96 | !if "$(DEBUG_INFO)" == "1" | |
97 | __DEBUGINFO_2 = d | |
98 | !endif | |
99 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
100 | __DEBUGRUNTIME_13 = | |
101 | !endif | |
102 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
103 | __DEBUGRUNTIME_13 = d | |
104 | !endif | |
105 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
106 | __DEBUGRUNTIME_13 = $(__DEBUGINFO_2) | |
107 | !endif | |
108 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
109 | __DEBUGRUNTIME_3 = | |
110 | !endif | |
111 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
112 | __DEBUGRUNTIME_3 = d | |
113 | !endif | |
114 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
115 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_2) | |
116 | !endif | |
117 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
118 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
119 | !endif | |
120 | !if "$(DEBUG_FLAG)" == "1" | |
121 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
122 | !endif | |
123 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
124 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
125 | !endif | |
126 | !if "$(DEBUG_FLAG)" == "1" | |
127 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ | |
128 | !endif | |
129 | !if "$(SHARED)" == "1" | |
130 | __DLLFLAG_p = /DWXUSINGDLL | |
131 | !endif | |
132 | !if "$(SHARED)" == "1" | |
133 | __DLLFLAG_p_0 = /d WXUSINGDLL | |
134 | !endif | |
135 | !if "$(USE_GUI)" == "1" | |
136 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
137 | !endif | |
138 | !if "$(USE_GUI)" == "1" | |
139 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
140 | !endif | |
141 | !if "$(USE_GUI)" == "1" | |
142 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
143 | !endif | |
144 | !if "$(BUILD)" == "debug" | |
145 | __OPTIMIZEFLAG = /Od | |
146 | !endif | |
147 | !if "$(BUILD)" == "release" | |
148 | __OPTIMIZEFLAG = /O2 | |
149 | !endif | |
150 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
151 | __RUNTIME_LIBS = D | |
152 | !endif | |
153 | !if "$(RUNTIME_LIBS)" == "static" | |
154 | __RUNTIME_LIBS = T | |
155 | !endif | |
156 | !if "$(UNICODE)" == "1" | |
157 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
158 | !endif | |
159 | !if "$(UNICODE)" == "1" | |
160 | __UNICODE_DEFINE_p_0 = /d wxUSE_UNICODE=1 | |
161 | !endif | |
162 | !if "$(MSLU)" == "1" | |
163 | __UNICOWS_LIB_p = unicows.lib | |
164 | !endif | |
165 | !if "$(MONOLITHIC)" == "0" | |
166 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
167 | !endif | |
168 | !if "$(MONOLITHIC)" == "0" | |
169 | __WXLIB_CORE_p = \ | |
170 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
171 | !endif | |
172 | !if "$(MONOLITHIC)" == "1" | |
173 | __WXLIB_MONO_p = \ | |
174 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
175 | !endif | |
176 | !if "$(MONOLITHIC)" == "0" | |
177 | __WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib | |
178 | !endif | |
179 | !if "$(WXUNIV)" == "1" | |
180 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
181 | !endif | |
182 | !if "$(WXUNIV)" == "1" | |
183 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__ | |
184 | !endif | |
185 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
186 | ____DEBUGINFO = /d _DEBUG | |
187 | !endif | |
188 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
189 | ____DEBUGINFO = | |
190 | !endif | |
191 | !if "$(DEBUG_INFO)" == "0" | |
192 | ____DEBUGINFO = | |
193 | !endif | |
194 | !if "$(DEBUG_INFO)" == "1" | |
195 | ____DEBUGINFO = /d _DEBUG | |
196 | !endif | |
197 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
198 | ____DEBUGINFO_0 = /D_DEBUG | |
199 | !endif | |
200 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
201 | ____DEBUGINFO_0 = | |
202 | !endif | |
203 | !if "$(DEBUG_INFO)" == "0" | |
204 | ____DEBUGINFO_0 = | |
205 | !endif | |
206 | !if "$(DEBUG_INFO)" == "1" | |
207 | ____DEBUGINFO_0 = /D_DEBUG | |
208 | !endif | |
209 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
210 | ____DEBUGRUNTIME_12_p = | |
211 | !endif | |
212 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
213 | ____DEBUGRUNTIME_12_p = /D_DEBUG | |
214 | !endif | |
215 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
216 | ____DEBUGRUNTIME_12_p = $(____DEBUGINFO_0) | |
217 | !endif | |
218 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
219 | ____DEBUGRUNTIME_12_p_1 = | |
220 | !endif | |
221 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
222 | ____DEBUGRUNTIME_12_p_1 = /d _DEBUG | |
223 | !endif | |
224 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
225 | ____DEBUGRUNTIME_12_p_1 = $(____DEBUGINFO) | |
226 | !endif | |
227 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
228 | ____DEBUGRUNTIME_2_p = | |
229 | !endif | |
230 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
231 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
232 | !endif | |
233 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
234 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_0) | |
235 | !endif | |
236 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
237 | ____DEBUGRUNTIME_2_p_1 = | |
238 | !endif | |
239 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
240 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
241 | !endif | |
242 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
243 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO) | |
244 | !endif | |
245 | ||
246 | ||
247 | all: $(OBJS) | |
248 | $(OBJS): | |
249 | -if not exist $(OBJS) mkdir $(OBJS) | |
250 | ||
251 | ### Targets: ### | |
252 | ||
253 | all: $(OBJS)\client.exe $(OBJS)\server.exe | |
254 | ||
255 | $(OBJS)\client_client.obj: .\client.cpp | |
256 | $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $** | |
257 | ||
258 | $(OBJS)\client_client.res: .\client.rc | |
259 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(LIBDIRNAME) /i .\..\..\src\tiff /i .\..\..\src\jpeg /i .\..\..\src\png /i .\..\..\src\zlib /i .\..\..\src\regex /i .\..\..\src\expat\lib /i . $(__DLLFLAG_p_0) /d _WINDOWS /i ..\..\samples $** | |
260 | ||
261 | $(OBJS)\server_server.obj: .\server.cpp | |
262 | $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $** | |
263 | ||
264 | $(OBJS)\server_server.res: .\server.rc | |
265 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_12_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(LIBDIRNAME) /i .\..\..\src\tiff /i .\..\..\src\jpeg /i .\..\..\src\png /i .\..\..\src\zlib /i .\..\..\src\regex /i .\..\..\src\expat\lib /i . $(__DLLFLAG_p_0) /d _WINDOWS /i ..\..\samples $** | |
266 | ||
267 | clean: | |
268 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
269 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
270 | -if exist $(OBJS)\client.exe del $(OBJS)\client.exe | |
271 | -if exist $(OBJS)\server.exe del $(OBJS)\server.exe | |
272 | ||
273 | $(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_client.res | |
274 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
275 | $(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 | |
276 | << | |
277 | ||
278 | $(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_server.res | |
279 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
280 | $(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 | |
281 | << |