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 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
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) $(__MSLU_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) $(__MSLU_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
153 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
155 !if "$(MONOLITHIC)" == "1"
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
159 !if "$(USE_GUI)" == "1"
160 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
169 __UNICOWS_LIB_p = unicows.lib
171 !if "$(MONOLITHIC)" == "0"
173 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
175 !if "$(MONOLITHIC)" == "0"
177 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
179 !if "$(SHARED)" == "0"
180 __ogllib___depname = \
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
183 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
186 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
189 !if "$(DEBUG_INFO)" == "0"
192 !if "$(DEBUG_INFO)" == "1"
195 !if "$(BUILD)" == "debug"
198 !if "$(BUILD)" == "release"
201 !if "$(USE_THREADS)" == "0"
204 !if "$(USE_THREADS)" == "1"
207 !if "$(RUNTIME_LIBS)" == "dynamic"
208 __RUNTIME_LIBS = -tWR
210 !if "$(RUNTIME_LIBS)" == "static"
213 !if "$(WXUNIV)" == "1"
214 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
216 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
217 __DEBUG_DEFINE_p = -D__WXDEBUG__
219 !if "$(DEBUG_FLAG)" == "1"
220 __DEBUG_DEFINE_p = -D__WXDEBUG__
222 !if "$(USE_EXCEPTIONS)" == "0"
223 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
225 !if "$(USE_RTTI)" == "0"
226 __RTTI_DEFINE_p = -DwxNO_RTTI
228 !if "$(USE_THREADS)" == "0"
229 __THREAD_DEFINE_p = -DwxNO_THREADS
231 !if "$(UNICODE)" == "1"
232 __UNICODE_DEFINE_p = -D_UNICODE
235 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
241 -if not exist $(OBJS) mkdir $(OBJS)
245 all: $(__ogldll___depname) $(__ogllib___depname)
248 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
249 -if exist $(OBJS)\*.res del $(OBJS)\*.res
250 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
251 -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
252 -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
253 -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
254 -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
255 -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
256 -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
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
258 -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
260 !if "$(SHARED)" == "1"
261 $(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
262 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
263 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
265 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
268 !if "$(SHARED)" == "0"
269 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
271 tlib /a /p4096 $@ @&&|
276 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
277 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
279 $(OBJS)\ogldll_version.res: ../../src/ogl\..\..\..\src\msw\version.rc
280 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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG) $**
282 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
283 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
285 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
286 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
288 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
289 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
291 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
292 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
294 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
295 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
297 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
298 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
300 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
301 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
303 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
304 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
306 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
307 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
309 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
310 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
312 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
313 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
315 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
316 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
318 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
319 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
321 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
322 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
324 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
325 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
327 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
328 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
330 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
331 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
333 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
334 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
336 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
337 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
339 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
340 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
342 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
343 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
345 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
346 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
348 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
349 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
351 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
352 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
354 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
355 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**