]>
Commit | Line | Data |
---|---|---|
d5e7ffcf KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
3 | # Bakefile 0.2.6 (http://www.bakefile.org)\r | |
4 | # Do not modify, all changes will be overwritten!\r | |
5 | # =========================================================================\r | |
6 | \r | |
7 | !include <../../build/msw/config.vc>\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | WX_RELEASE_NODOT = 29\r | |
16 | COMPILER_PREFIX = vc\r | |
17 | OBJS = \\r | |
18 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)\r | |
19 | LIBDIRNAME = \\r | |
20 | .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | RICHTEXT_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \\r | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\richtext.pdb $(____DEBUGRUNTIME_2_p) \\r | |
25 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
26 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r | |
27 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
28 | $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \\r | |
29 | /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) \\r | |
30 | $(CPPFLAGS) $(CXXFLAGS)\r | |
31 | RICHTEXT_OBJECTS = \\r | |
32 | $(OBJS)\richtext_richtext.obj \\r | |
33 | $(OBJS)\richtext_sample.res\r | |
34 | \r | |
35 | ### Conditionally set variables: ###\r | |
36 | \r | |
37 | !if "$(USE_GUI)" == "0"\r | |
38 | PORTNAME = base\r | |
39 | !endif\r | |
40 | !if "$(USE_GUI)" == "1"\r | |
41 | PORTNAME = msw\r | |
42 | !endif\r | |
43 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
44 | WXDEBUGFLAG = d\r | |
45 | !endif\r | |
46 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
47 | WXDEBUGFLAG = d\r | |
48 | !endif\r | |
49 | !if "$(UNICODE)" == "1"\r | |
50 | WXUNICODEFLAG = u\r | |
51 | !endif\r | |
52 | !if "$(WXUNIV)" == "1"\r | |
53 | WXUNIVNAME = univ\r | |
54 | !endif\r | |
55 | !if "$(TARGET_CPU)" == "AMD64"\r | |
56 | DIR_SUFFIX_CPU = _amd64\r | |
57 | !endif\r | |
58 | !if "$(TARGET_CPU)" == "IA64"\r | |
59 | DIR_SUFFIX_CPU = _ia64\r | |
60 | !endif\r | |
61 | !if "$(TARGET_CPU)" == "amd64"\r | |
62 | DIR_SUFFIX_CPU = _amd64\r | |
63 | !endif\r | |
64 | !if "$(TARGET_CPU)" == "ia64"\r | |
65 | DIR_SUFFIX_CPU = _ia64\r | |
66 | !endif\r | |
67 | !if "$(SHARED)" == "1"\r | |
68 | WXDLLFLAG = dll\r | |
69 | !endif\r | |
70 | !if "$(SHARED)" == "0"\r | |
71 | LIBTYPE_SUFFIX = lib\r | |
72 | !endif\r | |
73 | !if "$(SHARED)" == "1"\r | |
74 | LIBTYPE_SUFFIX = dll\r | |
75 | !endif\r | |
76 | !if "$(TARGET_CPU)" == "AMD64"\r | |
77 | LINK_TARGET_CPU = /MACHINE:AMD64\r | |
78 | !endif\r | |
79 | !if "$(TARGET_CPU)" == "IA64"\r | |
80 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
81 | !endif\r | |
82 | !if "$(TARGET_CPU)" == "amd64"\r | |
83 | LINK_TARGET_CPU = /MACHINE:AMD64\r | |
84 | !endif\r | |
85 | !if "$(TARGET_CPU)" == "ia64"\r | |
86 | LINK_TARGET_CPU = /MACHINE:IA64\r | |
87 | !endif\r | |
88 | !if "$(MONOLITHIC)" == "0"\r | |
89 | EXTRALIBS_FOR_BASE = \r | |
90 | !endif\r | |
91 | !if "$(MONOLITHIC)" == "1"\r | |
92 | EXTRALIBS_FOR_BASE = \r | |
93 | !endif\r | |
94 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
95 | __DEBUGINFO_0 = /Zi\r | |
96 | !endif\r | |
97 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
98 | __DEBUGINFO_0 = \r | |
99 | !endif\r | |
100 | !if "$(DEBUG_INFO)" == "0"\r | |
101 | __DEBUGINFO_0 = \r | |
102 | !endif\r | |
103 | !if "$(DEBUG_INFO)" == "1"\r | |
104 | __DEBUGINFO_0 = /Zi\r | |
105 | !endif\r | |
106 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
107 | __DEBUGINFO_1 = /DEBUG\r | |
108 | !endif\r | |
109 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
110 | __DEBUGINFO_1 = \r | |
111 | !endif\r | |
112 | !if "$(DEBUG_INFO)" == "0"\r | |
113 | __DEBUGINFO_1 = \r | |
114 | !endif\r | |
115 | !if "$(DEBUG_INFO)" == "1"\r | |
116 | __DEBUGINFO_1 = /DEBUG\r | |
117 | !endif\r | |
118 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
119 | ____DEBUGRUNTIME_2_p = /D_DEBUG\r | |
120 | !endif\r | |
121 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
122 | ____DEBUGRUNTIME_2_p = \r | |
123 | !endif\r | |
124 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
125 | ____DEBUGRUNTIME_2_p = \r | |
126 | !endif\r | |
127 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
128 | ____DEBUGRUNTIME_2_p = /D_DEBUG\r | |
129 | !endif\r | |
130 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
131 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG\r | |
132 | !endif\r | |
133 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
134 | ____DEBUGRUNTIME_2_p_1 = \r | |
135 | !endif\r | |
136 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
137 | ____DEBUGRUNTIME_2_p_1 = \r | |
138 | !endif\r | |
139 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
140 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG\r | |
141 | !endif\r | |
142 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
143 | __DEBUGRUNTIME_3 = d\r | |
144 | !endif\r | |
145 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"\r | |
146 | __DEBUGRUNTIME_3 = \r | |
147 | !endif\r | |
148 | !if "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
149 | __DEBUGRUNTIME_3 = \r | |
150 | !endif\r | |
151 | !if "$(DEBUG_RUNTIME_LIBS)" == "1"\r | |
152 | __DEBUGRUNTIME_3 = d\r | |
153 | !endif\r | |
154 | !if "$(BUILD)" == "debug"\r | |
155 | __OPTIMIZEFLAG_4 = /Od\r | |
156 | !endif\r | |
157 | !if "$(BUILD)" == "release"\r | |
158 | __OPTIMIZEFLAG_4 = /O2\r | |
159 | !endif\r | |
160 | !if "$(USE_THREADS)" == "0"\r | |
161 | __THREADSFLAG_7 = L\r | |
162 | !endif\r | |
163 | !if "$(USE_THREADS)" == "1"\r | |
164 | __THREADSFLAG_7 = T\r | |
165 | !endif\r | |
166 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
167 | __RUNTIME_LIBS_8 = D\r | |
168 | !endif\r | |
169 | !if "$(RUNTIME_LIBS)" == "static"\r | |
170 | __RUNTIME_LIBS_8 = $(__THREADSFLAG_7)\r | |
171 | !endif\r | |
172 | !if "$(USE_RTTI)" == "0"\r | |
173 | __RTTIFLAG_9 = \r | |
174 | !endif\r | |
175 | !if "$(USE_RTTI)" == "1"\r | |
176 | __RTTIFLAG_9 = /GR\r | |
177 | !endif\r | |
178 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
179 | __EXCEPTIONSFLAG_10 = \r | |
180 | !endif\r | |
181 | !if "$(USE_EXCEPTIONS)" == "1"\r | |
182 | __EXCEPTIONSFLAG_10 = /EHsc\r | |
183 | !endif\r | |
184 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
185 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
186 | !endif\r | |
187 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
188 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__\r | |
189 | !endif\r | |
190 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"\r | |
191 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
192 | !endif\r | |
193 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"\r | |
194 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__\r | |
195 | !endif\r | |
196 | !if "$(WXUNIV)" == "1"\r | |
197 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__\r | |
198 | !endif\r | |
199 | !if "$(WXUNIV)" == "1"\r | |
200 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__\r | |
201 | !endif\r | |
202 | !if "$(DEBUG_FLAG)" == "0"\r | |
203 | __DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0\r | |
204 | !endif\r | |
205 | !if "$(DEBUG_FLAG)" == "0"\r | |
206 | __DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0\r | |
207 | !endif\r | |
208 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
209 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS\r | |
210 | !endif\r | |
211 | !if "$(USE_EXCEPTIONS)" == "0"\r | |
212 | __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS\r | |
213 | !endif\r | |
214 | !if "$(USE_RTTI)" == "0"\r | |
215 | __RTTI_DEFINE_p = /DwxNO_RTTI\r | |
216 | !endif\r | |
217 | !if "$(USE_RTTI)" == "0"\r | |
218 | __RTTI_DEFINE_p_1 = /d wxNO_RTTI\r | |
219 | !endif\r | |
220 | !if "$(USE_THREADS)" == "0"\r | |
221 | __THREAD_DEFINE_p = /DwxNO_THREADS\r | |
222 | !endif\r | |
223 | !if "$(USE_THREADS)" == "0"\r | |
224 | __THREAD_DEFINE_p_1 = /d wxNO_THREADS\r | |
225 | !endif\r | |
226 | !if "$(UNICODE)" == "0"\r | |
227 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=0\r | |
228 | !endif\r | |
229 | !if "$(UNICODE)" == "1"\r | |
230 | __UNICODE_DEFINE_p = /D_UNICODE\r | |
231 | !endif\r | |
232 | !if "$(UNICODE)" == "0"\r | |
233 | __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0\r | |
234 | !endif\r | |
235 | !if "$(UNICODE)" == "1"\r | |
236 | __UNICODE_DEFINE_p_1 = /d _UNICODE\r | |
237 | !endif\r | |
238 | !if "$(MSLU)" == "1"\r | |
239 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1\r | |
240 | !endif\r | |
241 | !if "$(MSLU)" == "1"\r | |
242 | __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1\r | |
243 | !endif\r | |
244 | !if "$(USE_GDIPLUS)" == "1"\r | |
245 | __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1\r | |
246 | !endif\r | |
247 | !if "$(USE_GDIPLUS)" == "1"\r | |
248 | __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1\r | |
249 | !endif\r | |
250 | !if "$(SHARED)" == "1"\r | |
251 | __DLLFLAG_p = /DWXUSINGDLL\r | |
252 | !endif\r | |
253 | !if "$(SHARED)" == "1"\r | |
254 | __DLLFLAG_p_1 = /d WXUSINGDLL\r | |
255 | !endif\r | |
256 | !if "$(MONOLITHIC)" == "0"\r | |
257 | __WXLIB_RICHTEXT_p = \\r | |
258 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext.lib\r | |
259 | !endif\r | |
260 | !if "$(MONOLITHIC)" == "0"\r | |
261 | __WXLIB_ADV_p = \\r | |
262 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r | |
263 | !endif\r | |
264 | !if "$(MONOLITHIC)" == "0"\r | |
265 | __WXLIB_HTML_p = \\r | |
266 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib\r | |
267 | !endif\r | |
268 | !if "$(MONOLITHIC)" == "0"\r | |
269 | __WXLIB_CORE_p = \\r | |
270 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
271 | !endif\r | |
272 | !if "$(MONOLITHIC)" == "0"\r | |
273 | __WXLIB_XML_p = \\r | |
274 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib\r | |
275 | !endif\r | |
276 | !if "$(MONOLITHIC)" == "0"\r | |
277 | __WXLIB_BASE_p = \\r | |
278 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
279 | !endif\r | |
280 | !if "$(MONOLITHIC)" == "1"\r | |
281 | __WXLIB_MONO_p = \\r | |
282 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
283 | !endif\r | |
284 | !if "$(USE_GUI)" == "1"\r | |
285 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
286 | !endif\r | |
287 | !if "$(USE_GUI)" == "1"\r | |
288 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
289 | !endif\r | |
290 | !if "$(USE_GUI)" == "1"\r | |
291 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
292 | !endif\r | |
293 | !if "$(MSLU)" == "1"\r | |
294 | __UNICOWS_LIB_p = unicows.lib\r | |
295 | !endif\r | |
296 | !if "$(USE_GDIPLUS)" == "1"\r | |
297 | __GDIPLUS_LIB_p = gdiplus.lib\r | |
298 | !endif\r | |
299 | \r | |
300 | \r | |
301 | all: $(OBJS)\r | |
302 | $(OBJS):\r | |
303 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
304 | \r | |
305 | ### Targets: ###\r | |
306 | \r | |
307 | all: $(OBJS)\richtext.exe\r | |
308 | \r | |
309 | clean: \r | |
310 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
311 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
312 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r | |
313 | -if exist $(OBJS)\richtext.exe del $(OBJS)\richtext.exe\r | |
314 | -if exist $(OBJS)\richtext.ilk del $(OBJS)\richtext.ilk\r | |
315 | -if exist $(OBJS)\richtext.pdb del $(OBJS)\richtext.pdb\r | |
316 | \r | |
317 | $(OBJS)\richtext.exe: $(RICHTEXT_OBJECTS) $(OBJS)\richtext_sample.res\r | |
318 | link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\richtext.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<<\r | |
319 | $(RICHTEXT_OBJECTS) $(__WXLIB_RICHTEXT_p) $(__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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_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 wininet.lib\r | |
320 | <<\r | |
321 | \r | |
322 | $(OBJS)\richtext_richtext.obj: .\richtext.cpp\r | |
323 | $(CXX) /c /nologo /TP /Fo$@ $(RICHTEXT_CXXFLAGS) .\richtext.cpp\r | |
324 | \r | |
325 | $(OBJS)\richtext_sample.res: .\..\sample.rc\r | |
326 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\sample.rc\r | |
327 | \r |