]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/ogl/makefile.bcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / ogl / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 25
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
26 OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 OGLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL -Hu \
35 -H=$(OBJS)\wxprec_ogldll.csm $(CPPFLAGS) $(CXXFLAGS)
36 OGLDLL_OBJECTS = \
37 $(OBJS)\ogldll_dummy.obj \
38 $(OBJS)\ogldll_basic2.obj \
39 $(OBJS)\ogldll_canvas.obj \
40 $(OBJS)\ogldll_divided.obj \
41 $(OBJS)\ogldll_mfutils.obj \
42 $(OBJS)\ogldll_oglmisc.obj \
43 $(OBJS)\ogldll_basic.obj \
44 $(OBJS)\ogldll_composit.obj \
45 $(OBJS)\ogldll_drawn.obj \
46 $(OBJS)\ogldll_bmpshape.obj \
47 $(OBJS)\ogldll_constrnt.obj \
48 $(OBJS)\ogldll_lines.obj \
49 $(OBJS)\ogldll_ogldiag.obj
50 OGLLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
51 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
52 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
53 -I..\..\src\ogl\..\..\include -Hu -H=$(OBJS)\wxprec_ogllib.csm $(CPPFLAGS) \
54 $(CXXFLAGS)
55 OGLLIB_OBJECTS = \
56 $(OBJS)\ogllib_dummy.obj \
57 $(OBJS)\ogllib_basic2.obj \
58 $(OBJS)\ogllib_canvas.obj \
59 $(OBJS)\ogllib_divided.obj \
60 $(OBJS)\ogllib_mfutils.obj \
61 $(OBJS)\ogllib_oglmisc.obj \
62 $(OBJS)\ogllib_basic.obj \
63 $(OBJS)\ogllib_composit.obj \
64 $(OBJS)\ogllib_drawn.obj \
65 $(OBJS)\ogllib_bmpshape.obj \
66 $(OBJS)\ogllib_constrnt.obj \
67 $(OBJS)\ogllib_lines.obj \
68 $(OBJS)\ogllib_ogldiag.obj
69
70 ### Conditionally set variables: ###
71
72 !if "$(USE_GUI)" == "0"
73 PORTNAME = base
74 !endif
75 !if "$(USE_GUI)" == "1"
76 PORTNAME = msw
77 !endif
78 !if "$(OFFICIAL_BUILD)" == "0"
79 VENDORTAG = _$(VENDOR)
80 !endif
81 !if "$(OFFICIAL_BUILD)" == "1"
82 VENDORTAG =
83 !endif
84 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
85 WXDEBUGFLAG = d
86 !endif
87 !if "$(DEBUG_FLAG)" == "1"
88 WXDEBUGFLAG = d
89 !endif
90 !if "$(UNICODE)" == "1"
91 WXUNICODEFLAG = u
92 !endif
93 !if "$(WXUNIV)" == "1"
94 WXUNIVNAME = univ
95 !endif
96 !if "$(SHARED)" == "1"
97 WXDLLFLAG = dll
98 !endif
99 !if "$(SHARED)" == "0"
100 LIBTYPE_SUFFIX = lib
101 !endif
102 !if "$(SHARED)" == "1"
103 LIBTYPE_SUFFIX = dll
104 !endif
105 !if "$(MONOLITHIC)" == "0"
106 EXTRALIBS_FOR_BASE =
107 !endif
108 !if "$(MONOLITHIC)" == "1"
109 EXTRALIBS_FOR_BASE =
110 !endif
111 !if "$(SHARED)" == "1"
112 __ogldll___depname = \
113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
114 !endif
115 !if "$(RUNTIME_LIBS)" == "dynamic"
116 __RUNTIME_LIBS_8 = i
117 !endif
118 !if "$(RUNTIME_LIBS)" == "static"
119 __RUNTIME_LIBS_8 =
120 !endif
121 !if "$(MONOLITHIC)" == "1"
122 __WXLIB_MONO_p = \
123 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
124 !endif
125 !if "$(USE_GUI)" == "1"
126 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
127 !endif
128 !if "$(USE_GUI)" == "1"
129 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
130 !endif
131 !if "$(USE_GUI)" == "1"
132 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
133 !endif
134 !if "$(MSLU)" == "1"
135 __UNICOWS_LIB_p = unicows.lib
136 !endif
137 !if "$(MONOLITHIC)" == "0"
138 __WXLIB_CORE_p = \
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
140 !endif
141 !if "$(MONOLITHIC)" == "0"
142 __WXLIB_BASE_p = \
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
144 !endif
145 !if "$(SHARED)" == "0"
146 __ogllib___depname = \
147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
148 !endif
149 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
150 __DEBUGINFO = -v
151 !endif
152 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
153 __DEBUGINFO = -v-
154 !endif
155 !if "$(DEBUG_INFO)" == "0"
156 __DEBUGINFO = -v-
157 !endif
158 !if "$(DEBUG_INFO)" == "1"
159 __DEBUGINFO = -v
160 !endif
161 !if "$(BUILD)" == "debug"
162 __OPTIMIZEFLAG = -Od
163 !endif
164 !if "$(BUILD)" == "release"
165 __OPTIMIZEFLAG = -O2
166 !endif
167 !if "$(RUNTIME_LIBS)" == "dynamic"
168 __RUNTIME_LIBS = -tWR
169 !endif
170 !if "$(RUNTIME_LIBS)" == "static"
171 __RUNTIME_LIBS =
172 !endif
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
175 !endif
176 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
177 __DEBUG_DEFINE_p = -D__WXDEBUG__
178 !endif
179 !if "$(DEBUG_FLAG)" == "1"
180 __DEBUG_DEFINE_p = -D__WXDEBUG__
181 !endif
182 !if "$(UNICODE)" == "1"
183 __UNICODE_DEFINE_p = -D_UNICODE
184 !endif
185
186
187 all: $(OBJS)
188 $(OBJS):
189 -if not exist $(OBJS) mkdir $(OBJS)
190
191 ### Targets: ###
192
193 all: $(__ogldll___depname) $(__ogllib___depname)
194
195 clean:
196 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
197 -if exist $(OBJS)\*.res del $(OBJS)\*.res
198 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
199 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
200 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).tds
201 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilc
202 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ild
203 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilf
204 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ils
205 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
206 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
207
208 !if "$(SHARED)" == "1"
209 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
210 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
211 c0d32.obj $(OGLDLL_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
212 |
213 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
214 !endif
215
216 !if "$(SHARED)" == "0"
217 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
218 if exist $@ del $@
219 tlib /a /p4096 $@ @&&|
220 $(OGLLIB_OBJECTS)
221 |
222 !endif
223
224 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
225 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
226
227 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
228 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
229
230 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
231 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
232
233 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
234 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
235
236 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
237 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
238
239 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
240 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
241
242 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
243 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
244
245 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
246 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
247
248 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
249 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
250
251 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
252 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
253
254 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
255 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
256
257 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
258 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
259
260 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
261 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
262
263 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
264 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
265
266 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
267 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
268
269 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
270 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
271
272 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
273 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
274
275 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
276 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
277
278 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
279 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
280
281 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
282 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
283
284 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
285 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
286
287 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
288 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
289
290 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
291 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
292
293 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
294 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
295
296 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
297 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
298
299 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
300 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
301