]>
Commit | Line | Data |
---|---|---|
15e8daec VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
0d90d6ea | 3 | # Bakefile 0.1.9 (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) \ | |
2113bc77 MW |
29 | $(__MSLU_DEFINE_p) /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \ |
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) \ | |
2113bc77 MW |
38 | $(__MSLU_DEFINE_p) /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \ |
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) \ | |
2113bc77 MW |
60 | $(__MSLU_DEFINE_p) /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \ |
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) \ | |
2113bc77 MW |
69 | $(__MSLU_DEFINE_p) /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) \ |
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 | |
ab6ea1ac MW |
110 | !if "$(TARGET_CPU)" == "AMD64" |
111 | DIR_SUFFIX_CPU = _amd64 | |
112 | !endif | |
113 | !if "$(TARGET_CPU)" == "IA64" | |
114 | DIR_SUFFIX_CPU = _ia64 | |
115 | !endif | |
b17c1746 DE |
116 | !if "$(SHARED)" == "1" |
117 | WXDLLFLAG = dll | |
15e8daec | 118 | !endif |
b14abf14 JS |
119 | !if "$(SHARED)" == "0" |
120 | LIBTYPE_SUFFIX = lib | |
121 | !endif | |
122 | !if "$(SHARED)" == "1" | |
123 | LIBTYPE_SUFFIX = dll | |
124 | !endif | |
ab6ea1ac MW |
125 | !if "$(TARGET_CPU)" == "AMD64" |
126 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
127 | !endif | |
128 | !if "$(TARGET_CPU)" == "IA64" | |
129 | LINK_TARGET_CPU = /MACHINE:IA64 | |
130 | !endif | |
dd65d8c8 RN |
131 | !if "$(MONOLITHIC)" == "0" |
132 | EXTRALIBS_FOR_BASE = | |
133 | !endif | |
134 | !if "$(MONOLITHIC)" == "1" | |
135 | EXTRALIBS_FOR_BASE = | |
136 | !endif | |
b17c1746 DE |
137 | !if "$(SHARED)" == "1" |
138 | __deprecateddll___depname = \ | |
4cbcfb73 | 139 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG).dll |
15e8daec VS |
140 | !endif |
141 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 142 | __DEBUGINFO_2 = /DEBUG |
15e8daec VS |
143 | !endif |
144 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
c4839ccf | 145 | __DEBUGINFO_2 = |
15e8daec VS |
146 | !endif |
147 | !if "$(DEBUG_INFO)" == "0" | |
c4839ccf | 148 | __DEBUGINFO_2 = |
15e8daec VS |
149 | !endif |
150 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 151 | __DEBUGINFO_2 = /DEBUG |
15e8daec | 152 | !endif |
21c6080d JS |
153 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
154 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG | |
15e8daec | 155 | !endif |
21c6080d JS |
156 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
157 | ____DEBUGRUNTIME_3_p_1 = | |
15e8daec VS |
158 | !endif |
159 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
8c9f8f91 JS |
160 | ____DEBUGRUNTIME_3_p_1 = |
161 | !endif | |
162 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
163 | ____DEBUGRUNTIME_3_p_1 = /d _DEBUG | |
164 | !endif | |
8c9f8f91 JS |
165 | !if "$(RUNTIME_LIBS)" == "dynamic" |
166 | __RUNTIME_LIBS_9 = D | |
167 | !endif | |
168 | !if "$(RUNTIME_LIBS)" == "static" | |
169 | __RUNTIME_LIBS_9 = $(__THREADSFLAG) | |
170 | !endif | |
171 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
172 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
173 | !endif | |
174 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
175 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
176 | !endif | |
ab6ea1ac MW |
177 | !if "$(TARGET_CPU)" == "AMD64" |
178 | __RES_TARGET_CPU_p = /d WX_CPU_AMD64 | |
179 | !endif | |
180 | !if "$(TARGET_CPU)" == "IA64" | |
181 | __RES_TARGET_CPU_p = /d WX_CPU_IA64 | |
182 | !endif | |
8c9f8f91 JS |
183 | !if "$(WXUNIV)" == "1" |
184 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
185 | !endif | |
186 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
187 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
188 | !endif | |
189 | !if "$(DEBUG_FLAG)" == "1" | |
190 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
191 | !endif | |
192 | !if "$(USE_EXCEPTIONS)" == "0" | |
193 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS | |
194 | !endif | |
195 | !if "$(USE_RTTI)" == "0" | |
196 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI | |
197 | !endif | |
198 | !if "$(USE_THREADS)" == "0" | |
199 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS | |
200 | !endif | |
201 | !if "$(UNICODE)" == "1" | |
202 | __UNICODE_DEFINE_p_1 = /d _UNICODE | |
203 | !endif | |
2113bc77 MW |
204 | !if "$(MSLU)" == "1" |
205 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1 | |
206 | !endif | |
b17c1746 DE |
207 | !if "$(MONOLITHIC)" == "1" |
208 | __WXLIB_MONO_p = \ | |
c33fae85 | 209 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
a4ad36cd | 210 | !endif |
b17c1746 | 211 | !if "$(USE_GUI)" == "1" |
9c2d002b | 212 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
a4ad36cd | 213 | !endif |
15e8daec | 214 | !if "$(USE_GUI)" == "1" |
9c2d002b | 215 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
15e8daec VS |
216 | !endif |
217 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 218 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
15e8daec | 219 | !endif |
b17c1746 DE |
220 | !if "$(MSLU)" == "1" |
221 | __UNICOWS_LIB_p = unicows.lib | |
15e8daec | 222 | !endif |
b17c1746 DE |
223 | !if "$(MONOLITHIC)" == "0" |
224 | __WXLIB_CORE_p = \ | |
c33fae85 | 225 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
ec08d395 | 226 | !endif |
b17c1746 | 227 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
228 | __WXLIB_BASE_p = \ |
229 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
ec08d395 | 230 | !endif |
b17c1746 DE |
231 | !if "$(SHARED)" == "0" |
232 | __deprecatedlib___depname = \ | |
c33fae85 | 233 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib |
15e8daec | 234 | !endif |
8c9f8f91 JS |
235 | !if "$(RUNTIME_LIBS)" == "dynamic" |
236 | __RUNTIME_LIBS_22 = D | |
237 | !endif | |
238 | !if "$(RUNTIME_LIBS)" == "static" | |
239 | __RUNTIME_LIBS_22 = $(__THREADSFLAG) | |
15e8daec | 240 | !endif |
b17c1746 | 241 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 242 | __DEBUGINFO_1 = /Zi |
15e8daec | 243 | !endif |
b17c1746 | 244 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
c4839ccf | 245 | __DEBUGINFO_1 = |
15e8daec | 246 | !endif |
b17c1746 | 247 | !if "$(DEBUG_INFO)" == "0" |
c4839ccf | 248 | __DEBUGINFO_1 = |
b17c1746 DE |
249 | !endif |
250 | !if "$(DEBUG_INFO)" == "1" | |
c4839ccf | 251 | __DEBUGINFO_1 = /Zi |
15e8daec | 252 | !endif |
21c6080d JS |
253 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
254 | ____DEBUGRUNTIME = /D_DEBUG | |
15e8daec | 255 | !endif |
21c6080d JS |
256 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
257 | ____DEBUGRUNTIME = | |
15e8daec | 258 | !endif |
21c6080d JS |
259 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
260 | ____DEBUGRUNTIME = | |
15e8daec | 261 | !endif |
21c6080d JS |
262 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
263 | ____DEBUGRUNTIME = /D_DEBUG | |
15e8daec | 264 | !endif |
21c6080d JS |
265 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
266 | __DEBUGRUNTIME = d | |
15e8daec | 267 | !endif |
21c6080d JS |
268 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
269 | __DEBUGRUNTIME = | |
15e8daec | 270 | !endif |
21c6080d JS |
271 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
272 | __DEBUGRUNTIME = | |
15e8daec | 273 | !endif |
21c6080d JS |
274 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
275 | __DEBUGRUNTIME = d | |
15e8daec | 276 | !endif |
b17c1746 DE |
277 | !if "$(BUILD)" == "debug" |
278 | __OPTIMIZEFLAG = /Od | |
15e8daec | 279 | !endif |
b17c1746 DE |
280 | !if "$(BUILD)" == "release" |
281 | __OPTIMIZEFLAG = /O2 | |
15e8daec | 282 | !endif |
8c9f8f91 JS |
283 | !if "$(USE_THREADS)" == "0" |
284 | __THREADSFLAG = L | |
b17c1746 | 285 | !endif |
8c9f8f91 JS |
286 | !if "$(USE_THREADS)" == "1" |
287 | __THREADSFLAG = T | |
b17c1746 | 288 | !endif |
8c9f8f91 JS |
289 | !if "$(USE_RTTI)" == "0" |
290 | __RTTIFLAG = | |
b17c1746 | 291 | !endif |
8c9f8f91 JS |
292 | !if "$(USE_RTTI)" == "1" |
293 | __RTTIFLAG = /GR | |
b17c1746 DE |
294 | !endif |
295 | !if "$(USE_EXCEPTIONS)" == "0" | |
8c9f8f91 | 296 | __EXCEPTIONSFLAG = |
b17c1746 DE |
297 | !endif |
298 | !if "$(USE_EXCEPTIONS)" == "1" | |
8c9f8f91 | 299 | __EXCEPTIONSFLAG = /EHsc |
b17c1746 DE |
300 | !endif |
301 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
302 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
303 | !endif | |
304 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
305 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
306 | !endif | |
307 | !if "$(WXUNIV)" == "1" | |
308 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
309 | !endif | |
310 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
311 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
312 | !endif | |
313 | !if "$(DEBUG_FLAG)" == "1" | |
314 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
315 | !endif | |
8c9f8f91 JS |
316 | !if "$(USE_EXCEPTIONS)" == "0" |
317 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
318 | !endif | |
319 | !if "$(USE_RTTI)" == "0" | |
320 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
321 | !endif | |
322 | !if "$(USE_THREADS)" == "0" | |
323 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
324 | !endif | |
b17c1746 DE |
325 | !if "$(UNICODE)" == "1" |
326 | __UNICODE_DEFINE_p = /D_UNICODE | |
15e8daec | 327 | !endif |
2113bc77 MW |
328 | !if "$(MSLU)" == "1" |
329 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
330 | !endif | |
15e8daec VS |
331 | |
332 | ||
333 | all: $(OBJS) | |
334 | $(OBJS): | |
335 | -if not exist $(OBJS) mkdir $(OBJS) | |
336 | ||
337 | ### Targets: ### | |
338 | ||
339 | all: $(__deprecateddll___depname) $(__deprecatedlib___depname) | |
340 | ||
b17c1746 DE |
341 | clean: |
342 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
343 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 344 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
4cbcfb73 VZ |
345 | -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 |
346 | -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 | |
347 | -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 |
348 | -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 |
349 | -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 |
350 | |
351 | !if "$(SHARED)" == "1" | |
4cbcfb73 | 352 | $(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 | 353 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<< |
dd65d8c8 | 354 | $(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 |
355 | << |
356 | !endif | |
357 | ||
358 | !if "$(SHARED)" == "0" | |
c33fae85 | 359 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS) |
b17c1746 | 360 | if exist $@ del $@ |
0d90d6ea | 361 | link /LIB /NOLOGO /OUT:$@ @<< |
b17c1746 DE |
362 | $(DEPRECATEDLIB_OBJECTS) |
363 | << | |
364 | !endif | |
15e8daec VS |
365 | |
366 | $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
367 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
368 | ||
102d46f3 | 369 | $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc |
ab6ea1ac | 370 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /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 ..\..\src\deprecated\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_vc$(VENDORTAG) $** |
8c9f8f91 | 371 | |
15e8daec VS |
372 | $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp |
373 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
374 | ||
375 | $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp | |
376 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
377 | ||
378 | $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp | |
379 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
380 | ||
381 | $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp | |
382 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
383 | ||
8a82c9ec JS |
384 | $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
385 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
386 | ||
15e8daec VS |
387 | $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp |
388 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
389 | ||
390 | $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
391 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
392 | ||
b17c1746 DE |
393 | $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c |
394 | $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $** | |
15e8daec VS |
395 | |
396 | $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
397 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
398 | ||
399 | $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp | |
400 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
401 | ||
402 | $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp | |
403 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
404 | ||
405 | $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp | |
406 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
407 | ||
408 | $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp | |
409 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
410 | ||
8a82c9ec JS |
411 | $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
412 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
413 | ||
15e8daec VS |
414 | $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp |
415 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
416 | ||
417 | $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
418 | $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
419 | ||
b17c1746 DE |
420 | $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c |
421 | $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $** | |
b14abf14 | 422 |