]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
250700e4 RD |
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\gizmos\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) | |
b17c1746 DE |
21 | SETUPHDIR = \ |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
21c6080d JS |
23 | GIZMOSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \ |
24 | $(__DEBUGINFO_3) \ | |
4cbcfb73 | 25 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_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\gizmos\..\..\..\include /W4 \ |
3f55f5b8 | 30 | /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \ |
8c9f8f91 | 31 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \ |
9bfe7ad9 | 32 | /Fp"$(OBJS)\wxprec_gizmosdll.pch" $(CPPFLAGS) $(CXXFLAGS) |
3f55f5b8 VS |
33 | GIZMOSDLL_OBJECTS = \ |
34 | $(OBJS)\gizmosdll_dummy.obj \ | |
8c9f8f91 | 35 | $(OBJS)\gizmosdll_version.res \ |
3f55f5b8 VS |
36 | $(OBJS)\gizmosdll_dynamicsash.obj \ |
37 | $(OBJS)\gizmosdll_editlbox.obj \ | |
38 | $(OBJS)\gizmosdll_ledctrl.obj \ | |
39 | $(OBJS)\gizmosdll_multicell.obj \ | |
40 | $(OBJS)\gizmosdll_splittree.obj \ | |
4818141b | 41 | $(OBJS)\gizmosdll_statpict.obj |
21c6080d JS |
42 | GIZMOS_XRCDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \ |
43 | $(__DEBUGINFO_3) \ | |
4cbcfb73 | 44 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb \ |
21c6080d | 45 | $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
4818141b JS |
46 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
47 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
9d309aad | 48 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\gizmos\..\..\..\include /W4 \ |
4818141b JS |
49 | /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS_XRC \ |
50 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \ | |
51 | /Fp"$(OBJS)\wxprec_gizmos_xrcdll.pch" $(CPPFLAGS) $(CXXFLAGS) | |
52 | GIZMOS_XRCDLL_OBJECTS = \ | |
53 | $(OBJS)\gizmos_xrcdll_dummy.obj \ | |
54 | $(OBJS)\gizmos_xrcdll_version.res \ | |
55 | $(OBJS)\gizmos_xrcdll_xh_statpict.obj | |
21c6080d JS |
56 | GIZMOSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_36)$(__DEBUGRUNTIME) /DWIN32 \ |
57 | $(__DEBUGINFO_3) \ | |
c33fae85 | 58 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.pdb \ |
21c6080d | 59 | $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
8c9f8f91 JS |
60 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
61 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
9d309aad | 62 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\gizmos\..\..\..\include /W4 \ |
8c9f8f91 | 63 | /I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ |
9bfe7ad9 | 64 | /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" $(CPPFLAGS) $(CXXFLAGS) |
3f55f5b8 VS |
65 | GIZMOSLIB_OBJECTS = \ |
66 | $(OBJS)\gizmoslib_dummy.obj \ | |
67 | $(OBJS)\gizmoslib_dynamicsash.obj \ | |
68 | $(OBJS)\gizmoslib_editlbox.obj \ | |
69 | $(OBJS)\gizmoslib_ledctrl.obj \ | |
70 | $(OBJS)\gizmoslib_multicell.obj \ | |
71 | $(OBJS)\gizmoslib_splittree.obj \ | |
4818141b | 72 | $(OBJS)\gizmoslib_statpict.obj |
21c6080d JS |
73 | GIZMOS_XRCLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_49)$(__DEBUGRUNTIME) /DWIN32 \ |
74 | $(__DEBUGINFO_3) \ | |
4818141b | 75 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.pdb \ |
21c6080d | 76 | $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
4818141b JS |
77 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \ |
78 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
9d309aad | 79 | $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\gizmos\..\..\..\include /W4 \ |
4818141b JS |
80 | /I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ |
81 | /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmos_xrclib.pch" $(CPPFLAGS) \ | |
82 | $(CXXFLAGS) | |
83 | GIZMOS_XRCLIB_OBJECTS = \ | |
84 | $(OBJS)\gizmos_xrclib_dummy.obj \ | |
85 | $(OBJS)\gizmos_xrclib_xh_statpict.obj | |
250700e4 RD |
86 | |
87 | ### Conditionally set variables: ### | |
88 | ||
89 | !if "$(USE_GUI)" == "0" | |
90 | PORTNAME = base | |
91 | !endif | |
92 | !if "$(USE_GUI)" == "1" | |
93 | PORTNAME = msw | |
94 | !endif | |
95 | !if "$(OFFICIAL_BUILD)" == "0" | |
96 | VENDORTAG = _$(VENDOR) | |
97 | !endif | |
98 | !if "$(OFFICIAL_BUILD)" == "1" | |
99 | VENDORTAG = | |
100 | !endif | |
3f55f5b8 VS |
101 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
102 | WXDEBUGFLAG = d | |
103 | !endif | |
104 | !if "$(DEBUG_FLAG)" == "1" | |
250700e4 RD |
105 | WXDEBUGFLAG = d |
106 | !endif | |
250700e4 RD |
107 | !if "$(UNICODE)" == "1" |
108 | WXUNICODEFLAG = u | |
109 | !endif | |
110 | !if "$(WXUNIV)" == "1" | |
111 | WXUNIVNAME = univ | |
112 | !endif | |
9d309aad | 113 | !if "$(TARGET_CPU)" == "amd64" |
ab6ea1ac MW |
114 | DIR_SUFFIX_CPU = _amd64 |
115 | !endif | |
9d309aad MW |
116 | !if "$(TARGET_CPU)" == "amd64" |
117 | DIR_SUFFIX_CPU = _amd64 | |
118 | !endif | |
119 | !if "$(TARGET_CPU)" == "ia64" | |
120 | DIR_SUFFIX_CPU = _ia64 | |
121 | !endif | |
122 | !if "$(TARGET_CPU)" == "ia64" | |
ab6ea1ac MW |
123 | DIR_SUFFIX_CPU = _ia64 |
124 | !endif | |
b17c1746 DE |
125 | !if "$(SHARED)" == "1" |
126 | WXDLLFLAG = dll | |
250700e4 | 127 | !endif |
b14abf14 JS |
128 | !if "$(SHARED)" == "0" |
129 | LIBTYPE_SUFFIX = lib | |
130 | !endif | |
131 | !if "$(SHARED)" == "1" | |
132 | LIBTYPE_SUFFIX = dll | |
133 | !endif | |
9d309aad MW |
134 | !if "$(TARGET_CPU)" == "amd64" |
135 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
136 | !endif | |
137 | !if "$(TARGET_CPU)" == "amd64" | |
ab6ea1ac MW |
138 | LINK_TARGET_CPU = /MACHINE:AMD64 |
139 | !endif | |
9d309aad MW |
140 | !if "$(TARGET_CPU)" == "ia64" |
141 | LINK_TARGET_CPU = /MACHINE:IA64 | |
142 | !endif | |
143 | !if "$(TARGET_CPU)" == "ia64" | |
ab6ea1ac MW |
144 | LINK_TARGET_CPU = /MACHINE:IA64 |
145 | !endif | |
dd65d8c8 RN |
146 | !if "$(MONOLITHIC)" == "0" |
147 | EXTRALIBS_FOR_BASE = | |
148 | !endif | |
149 | !if "$(MONOLITHIC)" == "1" | |
150 | EXTRALIBS_FOR_BASE = | |
151 | !endif | |
b17c1746 DE |
152 | !if "$(SHARED)" == "1" |
153 | __gizmosdll___depname = \ | |
4cbcfb73 | 154 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll |
3f55f5b8 | 155 | !endif |
8c9f8f91 JS |
156 | !if "$(RUNTIME_LIBS)" == "dynamic" |
157 | __RUNTIME_LIBS_9 = D | |
158 | !endif | |
159 | !if "$(RUNTIME_LIBS)" == "static" | |
160 | __RUNTIME_LIBS_9 = $(__THREADSFLAG) | |
161 | !endif | |
4818141b JS |
162 | !if "$(SHARED)" == "1" && "$(USE_XRC)" == "1" |
163 | __gizmos_xrcdll___depname = \ | |
4cbcfb73 | 164 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll |
4818141b | 165 | !endif |
4818141b JS |
166 | !if "$(RUNTIME_LIBS)" == "dynamic" |
167 | __RUNTIME_LIBS_23 = D | |
168 | !endif | |
169 | !if "$(RUNTIME_LIBS)" == "static" | |
170 | __RUNTIME_LIBS_23 = $(__THREADSFLAG) | |
171 | !endif | |
172 | !if "$(MONOLITHIC)" == "0" | |
173 | __WXLIB_XRC_p = \ | |
174 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib | |
175 | !endif | |
21c6080d JS |
176 | !if "$(MONOLITHIC)" == "0" |
177 | __WXLIB_XML_p = \ | |
178 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
179 | !endif | |
4818141b JS |
180 | !if "$(SHARED)" == "0" |
181 | __gizmoslib___depname = \ | |
182 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib | |
183 | !endif | |
4818141b JS |
184 | !if "$(RUNTIME_LIBS)" == "dynamic" |
185 | __RUNTIME_LIBS_36 = D | |
186 | !endif | |
187 | !if "$(RUNTIME_LIBS)" == "static" | |
188 | __RUNTIME_LIBS_36 = $(__THREADSFLAG) | |
189 | !endif | |
190 | !if "$(SHARED)" == "0" && "$(USE_XRC)" == "1" | |
191 | __gizmos_xrclib___depname = \ | |
192 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib | |
193 | !endif | |
4818141b JS |
194 | !if "$(RUNTIME_LIBS)" == "dynamic" |
195 | __RUNTIME_LIBS_49 = D | |
196 | !endif | |
197 | !if "$(RUNTIME_LIBS)" == "static" | |
198 | __RUNTIME_LIBS_49 = $(__THREADSFLAG) | |
199 | !endif | |
200 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
201 | __DEBUGINFO = /DEBUG | |
202 | !endif | |
203 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
204 | __DEBUGINFO = | |
205 | !endif | |
206 | !if "$(DEBUG_INFO)" == "0" | |
207 | __DEBUGINFO = | |
208 | !endif | |
209 | !if "$(DEBUG_INFO)" == "1" | |
210 | __DEBUGINFO = /DEBUG | |
211 | !endif | |
21c6080d JS |
212 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
213 | ____DEBUGRUNTIME_0 = /d _DEBUG | |
4818141b | 214 | !endif |
21c6080d JS |
215 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
216 | ____DEBUGRUNTIME_0 = | |
4818141b | 217 | !endif |
21c6080d JS |
218 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
219 | ____DEBUGRUNTIME_0 = | |
4818141b | 220 | !endif |
21c6080d JS |
221 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
222 | ____DEBUGRUNTIME_0 = /d _DEBUG | |
4818141b | 223 | !endif |
8c9f8f91 | 224 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
4818141b | 225 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ |
8c9f8f91 JS |
226 | !endif |
227 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
4818141b | 228 | __NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__ |
8c9f8f91 JS |
229 | !endif |
230 | !if "$(WXUNIV)" == "1" | |
4818141b | 231 | __WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__ |
8c9f8f91 JS |
232 | !endif |
233 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
4818141b | 234 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ |
8c9f8f91 JS |
235 | !endif |
236 | !if "$(DEBUG_FLAG)" == "1" | |
4818141b | 237 | __DEBUG_DEFINE_p_0 = /d __WXDEBUG__ |
8c9f8f91 JS |
238 | !endif |
239 | !if "$(USE_EXCEPTIONS)" == "0" | |
4818141b | 240 | __EXCEPTIONS_DEFINE_p_0 = /d wxNO_EXCEPTIONS |
8c9f8f91 JS |
241 | !endif |
242 | !if "$(USE_RTTI)" == "0" | |
4818141b | 243 | __RTTI_DEFINE_p_0 = /d wxNO_RTTI |
8c9f8f91 JS |
244 | !endif |
245 | !if "$(USE_THREADS)" == "0" | |
4818141b | 246 | __THREAD_DEFINE_p_0 = /d wxNO_THREADS |
8c9f8f91 JS |
247 | !endif |
248 | !if "$(UNICODE)" == "1" | |
4818141b | 249 | __UNICODE_DEFINE_p_0 = /d _UNICODE |
8c9f8f91 | 250 | !endif |
2113bc77 MW |
251 | !if "$(MSLU)" == "1" |
252 | __MSLU_DEFINE_p_0 = /d wxUSE_UNICODE_MSLU=1 | |
253 | !endif | |
b17c1746 DE |
254 | !if "$(MONOLITHIC)" == "1" |
255 | __WXLIB_MONO_p = \ | |
c33fae85 | 256 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
a4ad36cd | 257 | !endif |
b17c1746 | 258 | !if "$(USE_GUI)" == "1" |
9c2d002b | 259 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
a4ad36cd | 260 | !endif |
3f55f5b8 | 261 | !if "$(USE_GUI)" == "1" |
9c2d002b | 262 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
3f55f5b8 VS |
263 | !endif |
264 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 265 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
3f55f5b8 | 266 | !endif |
b17c1746 DE |
267 | !if "$(MSLU)" == "1" |
268 | __UNICOWS_LIB_p = unicows.lib | |
3f55f5b8 | 269 | !endif |
b17c1746 | 270 | !if "$(MONOLITHIC)" == "0" |
b17c1746 | 271 | __WXLIB_CORE_p = \ |
c33fae85 | 272 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
ec08d395 | 273 | !endif |
4818141b JS |
274 | !if "$(MONOLITHIC)" == "0" |
275 | __WXLIB_BASE_p = \ | |
276 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
250700e4 | 277 | !endif |
b17c1746 | 278 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
21c6080d | 279 | __DEBUGINFO_3 = /Zi |
250700e4 | 280 | !endif |
b17c1746 | 281 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
21c6080d | 282 | __DEBUGINFO_3 = |
250700e4 | 283 | !endif |
b17c1746 | 284 | !if "$(DEBUG_INFO)" == "0" |
21c6080d | 285 | __DEBUGINFO_3 = |
b17c1746 DE |
286 | !endif |
287 | !if "$(DEBUG_INFO)" == "1" | |
21c6080d | 288 | __DEBUGINFO_3 = /Zi |
250700e4 | 289 | !endif |
21c6080d JS |
290 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
291 | ____DEBUGRUNTIME = /D_DEBUG | |
bdc408c4 | 292 | !endif |
21c6080d JS |
293 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
294 | ____DEBUGRUNTIME = | |
3f55f5b8 | 295 | !endif |
21c6080d JS |
296 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
297 | ____DEBUGRUNTIME = | |
3f55f5b8 | 298 | !endif |
21c6080d JS |
299 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
300 | ____DEBUGRUNTIME = /D_DEBUG | |
3f55f5b8 | 301 | !endif |
21c6080d JS |
302 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
303 | __DEBUGRUNTIME = d | |
3f55f5b8 | 304 | !endif |
21c6080d JS |
305 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
306 | __DEBUGRUNTIME = | |
3f55f5b8 | 307 | !endif |
21c6080d JS |
308 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
309 | __DEBUGRUNTIME = | |
3f55f5b8 | 310 | !endif |
21c6080d JS |
311 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
312 | __DEBUGRUNTIME = d | |
3f55f5b8 | 313 | !endif |
b17c1746 DE |
314 | !if "$(BUILD)" == "debug" |
315 | __OPTIMIZEFLAG = /Od | |
3f55f5b8 | 316 | !endif |
b17c1746 DE |
317 | !if "$(BUILD)" == "release" |
318 | __OPTIMIZEFLAG = /O2 | |
bdc408c4 | 319 | !endif |
8c9f8f91 JS |
320 | !if "$(USE_THREADS)" == "0" |
321 | __THREADSFLAG = L | |
b17c1746 | 322 | !endif |
8c9f8f91 JS |
323 | !if "$(USE_THREADS)" == "1" |
324 | __THREADSFLAG = T | |
b17c1746 | 325 | !endif |
8c9f8f91 JS |
326 | !if "$(USE_RTTI)" == "0" |
327 | __RTTIFLAG = | |
b17c1746 | 328 | !endif |
8c9f8f91 JS |
329 | !if "$(USE_RTTI)" == "1" |
330 | __RTTIFLAG = /GR | |
b17c1746 DE |
331 | !endif |
332 | !if "$(USE_EXCEPTIONS)" == "0" | |
8c9f8f91 | 333 | __EXCEPTIONSFLAG = |
b17c1746 DE |
334 | !endif |
335 | !if "$(USE_EXCEPTIONS)" == "1" | |
8c9f8f91 | 336 | __EXCEPTIONSFLAG = /EHsc |
b17c1746 DE |
337 | !endif |
338 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
339 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
340 | !endif | |
341 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
342 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
343 | !endif | |
344 | !if "$(WXUNIV)" == "1" | |
345 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
346 | !endif | |
347 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
348 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
349 | !endif | |
350 | !if "$(DEBUG_FLAG)" == "1" | |
351 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
352 | !endif | |
8c9f8f91 JS |
353 | !if "$(USE_EXCEPTIONS)" == "0" |
354 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
355 | !endif | |
356 | !if "$(USE_RTTI)" == "0" | |
357 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
358 | !endif | |
359 | !if "$(USE_THREADS)" == "0" | |
360 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
361 | !endif | |
b17c1746 DE |
362 | !if "$(UNICODE)" == "1" |
363 | __UNICODE_DEFINE_p = /D_UNICODE | |
250700e4 | 364 | !endif |
2113bc77 MW |
365 | !if "$(MSLU)" == "1" |
366 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
367 | !endif | |
250700e4 RD |
368 | |
369 | ||
370 | all: $(OBJS) | |
371 | $(OBJS): | |
372 | -if not exist $(OBJS) mkdir $(OBJS) | |
373 | ||
374 | ### Targets: ### | |
375 | ||
4818141b | 376 | all: $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname) |
250700e4 | 377 | |
b17c1746 DE |
378 | clean: |
379 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
380 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 381 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
4cbcfb73 VZ |
382 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll |
383 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).ilk | |
384 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).pdb | |
c33fae85 | 385 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib |
4cbcfb73 VZ |
386 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll |
387 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).ilk | |
388 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).pdb | |
4818141b | 389 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib |
c33fae85 | 390 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib |
4818141b | 391 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib |
b17c1746 DE |
392 | |
393 | !if "$(SHARED)" == "1" | |
4cbcfb73 | 394 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version.res |
ab6ea1ac | 395 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<< |
9d309aad | 396 | $(GIZMOSDLL_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)_gizmos.lib |
4818141b JS |
397 | << |
398 | !endif | |
399 | ||
400 | !if "$(SHARED)" == "1" && "$(USE_XRC)" == "1" | |
4cbcfb73 | 401 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG).dll: $(OBJS)\gizmos_xrcdll_dummy.obj $(GIZMOS_XRCDLL_OBJECTS) $(OBJS)\gizmos_xrcdll_version.res $(__gizmosdll___depname) |
ab6ea1ac | 402 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<< |
9d309aad | 403 | $(GIZMOS_XRCDLL_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 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib |
b17c1746 DE |
404 | << |
405 | !endif | |
406 | ||
407 | !if "$(SHARED)" == "0" | |
c33fae85 | 408 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS) |
b17c1746 | 409 | if exist $@ del $@ |
0d90d6ea | 410 | link /LIB /NOLOGO /OUT:$@ @<< |
b17c1746 DE |
411 | $(GIZMOSLIB_OBJECTS) |
412 | << | |
413 | !endif | |
414 | ||
4818141b JS |
415 | !if "$(SHARED)" == "0" && "$(USE_XRC)" == "1" |
416 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.lib: $(OBJS)\gizmos_xrclib_dummy.obj $(GIZMOS_XRCLIB_OBJECTS) | |
417 | if exist $@ del $@ | |
0d90d6ea | 418 | link /LIB /NOLOGO /OUT:$@ @<< |
4818141b JS |
419 | $(GIZMOS_XRCLIB_OBJECTS) |
420 | << | |
421 | !endif | |
422 | ||
250700e4 RD |
423 | $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp |
424 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
425 | ||
102d46f3 | 426 | $(OBJS)\gizmosdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc |
9d309aad | 427 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i $(SETUPHDIR) /i ..\..\src\gizmos\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_vc$(VENDORTAG) $** |
8c9f8f91 | 428 | |
250700e4 RD |
429 | $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp |
430 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
431 | ||
432 | $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
433 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
434 | ||
435 | $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
436 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
437 | ||
438 | $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp | |
439 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
440 | ||
441 | $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp | |
442 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
443 | ||
444 | $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp | |
445 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
446 | ||
4818141b JS |
447 | $(OBJS)\gizmos_xrcdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp |
448 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
449 | ||
450 | $(OBJS)\gizmos_xrcdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc | |
9d309aad | 451 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_0) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) /i $(SETUPHDIR) /i ..\..\src\gizmos\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_vc$(VENDORTAG) $** |
4818141b JS |
452 | |
453 | $(OBJS)\gizmos_xrcdll_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp | |
454 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCDLL_CXXFLAGS) $** | |
92c45b12 | 455 | |
250700e4 RD |
456 | $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp |
457 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
458 | ||
459 | $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp | |
460 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
461 | ||
462 | $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
463 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
464 | ||
465 | $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
466 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
467 | ||
468 | $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp | |
469 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
470 | ||
471 | $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp | |
472 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
473 | ||
474 | $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp | |
475 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
b14abf14 | 476 | |
4818141b JS |
477 | $(OBJS)\gizmos_xrclib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp |
478 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
479 | ||
480 | $(OBJS)\gizmos_xrclib_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp | |
481 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOS_XRCLIB_CXXFLAGS) $** | |
92c45b12 | 482 |