]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.bcc
Applied patch [ 795491 ] Multimon sample compatibility with various conditions
[wxWidgets.git] / contrib / build / fl / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !ifndef BCCDIR
8 BCCDIR = $(MAKEDIR)\..
9 !endif
10
11 !include ../../../build/msw/config.bcc
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
23 FLDLL_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
28 FLDLL_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
47 FLLIB_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
52 FLLIB_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
71 OBJS = \
72 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
73 SETUPHDIR = \
74 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
75
76 ### Conditionally set variables: ###
77
78 !if "$(SHARED)" == "0"
79 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_lib$(CFG)
80 !endif
81 !if "$(SHARED)" == "1"
82 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_dll$(CFG)
83 !endif
84 !if "$(USE_GUI)" == "0"
85 PORTNAME = base
86 !endif
87 !if "$(USE_GUI)" == "1"
88 PORTNAME = msw
89 !endif
90 !if "$(OFFICIAL_BUILD)" == "0"
91 VENDORTAG = _$(VENDOR)
92 !endif
93 !if "$(OFFICIAL_BUILD)" == "1"
94 VENDORTAG =
95 !endif
96 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
97 WXDEBUGFLAG = d
98 !endif
99 !if "$(DEBUG_FLAG)" == "1"
100 WXDEBUGFLAG = d
101 !endif
102 !if "$(SHARED)" == "1"
103 WXDLLFLAG = dll
104 !endif
105 !if "$(UNICODE)" == "1"
106 WXUNICODEFLAG = u
107 !endif
108 !if "$(WXUNIV)" == "1"
109 WXUNIVNAME = univ
110 !endif
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
112 __DEBUGINFO = -v
113 !endif
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
115 __DEBUGINFO = -v-
116 !endif
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"
124 __DEBUG_DEFINE_p = -D__WXDEBUG__
125 !endif
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
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
159 !if "$(MSLU)" == "1"
160 __UNICOWS_LIB_p = unicows.lib
161 !endif
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 = \
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
179 !endif
180 !if "$(SHARED)" == "0"
181 __fllib___depname = \
182 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
183 !endif
184
185
186 all: $(OBJS)
187 $(OBJS):
188 -if not exist $(OBJS) mkdir $(OBJS)
189
190 ### Targets: ###
191
192 all: $(__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
302 clean:
303 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
304 -if exist $(OBJS)\*.res del $(OBJS)\*.res
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
308
309 !if "$(SHARED)" == "1"
310 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll: $(OBJS)\fldll_dummy.obj $(FLDLL_OBJECTS)
311 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
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,,
313 |
314 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $@
315 !endif
316
317 !if "$(SHARED)" == "0"
318 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(OBJS)\fllib_dummy.obj $(FLLIB_OBJECTS)
319 if exist $@ del $@
320 tlib /a /p2048 $@ @&&|
321 $(FLLIB_OBJECTS)
322 |
323 !endif