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