1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 OGLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
35 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL -Hu \
36 -H=$(OBJS)\wxprec_ogldll.csm $(CPPFLAGS) $(CXXFLAGS)
38 $(OBJS)\ogldll_dummy.obj \
39 $(OBJS)\ogldll_basic2.obj \
40 $(OBJS)\ogldll_canvas.obj \
41 $(OBJS)\ogldll_divided.obj \
42 $(OBJS)\ogldll_mfutils.obj \
43 $(OBJS)\ogldll_oglmisc.obj \
44 $(OBJS)\ogldll_basic.obj \
45 $(OBJS)\ogldll_composit.obj \
46 $(OBJS)\ogldll_drawn.obj \
47 $(OBJS)\ogldll_bmpshape.obj \
48 $(OBJS)\ogldll_constrnt.obj \
49 $(OBJS)\ogldll_lines.obj \
50 $(OBJS)\ogldll_ogldiag.obj
51 OGLLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
52 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
53 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
54 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
55 -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
56 -I..\..\src\ogl\..\..\include -Hu -H=$(OBJS)\wxprec_ogllib.csm $(CPPFLAGS) \
59 $(OBJS)\ogllib_dummy.obj \
60 $(OBJS)\ogllib_basic2.obj \
61 $(OBJS)\ogllib_canvas.obj \
62 $(OBJS)\ogllib_divided.obj \
63 $(OBJS)\ogllib_mfutils.obj \
64 $(OBJS)\ogllib_oglmisc.obj \
65 $(OBJS)\ogllib_basic.obj \
66 $(OBJS)\ogllib_composit.obj \
67 $(OBJS)\ogllib_drawn.obj \
68 $(OBJS)\ogllib_bmpshape.obj \
69 $(OBJS)\ogllib_constrnt.obj \
70 $(OBJS)\ogllib_lines.obj \
71 $(OBJS)\ogllib_ogldiag.obj
73 ### Conditionally set variables: ###
75 !if "$(USE_GUI)" == "0"
78 !if "$(USE_GUI)" == "1"
81 !if "$(OFFICIAL_BUILD)" == "0"
82 VENDORTAG = _$(VENDOR)
84 !if "$(OFFICIAL_BUILD)" == "1"
87 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
90 !if "$(DEBUG_FLAG)" == "1"
93 !if "$(UNICODE)" == "1"
96 !if "$(WXUNIV)" == "1"
99 !if "$(SHARED)" == "1"
102 !if "$(SHARED)" == "0"
105 !if "$(SHARED)" == "1"
108 !if "$(MONOLITHIC)" == "0"
111 !if "$(MONOLITHIC)" == "1"
114 !if "$(SHARED)" == "1"
115 __ogldll___depname = \
116 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
118 !if "$(USE_THREADS)" == "0"
121 !if "$(USE_THREADS)" == "1"
124 !if "$(RUNTIME_LIBS)" == "dynamic"
127 !if "$(RUNTIME_LIBS)" == "static"
130 !if "$(WXUNIV)" == "1"
131 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
133 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
134 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
136 !if "$(DEBUG_FLAG)" == "1"
137 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
139 !if "$(USE_EXCEPTIONS)" == "0"
140 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
142 !if "$(USE_RTTI)" == "0"
143 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
145 !if "$(USE_THREADS)" == "0"
146 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p_1 = -d_UNICODE
152 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
154 !if "$(MONOLITHIC)" == "1"
156 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
158 !if "$(USE_GUI)" == "1"
159 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
161 !if "$(USE_GUI)" == "1"
162 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
164 !if "$(USE_GUI)" == "1"
165 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
168 __UNICOWS_LIB_p = unicows.lib
170 !if "$(MONOLITHIC)" == "0"
172 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
174 !if "$(MONOLITHIC)" == "0"
176 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
178 !if "$(SHARED)" == "0"
179 __ogllib___depname = \
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
182 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
188 !if "$(DEBUG_INFO)" == "0"
191 !if "$(DEBUG_INFO)" == "1"
194 !if "$(BUILD)" == "debug"
197 !if "$(BUILD)" == "release"
200 !if "$(USE_THREADS)" == "0"
203 !if "$(USE_THREADS)" == "1"
206 !if "$(RUNTIME_LIBS)" == "dynamic"
207 __RUNTIME_LIBS = -tWR
209 !if "$(RUNTIME_LIBS)" == "static"
212 !if "$(WXUNIV)" == "1"
213 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
215 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
216 __DEBUG_DEFINE_p = -D__WXDEBUG__
218 !if "$(DEBUG_FLAG)" == "1"
219 __DEBUG_DEFINE_p = -D__WXDEBUG__
221 !if "$(USE_EXCEPTIONS)" == "0"
222 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
224 !if "$(USE_RTTI)" == "0"
225 __RTTI_DEFINE_p = -DwxNO_RTTI
227 !if "$(USE_THREADS)" == "0"
228 __THREAD_DEFINE_p = -DwxNO_THREADS
230 !if "$(UNICODE)" == "1"
231 __UNICODE_DEFINE_p = -D_UNICODE
234 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
240 -if not exist $(OBJS) mkdir $(OBJS)
244 all: $(__ogldll___depname) $(__ogllib___depname)
247 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
248 -if exist $(OBJS)\*.res del $(OBJS)\*.res
249 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).tds
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilc
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ild
254 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ilf
255 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).ils
256 -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
257 -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
259 !if "$(SHARED)" == "1"
260 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS) $(OBJS)\ogldll_version.res
261 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
262 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
264 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
267 !if "$(SHARED)" == "0"
268 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
270 tlib /a /p4096 $@ @&&|
275 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
276 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
278 $(OBJS)\ogldll_version.res: ../../src/ogl\..\..\..\src\msw\version.rc
279 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) $(__MSLU_DEFINE_p_1) -i..\..\src\ogl\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG) $**
281 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
282 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
284 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
285 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
287 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
288 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
290 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
291 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
293 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
294 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
296 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
297 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
299 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
300 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
302 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
303 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
305 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
306 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
308 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
309 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
311 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
312 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
314 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
315 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
317 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
318 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
320 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
321 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
323 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
324 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
326 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
327 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
329 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
330 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
332 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
333 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
335 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
336 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
338 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
339 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
341 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
342 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
344 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
345 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
347 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
348 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
350 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
351 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
353 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
354 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**