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 # =========================================================================
11 !include ../../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
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
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
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
72 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
74 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
76 ### Conditionally set variables: ###
78 !if "$(SHARED)" == "0"
79 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_lib$(CFG)
81 !if "$(SHARED)" == "1"
82 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_dll$(CFG)
84 !if "$(USE_GUI)" == "0"
87 !if "$(USE_GUI)" == "1"
90 !if "$(OFFICIAL_BUILD)" == "0"
91 VENDORTAG = _$(VENDOR)
93 !if "$(OFFICIAL_BUILD)" == "1"
96 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
99 !if "$(DEBUG_FLAG)" == "1"
102 !if "$(SHARED)" == "1"
105 !if "$(UNICODE)" == "1"
108 !if "$(WXUNIV)" == "1"
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
123 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
124 __DEBUG_DEFINE_p = -D__WXDEBUG__
126 !if "$(DEBUG_FLAG)" == "1"
127 __DEBUG_DEFINE_p = -D__WXDEBUG__
129 !if "$(USE_GUI)" == "1"
130 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
132 !if "$(USE_GUI)" == "1"
133 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
135 !if "$(USE_GUI)" == "1"
136 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
138 !if "$(BUILD)" == "debug"
141 !if "$(BUILD)" == "release"
144 !if "$(RUNTIME_LIBS)" == "dynamic"
145 __RUNTIME_LIBS = -tWR
147 !if "$(RUNTIME_LIBS)" == "static"
150 !if "$(RUNTIME_LIBS)" == "dynamic"
153 !if "$(RUNTIME_LIBS)" == "static"
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = -D_UNICODE
160 __UNICOWS_LIB_p = unicows.lib
162 !if "$(MONOLITHIC)" == "0"
163 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
165 !if "$(MONOLITHIC)" == "0"
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
169 !if "$(MONOLITHIC)" == "1"
171 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
176 !if "$(SHARED)" == "1"
177 __fldll___depname = \
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
180 !if "$(SHARED)" == "0"
181 __fllib___depname = \
182 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
188 -if not exist $(OBJS) mkdir $(OBJS)
192 all: $(__fldll___depname) $(__fllib___depname)
194 $(OBJS)\fldll_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
195 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
197 $(OBJS)\fldll_bardragpl.obj: ../../src/fl\bardragpl.cpp
198 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
200 $(OBJS)\fldll_barhintspl.obj: ../../src/fl\barhintspl.cpp
201 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
203 $(OBJS)\fldll_cbcustom.obj: ../../src/fl\cbcustom.cpp
204 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
206 $(OBJS)\fldll_controlbar.obj: ../../src/fl\controlbar.cpp
207 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
209 $(OBJS)\fldll_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
210 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) -H $**
212 $(OBJS)\fldll_dyntbar.obj: ../../src/fl\dyntbar.cpp
213 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
215 $(OBJS)\fldll_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
216 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
218 $(OBJS)\fldll_frmview.obj: ../../src/fl\frmview.cpp
219 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
221 $(OBJS)\fldll_garbagec.obj: ../../src/fl\garbagec.cpp
222 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
224 $(OBJS)\fldll_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
225 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
227 $(OBJS)\fldll_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
228 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
230 $(OBJS)\fldll_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
231 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
233 $(OBJS)\fldll_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
234 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
236 $(OBJS)\fldll_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
237 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
239 $(OBJS)\fldll_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
240 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
242 $(OBJS)\fldll_toolwnd.obj: ../../src/fl\toolwnd.cpp
243 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
245 $(OBJS)\fldll_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
246 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
248 $(OBJS)\fllib_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
249 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
251 $(OBJS)\fllib_bardragpl.obj: ../../src/fl\bardragpl.cpp
252 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
254 $(OBJS)\fllib_barhintspl.obj: ../../src/fl\barhintspl.cpp
255 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
257 $(OBJS)\fllib_cbcustom.obj: ../../src/fl\cbcustom.cpp
258 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
260 $(OBJS)\fllib_controlbar.obj: ../../src/fl\controlbar.cpp
261 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
263 $(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
264 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) -H $**
266 $(OBJS)\fllib_dyntbar.obj: ../../src/fl\dyntbar.cpp
267 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
269 $(OBJS)\fllib_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
270 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
272 $(OBJS)\fllib_frmview.obj: ../../src/fl\frmview.cpp
273 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
275 $(OBJS)\fllib_garbagec.obj: ../../src/fl\garbagec.cpp
276 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
278 $(OBJS)\fllib_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
279 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
281 $(OBJS)\fllib_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
282 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
284 $(OBJS)\fllib_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
285 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
287 $(OBJS)\fllib_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
288 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
290 $(OBJS)\fllib_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
291 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
293 $(OBJS)\fllib_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
294 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
296 $(OBJS)\fllib_toolwnd.obj: ../../src/fl\toolwnd.cpp
297 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
299 $(OBJS)\fllib_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
300 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
303 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
304 -if exist $(OBJS)\*.res del $(OBJS)\*.res
305 -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
306 -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
307 -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
308 -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
309 -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
310 -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
311 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
312 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
314 !if "$(SHARED)" == "1"
315 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll: $(OBJS)\fldll_dummy.obj $(FLDLL_OBJECTS)
316 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
317 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) ole2w32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
319 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $@
322 !if "$(SHARED)" == "0"
323 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(OBJS)\fllib_dummy.obj $(FLLIB_OBJECTS)
325 tlib /a /p2048 $@ @&&|