1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 OGLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL -Hu \
37 -H=$(OBJS)\wxprec_ogldll.csm $(CPPFLAGS) $(CXXFLAGS)
39 $(OBJS)\ogldll_dummy.obj \
40 $(OBJS)\ogldll_basic2.obj \
41 $(OBJS)\ogldll_canvas.obj \
42 $(OBJS)\ogldll_divided.obj \
43 $(OBJS)\ogldll_mfutils.obj \
44 $(OBJS)\ogldll_oglmisc.obj \
45 $(OBJS)\ogldll_basic.obj \
46 $(OBJS)\ogldll_composit.obj \
47 $(OBJS)\ogldll_drawn.obj \
48 $(OBJS)\ogldll_bmpshape.obj \
49 $(OBJS)\ogldll_constrnt.obj \
50 $(OBJS)\ogldll_lines.obj \
51 $(OBJS)\ogldll_ogldiag.obj
52 OGLLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
53 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
54 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
55 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
56 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
57 -I..\..\src\ogl\..\..\include -Hu -H=$(OBJS)\wxprec_ogllib.csm $(CPPFLAGS) \
60 $(OBJS)\ogllib_dummy.obj \
61 $(OBJS)\ogllib_basic2.obj \
62 $(OBJS)\ogllib_canvas.obj \
63 $(OBJS)\ogllib_divided.obj \
64 $(OBJS)\ogllib_mfutils.obj \
65 $(OBJS)\ogllib_oglmisc.obj \
66 $(OBJS)\ogllib_basic.obj \
67 $(OBJS)\ogllib_composit.obj \
68 $(OBJS)\ogllib_drawn.obj \
69 $(OBJS)\ogllib_bmpshape.obj \
70 $(OBJS)\ogllib_constrnt.obj \
71 $(OBJS)\ogllib_lines.obj \
72 $(OBJS)\ogllib_ogldiag.obj
74 ### Conditionally set variables: ###
76 !if "$(USE_GUI)" == "0"
79 !if "$(USE_GUI)" == "1"
82 !if "$(OFFICIAL_BUILD)" == "0"
83 VENDORTAG = _$(VENDOR)
85 !if "$(OFFICIAL_BUILD)" == "1"
88 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
91 !if "$(DEBUG_FLAG)" == "1"
94 !if "$(UNICODE)" == "1"
97 !if "$(WXUNIV)" == "1"
100 !if "$(SHARED)" == "1"
103 !if "$(SHARED)" == "0"
106 !if "$(SHARED)" == "1"
109 !if "$(MONOLITHIC)" == "0"
112 !if "$(MONOLITHIC)" == "1"
115 !if "$(SHARED)" == "1"
116 __ogldll___depname = \
117 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
119 !if "$(USE_THREADS)" == "0"
122 !if "$(USE_THREADS)" == "1"
125 !if "$(RUNTIME_LIBS)" == "dynamic"
128 !if "$(RUNTIME_LIBS)" == "static"
131 !if "$(WXUNIV)" == "1"
132 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
134 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
135 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
137 !if "$(DEBUG_FLAG)" == "1"
138 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
140 !if "$(USE_EXCEPTIONS)" == "0"
141 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
143 !if "$(USE_RTTI)" == "0"
144 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
146 !if "$(USE_THREADS)" == "0"
147 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p_1 = -d_UNICODE
152 !if "$(MONOLITHIC)" == "1"
154 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
156 !if "$(USE_GUI)" == "1"
157 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
159 !if "$(USE_GUI)" == "1"
160 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
166 __UNICOWS_LIB_p = unicows.lib
168 !if "$(MONOLITHIC)" == "0"
170 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
172 !if "$(MONOLITHIC)" == "0"
174 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
176 !if "$(SHARED)" == "0"
177 __ogllib___depname = \
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
180 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
183 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
186 !if "$(DEBUG_INFO)" == "0"
189 !if "$(DEBUG_INFO)" == "1"
192 !if "$(BUILD)" == "debug"
195 !if "$(BUILD)" == "release"
198 !if "$(USE_THREADS)" == "0"
201 !if "$(USE_THREADS)" == "1"
204 !if "$(RUNTIME_LIBS)" == "dynamic"
205 __RUNTIME_LIBS = -tWR
207 !if "$(RUNTIME_LIBS)" == "static"
210 !if "$(WXUNIV)" == "1"
211 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
213 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
214 __DEBUG_DEFINE_p = -D__WXDEBUG__
216 !if "$(DEBUG_FLAG)" == "1"
217 __DEBUG_DEFINE_p = -D__WXDEBUG__
219 !if "$(USE_EXCEPTIONS)" == "0"
220 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
222 !if "$(USE_RTTI)" == "0"
223 __RTTI_DEFINE_p = -DwxNO_RTTI
225 !if "$(USE_THREADS)" == "0"
226 __THREAD_DEFINE_p = -DwxNO_THREADS
228 !if "$(UNICODE)" == "1"
229 __UNICODE_DEFINE_p = -D_UNICODE
235 -if not exist $(OBJS) mkdir $(OBJS)
239 all: $(__ogldll___depname) $(__ogllib___depname)
242 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
243 -if exist $(OBJS)\*.res del $(OBJS)\*.res
244 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
245 -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
246 -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
247 -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
248 -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
249 -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
250 -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
251 -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
252 -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
254 !if "$(SHARED)" == "1"
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS) $(OBJS)\ogldll_version.res
256 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
257 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 cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\ogldll_version.res
259 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
262 !if "$(SHARED)" == "0"
263 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
265 tlib /a /p4096 $@ @&&|
270 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
271 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
273 $(OBJS)\ogldll_version.res: ../../src/ogl\src\msw\version.rc
274 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -i..\..\src\ogl\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG) $**
276 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
277 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
279 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
280 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
282 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
283 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
285 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
286 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
288 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
289 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
291 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
292 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
294 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
295 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
297 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
298 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
300 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
301 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
303 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
304 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
307 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
309 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
310 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
312 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
313 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
315 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
316 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
318 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
319 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
321 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
322 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
324 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
325 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
327 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
328 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
330 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
331 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
333 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
334 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
336 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
337 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
339 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
340 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
342 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
343 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
345 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
346 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
348 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
349 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**