]>
Commit | Line | Data |
---|---|---|
4b20974a VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
162a956b | 3 | # Bakefile 0.1.6 (http://bakefile.sourceforge.net) |
4b20974a VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
d7463f75 | 6 | |
4b20974a VS |
7 | !include <../../../build/msw/config.vc> |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
4b20974a VS |
16 | OBJS = \ |
17 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
162a956b | 18 | LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG) |
4b20974a VS |
19 | SETUPHDIR = \ |
20 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 VS |
21 | WXCONFIGTOOL_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \ |
22 | $(__DEBUGINFO_0) /Fd$(OBJS)\wxconfigtool.pdb $(____DEBUGRUNTIME_2_p) \ | |
23 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
24 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \ | |
c33fae85 | 25 | /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \ |
9bfe7ad9 | 26 | $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS) |
4b20974a VS |
27 | WXCONFIGTOOL_OBJECTS = \ |
28 | $(OBJS)\wxconfigtool_sample.res \ | |
29 | $(OBJS)\wxconfigtool_wxconfigtool.obj \ | |
30 | $(OBJS)\wxconfigtool_appsettings.obj \ | |
31 | $(OBJS)\wxconfigtool_configitem.obj \ | |
32 | $(OBJS)\wxconfigtool_configitemselector.obj \ | |
33 | $(OBJS)\wxconfigtool_configtooldoc.obj \ | |
34 | $(OBJS)\wxconfigtool_configtoolview.obj \ | |
35 | $(OBJS)\wxconfigtool_configtree.obj \ | |
36 | $(OBJS)\wxconfigtool_custompropertydialog.obj \ | |
37 | $(OBJS)\wxconfigtool_htmlparser.obj \ | |
38 | $(OBJS)\wxconfigtool_mainframe.obj \ | |
39 | $(OBJS)\wxconfigtool_propeditor.obj \ | |
40 | $(OBJS)\wxconfigtool_property.obj \ | |
41 | $(OBJS)\wxconfigtool_settingsdialog.obj \ | |
42 | $(OBJS)\wxconfigtool_utils.obj | |
43 | ||
44 | ### Conditionally set variables: ### | |
45 | ||
4b20974a VS |
46 | !if "$(USE_GUI)" == "0" |
47 | PORTNAME = base | |
48 | !endif | |
49 | !if "$(USE_GUI)" == "1" | |
50 | PORTNAME = msw | |
51 | !endif | |
52 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
53 | WXDEBUGFLAG = d | |
54 | !endif | |
55 | !if "$(DEBUG_FLAG)" == "1" | |
56 | WXDEBUGFLAG = d | |
57 | !endif | |
4b20974a VS |
58 | !if "$(UNICODE)" == "1" |
59 | WXUNICODEFLAG = u | |
60 | !endif | |
61 | !if "$(WXUNIV)" == "1" | |
62 | WXUNIVNAME = univ | |
63 | !endif | |
b17c1746 DE |
64 | !if "$(SHARED)" == "1" |
65 | WXDLLFLAG = dll | |
66 | !endif | |
162a956b JS |
67 | !if "$(SHARED)" == "0" |
68 | LIBTYPE_SUFFIX = lib | |
69 | !endif | |
70 | !if "$(SHARED)" == "1" | |
71 | LIBTYPE_SUFFIX = dll | |
72 | !endif | |
dd65d8c8 RN |
73 | !if "$(MONOLITHIC)" == "0" |
74 | EXTRALIBS_FOR_BASE = | |
75 | !endif | |
76 | !if "$(MONOLITHIC)" == "1" | |
77 | EXTRALIBS_FOR_BASE = | |
78 | !endif | |
4b20974a VS |
79 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
80 | __DEBUGINFO_0 = /Zi | |
81 | !endif | |
82 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
83 | __DEBUGINFO_0 = | |
84 | !endif | |
85 | !if "$(DEBUG_INFO)" == "0" | |
86 | __DEBUGINFO_0 = | |
87 | !endif | |
88 | !if "$(DEBUG_INFO)" == "1" | |
89 | __DEBUGINFO_0 = /Zi | |
90 | !endif | |
91 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
92 | __DEBUGINFO_1 = /DEBUG | |
93 | !endif | |
94 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
95 | __DEBUGINFO_1 = | |
96 | !endif | |
97 | !if "$(DEBUG_INFO)" == "0" | |
98 | __DEBUGINFO_1 = | |
99 | !endif | |
100 | !if "$(DEBUG_INFO)" == "1" | |
101 | __DEBUGINFO_1 = /DEBUG | |
102 | !endif | |
b17c1746 DE |
103 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
104 | ____DEBUGRUNTIME_2_p = | |
105 | !endif | |
106 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
107 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
108 | !endif | |
109 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
110 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
111 | !endif | |
4b20974a | 112 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
b17c1746 | 113 | ____DEBUGINFO_2_p = /D_DEBUG |
4b20974a VS |
114 | !endif |
115 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 116 | ____DEBUGINFO_2_p = |
4b20974a VS |
117 | !endif |
118 | !if "$(DEBUG_INFO)" == "0" | |
b17c1746 | 119 | ____DEBUGINFO_2_p = |
4b20974a VS |
120 | !endif |
121 | !if "$(DEBUG_INFO)" == "1" | |
b17c1746 DE |
122 | ____DEBUGINFO_2_p = /D_DEBUG |
123 | !endif | |
124 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
125 | ____DEBUGRUNTIME_2_p_1 = | |
126 | !endif | |
127 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
128 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
129 | !endif | |
130 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
131 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
132 | !endif | |
133 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
134 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
135 | !endif | |
136 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
137 | ____DEBUGINFO_2_p_1 = | |
138 | !endif | |
139 | !if "$(DEBUG_INFO)" == "0" | |
140 | ____DEBUGINFO_2_p_1 = | |
141 | !endif | |
142 | !if "$(DEBUG_INFO)" == "1" | |
143 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
4b20974a VS |
144 | !endif |
145 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
146 | __DEBUGRUNTIME_3 = | |
147 | !endif | |
148 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
149 | __DEBUGRUNTIME_3 = d | |
150 | !endif | |
151 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
152 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
153 | !endif | |
b17c1746 DE |
154 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
155 | __DEBUGINFO_3 = d | |
4b20974a | 156 | !endif |
b17c1746 DE |
157 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
158 | __DEBUGINFO_3 = | |
4b20974a | 159 | !endif |
b17c1746 DE |
160 | !if "$(DEBUG_INFO)" == "0" |
161 | __DEBUGINFO_3 = | |
4b20974a | 162 | !endif |
b17c1746 DE |
163 | !if "$(DEBUG_INFO)" == "1" |
164 | __DEBUGINFO_3 = d | |
4b20974a | 165 | !endif |
b17c1746 DE |
166 | !if "$(BUILD)" == "debug" |
167 | __OPTIMIZEFLAG_4 = /Od | |
4b20974a | 168 | !endif |
b17c1746 DE |
169 | !if "$(BUILD)" == "release" |
170 | __OPTIMIZEFLAG_4 = /O2 | |
171 | !endif | |
172 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
173 | __RUNTIME_LIBS_7 = D | |
174 | !endif | |
175 | !if "$(RUNTIME_LIBS)" == "static" | |
176 | __RUNTIME_LIBS_7 = T | |
4b20974a | 177 | !endif |
a4ad36cd VS |
178 | !if "$(USE_EXCEPTIONS)" == "0" |
179 | __EXCEPTIONSFLAG_8 = | |
180 | !endif | |
181 | !if "$(USE_EXCEPTIONS)" == "1" | |
182 | __EXCEPTIONSFLAG_8 = /GR | |
183 | !endif | |
184 | !if "$(USE_EXCEPTIONS)" == "0" | |
185 | __EXCEPTIONSFLAG_9 = | |
186 | !endif | |
187 | !if "$(USE_EXCEPTIONS)" == "1" | |
188 | __EXCEPTIONSFLAG_9 = /GX | |
189 | !endif | |
ec08d395 JS |
190 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
191 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
192 | !endif | |
193 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
194 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
195 | !endif | |
196 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
197 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
198 | !endif | |
199 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
200 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
201 | !endif | |
b17c1746 DE |
202 | !if "$(WXUNIV)" == "1" |
203 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
4b20974a | 204 | !endif |
b17c1746 DE |
205 | !if "$(WXUNIV)" == "1" |
206 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
4b20974a | 207 | !endif |
b17c1746 DE |
208 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
209 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
4b20974a | 210 | !endif |
b17c1746 DE |
211 | !if "$(DEBUG_FLAG)" == "1" |
212 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
213 | !endif | |
214 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
215 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
216 | !endif | |
217 | !if "$(DEBUG_FLAG)" == "1" | |
218 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
4b20974a VS |
219 | !endif |
220 | !if "$(UNICODE)" == "1" | |
a48abb85 | 221 | __UNICODE_DEFINE_p = /D_UNICODE |
4b20974a VS |
222 | !endif |
223 | !if "$(UNICODE)" == "1" | |
a48abb85 | 224 | __UNICODE_DEFINE_p_1 = /d _UNICODE |
4b20974a | 225 | !endif |
b17c1746 DE |
226 | !if "$(SHARED)" == "1" |
227 | __DLLFLAG_p = /DWXUSINGDLL | |
228 | !endif | |
229 | !if "$(SHARED)" == "1" | |
230 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
4b20974a VS |
231 | !endif |
232 | !if "$(MONOLITHIC)" == "0" | |
233 | __WXLIB_ADV_p = \ | |
c33fae85 | 234 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib |
4b20974a VS |
235 | !endif |
236 | !if "$(MONOLITHIC)" == "0" | |
b17c1746 | 237 | __WXLIB_HTML_p = \ |
c33fae85 | 238 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib |
4b20974a VS |
239 | !endif |
240 | !if "$(MONOLITHIC)" == "0" | |
241 | __WXLIB_CORE_p = \ | |
c33fae85 | 242 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
4b20974a VS |
243 | !endif |
244 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
245 | __WXLIB_XML_p = \ |
246 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib | |
b17c1746 DE |
247 | !endif |
248 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
249 | __WXLIB_BASE_p = \ |
250 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
4b20974a VS |
251 | !endif |
252 | !if "$(MONOLITHIC)" == "1" | |
253 | __WXLIB_MONO_p = \ | |
c33fae85 | 254 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
4b20974a | 255 | !endif |
b17c1746 | 256 | !if "$(USE_GUI)" == "1" |
9c2d002b | 257 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
4b20974a | 258 | !endif |
b17c1746 | 259 | !if "$(USE_GUI)" == "1" |
9c2d002b | 260 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
4b20974a | 261 | !endif |
b17c1746 | 262 | !if "$(USE_GUI)" == "1" |
9c2d002b | 263 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
4b20974a | 264 | !endif |
b17c1746 DE |
265 | !if "$(MSLU)" == "1" |
266 | __UNICOWS_LIB_p = unicows.lib | |
4b20974a | 267 | !endif |
4b20974a VS |
268 | |
269 | ||
270 | all: $(OBJS) | |
271 | $(OBJS): | |
272 | -if not exist $(OBJS) mkdir $(OBJS) | |
273 | ||
274 | ### Targets: ### | |
275 | ||
276 | all: $(OBJS)\wxconfigtool.exe data | |
277 | ||
b17c1746 DE |
278 | clean: |
279 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
280 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
162a956b | 281 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
b17c1746 DE |
282 | -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe |
283 | -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk | |
284 | -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb | |
285 | ||
286 | $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res | |
287 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
162a956b | 288 | $(WXCONFIGTOOL_OBJECTS) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__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 |
b17c1746 DE |
289 | << |
290 | ||
291 | data: | |
292 | if not exist $(OBJS) mkdir $(OBJS) | |
293 | for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS) | |
294 | ||
295 | $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc | |
162a956b | 296 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\samples $** |
b17c1746 DE |
297 | |
298 | $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp | |
299 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
300 | ||
4b20974a VS |
301 | $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp |
302 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
303 | ||
304 | $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp | |
305 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
306 | ||
307 | $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp | |
308 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
309 | ||
310 | $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp | |
311 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
312 | ||
313 | $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp | |
314 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
315 | ||
316 | $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp | |
317 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
318 | ||
319 | $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp | |
320 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
321 | ||
322 | $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp | |
323 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
324 | ||
325 | $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp | |
326 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
327 | ||
328 | $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp | |
329 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
330 | ||
331 | $(OBJS)\wxconfigtool_property.obj: .\property.cpp | |
332 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
333 | ||
4b20974a VS |
334 | $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp |
335 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
336 | ||
337 | $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp | |
338 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
162a956b | 339 |