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