]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.bcc
overseeing the obvious, there is already a perfect scroll call for HIView...
[wxWidgets.git] / contrib / build / fl / 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 FLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL -Hu \
32 -H=$(OBJS)\wxprec_fldll.csm $(CPPFLAGS) $(CXXFLAGS)
33 FLDLL_OBJECTS = \
34 $(OBJS)\fldll_dummy.obj \
35 $(OBJS)\fldll_antiflickpl.obj \
36 $(OBJS)\fldll_bardragpl.obj \
37 $(OBJS)\fldll_barhintspl.obj \
38 $(OBJS)\fldll_cbcustom.obj \
39 $(OBJS)\fldll_controlbar.obj \
40 $(OBJS)\fldll_dyntbar.obj \
41 $(OBJS)\fldll_dyntbarhnd.obj \
42 $(OBJS)\fldll_frmview.obj \
43 $(OBJS)\fldll_garbagec.obj \
44 $(OBJS)\fldll_gcupdatesmgr.obj \
45 $(OBJS)\fldll_hintanimpl.obj \
46 $(OBJS)\fldll_newbmpbtn.obj \
47 $(OBJS)\fldll_panedrawpl.obj \
48 $(OBJS)\fldll_rowdragpl.obj \
49 $(OBJS)\fldll_rowlayoutpl.obj \
50 $(OBJS)\fldll_toolwnd.obj \
51 $(OBJS)\fldll_updatesmgr.obj
52 FLLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
53 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
54 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \
55 -I..\..\src\fl\..\..\include -Hu -H=$(OBJS)\wxprec_fllib.csm $(CPPFLAGS) \
56 $(CXXFLAGS)
57 FLLIB_OBJECTS = \
58 $(OBJS)\fllib_dummy.obj \
59 $(OBJS)\fllib_antiflickpl.obj \
60 $(OBJS)\fllib_bardragpl.obj \
61 $(OBJS)\fllib_barhintspl.obj \
62 $(OBJS)\fllib_cbcustom.obj \
63 $(OBJS)\fllib_controlbar.obj \
64 $(OBJS)\fllib_dyntbar.obj \
65 $(OBJS)\fllib_dyntbarhnd.obj \
66 $(OBJS)\fllib_frmview.obj \
67 $(OBJS)\fllib_garbagec.obj \
68 $(OBJS)\fllib_gcupdatesmgr.obj \
69 $(OBJS)\fllib_hintanimpl.obj \
70 $(OBJS)\fllib_newbmpbtn.obj \
71 $(OBJS)\fllib_panedrawpl.obj \
72 $(OBJS)\fllib_rowdragpl.obj \
73 $(OBJS)\fllib_rowlayoutpl.obj \
74 $(OBJS)\fllib_toolwnd.obj \
75 $(OBJS)\fllib_updatesmgr.obj
76
77 ### Conditionally set variables: ###
78
79 !if "$(USE_GUI)" == "0"
80 PORTNAME = base
81 !endif
82 !if "$(USE_GUI)" == "1"
83 PORTNAME = msw
84 !endif
85 !if "$(OFFICIAL_BUILD)" == "0"
86 VENDORTAG = _$(VENDOR)
87 !endif
88 !if "$(OFFICIAL_BUILD)" == "1"
89 VENDORTAG =
90 !endif
91 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92 WXDEBUGFLAG = d
93 !endif
94 !if "$(DEBUG_FLAG)" == "1"
95 WXDEBUGFLAG = d
96 !endif
97 !if "$(UNICODE)" == "1"
98 WXUNICODEFLAG = u
99 !endif
100 !if "$(WXUNIV)" == "1"
101 WXUNIVNAME = univ
102 !endif
103 !if "$(SHARED)" == "1"
104 WXDLLFLAG = dll
105 !endif
106 !if "$(SHARED)" == "1"
107 __fldll___depname = \
108 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
109 !endif
110 !if "$(RUNTIME_LIBS)" == "dynamic"
111 __RUNTIME_LIBS_7 = i
112 !endif
113 !if "$(RUNTIME_LIBS)" == "static"
114 __RUNTIME_LIBS_7 =
115 !endif
116 !if "$(MONOLITHIC)" == "1"
117 __WXLIB_MONO_p = \
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
119 !endif
120 !if "$(USE_GUI)" == "1"
121 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
122 !endif
123 !if "$(USE_GUI)" == "1"
124 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125 !endif
126 !if "$(USE_GUI)" == "1"
127 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
128 !endif
129 !if "$(MSLU)" == "1"
130 __UNICOWS_LIB_p = unicows.lib
131 !endif
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_CORE_p = \
134 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
135 !endif
136 !if "$(MONOLITHIC)" == "0"
137 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
138 !endif
139 !if "$(SHARED)" == "0"
140 __fllib___depname = \
141 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
142 !endif
143 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
144 __DEBUGINFO = -v
145 !endif
146 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
147 __DEBUGINFO = -v-
148 !endif
149 !if "$(DEBUG_INFO)" == "0"
150 __DEBUGINFO = -v-
151 !endif
152 !if "$(DEBUG_INFO)" == "1"
153 __DEBUGINFO = -v
154 !endif
155 !if "$(BUILD)" == "debug"
156 __OPTIMIZEFLAG = -Od
157 !endif
158 !if "$(BUILD)" == "release"
159 __OPTIMIZEFLAG = -O2
160 !endif
161 !if "$(RUNTIME_LIBS)" == "dynamic"
162 __RUNTIME_LIBS = -tWR
163 !endif
164 !if "$(RUNTIME_LIBS)" == "static"
165 __RUNTIME_LIBS =
166 !endif
167 !if "$(WXUNIV)" == "1"
168 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
169 !endif
170 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
171 __DEBUG_DEFINE_p = -D__WXDEBUG__
172 !endif
173 !if "$(DEBUG_FLAG)" == "1"
174 __DEBUG_DEFINE_p = -D__WXDEBUG__
175 !endif
176 !if "$(UNICODE)" == "1"
177 __UNICODE_DEFINE_p = -D_UNICODE
178 !endif
179 !if "$(SHARED)" == "0"
180 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_lib$(CFG)
181 !endif
182 !if "$(SHARED)" == "1"
183 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_dll$(CFG)
184 !endif
185
186
187 all: $(OBJS)
188 $(OBJS):
189 -if not exist $(OBJS) mkdir $(OBJS)
190
191 ### Targets: ###
192
193 all: $(__fldll___depname) $(__fllib___depname)
194
195 clean:
196 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
197 -if exist $(OBJS)\*.res del $(OBJS)\*.res
198 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
199 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).tds
200 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ilc
201 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ild
202 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ilf
203 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).ils
204 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
205 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
206
207 !if "$(SHARED)" == "1"
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll: $(OBJS)\fldll_dummy.obj $(FLDLL_OBJECTS)
209 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
210 c0d32.obj $(FLDLL_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,,
211 |
212 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $@
213 !endif
214
215 !if "$(SHARED)" == "0"
216 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(OBJS)\fllib_dummy.obj $(FLLIB_OBJECTS)
217 if exist $@ del $@
218 tlib /a /p4096 $@ @&&|
219 $(FLLIB_OBJECTS)
220 |
221 !endif
222
223 $(OBJS)\fldll_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
224 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) -H $**
225
226 $(OBJS)\fldll_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
227 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
228
229 $(OBJS)\fldll_bardragpl.obj: ../../src/fl\bardragpl.cpp
230 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
231
232 $(OBJS)\fldll_barhintspl.obj: ../../src/fl\barhintspl.cpp
233 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
234
235 $(OBJS)\fldll_cbcustom.obj: ../../src/fl\cbcustom.cpp
236 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
237
238 $(OBJS)\fldll_controlbar.obj: ../../src/fl\controlbar.cpp
239 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
240
241 $(OBJS)\fldll_dyntbar.obj: ../../src/fl\dyntbar.cpp
242 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
243
244 $(OBJS)\fldll_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
245 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
246
247 $(OBJS)\fldll_frmview.obj: ../../src/fl\frmview.cpp
248 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
249
250 $(OBJS)\fldll_garbagec.obj: ../../src/fl\garbagec.cpp
251 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
252
253 $(OBJS)\fldll_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
254 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
255
256 $(OBJS)\fldll_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
257 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
258
259 $(OBJS)\fldll_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
260 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
261
262 $(OBJS)\fldll_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
263 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
264
265 $(OBJS)\fldll_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
266 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
267
268 $(OBJS)\fldll_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
269 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
270
271 $(OBJS)\fldll_toolwnd.obj: ../../src/fl\toolwnd.cpp
272 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
273
274 $(OBJS)\fldll_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
275 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
276
277 $(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
278 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) -H $**
279
280 $(OBJS)\fllib_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
281 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
282
283 $(OBJS)\fllib_bardragpl.obj: ../../src/fl\bardragpl.cpp
284 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
285
286 $(OBJS)\fllib_barhintspl.obj: ../../src/fl\barhintspl.cpp
287 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
288
289 $(OBJS)\fllib_cbcustom.obj: ../../src/fl\cbcustom.cpp
290 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
291
292 $(OBJS)\fllib_controlbar.obj: ../../src/fl\controlbar.cpp
293 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
294
295 $(OBJS)\fllib_dyntbar.obj: ../../src/fl\dyntbar.cpp
296 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
297
298 $(OBJS)\fllib_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
299 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
300
301 $(OBJS)\fllib_frmview.obj: ../../src/fl\frmview.cpp
302 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
303
304 $(OBJS)\fllib_garbagec.obj: ../../src/fl\garbagec.cpp
305 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
306
307 $(OBJS)\fllib_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
308 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
309
310 $(OBJS)\fllib_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
311 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
312
313 $(OBJS)\fllib_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
314 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
315
316 $(OBJS)\fllib_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
317 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
318
319 $(OBJS)\fllib_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
320 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
321
322 $(OBJS)\fllib_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
323 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
324
325 $(OBJS)\fllib_toolwnd.obj: ../../src/fl\toolwnd.cpp
326 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
327
328 $(OBJS)\fllib_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
329 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**