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) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
24 -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \
26 -I..\..\src\fl\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS) -Hu \
27 -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) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
48 -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
49 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(SETUPHDIR) \
50 -I..\..\src\fl\..\..\include $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_fllib.csm
52 $(OBJS)\fllib_dummy.obj \
53 $(OBJS)\fllib_antiflickpl.obj \
54 $(OBJS)\fllib_bardragpl.obj \
55 $(OBJS)\fllib_barhintspl.obj \
56 $(OBJS)\fllib_cbcustom.obj \
57 $(OBJS)\fllib_controlbar.obj \
58 $(OBJS)\fllib_dyntbar.obj \
59 $(OBJS)\fllib_dyntbarhnd.obj \
60 $(OBJS)\fllib_frmview.obj \
61 $(OBJS)\fllib_garbagec.obj \
62 $(OBJS)\fllib_gcupdatesmgr.obj \
63 $(OBJS)\fllib_hintanimpl.obj \
64 $(OBJS)\fllib_newbmpbtn.obj \
65 $(OBJS)\fllib_panedrawpl.obj \
66 $(OBJS)\fllib_rowdragpl.obj \
67 $(OBJS)\fllib_rowlayoutpl.obj \
68 $(OBJS)\fllib_toolwnd.obj \
69 $(OBJS)\fllib_updatesmgr.obj
71 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
73 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
75 ### Conditionally set variables: ###
77 !if "$(SHARED)" == "0"
78 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_lib$(CFG)
80 !if "$(SHARED)" == "1"
81 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\bcc_dll$(CFG)
83 !if "$(USE_GUI)" == "0"
86 !if "$(USE_GUI)" == "1"
89 !if "$(OFFICIAL_BUILD)" == "0"
90 VENDORTAG = _$(VENDOR)
92 !if "$(OFFICIAL_BUILD)" == "1"
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
98 !if "$(DEBUG_FLAG)" == "1"
101 !if "$(SHARED)" == "1"
104 !if "$(UNICODE)" == "1"
107 !if "$(WXUNIV)" == "1"
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
116 !if "$(DEBUG_INFO)" == "0"
119 !if "$(DEBUG_INFO)" == "1"
122 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
123 __DEBUG_DEFINE_p = -D__WXDEBUG__
125 !if "$(DEBUG_FLAG)" == "1"
126 __DEBUG_DEFINE_p = -D__WXDEBUG__
128 !if "$(USE_GUI)" == "1"
129 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
131 !if "$(USE_GUI)" == "1"
132 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
137 !if "$(BUILD)" == "debug"
140 !if "$(BUILD)" == "release"
143 !if "$(RUNTIME_LIBS)" == "dynamic"
144 __RUNTIME_LIBS = -tWR
146 !if "$(RUNTIME_LIBS)" == "static"
149 !if "$(RUNTIME_LIBS)" == "dynamic"
152 !if "$(RUNTIME_LIBS)" == "static"
155 !if "$(UNICODE)" == "1"
156 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
159 __UNICOWS_LIB_p = unicows.lib
161 !if "$(MONOLITHIC)" == "0"
162 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
164 !if "$(MONOLITHIC)" == "0"
166 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
168 !if "$(MONOLITHIC)" == "1"
170 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
172 !if "$(WXUNIV)" == "1"
173 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
175 !if "$(SHARED)" == "1"
176 __fldll___depname = \
177 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
179 !if "$(SHARED)" == "0"
180 __fllib___depname = \
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
187 -if not exist $(OBJS) mkdir $(OBJS)
191 all: $(__fldll___depname) $(__fllib___depname)
193 $(OBJS)\fldll_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
194 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
196 $(OBJS)\fldll_bardragpl.obj: ../../src/fl\bardragpl.cpp
197 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
199 $(OBJS)\fldll_barhintspl.obj: ../../src/fl\barhintspl.cpp
200 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
202 $(OBJS)\fldll_cbcustom.obj: ../../src/fl\cbcustom.cpp
203 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
205 $(OBJS)\fldll_controlbar.obj: ../../src/fl\controlbar.cpp
206 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
208 $(OBJS)\fldll_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
209 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) -H $**
211 $(OBJS)\fldll_dyntbar.obj: ../../src/fl\dyntbar.cpp
212 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
214 $(OBJS)\fldll_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
215 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
217 $(OBJS)\fldll_frmview.obj: ../../src/fl\frmview.cpp
218 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
220 $(OBJS)\fldll_garbagec.obj: ../../src/fl\garbagec.cpp
221 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
223 $(OBJS)\fldll_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
224 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
226 $(OBJS)\fldll_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
227 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
229 $(OBJS)\fldll_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
230 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
232 $(OBJS)\fldll_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
233 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
235 $(OBJS)\fldll_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
236 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
238 $(OBJS)\fldll_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
239 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
241 $(OBJS)\fldll_toolwnd.obj: ../../src/fl\toolwnd.cpp
242 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
244 $(OBJS)\fldll_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
245 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
247 $(OBJS)\fllib_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
248 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
250 $(OBJS)\fllib_bardragpl.obj: ../../src/fl\bardragpl.cpp
251 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
253 $(OBJS)\fllib_barhintspl.obj: ../../src/fl\barhintspl.cpp
254 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
256 $(OBJS)\fllib_cbcustom.obj: ../../src/fl\cbcustom.cpp
257 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
259 $(OBJS)\fllib_controlbar.obj: ../../src/fl\controlbar.cpp
260 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
262 $(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
263 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) -H $**
265 $(OBJS)\fllib_dyntbar.obj: ../../src/fl\dyntbar.cpp
266 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
268 $(OBJS)\fllib_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
269 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
271 $(OBJS)\fllib_frmview.obj: ../../src/fl\frmview.cpp
272 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
274 $(OBJS)\fllib_garbagec.obj: ../../src/fl\garbagec.cpp
275 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
277 $(OBJS)\fllib_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
278 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
280 $(OBJS)\fllib_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
281 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
283 $(OBJS)\fllib_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
284 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
286 $(OBJS)\fllib_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
287 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
289 $(OBJS)\fllib_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
290 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
292 $(OBJS)\fllib_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
293 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
295 $(OBJS)\fllib_toolwnd.obj: ../../src/fl\toolwnd.cpp
296 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
298 $(OBJS)\fllib_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
299 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
302 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
303 -if exist $(OBJS)\*.res del $(OBJS)\*.res
304 -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
305 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
306 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
308 !if "$(SHARED)" == "1"
309 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll: $(OBJS)\fldll_dummy.obj $(FLDLL_OBJECTS)
310 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
311 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 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $@
316 !if "$(SHARED)" == "0"
317 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(OBJS)\fllib_dummy.obj $(FLLIB_OBJECTS)
319 tlib /a /p2048 $@ @&&|