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 # =========================================================================
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)4
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) -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)
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) \
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
70 ### Conditionally set variables: ###
72 !if "$(USE_GUI)" == "0"
75 !if "$(USE_GUI)" == "1"
78 !if "$(OFFICIAL_BUILD)" == "0"
79 VENDORTAG = _$(VENDOR)
81 !if "$(OFFICIAL_BUILD)" == "1"
84 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 !if "$(DEBUG_FLAG)" == "1"
90 !if "$(UNICODE)" == "1"
93 !if "$(WXUNIV)" == "1"
96 !if "$(SHARED)" == "1"
99 !if "$(SHARED)" == "0"
102 !if "$(SHARED)" == "1"
105 !if "$(MONOLITHIC)" == "0"
108 !if "$(MONOLITHIC)" == "1"
111 !if "$(SHARED)" == "1"
112 __ogldll___depname = \
113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
115 !if "$(RUNTIME_LIBS)" == "dynamic"
118 !if "$(RUNTIME_LIBS)" == "static"
121 !if "$(MONOLITHIC)" == "1"
123 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
125 !if "$(USE_GUI)" == "1"
126 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
131 !if "$(USE_GUI)" == "1"
132 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
135 __UNICOWS_LIB_p = unicows.lib
137 !if "$(MONOLITHIC)" == "0"
139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
141 !if "$(MONOLITHIC)" == "0"
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
145 !if "$(SHARED)" == "0"
146 __ogllib___depname = \
147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
149 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
152 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
155 !if "$(DEBUG_INFO)" == "0"
158 !if "$(DEBUG_INFO)" == "1"
161 !if "$(BUILD)" == "debug"
164 !if "$(BUILD)" == "release"
167 !if "$(RUNTIME_LIBS)" == "dynamic"
168 __RUNTIME_LIBS = -tWR
170 !if "$(RUNTIME_LIBS)" == "static"
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
177 __DEBUG_DEFINE_p = -D__WXDEBUG__
179 !if "$(DEBUG_FLAG)" == "1"
180 __DEBUG_DEFINE_p = -D__WXDEBUG__
182 !if "$(UNICODE)" == "1"
183 __UNICODE_DEFINE_p = -D_UNICODE
189 -if not exist $(OBJS) mkdir $(OBJS)
193 all: $(__ogldll___depname) $(__ogllib___depname)
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
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,,
213 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
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)
219 tlib /a /p4096 $@ @&&|
224 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
225 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
227 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
228 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
230 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
231 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
233 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
234 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
236 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
237 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
239 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
240 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
242 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
243 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
245 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
246 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
248 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
249 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
251 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
252 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
254 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
255 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
257 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
258 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
260 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
261 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
263 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
264 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
266 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
267 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
269 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
270 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
272 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
273 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
275 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
276 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
278 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
279 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
281 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
282 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
284 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
285 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
287 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
288 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
290 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
291 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
293 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
294 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
296 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
297 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
299 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
300 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**