]>
Commit | Line | Data |
---|---|---|
2d611b5c VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c3255f5f | 3 | # Bakefile 0.1.3 (http://bakefile.sourceforge.net) |
2d611b5c VS |
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 | ||
2d611b5c VS |
15 | OBJS = \ |
16 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b17c1746 DE |
17 | SETUPHDIR = \ |
18 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
9bfe7ad9 | 19 | RENDER_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \ |
b17c1746 | 20 | $(__DEBUGINFO) /Fd$(OBJS)\render.pdb $(____DEBUGRUNTIME_2_p) \ |
ec08d395 JS |
21 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
22 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \ | |
b17c1746 DE |
23 | /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(__EXCEPTIONSFLAG) \ |
24 | $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS) | |
2d611b5c VS |
25 | RENDER_OBJECTS = \ |
26 | $(OBJS)\render_sample.res \ | |
27 | $(OBJS)\render_render.obj | |
b17c1746 DE |
28 | RENDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \ |
29 | $(__DEBUGINFO) \ | |
078c7a59 | 30 | /Fd$(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb \ |
b17c1746 DE |
31 | $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
32 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
33 | /I.\..\..\include /I$(SETUPHDIR) /W4 /DWXUSINGDLL $(__EXCEPTIONSFLAG) \ | |
34 | $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS) | |
35 | RENDDLL_OBJECTS = \ | |
36 | $(OBJS)\renddll_renddll.obj | |
2d611b5c VS |
37 | |
38 | ### Conditionally set variables: ### | |
39 | ||
40 | !if "$(USE_GUI)" == "0" | |
41 | PORTNAME = base | |
42 | !endif | |
43 | !if "$(USE_GUI)" == "1" | |
44 | PORTNAME = msw | |
45 | !endif | |
46 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
47 | WXDEBUGFLAG = d | |
48 | !endif | |
49 | !if "$(DEBUG_FLAG)" == "1" | |
50 | WXDEBUGFLAG = d | |
51 | !endif | |
2d611b5c VS |
52 | !if "$(UNICODE)" == "1" |
53 | WXUNICODEFLAG = u | |
54 | !endif | |
55 | !if "$(WXUNIV)" == "1" | |
56 | WXUNIVNAME = univ | |
57 | !endif | |
b17c1746 DE |
58 | !if "$(SHARED)" == "1" |
59 | WXDLLFLAG = dll | |
2d611b5c | 60 | !endif |
078c7a59 VS |
61 | !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" |
62 | PLUGINSUFFIX = _d | |
63 | !endif | |
64 | !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" | |
65 | PLUGINSUFFIX = _ud | |
66 | !endif | |
67 | !if "$(BUILD)" == "release" && "$(UNICODE)" == "0" | |
68 | PLUGINSUFFIX = | |
69 | !endif | |
70 | !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" | |
71 | PLUGINSUFFIX = _u | |
72 | !endif | |
b17c1746 DE |
73 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
74 | ____DEBUGRUNTIME_2_p = | |
2d611b5c | 75 | !endif |
b17c1746 DE |
76 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
77 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
2d611b5c | 78 | !endif |
b17c1746 DE |
79 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
80 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) | |
2d611b5c | 81 | !endif |
b17c1746 DE |
82 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
83 | ____DEBUGRUNTIME_2_p_1 = | |
2d611b5c | 84 | !endif |
b17c1746 DE |
85 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
86 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
2d611b5c | 87 | !endif |
b17c1746 DE |
88 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
89 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
2d611b5c VS |
90 | !endif |
91 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 92 | ____DEBUGINFO_2_p_1 = /d _DEBUG |
2d611b5c VS |
93 | !endif |
94 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 95 | ____DEBUGINFO_2_p_1 = |
2d611b5c VS |
96 | !endif |
97 | !if "$(DEBUG_INFO)" == "0" | |
b17c1746 | 98 | ____DEBUGINFO_2_p_1 = |
2d611b5c VS |
99 | !endif |
100 | !if "$(DEBUG_INFO)" == "1" | |
b17c1746 | 101 | ____DEBUGINFO_2_p_1 = /d _DEBUG |
2d611b5c VS |
102 | !endif |
103 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
104 | __DEBUGRUNTIME_3 = | |
105 | !endif | |
106 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
107 | __DEBUGRUNTIME_3 = d | |
108 | !endif | |
109 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
b17c1746 | 110 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_2) |
2d611b5c | 111 | !endif |
b17c1746 DE |
112 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
113 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
2d611b5c | 114 | !endif |
b17c1746 DE |
115 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" |
116 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
117 | !endif | |
118 | !if "$(WXUNIV)" == "1" | |
119 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
2d611b5c VS |
120 | !endif |
121 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
122 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
123 | !endif | |
124 | !if "$(DEBUG_FLAG)" == "1" | |
125 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
126 | !endif | |
b17c1746 DE |
127 | !if "$(UNICODE)" == "1" |
128 | __UNICODE_DEFINE_p_1 = /d _UNICODE | |
129 | !endif | |
2d611b5c VS |
130 | !if "$(SHARED)" == "1" |
131 | __DLLFLAG_p = /DWXUSINGDLL | |
132 | !endif | |
133 | !if "$(SHARED)" == "1" | |
134 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
135 | !endif | |
b17c1746 DE |
136 | !if "$(SHARED)" == "1" |
137 | __renddll___depname = \ | |
078c7a59 | 138 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll |
ec08d395 | 139 | !endif |
b17c1746 DE |
140 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
141 | ____DEBUGRUNTIME_15_p = | |
ec08d395 | 142 | !endif |
b17c1746 DE |
143 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
144 | ____DEBUGRUNTIME_15_p = /D_DEBUG | |
ec08d395 | 145 | !endif |
b17c1746 DE |
146 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
147 | ____DEBUGRUNTIME_15_p = $(____DEBUGINFO) | |
2d611b5c | 148 | !endif |
b17c1746 DE |
149 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
150 | __DEBUGRUNTIME_16 = | |
2d611b5c | 151 | !endif |
b17c1746 DE |
152 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
153 | __DEBUGRUNTIME_16 = d | |
2d611b5c | 154 | !endif |
b17c1746 DE |
155 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" |
156 | __DEBUGRUNTIME_16 = $(__DEBUGINFO_2) | |
2d611b5c | 157 | !endif |
b17c1746 DE |
158 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
159 | __DEBUGINFO = /Zi | |
2d611b5c | 160 | !endif |
b17c1746 DE |
161 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
162 | __DEBUGINFO = | |
2d611b5c | 163 | !endif |
b17c1746 DE |
164 | !if "$(DEBUG_INFO)" == "0" |
165 | __DEBUGINFO = | |
2c02ec05 | 166 | !endif |
b17c1746 DE |
167 | !if "$(DEBUG_INFO)" == "1" |
168 | __DEBUGINFO = /Zi | |
2d611b5c | 169 | !endif |
b17c1746 DE |
170 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
171 | __DEBUGINFO_1 = /DEBUG | |
2d611b5c | 172 | !endif |
b17c1746 DE |
173 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
174 | __DEBUGINFO_1 = | |
2d611b5c | 175 | !endif |
b17c1746 DE |
176 | !if "$(DEBUG_INFO)" == "0" |
177 | __DEBUGINFO_1 = | |
2d611b5c | 178 | !endif |
b17c1746 DE |
179 | !if "$(DEBUG_INFO)" == "1" |
180 | __DEBUGINFO_1 = /DEBUG | |
2d611b5c VS |
181 | !endif |
182 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
183 | ____DEBUGINFO = /D_DEBUG | |
184 | !endif | |
185 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
186 | ____DEBUGINFO = | |
187 | !endif | |
188 | !if "$(DEBUG_INFO)" == "0" | |
189 | ____DEBUGINFO = | |
190 | !endif | |
191 | !if "$(DEBUG_INFO)" == "1" | |
192 | ____DEBUGINFO = /D_DEBUG | |
193 | !endif | |
194 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 195 | __DEBUGINFO_2 = d |
2d611b5c VS |
196 | !endif |
197 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
b17c1746 | 198 | __DEBUGINFO_2 = |
2d611b5c VS |
199 | !endif |
200 | !if "$(DEBUG_INFO)" == "0" | |
b17c1746 | 201 | __DEBUGINFO_2 = |
2d611b5c VS |
202 | !endif |
203 | !if "$(DEBUG_INFO)" == "1" | |
b17c1746 | 204 | __DEBUGINFO_2 = d |
2d611b5c | 205 | !endif |
b17c1746 DE |
206 | !if "$(BUILD)" == "debug" |
207 | __OPTIMIZEFLAG = /Od | |
2d611b5c | 208 | !endif |
b17c1746 DE |
209 | !if "$(BUILD)" == "release" |
210 | __OPTIMIZEFLAG = /O2 | |
2d611b5c | 211 | !endif |
b17c1746 DE |
212 | !if "$(RUNTIME_LIBS)" == "dynamic" |
213 | __RUNTIME_LIBS = D | |
2d611b5c | 214 | !endif |
b17c1746 DE |
215 | !if "$(RUNTIME_LIBS)" == "static" |
216 | __RUNTIME_LIBS = T | |
2d611b5c | 217 | !endif |
b17c1746 DE |
218 | !if "$(USE_EXCEPTIONS)" == "0" |
219 | __EXCEPTIONSFLAG = | |
2d611b5c | 220 | !endif |
b17c1746 DE |
221 | !if "$(USE_EXCEPTIONS)" == "1" |
222 | __EXCEPTIONSFLAG = /GR | |
2d611b5c | 223 | !endif |
b17c1746 DE |
224 | !if "$(USE_EXCEPTIONS)" == "0" |
225 | __EXCEPTIONSFLAG_0 = | |
2d611b5c | 226 | !endif |
b17c1746 DE |
227 | !if "$(USE_EXCEPTIONS)" == "1" |
228 | __EXCEPTIONSFLAG_0 = /GX | |
2d611b5c | 229 | !endif |
b17c1746 DE |
230 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
231 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
232 | !endif | |
233 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
234 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
235 | !endif | |
236 | !if "$(WXUNIV)" == "1" | |
237 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
238 | !endif | |
239 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
240 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
241 | !endif | |
242 | !if "$(DEBUG_FLAG)" == "1" | |
243 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
244 | !endif | |
245 | !if "$(UNICODE)" == "1" | |
246 | __UNICODE_DEFINE_p = /D_UNICODE | |
247 | !endif | |
248 | !if "$(SHARED)" == "0" | |
249 | LIBDIRNAME = .\..\..\lib\vc_lib$(CFG) | |
2d611b5c VS |
250 | !endif |
251 | !if "$(SHARED)" == "1" | |
b17c1746 DE |
252 | LIBDIRNAME = .\..\..\lib\vc_dll$(CFG) |
253 | !endif | |
254 | !if "$(MONOLITHIC)" == "0" | |
255 | __WXLIB_CORE_p = \ | |
256 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
257 | !endif | |
258 | !if "$(MONOLITHIC)" == "0" | |
259 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
260 | !endif | |
261 | !if "$(MONOLITHIC)" == "1" | |
262 | __WXLIB_MONO_p = \ | |
263 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
264 | !endif | |
265 | !if "$(USE_GUI)" == "1" | |
266 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
267 | !endif | |
268 | !if "$(USE_GUI)" == "1" | |
269 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
270 | !endif | |
271 | !if "$(USE_GUI)" == "1" | |
272 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
273 | !endif | |
274 | !if "$(MSLU)" == "1" | |
275 | __UNICOWS_LIB_p = unicows.lib | |
2d611b5c VS |
276 | !endif |
277 | ||
278 | ||
279 | all: $(OBJS) | |
280 | $(OBJS): | |
281 | -if not exist $(OBJS) mkdir $(OBJS) | |
282 | ||
283 | ### Targets: ### | |
284 | ||
285 | all: $(OBJS)\render.exe $(__renddll___depname) | |
286 | ||
2d611b5c VS |
287 | clean: |
288 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
289 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
290 | -if exist $(OBJS)\render.exe del $(OBJS)\render.exe | |
ec08d395 JS |
291 | -if exist $(OBJS)\render.ilk del $(OBJS)\render.ilk |
292 | -if exist $(OBJS)\render.pdb del $(OBJS)\render.pdb | |
078c7a59 VS |
293 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll |
294 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.ilk del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.ilk | |
295 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.pdb | |
2d611b5c | 296 | |
b17c1746 DE |
297 | $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res |
298 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< | |
b92ca8cf | 299 | $(RENDER_OBJECTS) $(__WXLIB_CORE_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 |
b17c1746 DE |
300 | << |
301 | ||
2d611b5c | 302 | !if "$(SHARED)" == "1" |
078c7a59 | 303 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)251_vc.dll: $(RENDDLL_OBJECTS) |
2d611b5c | 304 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<< |
b92ca8cf | 305 | $(RENDDLL_OBJECTS) $(__WXLIB_CORE_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 |
2d611b5c VS |
306 | << |
307 | !endif | |
308 | ||
b17c1746 DE |
309 | $(OBJS)\render_sample.res: .\..\..\samples\sample.rc |
310 | 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 $** | |
311 | ||
312 | $(OBJS)\render_render.obj: .\render.cpp | |
313 | $(CXX) /c /nologo /TP /Fo$@ $(RENDER_CXXFLAGS) $** | |
314 | ||
315 | $(OBJS)\renddll_renddll.obj: .\renddll.cpp | |
316 | $(CXX) /c /nologo /TP /Fo$@ $(RENDDLL_CXXFLAGS) $** |