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