]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/ogl/makefile.bcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / ogl / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (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
b14abf14 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
250700e4
RD
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
31OGLDLL_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)
3f55f5b8
VS
36OGLDLL_OBJECTS = \
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
9bfe7ad9
VS
50OGLLIB_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) \
54 $(CXXFLAGS)
3f55f5b8
VS
55OGLLIB_OBJECTS = \
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
250700e4
RD
69
70### Conditionally set variables: ###
71
72!if "$(USE_GUI)" == "0"
73PORTNAME = base
74!endif
75!if "$(USE_GUI)" == "1"
76PORTNAME = msw
77!endif
78!if "$(OFFICIAL_BUILD)" == "0"
79VENDORTAG = _$(VENDOR)
80!endif
81!if "$(OFFICIAL_BUILD)" == "1"
82VENDORTAG =
83!endif
3f55f5b8
VS
84!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
85WXDEBUGFLAG = d
86!endif
87!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
88WXDEBUGFLAG = d
89!endif
250700e4
RD
90!if "$(UNICODE)" == "1"
91WXUNICODEFLAG = u
92!endif
93!if "$(WXUNIV)" == "1"
94WXUNIVNAME = univ
95!endif
b17c1746
DE
96!if "$(SHARED)" == "1"
97WXDLLFLAG = dll
250700e4 98!endif
b14abf14
JS
99!if "$(SHARED)" == "0"
100LIBTYPE_SUFFIX = lib
101!endif
102!if "$(SHARED)" == "1"
103LIBTYPE_SUFFIX = dll
104!endif
dd65d8c8
RN
105!if "$(MONOLITHIC)" == "0"
106EXTRALIBS_FOR_BASE =
107!endif
108!if "$(MONOLITHIC)" == "1"
109EXTRALIBS_FOR_BASE =
110!endif
b17c1746
DE
111!if "$(SHARED)" == "1"
112__ogldll___depname = \
c33fae85 113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll
250700e4 114!endif
b17c1746 115!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 116__RUNTIME_LIBS_8 = i
3f55f5b8 117!endif
b17c1746 118!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 119__RUNTIME_LIBS_8 =
3f55f5b8 120!endif
b17c1746
DE
121!if "$(MONOLITHIC)" == "1"
122__WXLIB_MONO_p = \
c33fae85 123 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250700e4 124!endif
b17c1746 125!if "$(USE_GUI)" == "1"
9c2d002b 126__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
3f55f5b8
VS
127!endif
128!if "$(USE_GUI)" == "1"
9c2d002b 129__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
130!endif
131!if "$(USE_GUI)" == "1"
9c2d002b 132__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 133!endif
b17c1746
DE
134!if "$(MSLU)" == "1"
135__UNICOWS_LIB_p = unicows.lib
136!endif
137!if "$(MONOLITHIC)" == "0"
138__WXLIB_CORE_p = \
c33fae85 139 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
140!endif
141!if "$(MONOLITHIC)" == "0"
c33fae85
RN
142__WXLIB_BASE_p = \
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
144!endif
145!if "$(SHARED)" == "0"
146__ogllib___depname = \
c33fae85 147 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib
b17c1746
DE
148!endif
149!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
150__DEBUGINFO = -v
151!endif
152!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
153__DEBUGINFO = -v-
154!endif
155!if "$(DEBUG_INFO)" == "0"
156__DEBUGINFO = -v-
157!endif
158!if "$(DEBUG_INFO)" == "1"
159__DEBUGINFO = -v
3f55f5b8 160!endif
250700e4
RD
161!if "$(BUILD)" == "debug"
162__OPTIMIZEFLAG = -Od
163!endif
164!if "$(BUILD)" == "release"
165__OPTIMIZEFLAG = -O2
166!endif
167!if "$(RUNTIME_LIBS)" == "dynamic"
168__RUNTIME_LIBS = -tWR
169!endif
170!if "$(RUNTIME_LIBS)" == "static"
171__RUNTIME_LIBS =
172!endif
b17c1746
DE
173!if "$(WXUNIV)" == "1"
174__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
250700e4 175!endif
b17c1746
DE
176!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
177__DEBUG_DEFINE_p = -D__WXDEBUG__
178!endif
179!if "$(DEBUG_FLAG)" == "1"
180__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
181!endif
182!if "$(UNICODE)" == "1"
ec08d395 183__UNICODE_DEFINE_p = -D_UNICODE
250700e4 184!endif
250700e4
RD
185
186
187all: $(OBJS)
188$(OBJS):
189 -if not exist $(OBJS) mkdir $(OBJS)
190
191### Targets: ###
192
193all: $(__ogldll___depname) $(__ogllib___depname)
194
b17c1746
DE
195clean:
196 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
197 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 198 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
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
b17c1746
DE
207
208!if "$(SHARED)" == "1"
c33fae85 209$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl_bcc$(VENDORTAG).dll: $(OBJS)\ogldll_dummy.obj $(OGLDLL_OBJECTS)
b17c1746 210 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 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,,
b17c1746 212|
c33fae85 213 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl $@
b17c1746
DE
214!endif
215
216!if "$(SHARED)" == "0"
c33fae85 217$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib: $(OBJS)\ogllib_dummy.obj $(OGLLIB_OBJECTS)
b17c1746
DE
218 if exist $@ del $@
219 tlib /a /p4096 $@ @&&|
220 $(OGLLIB_OBJECTS)
221|
222!endif
223
224$(OBJS)\ogldll_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
225 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) -H $**
250700e4
RD
226
227$(OBJS)\ogldll_basic2.obj: ../../src/ogl\basic2.cpp
228 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
229
b17c1746 230$(OBJS)\ogldll_canvas.obj: ../../src/ogl\canvas.cpp
250700e4
RD
231 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
232
b17c1746 233$(OBJS)\ogldll_divided.obj: ../../src/ogl\divided.cpp
250700e4
RD
234 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
235
b17c1746 236$(OBJS)\ogldll_mfutils.obj: ../../src/ogl\mfutils.cpp
250700e4
RD
237 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
238
b17c1746 239$(OBJS)\ogldll_oglmisc.obj: ../../src/ogl\oglmisc.cpp
250700e4
RD
240 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
241
b17c1746
DE
242$(OBJS)\ogldll_basic.obj: ../../src/ogl\basic.cpp
243 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
244
245$(OBJS)\ogldll_composit.obj: ../../src/ogl\composit.cpp
250700e4
RD
246 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
247
248$(OBJS)\ogldll_drawn.obj: ../../src/ogl\drawn.cpp
249 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
250
b17c1746
DE
251$(OBJS)\ogldll_bmpshape.obj: ../../src/ogl\bmpshape.cpp
252 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
250700e4 253
b17c1746 254$(OBJS)\ogldll_constrnt.obj: ../../src/ogl\constrnt.cpp
250700e4
RD
255 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
256
b17c1746 257$(OBJS)\ogldll_lines.obj: ../../src/ogl\lines.cpp
250700e4
RD
258 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
259
260$(OBJS)\ogldll_ogldiag.obj: ../../src/ogl\ogldiag.cpp
261 $(CXX) -q -c -P -o$@ $(OGLDLL_CXXFLAGS) $**
262
b17c1746
DE
263$(OBJS)\ogllib_dummy.obj: ../../src/ogl\..\..\..\src\msw\dummy.cpp
264 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) -H $**
250700e4 265
b17c1746 266$(OBJS)\ogllib_basic2.obj: ../../src/ogl\basic2.cpp
250700e4
RD
267 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
268
b17c1746 269$(OBJS)\ogllib_canvas.obj: ../../src/ogl\canvas.cpp
250700e4
RD
270 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
271
b17c1746 272$(OBJS)\ogllib_divided.obj: ../../src/ogl\divided.cpp
250700e4
RD
273 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
274
b17c1746 275$(OBJS)\ogllib_mfutils.obj: ../../src/ogl\mfutils.cpp
250700e4
RD
276 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
277
b17c1746 278$(OBJS)\ogllib_oglmisc.obj: ../../src/ogl\oglmisc.cpp
250700e4
RD
279 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
280
b17c1746 281$(OBJS)\ogllib_basic.obj: ../../src/ogl\basic.cpp
250700e4
RD
282 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
283
b17c1746 284$(OBJS)\ogllib_composit.obj: ../../src/ogl\composit.cpp
250700e4
RD
285 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
286
287$(OBJS)\ogllib_drawn.obj: ../../src/ogl\drawn.cpp
288 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
289
b17c1746 290$(OBJS)\ogllib_bmpshape.obj: ../../src/ogl\bmpshape.cpp
250700e4
RD
291 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
292
b17c1746 293$(OBJS)\ogllib_constrnt.obj: ../../src/ogl\constrnt.cpp
250700e4
RD
294 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
295
b17c1746 296$(OBJS)\ogllib_lines.obj: ../../src/ogl\lines.cpp
250700e4
RD
297 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
298
b17c1746 299$(OBJS)\ogllib_ogldiag.obj: ../../src/ogl\ogldiag.cpp
250700e4 300 $(CXX) -q -c -P -o$@ $(OGLLIB_CXXFLAGS) $**
b14abf14 301