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