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) /GR /GX
25 WXCONFIGTOOL_OBJECTS = \
26 $(OBJS)\wxconfigtool_sample.res \
27 $(OBJS)\wxconfigtool_wxconfigtool.obj \
28 $(OBJS)\wxconfigtool_appsettings.obj \
29 $(OBJS)\wxconfigtool_configitem.obj \
30 $(OBJS)\wxconfigtool_configitemselector.obj \
31 $(OBJS)\wxconfigtool_configtooldoc.obj \
32 $(OBJS)\wxconfigtool_configtoolview.obj \
33 $(OBJS)\wxconfigtool_configtree.obj \
34 $(OBJS)\wxconfigtool_custompropertydialog.obj \
35 $(OBJS)\wxconfigtool_htmlparser.obj \
36 $(OBJS)\wxconfigtool_mainframe.obj \
37 $(OBJS)\wxconfigtool_propeditor.obj \
38 $(OBJS)\wxconfigtool_property.obj \
39 $(OBJS)\wxconfigtool_settingsdialog.obj \
40 $(OBJS)\wxconfigtool_utils.obj
42 ### Conditionally set variables: ###
44 !if "$(SHARED)" == "0"
45 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
47 !if "$(SHARED)" == "1"
48 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
59 !if "$(DEBUG_FLAG)" == "1"
62 !if "$(SHARED)" == "1"
65 !if "$(UNICODE)" == "1"
68 !if "$(WXUNIV)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
77 !if "$(DEBUG_INFO)" == "0"
80 !if "$(DEBUG_INFO)" == "1"
83 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
84 __DEBUGINFO_1 = /DEBUG
86 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89 !if "$(DEBUG_INFO)" == "0"
92 !if "$(DEBUG_INFO)" == "1"
93 __DEBUGINFO_1 = /DEBUG
95 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
98 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
101 !if "$(DEBUG_INFO)" == "0"
104 !if "$(DEBUG_INFO)" == "1"
107 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
110 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
113 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
114 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p = /D__WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p = /D__WXDEBUG__
122 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
123 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
125 !if "$(DEBUG_FLAG)" == "1"
126 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
128 !if "$(SHARED)" == "1"
129 __DLLFLAG_p = /DWXUSINGDLL
131 !if "$(SHARED)" == "1"
132 __DLLFLAG_p_1 = /d WXUSINGDLL
134 !if "$(USE_GUI)" == "1"
135 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
137 !if "$(USE_GUI)" == "1"
138 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
143 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
144 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
146 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
147 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
149 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
150 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
152 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
153 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
155 !if "$(BUILD)" == "debug"
156 __OPTIMIZEFLAG_4 = /Od
158 !if "$(BUILD)" == "release"
159 __OPTIMIZEFLAG_4 = /O2
161 !if "$(RUNTIME_LIBS)" == "dynamic"
164 !if "$(RUNTIME_LIBS)" == "static"
167 !if "$(UNICODE)" == "1"
168 __UNICODE_DEFINE_p = /D_UNICODE
170 !if "$(UNICODE)" == "1"
171 __UNICODE_DEFINE_p_1 = /d _UNICODE
174 __UNICOWS_LIB_p = unicows.lib
176 !if "$(MONOLITHIC)" == "0"
178 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
180 !if "$(MONOLITHIC)" == "0"
181 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
183 !if "$(MONOLITHIC)" == "0"
185 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
187 !if "$(MONOLITHIC)" == "0"
189 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
191 !if "$(MONOLITHIC)" == "1"
193 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
195 !if "$(MONOLITHIC)" == "0"
196 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
198 !if "$(WXUNIV)" == "1"
199 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
201 !if "$(WXUNIV)" == "1"
202 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
204 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
205 ____DEBUGINFO_2_p = /D_DEBUG
207 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
210 !if "$(DEBUG_INFO)" == "0"
213 !if "$(DEBUG_INFO)" == "1"
214 ____DEBUGINFO_2_p = /D_DEBUG
216 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
217 ____DEBUGINFO_2_p_1 = /d _DEBUG
219 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
220 ____DEBUGINFO_2_p_1 =
222 !if "$(DEBUG_INFO)" == "0"
223 ____DEBUGINFO_2_p_1 =
225 !if "$(DEBUG_INFO)" == "1"
226 ____DEBUGINFO_2_p_1 = /d _DEBUG
228 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
229 ____DEBUGRUNTIME_2_p =
231 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
232 ____DEBUGRUNTIME_2_p = /D_DEBUG
234 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
235 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
237 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
238 ____DEBUGRUNTIME_2_p_1 =
240 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
241 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
243 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
244 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
250 -if not exist $(OBJS) mkdir $(OBJS)
254 all: $(OBJS)\wxconfigtool.exe data
256 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
259 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
262 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
265 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
268 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
271 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
274 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
277 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
280 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
283 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
286 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
289 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
290 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 $**
292 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
295 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
298 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
302 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
303 -if exist $(OBJS)\*.res del $(OBJS)\*.res
304 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
305 -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk
306 -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb
309 if not exist $(OBJS) mkdir $(OBJS)
310 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
312 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
313 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
314 $(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