1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 WXCONFIGTOOL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
20 /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\wxconfigtool.pdb \
21 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
22 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
24 /I.\..\..\..\samples $(CXXFLAGS) $(__EXCEPTIONSFLAG_8) \
26 WXCONFIGTOOL_OBJECTS = \
27 $(OBJS)\wxconfigtool_sample.res \
28 $(OBJS)\wxconfigtool_wxconfigtool.obj \
29 $(OBJS)\wxconfigtool_appsettings.obj \
30 $(OBJS)\wxconfigtool_configitem.obj \
31 $(OBJS)\wxconfigtool_configitemselector.obj \
32 $(OBJS)\wxconfigtool_configtooldoc.obj \
33 $(OBJS)\wxconfigtool_configtoolview.obj \
34 $(OBJS)\wxconfigtool_configtree.obj \
35 $(OBJS)\wxconfigtool_custompropertydialog.obj \
36 $(OBJS)\wxconfigtool_htmlparser.obj \
37 $(OBJS)\wxconfigtool_mainframe.obj \
38 $(OBJS)\wxconfigtool_propeditor.obj \
39 $(OBJS)\wxconfigtool_property.obj \
40 $(OBJS)\wxconfigtool_settingsdialog.obj \
41 $(OBJS)\wxconfigtool_utils.obj
43 ### Conditionally set variables: ###
45 !if "$(SHARED)" == "0"
46 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
48 !if "$(SHARED)" == "1"
49 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60 !if "$(DEBUG_FLAG)" == "1"
63 !if "$(SHARED)" == "1"
66 !if "$(UNICODE)" == "1"
69 !if "$(WXUNIV)" == "1"
72 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
75 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
78 !if "$(DEBUG_INFO)" == "0"
81 !if "$(DEBUG_INFO)" == "1"
84 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
85 __DEBUGINFO_1 = /DEBUG
87 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
90 !if "$(DEBUG_INFO)" == "0"
93 !if "$(DEBUG_INFO)" == "1"
94 __DEBUGINFO_1 = /DEBUG
96 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
102 !if "$(DEBUG_INFO)" == "0"
105 !if "$(DEBUG_INFO)" == "1"
108 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
111 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
114 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
115 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
117 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
118 __DEBUG_DEFINE_p = /D__WXDEBUG__
120 !if "$(DEBUG_FLAG)" == "1"
121 __DEBUG_DEFINE_p = /D__WXDEBUG__
123 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
124 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
126 !if "$(DEBUG_FLAG)" == "1"
127 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
129 !if "$(SHARED)" == "1"
130 __DLLFLAG_p = /DWXUSINGDLL
132 !if "$(SHARED)" == "1"
133 __DLLFLAG_p_1 = /d WXUSINGDLL
135 !if "$(USE_EXCEPTIONS)" == "0"
138 !if "$(USE_EXCEPTIONS)" == "1"
139 __EXCEPTIONSFLAG_8 = /GR
141 !if "$(USE_EXCEPTIONS)" == "0"
144 !if "$(USE_EXCEPTIONS)" == "1"
145 __EXCEPTIONSFLAG_9 = /GX
147 !if "$(USE_GUI)" == "1"
148 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
153 !if "$(USE_GUI)" == "1"
154 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
156 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
157 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
159 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
160 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
162 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
163 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
165 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
166 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
168 !if "$(BUILD)" == "debug"
169 __OPTIMIZEFLAG_4 = /Od
171 !if "$(BUILD)" == "release"
172 __OPTIMIZEFLAG_4 = /O2
174 !if "$(RUNTIME_LIBS)" == "dynamic"
177 !if "$(RUNTIME_LIBS)" == "static"
180 !if "$(UNICODE)" == "1"
181 __UNICODE_DEFINE_p = /D_UNICODE
183 !if "$(UNICODE)" == "1"
184 __UNICODE_DEFINE_p_1 = /d _UNICODE
187 __UNICOWS_LIB_p = unicows.lib
189 !if "$(MONOLITHIC)" == "0"
191 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
193 !if "$(MONOLITHIC)" == "0"
194 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
196 !if "$(MONOLITHIC)" == "0"
198 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
200 !if "$(MONOLITHIC)" == "0"
202 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
204 !if "$(MONOLITHIC)" == "1"
206 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
208 !if "$(MONOLITHIC)" == "0"
209 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
211 !if "$(WXUNIV)" == "1"
212 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
214 !if "$(WXUNIV)" == "1"
215 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
217 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
218 ____DEBUGINFO_2_p = /D_DEBUG
220 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
223 !if "$(DEBUG_INFO)" == "0"
226 !if "$(DEBUG_INFO)" == "1"
227 ____DEBUGINFO_2_p = /D_DEBUG
229 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
230 ____DEBUGINFO_2_p_1 = /d _DEBUG
232 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
233 ____DEBUGINFO_2_p_1 =
235 !if "$(DEBUG_INFO)" == "0"
236 ____DEBUGINFO_2_p_1 =
238 !if "$(DEBUG_INFO)" == "1"
239 ____DEBUGINFO_2_p_1 = /d _DEBUG
241 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
242 ____DEBUGRUNTIME_2_p =
244 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
245 ____DEBUGRUNTIME_2_p = /D_DEBUG
247 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
248 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
250 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
251 ____DEBUGRUNTIME_2_p_1 =
253 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
254 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
256 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
257 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
263 -if not exist $(OBJS) mkdir $(OBJS)
267 all: $(OBJS)\wxconfigtool.exe data
269 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
272 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
275 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
278 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
281 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
284 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
287 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
290 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
293 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
296 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
299 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
302 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
303 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 $**
305 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
308 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
311 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
315 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
316 -if exist $(OBJS)\*.res del $(OBJS)\*.res
317 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
318 -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk
319 -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb
322 if not exist $(OBJS) mkdir $(OBJS)
323 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
325 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
326 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
327 $(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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib