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