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) /D__WXMSW__ \
22 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
23 /I.\..\..\..\include /I$(SETUPHDIR) /I. $(__DLLFLAG_p) /D_WINDOWS \
24 /I.\..\..\..\samples $(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 "$(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"
144 __OPTIMIZEFLAG_4 = /Od
146 !if "$(BUILD)" == "release"
147 __OPTIMIZEFLAG_4 = /O2
149 !if "$(RUNTIME_LIBS)" == "dynamic"
152 !if "$(RUNTIME_LIBS)" == "static"
155 !if "$(UNICODE)" == "1"
156 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
158 !if "$(UNICODE)" == "1"
159 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1
162 __UNICOWS_LIB_p = unicows.lib
164 !if "$(MONOLITHIC)" == "0"
166 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
168 !if "$(MONOLITHIC)" == "0"
169 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
171 !if "$(MONOLITHIC)" == "0"
173 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
175 !if "$(MONOLITHIC)" == "0"
177 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
179 !if "$(MONOLITHIC)" == "1"
181 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
183 !if "$(MONOLITHIC)" == "0"
184 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
186 !if "$(WXUNIV)" == "1"
187 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
189 !if "$(WXUNIV)" == "1"
190 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
193 ____DEBUGINFO_2_p = /D_DEBUG
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
198 !if "$(DEBUG_INFO)" == "0"
201 !if "$(DEBUG_INFO)" == "1"
202 ____DEBUGINFO_2_p = /D_DEBUG
204 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
205 ____DEBUGINFO_2_p_1 = /d _DEBUG
207 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
208 ____DEBUGINFO_2_p_1 =
210 !if "$(DEBUG_INFO)" == "0"
211 ____DEBUGINFO_2_p_1 =
213 !if "$(DEBUG_INFO)" == "1"
214 ____DEBUGINFO_2_p_1 = /d _DEBUG
216 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
217 ____DEBUGRUNTIME_2_p =
219 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
220 ____DEBUGRUNTIME_2_p = /D_DEBUG
222 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
223 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
225 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
226 ____DEBUGRUNTIME_2_p_1 =
228 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
231 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
232 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
238 -if not exist $(OBJS) mkdir $(OBJS)
242 all: $(OBJS)\wxconfigtool.exe data
244 $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
247 $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
250 $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
253 $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
256 $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
259 $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
262 $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
265 $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
268 $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
271 $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
274 $(OBJS)\wxconfigtool_property.obj: .\property.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
277 $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
278 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_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 $**
280 $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
283 $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
286 $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
290 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
291 -if exist $(OBJS)\*.res del $(OBJS)\*.res
292 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
295 if not exist $(OBJS) mkdir $(OBJS)
296 for %f in (wxconfigtool.pjd ../configs/wxwin250.wxs) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
298 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
299 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
300 $(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