]>
Commit | Line | Data |
---|---|---|
4b20974a VS |
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 | # ========================================================================= | |
d7463f75 | 6 | |
4b20974a VS |
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 = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \ | |
20 | /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\wxconfigtool.pdb \ | |
ec08d395 | 21 | $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
4b20974a | 22 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ |
ec08d395 | 23 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
1c3a6972 | 24 | /I.\..\..\..\samples $(CXXFLAGS) /GR /GX |
4b20974a VS |
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 "$(SHARED)" == "0" | |
45 | LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG) | |
46 | !endif | |
47 | !if "$(SHARED)" == "1" | |
48 | LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG) | |
49 | !endif | |
50 | !if "$(USE_GUI)" == "0" | |
51 | PORTNAME = base | |
52 | !endif | |
53 | !if "$(USE_GUI)" == "1" | |
54 | PORTNAME = msw | |
55 | !endif | |
56 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
57 | WXDEBUGFLAG = d | |
58 | !endif | |
59 | !if "$(DEBUG_FLAG)" == "1" | |
60 | WXDEBUGFLAG = d | |
61 | !endif | |
62 | !if "$(SHARED)" == "1" | |
63 | WXDLLFLAG = dll | |
64 | !endif | |
65 | !if "$(UNICODE)" == "1" | |
66 | WXUNICODEFLAG = u | |
67 | !endif | |
68 | !if "$(WXUNIV)" == "1" | |
69 | WXUNIVNAME = univ | |
70 | !endif | |
71 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
72 | __DEBUGINFO_0 = /Zi | |
73 | !endif | |
74 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
75 | __DEBUGINFO_0 = | |
76 | !endif | |
77 | !if "$(DEBUG_INFO)" == "0" | |
78 | __DEBUGINFO_0 = | |
79 | !endif | |
80 | !if "$(DEBUG_INFO)" == "1" | |
81 | __DEBUGINFO_0 = /Zi | |
82 | !endif | |
83 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
84 | __DEBUGINFO_1 = /DEBUG | |
85 | !endif | |
86 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
87 | __DEBUGINFO_1 = | |
88 | !endif | |
89 | !if "$(DEBUG_INFO)" == "0" | |
90 | __DEBUGINFO_1 = | |
91 | !endif | |
92 | !if "$(DEBUG_INFO)" == "1" | |
93 | __DEBUGINFO_1 = /DEBUG | |
94 | !endif | |
95 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
96 | __DEBUGINFO_3 = d | |
97 | !endif | |
98 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
99 | __DEBUGINFO_3 = | |
100 | !endif | |
101 | !if "$(DEBUG_INFO)" == "0" | |
102 | __DEBUGINFO_3 = | |
103 | !endif | |
104 | !if "$(DEBUG_INFO)" == "1" | |
105 | __DEBUGINFO_3 = d | |
106 | !endif | |
107 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
108 | __DEBUGRUNTIME_3 = | |
109 | !endif | |
110 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
111 | __DEBUGRUNTIME_3 = d | |
112 | !endif | |
113 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
114 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
115 | !endif | |
116 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
117 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
118 | !endif | |
119 | !if "$(DEBUG_FLAG)" == "1" | |
120 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
121 | !endif | |
122 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
123 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
124 | !endif | |
125 | !if "$(DEBUG_FLAG)" == "1" | |
126 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
127 | !endif | |
128 | !if "$(SHARED)" == "1" | |
129 | __DLLFLAG_p = /DWXUSINGDLL | |
130 | !endif | |
131 | !if "$(SHARED)" == "1" | |
132 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
133 | !endif | |
134 | !if "$(USE_GUI)" == "1" | |
135 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
136 | !endif | |
137 | !if "$(USE_GUI)" == "1" | |
138 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
139 | !endif | |
140 | !if "$(USE_GUI)" == "1" | |
141 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
142 | !endif | |
ec08d395 JS |
143 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
144 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
145 | !endif | |
146 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
147 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
148 | !endif | |
149 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
150 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
151 | !endif | |
152 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
153 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
154 | !endif | |
4b20974a VS |
155 | !if "$(BUILD)" == "debug" |
156 | __OPTIMIZEFLAG_4 = /Od | |
157 | !endif | |
158 | !if "$(BUILD)" == "release" | |
159 | __OPTIMIZEFLAG_4 = /O2 | |
160 | !endif | |
161 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
162 | __RUNTIME_LIBS_7 = D | |
163 | !endif | |
164 | !if "$(RUNTIME_LIBS)" == "static" | |
165 | __RUNTIME_LIBS_7 = T | |
166 | !endif | |
167 | !if "$(UNICODE)" == "1" | |
a48abb85 | 168 | __UNICODE_DEFINE_p = /D_UNICODE |
4b20974a VS |
169 | !endif |
170 | !if "$(UNICODE)" == "1" | |
a48abb85 | 171 | __UNICODE_DEFINE_p_1 = /d _UNICODE |
4b20974a VS |
172 | !endif |
173 | !if "$(MSLU)" == "1" | |
174 | __UNICOWS_LIB_p = unicows.lib | |
175 | !endif | |
176 | !if "$(MONOLITHIC)" == "0" | |
177 | __WXLIB_ADV_p = \ | |
178 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib | |
179 | !endif | |
180 | !if "$(MONOLITHIC)" == "0" | |
181 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
182 | !endif | |
183 | !if "$(MONOLITHIC)" == "0" | |
184 | __WXLIB_CORE_p = \ | |
185 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
186 | !endif | |
187 | !if "$(MONOLITHIC)" == "0" | |
188 | __WXLIB_HTML_p = \ | |
189 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib | |
190 | !endif | |
191 | !if "$(MONOLITHIC)" == "1" | |
192 | __WXLIB_MONO_p = \ | |
193 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
194 | !endif | |
195 | !if "$(MONOLITHIC)" == "0" | |
196 | __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib | |
197 | !endif | |
198 | !if "$(WXUNIV)" == "1" | |
199 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
200 | !endif | |
201 | !if "$(WXUNIV)" == "1" | |
202 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
203 | !endif | |
204 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
205 | ____DEBUGINFO_2_p = /D_DEBUG | |
206 | !endif | |
207 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
208 | ____DEBUGINFO_2_p = | |
209 | !endif | |
210 | !if "$(DEBUG_INFO)" == "0" | |
211 | ____DEBUGINFO_2_p = | |
212 | !endif | |
213 | !if "$(DEBUG_INFO)" == "1" | |
214 | ____DEBUGINFO_2_p = /D_DEBUG | |
215 | !endif | |
216 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
217 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
218 | !endif | |
219 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
220 | ____DEBUGINFO_2_p_1 = | |
221 | !endif | |
222 | !if "$(DEBUG_INFO)" == "0" | |
223 | ____DEBUGINFO_2_p_1 = | |
224 | !endif | |
225 | !if "$(DEBUG_INFO)" == "1" | |
226 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
227 | !endif | |
228 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
229 | ____DEBUGRUNTIME_2_p = | |
230 | !endif | |
231 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
232 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
233 | !endif | |
234 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
235 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
236 | !endif | |
237 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
238 | ____DEBUGRUNTIME_2_p_1 = | |
239 | !endif | |
240 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
241 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
242 | !endif | |
243 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
244 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
245 | !endif | |
246 | ||
247 | ||
248 | all: $(OBJS) | |
249 | $(OBJS): | |
250 | -if not exist $(OBJS) mkdir $(OBJS) | |
251 | ||
252 | ### Targets: ### | |
253 | ||
254 | all: $(OBJS)\wxconfigtool.exe data | |
255 | ||
256 | $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp | |
257 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
258 | ||
259 | $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp | |
260 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
261 | ||
262 | $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp | |
263 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
264 | ||
265 | $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp | |
266 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
267 | ||
268 | $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp | |
269 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
270 | ||
271 | $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp | |
272 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
273 | ||
274 | $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp | |
275 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
276 | ||
277 | $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp | |
278 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
279 | ||
280 | $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp | |
281 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
282 | ||
283 | $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp | |
284 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
285 | ||
286 | $(OBJS)\wxconfigtool_property.obj: .\property.cpp | |
287 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
288 | ||
289 | $(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc | |
ec08d395 | 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 $** |
4b20974a VS |
291 | |
292 | $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp | |
293 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
294 | ||
295 | $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp | |
296 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
297 | ||
298 | $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp | |
299 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
300 | ||
301 | clean: | |
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 | |
a48abb85 VS |
305 | -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk |
306 | -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb | |
4b20974a VS |
307 | |
308 | data: | |
309 | if not exist $(OBJS) mkdir $(OBJS) | |
a48abb85 | 310 | for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS) |
4b20974a VS |
311 | |
312 | $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res | |
313 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
ec08d395 | 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 |
4b20974a | 315 | << |