]>
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 \ | |
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 | |
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 | |
143 | !if "$(BUILD)" == "debug" | |
144 | __OPTIMIZEFLAG_4 = /Od | |
145 | !endif | |
146 | !if "$(BUILD)" == "release" | |
147 | __OPTIMIZEFLAG_4 = /O2 | |
148 | !endif | |
149 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
150 | __RUNTIME_LIBS_7 = D | |
151 | !endif | |
152 | !if "$(RUNTIME_LIBS)" == "static" | |
153 | __RUNTIME_LIBS_7 = T | |
154 | !endif | |
155 | !if "$(UNICODE)" == "1" | |
156 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
157 | !endif | |
158 | !if "$(UNICODE)" == "1" | |
159 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1 | |
160 | !endif | |
161 | !if "$(MSLU)" == "1" | |
162 | __UNICOWS_LIB_p = unicows.lib | |
163 | !endif | |
164 | !if "$(MONOLITHIC)" == "0" | |
165 | __WXLIB_ADV_p = \ | |
166 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib | |
167 | !endif | |
168 | !if "$(MONOLITHIC)" == "0" | |
169 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
170 | !endif | |
171 | !if "$(MONOLITHIC)" == "0" | |
172 | __WXLIB_CORE_p = \ | |
173 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
174 | !endif | |
175 | !if "$(MONOLITHIC)" == "0" | |
176 | __WXLIB_HTML_p = \ | |
177 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib | |
178 | !endif | |
179 | !if "$(MONOLITHIC)" == "1" | |
180 | __WXLIB_MONO_p = \ | |
181 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
182 | !endif | |
183 | !if "$(MONOLITHIC)" == "0" | |
184 | __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib | |
185 | !endif | |
186 | !if "$(WXUNIV)" == "1" | |
187 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
188 | !endif | |
189 | !if "$(WXUNIV)" == "1" | |
190 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
191 | !endif | |
192 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
193 | ____DEBUGINFO_2_p = /D_DEBUG | |
194 | !endif | |
195 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
196 | ____DEBUGINFO_2_p = | |
197 | !endif | |
198 | !if "$(DEBUG_INFO)" == "0" | |
199 | ____DEBUGINFO_2_p = | |
200 | !endif | |
201 | !if "$(DEBUG_INFO)" == "1" | |
202 | ____DEBUGINFO_2_p = /D_DEBUG | |
203 | !endif | |
204 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
205 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
206 | !endif | |
207 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
208 | ____DEBUGINFO_2_p_1 = | |
209 | !endif | |
210 | !if "$(DEBUG_INFO)" == "0" | |
211 | ____DEBUGINFO_2_p_1 = | |
212 | !endif | |
213 | !if "$(DEBUG_INFO)" == "1" | |
214 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
215 | !endif | |
216 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
217 | ____DEBUGRUNTIME_2_p = | |
218 | !endif | |
219 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
220 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
221 | !endif | |
222 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
223 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
224 | !endif | |
225 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
226 | ____DEBUGRUNTIME_2_p_1 = | |
227 | !endif | |
228 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
229 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
230 | !endif | |
231 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
232 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
233 | !endif | |
234 | ||
235 | ||
236 | all: $(OBJS) | |
237 | $(OBJS): | |
238 | -if not exist $(OBJS) mkdir $(OBJS) | |
239 | ||
240 | ### Targets: ### | |
241 | ||
242 | all: $(OBJS)\wxconfigtool.exe data | |
243 | ||
244 | $(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp | |
245 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
246 | ||
247 | $(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp | |
248 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
249 | ||
250 | $(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp | |
251 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
252 | ||
253 | $(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp | |
254 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
255 | ||
256 | $(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp | |
257 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
258 | ||
259 | $(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp | |
260 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
261 | ||
262 | $(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp | |
263 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
264 | ||
265 | $(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp | |
266 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
267 | ||
268 | $(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp | |
269 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
270 | ||
271 | $(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp | |
272 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
273 | ||
274 | $(OBJS)\wxconfigtool_property.obj: .\property.cpp | |
275 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
276 | ||
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 $** | |
279 | ||
280 | $(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp | |
281 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
282 | ||
283 | $(OBJS)\wxconfigtool_utils.obj: .\utils.cpp | |
284 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
285 | ||
286 | $(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp | |
287 | $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $** | |
288 | ||
289 | clean: | |
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 | |
293 | ||
294 | data: | |
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) | |
297 | ||
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 | |
301 | << |