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