]>
Commit | Line | Data |
---|---|---|
f82b7036 KO |
1 | # =========================================================================\r |
2 | # This makefile was generated by\r | |
00eef16d | 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
f82b7036 KO |
4 | # Do not modify, all changes will be overwritten!\r |
5 | # =========================================================================\r | |
6 | \r | |
7 | .autodepend\r | |
8 | \r | |
9 | !ifndef BCCDIR\r | |
10 | !ifndef MAKEDIR\r | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r | |
12 | !endif\r | |
13 | BCCDIR = $(MAKEDIR)\..\r | |
14 | !endif\r | |
15 | \r | |
16 | !include ../../build/msw/config.bcc\r | |
17 | \r | |
18 | # -------------------------------------------------------------------------\r | |
19 | # Do not modify the rest of this file!\r | |
20 | # -------------------------------------------------------------------------\r | |
21 | \r | |
22 | ### Variables: ###\r | |
23 | \r | |
24 | WX_RELEASE_NODOT = 29\r | |
14b682f7 | 25 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5 |
f82b7036 KO |
26 | COMPILER_PREFIX = bcc\r |
27 | OBJS = \\r | |
14b682f7 VZ |
28 | $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
29 | LIBDIRNAME = \ | |
30 | .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG) | |
f82b7036 KO |
31 | SETUPHDIR = \\r |
32 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
33 | RENDER_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r | |
34 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
00fb97de KO |
35 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r |
36 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
b796194b | 37 | $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r |
f82b7036 KO |
38 | $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples \\r |
39 | -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r | |
40 | RENDER_OBJECTS = \\r | |
41 | $(OBJS)\render_render.obj\r | |
42 | RENDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \\r | |
43 | $(__OPTIMIZEFLAG) $(__THREADSFLAG_0) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
00fb97de KO |
44 | $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \\r |
45 | $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \\r | |
b796194b | 46 | $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \\r |
f82b7036 KO |
47 | $(____CAIRO_INCLUDEDIR_FILENAMES) -DWXUSINGDLL $(CPPFLAGS) $(CXXFLAGS)\r |
48 | RENDDLL_OBJECTS = \\r | |
49 | $(OBJS)\renddll_renddll.obj\r | |
50 | \r | |
51 | ### Conditionally set variables: ###\r | |
52 | \r | |
53 | !if "$(USE_GUI)" == "0"\r | |
54 | PORTNAME = base\r | |
55 | !endif\r | |
56 | !if "$(USE_GUI)" == "1"\r | |
57 | PORTNAME = msw\r | |
58 | !endif\r | |
14b682f7 VZ |
59 | !if "$(OFFICIAL_BUILD)" == "1" |
60 | COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD | |
61 | !endif | |
62 | !if "$(OFFICIAL_BUILD)" == "0" | |
63 | WXCOMPILER = _bcc | |
64 | !endif | |
65 | !if "$(OFFICIAL_BUILD)" == "1" | |
66 | WXCOMPILER = _bcc$(COMPILER_VERSION) | |
67 | !endif | |
f82b7036 KO |
68 | !if "$(BUILD)" == "debug"\r |
69 | WXDEBUGFLAG = d\r | |
70 | !endif\r | |
71 | !if "$(UNICODE)" == "1"\r | |
72 | WXUNICODEFLAG = u\r | |
73 | !endif\r | |
74 | !if "$(WXUNIV)" == "1"\r | |
75 | WXUNIVNAME = univ\r | |
76 | !endif\r | |
77 | !if "$(SHARED)" == "1"\r | |
78 | WXDLLFLAG = dll\r | |
79 | !endif\r | |
80 | !if "$(SHARED)" == "0"\r | |
81 | LIBTYPE_SUFFIX = lib\r | |
82 | !endif\r | |
83 | !if "$(SHARED)" == "1"\r | |
84 | LIBTYPE_SUFFIX = dll\r | |
85 | !endif\r | |
86 | !if "$(MONOLITHIC)" == "0"\r | |
87 | EXTRALIBS_FOR_BASE = \r | |
88 | !endif\r | |
89 | !if "$(MONOLITHIC)" == "1"\r | |
51ec29ea | 90 | EXTRALIBS_FOR_BASE = \r |
f82b7036 KO |
91 | !endif\r |
92 | !if "$(WXUNIV)" == "1"\r | |
93 | __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__\r | |
94 | !endif\r | |
95 | !if "$(DEBUG_FLAG)" == "0"\r | |
96 | __DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0\r | |
97 | !endif\r | |
00fb97de KO |
98 | !if "$(BUILD)" == "release"\r |
99 | __NDEBUG_DEFINE_p_1 = -dNDEBUG\r | |
100 | !endif\r | |
f82b7036 KO |
101 | !if "$(USE_EXCEPTIONS)" == "0"\r |
102 | __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS\r | |
103 | !endif\r | |
104 | !if "$(USE_RTTI)" == "0"\r | |
105 | __RTTI_DEFINE_p_1 = -dwxNO_RTTI\r | |
106 | !endif\r | |
107 | !if "$(USE_THREADS)" == "0"\r | |
108 | __THREAD_DEFINE_p_1 = -dwxNO_THREADS\r | |
109 | !endif\r | |
110 | !if "$(UNICODE)" == "0"\r | |
111 | __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0\r | |
112 | !endif\r | |
113 | !if "$(UNICODE)" == "1"\r | |
114 | __UNICODE_DEFINE_p_1 = -d_UNICODE\r | |
115 | !endif\r | |
116 | !if "$(MSLU)" == "1"\r | |
117 | __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1\r | |
118 | !endif\r | |
f82b7036 KO |
119 | !if "$(USE_CAIRO)" == "1"\r |
120 | ____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo\r | |
121 | !endif\r | |
122 | !if "$(SHARED)" == "1"\r | |
123 | __DLLFLAG_p = -DWXUSINGDLL\r | |
124 | !endif\r | |
125 | !if "$(SHARED)" == "1"\r | |
126 | __DLLFLAG_p_1 = -dWXUSINGDLL\r | |
127 | !endif\r | |
128 | !if "$(SHARED)" == "1"\r | |
129 | __renddll___depname = \\r | |
14b682f7 | 130 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll |
f82b7036 KO |
131 | !endif\r |
132 | !if "$(BUILD)" == "debug"\r | |
133 | __OPTIMIZEFLAG = -Od\r | |
134 | !endif\r | |
135 | !if "$(BUILD)" == "release"\r | |
136 | __OPTIMIZEFLAG = -O2\r | |
137 | !endif\r | |
138 | !if "$(USE_THREADS)" == "0"\r | |
139 | __THREADSFLAG = \r | |
140 | !endif\r | |
141 | !if "$(USE_THREADS)" == "1"\r | |
142 | __THREADSFLAG = mt\r | |
143 | !endif\r | |
144 | !if "$(USE_THREADS)" == "0"\r | |
145 | __THREADSFLAG_0 = \r | |
146 | !endif\r | |
147 | !if "$(USE_THREADS)" == "1"\r | |
148 | __THREADSFLAG_0 = -tWM\r | |
149 | !endif\r | |
150 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
151 | __RUNTIME_LIBS = -tWR\r | |
152 | !endif\r | |
153 | !if "$(RUNTIME_LIBS)" == "static"\r | |
154 | __RUNTIME_LIBS = \r | |
155 | !endif\r | |
156 | !if "$(RUNTIME_LIBS)" == "dynamic"\r | |
157 | __RUNTIME_LIBS_0 = i\r | |
158 | !endif\r | |
159 | !if "$(RUNTIME_LIBS)" == "static"\r | |
160 | __RUNTIME_LIBS_0 = \r | |
161 | !endif\r | |
162 | !if "$(WXUNIV)" == "1"\r | |
163 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
164 | !endif\r | |
165 | !if "$(DEBUG_FLAG)" == "0"\r | |
166 | __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r | |
167 | !endif\r | |
00fb97de KO |
168 | !if "$(BUILD)" == "release"\r |
169 | __NDEBUG_DEFINE_p = -DNDEBUG\r | |
170 | !endif\r | |
f82b7036 KO |
171 | !if "$(USE_EXCEPTIONS)" == "0"\r |
172 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
173 | !endif\r | |
174 | !if "$(USE_RTTI)" == "0"\r | |
175 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
176 | !endif\r | |
177 | !if "$(USE_THREADS)" == "0"\r | |
178 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
179 | !endif\r | |
180 | !if "$(UNICODE)" == "0"\r | |
181 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
182 | !endif\r | |
183 | !if "$(UNICODE)" == "1"\r | |
184 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
185 | !endif\r | |
186 | !if "$(MSLU)" == "1"\r | |
187 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
188 | !endif\r | |
f82b7036 KO |
189 | !if "$(USE_CAIRO)" == "1"\r |
190 | ____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo\r | |
191 | !endif\r | |
192 | !if "$(MONOLITHIC)" == "0"\r | |
193 | __WXLIB_CORE_p = \\r | |
194 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r | |
195 | !endif\r | |
196 | !if "$(MONOLITHIC)" == "0"\r | |
197 | __WXLIB_BASE_p = \\r | |
198 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
199 | !endif\r | |
200 | !if "$(MONOLITHIC)" == "1"\r | |
201 | __WXLIB_MONO_p = \\r | |
202 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r | |
203 | !endif\r | |
204 | !if "$(USE_GUI)" == "1"\r | |
205 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r | |
206 | !endif\r | |
207 | !if "$(USE_GUI)" == "1"\r | |
208 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r | |
209 | !endif\r | |
210 | !if "$(USE_GUI)" == "1"\r | |
211 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r | |
212 | !endif\r | |
213 | !if "$(MSLU)" == "1"\r | |
214 | __UNICOWS_LIB_p = unicows.lib\r | |
215 | !endif\r | |
f82b7036 KO |
216 | !if "$(USE_CAIRO)" == "1"\r |
217 | __CAIRO_LIB_p = cairo.lib\r | |
218 | !endif\r | |
219 | !if "$(USE_CAIRO)" == "1"\r | |
220 | ____CAIRO_LIBDIR_FILENAMES = -L$(CAIRO_ROOT)\lib\r | |
221 | !endif\r | |
222 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r | |
223 | __DEBUGINFO = -v\r | |
224 | !endif\r | |
225 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r | |
226 | __DEBUGINFO = -v-\r | |
227 | !endif\r | |
228 | !if "$(DEBUG_INFO)" == "0"\r | |
229 | __DEBUGINFO = -v-\r | |
230 | !endif\r | |
231 | !if "$(DEBUG_INFO)" == "1"\r | |
232 | __DEBUGINFO = -v\r | |
233 | !endif\r | |
234 | \r | |
235 | \r | |
236 | all: $(OBJS)\r | |
237 | $(OBJS):\r | |
238 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
239 | \r | |
240 | ### Targets: ###\r | |
241 | \r | |
242 | all: $(OBJS)\render.exe $(__renddll___depname)\r | |
243 | \r | |
244 | clean: \r | |
245 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r | |
246 | -if exist $(OBJS)\*.res del $(OBJS)\*.res\r | |
247 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r | |
248 | -if exist $(OBJS)\render.exe del $(OBJS)\render.exe\r | |
249 | -if exist $(OBJS)\render.tds del $(OBJS)\render.tds\r | |
250 | -if exist $(OBJS)\render.ilc del $(OBJS)\render.ilc\r | |
251 | -if exist $(OBJS)\render.ild del $(OBJS)\render.ild\r | |
252 | -if exist $(OBJS)\render.ilf del $(OBJS)\render.ilf\r | |
253 | -if exist $(OBJS)\render.ils del $(OBJS)\render.ils\r | |
14b682f7 VZ |
254 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll |
255 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).tds del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).tds | |
256 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilc del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilc | |
257 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ild del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ild | |
258 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilf del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ilf | |
259 | -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ils del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).ils | |
f82b7036 KO |
260 | \r |
261 | $(OBJS)\render.exe: $(RENDER_OBJECTS) $(OBJS)\render_sample.res\r | |
262 | ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r | |
b796194b | 263 | c0w32.obj $(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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\render_sample.res\r |
f82b7036 KO |
264 | |\r |
265 | \r | |
266 | !if "$(SHARED)" == "1"\r | |
14b682f7 | 267 | $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_VERSION_NODOT)$(WXCOMPILER).dll: $(RENDDLL_OBJECTS) |
f82b7036 | 268 | ilink32 -Tpd -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&|\r |
b796194b | 269 | c0d32.obj $(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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,,\r |
f82b7036 KO |
270 | |\r |
271 | !endif\r | |
272 | \r | |
273 | $(OBJS)\render_sample.res: .\..\..\samples\sample.rc\r | |
b796194b | 274 | brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\..\samples\sample.rc\r |
f82b7036 KO |
275 | \r |
276 | $(OBJS)\render_render.obj: .\render.cpp\r | |
277 | $(CXX) -q -c -P -o$@ $(RENDER_CXXFLAGS) .\render.cpp\r | |
278 | \r | |
279 | $(OBJS)\renddll_renddll.obj: .\renddll.cpp\r | |
280 | $(CXX) -q -c -P -o$@ $(RENDDLL_CXXFLAGS) .\renddll.cpp\r | |
281 | \r |