]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/ogl/makefile.bcc
Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
[wxWidgets.git] / contrib / build / ogl / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 SETUPHDIR = \
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 OGLDLL_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)
33 OGLDLL_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
47 OGLLIB_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)
52 OGLLIB_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"
70 PORTNAME = base
71 !endif
72 !if "$(USE_GUI)" == "1"
73 PORTNAME = msw
74 !endif
75 !if "$(OFFICIAL_BUILD)" == "0"
76 VENDORTAG = _$(VENDOR)
77 !endif
78 !if "$(OFFICIAL_BUILD)" == "1"
79 VENDORTAG =
80 !endif
81 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
82 WXDEBUGFLAG = d
83 !endif
84 !if "$(DEBUG_FLAG)" == "1"
85 WXDEBUGFLAG = d
86 !endif
87 !if "$(UNICODE)" == "1"
88 WXUNICODEFLAG = u
89 !endif
90 !if "$(WXUNIV)" == "1"
91 WXUNIVNAME = univ
92 !endif
93 !if "$(SHARED)" == "1"
94 WXDLLFLAG = dll
95 !endif
96 !if "$(SHARED)" == "1"
97 __ogldll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl_bcc$(VENDORTAG).dll
99 !endif
100 !if "$(RUNTIME_LIBS)" == "dynamic"
101 __RUNTIME_LIBS_7 = i
102 !endif
103 !if "$(RUNTIME_LIBS)" == "static"
104 __RUNTIME_LIBS_7 =
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"
170 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_lib$(CFG)
171 !endif
172 !if "$(SHARED)" == "1"
173 LIBDIRNAME = ..\..\src\ogl\..\..\..\lib\bcc_dll$(CFG)
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 clean:
186 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
187 -if exist $(OBJS)\*.res del $(OBJS)\*.res
188 -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
189 -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
190 -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
191 -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
192 -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
193 -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
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)251$(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_7).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) $**