]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/ogl/makefile.bcc
Faster Deselect
[wxWidgets.git] / contrib / build / ogl / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
250700e4 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
250700e4
RD
13BCCDIR = $(MAKEDIR)\..
14!endif
15
fd9f42b6 16!include ../../../build/msw/config.bcc
250700e4
RD
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
250700e4
RD
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
ab921f5f 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
250700e4
RD
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b17c1746
DE
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
30OGLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\ogl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_OGL -Hu \
34 -H=$(OBJS)\wxprec_ogldll.csm $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
35OGLDLL_OBJECTS = \
36 $(OBJS)\ogldll_dummy.obj \
37 $(OBJS)\ogldll_basic2.obj \
38 $(OBJS)\ogldll_canvas.obj \
39 $(OBJS)\ogldll_divided.obj \
40 $(OBJS)\ogldll_mfutils.obj \
41 $(OBJS)\ogldll_oglmisc.obj \
42 $(OBJS)\ogldll_basic.obj \
43 $(OBJS)\ogldll_composit.obj \
44 $(OBJS)\ogldll_drawn.obj \
45 $(OBJS)\ogldll_bmpshape.obj \
46 $(OBJS)\ogldll_constrnt.obj \
47 $(OBJS)\ogldll_lines.obj \
48 $(OBJS)\ogldll_ogldiag.obj
9bfe7ad9
VS
49OGLLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
50 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
51 $(__UNICODE_DEFINE_p) -I..\..\src\ogl\..\..\..\include -I$(SETUPHDIR) \
52 -I..\..\src\ogl\..\..\include -Hu -H=$(OBJS)\wxprec_ogllib.csm $(CPPFLAGS) \
53 $(CXXFLAGS)
3f55f5b8
VS
54OGLLIB_OBJECTS = \
55 $(OBJS)\ogllib_dummy.obj \
56 $(OBJS)\ogllib_basic2.obj \
57 $(OBJS)\ogllib_canvas.obj \
58 $(OBJS)\ogllib_divided.obj \
59 $(OBJS)\ogllib_mfutils.obj \
60 $(OBJS)\ogllib_oglmisc.obj \
61 $(OBJS)\ogllib_basic.obj \
62 $(OBJS)\ogllib_composit.obj \
63 $(OBJS)\ogllib_drawn.obj \
64 $(OBJS)\ogllib_bmpshape.obj \
65 $(OBJS)\ogllib_constrnt.obj \
66 $(OBJS)\ogllib_lines.obj \
67 $(OBJS)\ogllib_ogldiag.obj
250700e4
RD
68
69### Conditionally set variables: ###
70
71!if "$(USE_GUI)" == "0"
72PORTNAME = base
73!endif
74!if "$(USE_GUI)" == "1"
75PORTNAME = msw
76!endif
77!if "$(OFFICIAL_BUILD)" == "0"
78VENDORTAG = _$(VENDOR)
79!endif
80!if "$(OFFICIAL_BUILD)" == "1"
81VENDORTAG =
82!endif
3f55f5b8
VS
83!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
84WXDEBUGFLAG = d
85!endif
86!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
87WXDEBUGFLAG = d
88!endif
250700e4
RD
89!if "$(UNICODE)" == "1"
90WXUNICODEFLAG = u
91!endif
92!if "$(WXUNIV)" == "1"
93WXUNIVNAME = univ
94!endif
b17c1746
DE
95!if "$(SHARED)" == "1"
96WXDLLFLAG = dll
250700e4 97!endif
dd65d8c8
RN
98!if "$(MONOLITHIC)" == "0"
99EXTRALIBS_FOR_BASE =
100!endif
101!if "$(MONOLITHIC)" == "1"
102EXTRALIBS_FOR_BASE =
103!endif
b17c1746
DE
104!if "$(SHARED)" == "1"
105__ogldll___depname = \
c33fae85 106 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
250700e4 107!endif
b17c1746 108!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 109__RUNTIME_LIBS_8 = i
3f55f5b8 110!endif
b17c1746 111!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 112__RUNTIME_LIBS_8 =
3f55f5b8 113!endif
b17c1746
DE
114!if "$(MONOLITHIC)" == "1"
115__WXLIB_MONO_p = \
c33fae85 116 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250700e4 117!endif
b17c1746 118!if "$(USE_GUI)" == "1"
9c2d002b 119__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
3f55f5b8
VS
120!endif
121!if "$(USE_GUI)" == "1"
9c2d002b 122__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
123!endif
124!if "$(USE_GUI)" == "1"
9c2d002b 125__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 126!endif
b17c1746
DE
127!if "$(MSLU)" == "1"
128__UNICOWS_LIB_p = unicows.lib
129!endif
130!if "$(MONOLITHIC)" == "0"
131__WXLIB_CORE_p = \
c33fae85 132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
133!endif
134!if "$(MONOLITHIC)" == "0"
c33fae85
RN
135__WXLIB_BASE_p = \
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
137!endif
138!if "$(SHARED)" == "0"
139__ogllib___depname = \
c33fae85 140 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
b17c1746
DE
141!endif
142!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
143__DEBUGINFO = -v
144!endif
145!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
146__DEBUGINFO = -v-
147!endif
148!if "$(DEBUG_INFO)" == "0"
149__DEBUGINFO = -v-
150!endif
151!if "$(DEBUG_INFO)" == "1"
152__DEBUGINFO = -v
3f55f5b8 153!endif
250700e4
RD
154!if "$(BUILD)" == "debug"
155__OPTIMIZEFLAG = -Od
156!endif
157!if "$(BUILD)" == "release"
158__OPTIMIZEFLAG = -O2
159!endif
160!if "$(RUNTIME_LIBS)" == "dynamic"
161__RUNTIME_LIBS = -tWR
162!endif
163!if "$(RUNTIME_LIBS)" == "static"
164__RUNTIME_LIBS =
165!endif
b17c1746
DE
166!if "$(WXUNIV)" == "1"
167__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
250700e4 168!endif
b17c1746
DE
169!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
170__DEBUG_DEFINE_p = -D__WXDEBUG__
171!endif
172!if "$(DEBUG_FLAG)" == "1"
173__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
174!endif
175!if "$(UNICODE)" == "1"
ec08d395 176__UNICODE_DEFINE_p = -D_UNICODE
250700e4 177!endif
b17c1746
DE
178!if "$(SHARED)" == "0"
179LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_lib$(CFG)
250700e4
RD
180!endif
181!if "$(SHARED)" == "1"
b17c1746 182LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_dll$(CFG)
250700e4
RD
183!endif
184
185
186all: $(OBJS)
187$(OBJS):
188 -if not exist $(OBJS) mkdir $(OBJS)
189
190### Targets: ###
191
192all: $(__ogldll___depname) $(__ogllib___depname)
193
b17c1746
DE
194clean:
195 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
196 -if exist $(OBJS)\*.res del $(OBJS)\*.res
c33fae85
RN
197 -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
198 -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
199 -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
200 -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
201 -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
202 -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
203 -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
204 -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
b17c1746
DE
205
206!if "$(SHARED)" == "1"
c33fae85 207$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
b17c1746 208 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 209 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,,
b17c1746 210|
c33fae85 211 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
b17c1746
DE
212!endif
213
214!if "$(SHARED)" == "0"
c33fae85 215$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
b17c1746
DE
216 if exist $@ del $@
217 tlib /a /p4096 $@ @&&|
218 $(OGLLIB_OBJECTS)
219|
220!endif
221
222$(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
223 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
250700e4
RD
224
225$(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
226 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
227
b17c1746 228$(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
250700e4
RD
229 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
230
b17c1746 231$(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
250700e4
RD
232 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
233
b17c1746 234$(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
250700e4
RD
235 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
236
b17c1746 237$(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
250700e4
RD
238 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
239
b17c1746
DE
240$(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
241 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
242
243$(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
250700e4
RD
244 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
245
246$(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
247 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
248
b17c1746
DE
249$(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
250 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
250700e4 251
b17c1746 252$(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
250700e4
RD
253 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
254
b17c1746 255$(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
250700e4
RD
256 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
257
258$(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
259 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
260
b17c1746
DE
261$(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
262 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
250700e4 263
b17c1746 264$(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
250700e4
RD
265 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
266
b17c1746 267$(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
250700e4
RD
268 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
269
b17c1746 270$(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
250700e4
RD
271 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
272
b17c1746 273$(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
250700e4
RD
274 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
275
b17c1746 276$(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
250700e4
RD
277 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
278
b17c1746 279$(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
250700e4
RD
280 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
281
b17c1746 282$(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
250700e4
RD
283 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
284
285$(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
286 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
287
b17c1746 288$(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
250700e4
RD
289 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
290
b17c1746 291$(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
250700e4
RD
292 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
293
b17c1746 294$(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
250700e4
RD
295 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
296
b17c1746 297$(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
250700e4 298 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**