]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/fl/makefile.bcc
Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
[wxWidgets.git] / contrib / build / fl / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
c3255f5f 3# Bakefile 0.1.3 (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
b17c1746
DE
24OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26SETUPHDIR = \
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
28FLDLL_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)
3f55f5b8
VS
33FLDLL_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
9bfe7ad9
VS
52FLLIB_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)
3f55f5b8
VS
57FLLIB_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
250700e4
RD
76
77### Conditionally set variables: ###
78
79!if "$(USE_GUI)" == "0"
80PORTNAME = base
81!endif
82!if "$(USE_GUI)" == "1"
83PORTNAME = msw
84!endif
85!if "$(OFFICIAL_BUILD)" == "0"
86VENDORTAG = _$(VENDOR)
87!endif
88!if "$(OFFICIAL_BUILD)" == "1"
89VENDORTAG =
90!endif
3f55f5b8
VS
91!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92WXDEBUGFLAG = d
93!endif
94!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
95WXDEBUGFLAG = d
96!endif
250700e4
RD
97!if "$(UNICODE)" == "1"
98WXUNICODEFLAG = u
99!endif
100!if "$(WXUNIV)" == "1"
101WXUNIVNAME = univ
102!endif
b17c1746
DE
103!if "$(SHARED)" == "1"
104WXDLLFLAG = dll
250700e4 105!endif
b17c1746
DE
106!if "$(SHARED)" == "1"
107__fldll___depname = \
108 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
250700e4 109!endif
b17c1746
DE
110!if "$(RUNTIME_LIBS)" == "dynamic"
111__RUNTIME_LIBS_7 = i
3f55f5b8 112!endif
b17c1746
DE
113!if "$(RUNTIME_LIBS)" == "static"
114__RUNTIME_LIBS_7 =
3f55f5b8 115!endif
b17c1746
DE
116!if "$(MONOLITHIC)" == "1"
117__WXLIB_MONO_p = \
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
250700e4 119!endif
b17c1746
DE
120!if "$(USE_GUI)" == "1"
121__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
3f55f5b8
VS
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
b17c1746
DE
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
3f55f5b8 154!endif
250700e4
RD
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
b17c1746
DE
167!if "$(WXUNIV)" == "1"
168__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
250700e4 169!endif
b17c1746
DE
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__
250700e4
RD
175!endif
176!if "$(UNICODE)" == "1"
ec08d395 177__UNICODE_DEFINE_p = -D_UNICODE
250700e4 178!endif
b17c1746
DE
179!if "$(SHARED)" == "0"
180LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_lib$(CFG)
250700e4
RD
181!endif
182!if "$(SHARED)" == "1"
b17c1746 183LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_dll$(CFG)
250700e4
RD
184!endif
185
186
187all: $(OBJS)
188$(OBJS):
189 -if not exist $(OBJS) mkdir $(OBJS)
190
191### Targets: ###
192
193all: $(__fldll___depname) $(__fllib___depname)
194
b17c1746
DE
195clean:
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) @&&|
b92ca8cf 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,,
b17c1746
DE
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
250700e4
RD
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
250700e4
RD
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
b17c1746
DE
277$(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
278 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) -H $**
279
250700e4
RD
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
250700e4
RD
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) $**