]>
Commit | Line | Data |
---|---|---|
15e8daec VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
8c9f8f91 | 3 | # Bakefile 0.1.8 (http://bakefile.sourceforge.net) |
15e8daec VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
15e8daec VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
4818141b | 15 | WX_RELEASE_NODOT = 26 |
b17c1746 DE |
16 | OBJS = \ |
17 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 18 | LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
19 | SETUPHDIR = \ |
20 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
8c9f8f91 | 21 | DEPRECATEDDLL_CFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \ |
c4839ccf | 22 | $(__DEBUGINFO_1) \ |
4818141b | 23 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb \ |
c4839ccf | 24 | $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
8c9f8f91 JS |
25 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
26 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
ec08d395 | 27 | /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \ |
15e8daec | 28 | /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \ |
9bfe7ad9 | 29 | /I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS) |
8c9f8f91 | 30 | DEPRECATEDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \ |
c4839ccf | 31 | $(__DEBUGINFO_1) \ |
4818141b | 32 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb \ |
c4839ccf | 33 | $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
8c9f8f91 JS |
34 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
35 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
ec08d395 | 36 | /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \ |
15e8daec | 37 | /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \ |
8c9f8f91 JS |
38 | /I..\..\src\deprecated $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \ |
39 | /Fp"$(OBJS)\wxprec_deprecateddll.pch" $(CPPFLAGS) $(CXXFLAGS) | |
15e8daec VS |
40 | DEPRECATEDDLL_OBJECTS = \ |
41 | $(OBJS)\deprecateddll_dummy.obj \ | |
8c9f8f91 | 42 | $(OBJS)\deprecateddll_version.res \ |
15e8daec VS |
43 | $(OBJS)\deprecateddll_prop.obj \ |
44 | $(OBJS)\deprecateddll_propform.obj \ | |
45 | $(OBJS)\deprecateddll_proplist.obj \ | |
46 | $(OBJS)\deprecateddll_resource.obj \ | |
8a82c9ec | 47 | $(OBJS)\deprecateddll_tbarsmpl.obj \ |
15e8daec VS |
48 | $(OBJS)\deprecateddll_treelay.obj \ |
49 | $(OBJS)\deprecateddll_wxexpr.obj \ | |
50 | $(OBJS)\deprecateddll_dosyacc.obj | |
8c9f8f91 | 51 | DEPRECATEDLIB_CFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \ |
c4839ccf | 52 | $(__DEBUGINFO_1) \ |
c33fae85 | 53 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.pdb \ |
8c9f8f91 JS |
54 | $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
55 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ | |
56 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
ec08d395 | 57 | /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \ |
9bfe7ad9 VS |
58 | /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CPPFLAGS) \ |
59 | $(CFLAGS) | |
8c9f8f91 | 60 | DEPRECATEDLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \ |
c4839ccf | 61 | $(__DEBUGINFO_1) \ |
c33fae85 | 62 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.pdb \ |
8c9f8f91 JS |
63 | $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
64 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ | |
65 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
ec08d395 | 66 | /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \ |
8c9f8f91 JS |
67 | /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(__RTTIFLAG) \ |
68 | $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecatedlib.pch" \ | |
69 | $(CPPFLAGS) $(CXXFLAGS) | |
15e8daec VS |
70 | DEPRECATEDLIB_OBJECTS = \ |
71 | $(OBJS)\deprecatedlib_dummy.obj \ | |
72 | $(OBJS)\deprecatedlib_prop.obj \ | |
73 | $(OBJS)\deprecatedlib_propform.obj \ | |
74 | $(OBJS)\deprecatedlib_proplist.obj \ | |
75 | $(OBJS)\deprecatedlib_resource.obj \ | |
8a82c9ec | 76 | $(OBJS)\deprecatedlib_tbarsmpl.obj \ |
15e8daec VS |
77 | $(OBJS)\deprecatedlib_treelay.obj \ |
78 | $(OBJS)\deprecatedlib_wxexpr.obj \ | |
79 | $(OBJS)\deprecatedlib_dosyacc.obj | |
15e8daec VS |
80 | |
81 | ### Conditionally set variables: ### | |
82 | ||
83 | !if "$(USE_GUI)" == "0" | |
84 | PORTNAME = base | |
85 | !endif | |
86 | !if "$(USE_GUI)" == "1" | |
87 | PORTNAME = msw | |
88 | !endif | |
89 | !if "$(OFFICIAL_BUILD)" == "0" | |
90 | VENDORTAG = _$(VENDOR) | |
91 | !endif | |
92 | !if "$(OFFICIAL_BUILD)" == "1" | |
93 | VENDORTAG = | |
94 | !endif | |
95 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
96 | WXDEBUGFLAG = d | |
97 | !endif | |
98 | !if "$(DEBUG_FLAG)" == "1" | |
99 | WXDEBUGFLAG = d | |
100 | !endif | |
15e8daec VS |
101 | !if "$(UNICODE)" == "1" |
102 | WXUNICODEFLAG = u | |
103 | !endif | |
104 | !if "$(WXUNIV)" == "1" | |
105 | WXUNIVNAME = univ | |
106 | !endif | |
b17c1746 DE |
107 | !if "$(SHARED)" == "1" |
108 | WXDLLFLAG = dll | |
15e8daec | 109 | !endif |
b14abf14 JS |
110 | !if "$(SHARED)" == "0" |
111 | LIBTYPE_SUFFIX = lib | |
112 | !endif | |
113 | !if "$(SHARED)" == "1" | |
114 | LIBTYPE_SUFFIX = dll | |
115 | !endif | |
dd65d8c8 RN |
116 | !if "$(MONOLITHIC)" == "0" |
117 | EXTRALIBS_FOR_BASE = | |
118 | !endif | |
119 | !if "$(MONOLITHIC)" == "1" | |
120 | EXTRALIBS_FOR_BASE = | |
121 | !endif | |
b17c1746 DE |
122 | !if "$(SHARED)" == "1" |
123 | __deprecateddll___depname = \ | |
4818141b | 124 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll |
15e8daec VS |
125 | !endif |
126 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 127 | __DEBUGINFO_2 = /DEBUG |
15e8daec VS |
128 | !endif |
129 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 130 | __DEBUGINFO_2 = |
15e8daec VS |
131 | !endif |
132 | !if "$(DEBUG_INFO)" == "0" | |
c4839ccf | 133 | __DEBUGINFO_2 = |
15e8daec VS |
134 | !endif |
135 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 136 | __DEBUGINFO_2 = /DEBUG |
15e8daec | 137 | !endif |
15e8daec | 138 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
c4839ccf | 139 | ____DEBUGRUNTIME_3_p = |
15e8daec VS |
140 | !endif |
141 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
c4839ccf | 142 | ____DEBUGRUNTIME_3_p = /D_DEBUG |
15e8daec VS |
143 | !endif |
144 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
c4839ccf | 145 | ____DEBUGRUNTIME_3_p = $(____DEBUGINFO) |
15e8daec VS |
146 | !endif |
147 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
8c9f8f91 JS |
148 | ____DEBUGRUNTIME_3_p_1 = |
149 | !endif | |
150 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
151 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG | |
152 | !endif | |
153 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
154 | ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1) | |
155 | !endif | |
156 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
157 | ____DEBUGINFO_3_p_1 = /d _DEBUG | |
158 | !endif | |
159 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
160 | ____DEBUGINFO_3_p_1 = | |
161 | !endif | |
162 | !if "$(DEBUG_INFO)" == "0" | |
163 | ____DEBUGINFO_3_p_1 = | |
164 | !endif | |
165 | !if "$(DEBUG_INFO)" == "1" | |
166 | ____DEBUGINFO_3_p_1 = /d _DEBUG | |
167 | !endif | |
168 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
c4839ccf | 169 | __DEBUGRUNTIME_4 = |
15e8daec VS |
170 | !endif |
171 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
c4839ccf | 172 | __DEBUGRUNTIME_4 = d |
15e8daec VS |
173 | !endif |
174 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
c4839ccf | 175 | __DEBUGRUNTIME_4 = $(__DEBUGINFO) |
a4ad36cd | 176 | !endif |
8c9f8f91 JS |
177 | !if "$(RUNTIME_LIBS)" == "dynamic" |
178 | __RUNTIME_LIBS_9 = D | |
179 | !endif | |
180 | !if "$(RUNTIME_LIBS)" == "static" | |
181 | __RUNTIME_LIBS_9 = $(__THREADSFLAG) | |
182 | !endif | |
183 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
184 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
185 | !endif | |
186 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
187 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
188 | !endif | |
189 | !if "$(WXUNIV)" == "1" | |
190 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
191 | !endif | |
192 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
193 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
194 | !endif | |
195 | !if "$(DEBUG_FLAG)" == "1" | |
196 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
197 | !endif | |
198 | !if "$(USE_EXCEPTIONS)" == "0" | |
199 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS | |
200 | !endif | |
201 | !if "$(USE_RTTI)" == "0" | |
202 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI | |
203 | !endif | |
204 | !if "$(USE_THREADS)" == "0" | |
205 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS | |
206 | !endif | |
207 | !if "$(UNICODE)" == "1" | |
208 | __UNICODE_DEFINE_p_1 = /d _UNICODE | |
209 | !endif | |
b17c1746 DE |
210 | !if "$(MONOLITHIC)" == "1" |
211 | __WXLIB_MONO_p = \ | |
c33fae85 | 212 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
a4ad36cd | 213 | !endif |
b17c1746 | 214 | !if "$(USE_GUI)" == "1" |
9c2d002b | 215 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
a4ad36cd | 216 | !endif |
15e8daec | 217 | !if "$(USE_GUI)" == "1" |
9c2d002b | 218 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
15e8daec VS |
219 | !endif |
220 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 221 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
15e8daec | 222 | !endif |
b17c1746 DE |
223 | !if "$(MSLU)" == "1" |
224 | __UNICOWS_LIB_p = unicows.lib | |
15e8daec | 225 | !endif |
b17c1746 DE |
226 | !if "$(MONOLITHIC)" == "0" |
227 | __WXLIB_CORE_p = \ | |
c33fae85 | 228 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
ec08d395 | 229 | !endif |
b17c1746 | 230 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
231 | __WXLIB_BASE_p = \ |
232 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
ec08d395 | 233 | !endif |
b17c1746 DE |
234 | !if "$(SHARED)" == "0" |
235 | __deprecatedlib___depname = \ | |
c33fae85 | 236 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib |
15e8daec | 237 | !endif |
b17c1746 | 238 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
8c9f8f91 | 239 | ____DEBUGRUNTIME_16_p = |
15e8daec | 240 | !endif |
b17c1746 | 241 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
8c9f8f91 | 242 | ____DEBUGRUNTIME_16_p = /D_DEBUG |
15e8daec | 243 | !endif |
b17c1746 | 244 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
8c9f8f91 | 245 | ____DEBUGRUNTIME_16_p = $(____DEBUGINFO) |
15e8daec | 246 | !endif |
b17c1746 | 247 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
8c9f8f91 | 248 | __DEBUGRUNTIME_17 = |
15e8daec | 249 | !endif |
b17c1746 | 250 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
8c9f8f91 | 251 | __DEBUGRUNTIME_17 = d |
2265a2d5 | 252 | !endif |
b17c1746 | 253 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
8c9f8f91 JS |
254 | __DEBUGRUNTIME_17 = $(__DEBUGINFO) |
255 | !endif | |
256 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
257 | __RUNTIME_LIBS_22 = D | |
258 | !endif | |
259 | !if "$(RUNTIME_LIBS)" == "static" | |
260 | __RUNTIME_LIBS_22 = $(__THREADSFLAG) | |
15e8daec | 261 | !endif |
b17c1746 | 262 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 263 | __DEBUGINFO_1 = /Zi |
15e8daec | 264 | !endif |
b17c1746 | 265 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 266 | __DEBUGINFO_1 = |
15e8daec | 267 | !endif |
b17c1746 | 268 | !if "$(DEBUG_INFO)" == "0" |
c4839ccf | 269 | __DEBUGINFO_1 = |
b17c1746 DE |
270 | !endif |
271 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 272 | __DEBUGINFO_1 = /Zi |
15e8daec VS |
273 | !endif |
274 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
275 | ____DEBUGINFO = /D_DEBUG | |
276 | !endif | |
277 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
278 | ____DEBUGINFO = | |
279 | !endif | |
280 | !if "$(DEBUG_INFO)" == "0" | |
281 | ____DEBUGINFO = | |
282 | !endif | |
283 | !if "$(DEBUG_INFO)" == "1" | |
284 | ____DEBUGINFO = /D_DEBUG | |
285 | !endif | |
b17c1746 | 286 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 287 | __DEBUGINFO = d |
15e8daec | 288 | !endif |
b17c1746 | 289 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 290 | __DEBUGINFO = |
15e8daec | 291 | !endif |
b17c1746 | 292 | !if "$(DEBUG_INFO)" == "0" |
c4839ccf | 293 | __DEBUGINFO = |
15e8daec | 294 | !endif |
b17c1746 | 295 | !if "$(DEBUG_INFO)" == "1" |
c4839ccf | 296 | __DEBUGINFO = d |
15e8daec | 297 | !endif |
b17c1746 DE |
298 | !if "$(BUILD)" == "debug" |
299 | __OPTIMIZEFLAG = /Od | |
15e8daec | 300 | !endif |
b17c1746 DE |
301 | !if "$(BUILD)" == "release" |
302 | __OPTIMIZEFLAG = /O2 | |
15e8daec | 303 | !endif |
8c9f8f91 JS |
304 | !if "$(USE_THREADS)" == "0" |
305 | __THREADSFLAG = L | |
b17c1746 | 306 | !endif |
8c9f8f91 JS |
307 | !if "$(USE_THREADS)" == "1" |
308 | __THREADSFLAG = T | |
b17c1746 | 309 | !endif |
8c9f8f91 JS |
310 | !if "$(USE_RTTI)" == "0" |
311 | __RTTIFLAG = | |
b17c1746 | 312 | !endif |
8c9f8f91 JS |
313 | !if "$(USE_RTTI)" == "1" |
314 | __RTTIFLAG = /GR | |
b17c1746 DE |
315 | !endif |
316 | !if "$(USE_EXCEPTIONS)" == "0" | |
8c9f8f91 | 317 | __EXCEPTIONSFLAG = |
b17c1746 DE |
318 | !endif |
319 | !if "$(USE_EXCEPTIONS)" == "1" | |
8c9f8f91 | 320 | __EXCEPTIONSFLAG = /EHsc |
b17c1746 DE |
321 | !endif |
322 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
323 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
324 | !endif | |
325 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
326 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
327 | !endif | |
328 | !if "$(WXUNIV)" == "1" | |
329 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
330 | !endif | |
331 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
332 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
333 | !endif | |
334 | !if "$(DEBUG_FLAG)" == "1" | |
335 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
336 | !endif | |
8c9f8f91 JS |
337 | !if "$(USE_EXCEPTIONS)" == "0" |
338 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
339 | !endif | |
340 | !if "$(USE_RTTI)" == "0" | |
341 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
342 | !endif | |
343 | !if "$(USE_THREADS)" == "0" | |
344 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
345 | !endif | |
b17c1746 DE |
346 | !if "$(UNICODE)" == "1" |
347 | __UNICODE_DEFINE_p = /D_UNICODE | |
15e8daec | 348 | !endif |
15e8daec VS |
349 | |
350 | ||
351 | all: $(OBJS) | |
352 | $(OBJS): | |
353 | -if not exist $(OBJS) mkdir $(OBJS) | |
354 | ||
355 | ### Targets: ### | |
356 | ||
357 | all: $(__deprecateddll___depname) $(__deprecatedlib___depname) | |
358 | ||
b17c1746 DE |
359 | clean: |
360 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
361 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 362 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
4818141b JS |
363 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll |
364 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).ilk | |
365 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).pdb | |
c33fae85 RN |
366 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib |
367 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib | |
b17c1746 DE |
368 | |
369 | !if "$(SHARED)" == "1" | |
4818141b | 370 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version.res |
c4839ccf | 371 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<< |
dd65d8c8 | 372 | $(DEPRECATEDDLL_OBJECTS) $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib |
b17c1746 DE |
373 | << |
374 | !endif | |
375 | ||
376 | !if "$(SHARED)" == "0" | |
c33fae85 | 377 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS) |
b17c1746 DE |
378 | if exist $@ del $@ |
379 | lib /NOLOGO /OUT:$@ @<< | |
380 | $(DEPRECATEDLIB_OBJECTS) | |
381 | << | |
382 | !endif | |
15e8daec VS |
383 | |
384 | $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
385 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
386 | ||
102d46f3 | 387 | $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc |
4818141b | 388 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i ..\..\src\deprecated\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG) $** |
8c9f8f91 | 389 | |
15e8daec VS |
390 | $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp |
391 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
392 | ||
393 | $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp | |
394 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
395 | ||
396 | $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp | |
397 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
398 | ||
399 | $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp | |
400 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
401 | ||
8a82c9ec JS |
402 | $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
403 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
404 | ||
15e8daec VS |
405 | $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp |
406 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
407 | ||
408 | $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
409 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
410 | ||
b17c1746 DE |
411 | $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c |
412 | $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $** | |
15e8daec VS |
413 | |
414 | $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
415 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
416 | ||
417 | $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp | |
418 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
419 | ||
420 | $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp | |
421 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
422 | ||
423 | $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp | |
424 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
425 | ||
426 | $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp | |
427 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
428 | ||
8a82c9ec JS |
429 | $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
430 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
431 | ||
15e8daec VS |
432 | $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp |
433 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
434 | ||
435 | $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
436 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
437 | ||
b17c1746 DE |
438 | $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c |
439 | $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $** | |
b14abf14 | 440 |