1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_0) /Fd$(OBJS)\wxconfigtool.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \
24 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
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 "$(USE_GUI)" == "0"
47 !if "$(USE_GUI)" == "1"
50 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
53 !if "$(DEBUG_FLAG)" == "1"
56 !if "$(UNICODE)" == "1"
59 !if "$(WXUNIV)" == "1"
62 !if "$(SHARED)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
68 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
71 !if "$(DEBUG_INFO)" == "0"
74 !if "$(DEBUG_INFO)" == "1"
77 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78 __DEBUGINFO_1 = /DEBUG
80 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83 !if "$(DEBUG_INFO)" == "0"
86 !if "$(DEBUG_INFO)" == "1"
87 __DEBUGINFO_1 = /DEBUG
89 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
90 ____DEBUGRUNTIME_2_p =
92 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
93 ____DEBUGRUNTIME_2_p = /D_DEBUG
95 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
96 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 ____DEBUGINFO_2_p = /D_DEBUG
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
108 ____DEBUGINFO_2_p = /D_DEBUG
110 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
111 ____DEBUGRUNTIME_2_p_1 =
113 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
114 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
116 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
117 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
119 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120 ____DEBUGINFO_2_p_1 = /d _DEBUG
122 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
123 ____DEBUGINFO_2_p_1 =
125 !if "$(DEBUG_INFO)" == "0"
126 ____DEBUGINFO_2_p_1 =
128 !if "$(DEBUG_INFO)" == "1"
129 ____DEBUGINFO_2_p_1 = /d _DEBUG
131 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
134 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
137 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
138 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
140 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
143 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
146 !if "$(DEBUG_INFO)" == "0"
149 !if "$(DEBUG_INFO)" == "1"
152 !if "$(BUILD)" == "debug"
153 __OPTIMIZEFLAG_4 = /Od
155 !if "$(BUILD)" == "release"
156 __OPTIMIZEFLAG_4 = /O2
158 !if "$(RUNTIME_LIBS)" == "dynamic"
161 !if "$(RUNTIME_LIBS)" == "static"
164 !if "$(USE_EXCEPTIONS)" == "0"
167 !if "$(USE_EXCEPTIONS)" == "1"
168 __EXCEPTIONSFLAG_8 = /GR
170 !if "$(USE_EXCEPTIONS)" == "0"
173 !if "$(USE_EXCEPTIONS)" == "1"
174 __EXCEPTIONSFLAG_9 = /GX
176 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
179 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
182 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
183 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
185 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
186 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
188 !if "$(WXUNIV)" == "1"
189 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
191 !if "$(WXUNIV)" == "1"
192 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
194 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
195 __DEBUG_DEFINE_p = /D__WXDEBUG__
197 !if "$(DEBUG_FLAG)" == "1"
198 __DEBUG_DEFINE_p = /D__WXDEBUG__
200 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
201 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
203 !if "$(DEBUG_FLAG)" == "1"
204 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
206 !if "$(UNICODE)" == "1"
207 __UNICODE_DEFINE_p = /D_UNICODE
209 !if "$(UNICODE)" == "1"
210 __UNICODE_DEFINE_p_1 = /d _UNICODE
212 !if "$(SHARED)" == "1"
213 __DLLFLAG_p = /DWXUSINGDLL
215 !if "$(SHARED)" == "1"
216 __DLLFLAG_p_1 = /d WXUSINGDLL
218 !if "$(MONOLITHIC)" == "0"
220 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
222 !if "$(MONOLITHIC)" == "0"
224 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
226 !if "$(MONOLITHIC)" == "0"
228 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
230 !if "$(MONOLITHIC)" == "0"
231 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
233 !if "$(MONOLITHIC)" == "0"
234 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
236 !if "$(MONOLITHIC)" == "1"
238 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
240 !if "$(USE_GUI)" == "1"
241 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
243 !if "$(USE_GUI)" == "1"
244 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
246 !if "$(USE_GUI)" == "1"
247 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
250 __UNICOWS_LIB_p = unicows.lib
252 !if "$(SHARED)" == "0"
253 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
255 !if "$(SHARED)" == "1"
256 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
262 -if not exist $(OBJS) mkdir $(OBJS)
266 all: $(OBJS)\wxconfigtool.exe data
269 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
270 -if exist $(OBJS)\*.res del $(OBJS)\*.res
271 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
272 -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk
273 -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb
275 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
276 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
277 $(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
281 if not exist $(OBJS) mkdir $(OBJS)
282 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
284 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
285 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 $**
287 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
290 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
293 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
296 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
299 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
302 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
305 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
308 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
311 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
314 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
317 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
320 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
323 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
326 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**