1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !include ../../../build/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 OGLDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
26 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include \
28 -I..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \
29 -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg \
30 -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib \
31 -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\..\src\expat\lib \
32 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL \
33 -DwxUSE_DEPRECATED=0 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_ogldll.csm
34 OGLLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
35 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include \
37 -I..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \
38 -I..\..\src\ogl\..\..\..\src\tiff -I..\..\src\ogl\..\..\..\src\jpeg \
39 -I..\..\src\ogl\..\..\..\src\png -I..\..\src\ogl\..\..\..\src\zlib \
40 -I..\..\src\ogl\..\..\..\src\regex -I..\..\src\ogl\..\..\..\src\expat\lib \
41 -I..\..\src\ogl\..\..\include $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_ogllib.csm
43 ### Conditionally set variables: ###
45 !if "$(USE_GUI)" == "0"
48 !if "$(USE_GUI)" == "1"
51 !if "$(OFFICIAL_BUILD)" == "0"
52 VENDORTAG = _$(VENDOR)
54 !if "$(OFFICIAL_BUILD)" == "1"
57 !if "$(BUILD)" == "debug"
60 !if "$(SHARED)" == "1"
63 !if "$(UNICODE)" == "1"
66 !if "$(WXUNIV)" == "1"
69 !if "$(BUILD)" == "debug"
72 !if "$(BUILD)" == "release"
75 !if "$(BUILD)" == "debug"
76 __DEBUG_DEFINE_p = -D__WXDEBUG__
78 !if "$(BUILD)" == "debug"
81 !if "$(BUILD)" == "release"
84 !if "$(RUNTIME_LIBS)" == "dynamic"
87 !if "$(RUNTIME_LIBS)" == "static"
90 !if "$(RUNTIME_LIBS)" == "dynamic"
93 !if "$(RUNTIME_LIBS)" == "static"
96 !if "$(UNICODE)" == "1"
97 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
99 !if "$(MONOLITHIC)" == "0"
100 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
102 !if "$(MONOLITHIC)" == "0"
104 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
106 !if "$(MONOLITHIC)" == "1"
108 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
110 !if "$(WXUNIV)" == "1"
111 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
113 !if "$(SHARED)" == "1"
114 __ogldll___depname = \
115 ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll
117 !if "$(SHARED)" == "0"
118 __ogllib___depname = \
119 ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
125 -if not exist $(OBJS) mkdir $(OBJS)
129 all: $(__ogldll___depname) $(__ogllib___depname)
131 $(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
132 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
134 $(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
135 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
137 $(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
138 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
140 $(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
141 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
143 $(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
144 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
146 $(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
147 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
149 $(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
150 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
152 $(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
153 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
155 $(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
156 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
158 $(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
159 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
161 $(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
162 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
164 $(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
165 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
167 $(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
168 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
170 $(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
171 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
173 $(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
174 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
176 $(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
177 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
179 $(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
180 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
182 $(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
183 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
185 $(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
186 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
188 $(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
189 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
191 $(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
192 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
194 $(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
195 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
197 $(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
198 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
200 $(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
201 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
203 $(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
204 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
206 $(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
207 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
210 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
211 -if exist $(OBJS)\*.res del $(OBJS)\*.res
212 -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll
213 -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
214 -if exist ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib del ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib
216 !if "$(SHARED)" == "1"
217 ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj
218 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGFLAG) -L..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) @&&|
219 c0d32.obj $(OBJS)\ogldll_dummy.obj $(OBJS)\ogldll_basic2.obj $(OBJS)\ogldll_canvas.obj $(OBJS)\ogldll_divided.obj $(OBJS)\ogldll_mfutils.obj $(OBJS)\ogldll_oglmisc.obj $(OBJS)\ogldll_basic.obj $(OBJS)\ogldll_composit.obj $(OBJS)\ogldll_drawn.obj $(OBJS)\ogldll_bmpshape.obj $(OBJS)\ogldll_constrnt.obj $(OBJS)\ogldll_lines.obj $(OBJS)\ogldll_ogldiag.obj,$@,, $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) cw32mt$(__RUNTIME_LIBS_7).lib,,
221 implib -f ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl $@
224 !if "$(SHARED)" == "0"
225 ..\..\src\ogl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj
227 tlib /a /p2048 $@ @&&|
228 $(OBJS)\ogllib_dummy.obj $(OBJS)\ogllib_basic2.obj $(OBJS)\ogllib_canvas.obj $(OBJS)\ogllib_divided.obj $(OBJS)\ogllib_mfutils.obj $(OBJS)\ogllib_oglmisc.obj $(OBJS)\ogllib_basic.obj $(OBJS)\ogllib_composit.obj $(OBJS)\ogllib_drawn.obj $(OBJS)\ogllib_bmpshape.obj $(OBJS)\ogllib_constrnt.obj $(OBJS)\ogllib_lines.obj $(OBJS)\ogllib_ogldiag.obj