]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.bcc
more bakefile-based makefiles
[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/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) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
24 -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(LIBDIRNAME) \
26 -I..\..\src\fl\..\..\..\src\tiff -I..\..\src\fl\..\..\..\src\jpeg \
27 -I..\..\src\fl\..\..\..\src\png -I..\..\src\fl\..\..\..\src\zlib \
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
31 FLDLL_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
50 FLLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
51 -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
52 $(__UNICODE_DEFINE_p) -I..\..\src\fl\..\..\..\include -I$(LIBDIRNAME) \
53 -I..\..\src\fl\..\..\..\src\tiff -I..\..\src\fl\..\..\..\src\jpeg \
54 -I..\..\src\fl\..\..\..\src\png -I..\..\src\fl\..\..\..\src\zlib \
55 -I..\..\src\fl\..\..\..\src\regex -I..\..\src\fl\..\..\..\src\expat\lib \
56 -I..\..\src\fl\..\..\include $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_fllib.csm
57 FLLIB_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
76 LIBDIRNAME = \
77 ..\..\src\fl\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
78 OBJS = \
79 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
80
81 ### Conditionally set variables: ###
82
83 !if "$(USE_GUI)" == "0"
84 PORTNAME = base
85 !endif
86 !if "$(USE_GUI)" == "1"
87 PORTNAME = msw
88 !endif
89 !if "$(OFFICIAL_BUILD)" == "0"
90 VENDORTAG = _$(VENDOR)
91 !endif
92 !if "$(OFFICIAL_BUILD)" == "1"
93 VENDORTAG =
94 !endif
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
96 WXDEBUGFLAG = d
97 !endif
98 !if "$(DEBUG_FLAG)" == "1"
99 WXDEBUGFLAG = d
100 !endif
101 !if "$(SHARED)" == "1"
102 WXDLLFLAG = dll
103 !endif
104 !if "$(UNICODE)" == "1"
105 WXUNICODEFLAG = u
106 !endif
107 !if "$(WXUNIV)" == "1"
108 WXUNIVNAME = univ
109 !endif
110 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
111 __DEBUGINFO = -v
112 !endif
113 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
114 __DEBUGINFO = -v-
115 !endif
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"
123 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 !endif
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
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 = \
174 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll
175 !endif
176 !if "$(SHARED)" == "0"
177 __fllib___depname = \
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
179 !endif
180
181
182 all: $(OBJS)
183 $(OBJS):
184 -if not exist $(OBJS) mkdir $(OBJS)
185
186 ### Targets: ###
187
188 all: $(__fldll___depname) $(__fllib___depname)
189
190 $(OBJS)\fldll_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
191 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
192
193 $(OBJS)\fldll_bardragpl.obj: ../../src/fl\bardragpl.cpp
194 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
195
196 $(OBJS)\fldll_barhintspl.obj: ../../src/fl\barhintspl.cpp
197 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
198
199 $(OBJS)\fldll_cbcustom.obj: ../../src/fl\cbcustom.cpp
200 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
201
202 $(OBJS)\fldll_controlbar.obj: ../../src/fl\controlbar.cpp
203 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
204
205 $(OBJS)\fldll_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
206 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) -H $**
207
208 $(OBJS)\fldll_dyntbar.obj: ../../src/fl\dyntbar.cpp
209 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
210
211 $(OBJS)\fldll_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
212 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
213
214 $(OBJS)\fldll_frmview.obj: ../../src/fl\frmview.cpp
215 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
216
217 $(OBJS)\fldll_garbagec.obj: ../../src/fl\garbagec.cpp
218 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
219
220 $(OBJS)\fldll_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
221 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
222
223 $(OBJS)\fldll_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
224 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
225
226 $(OBJS)\fldll_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
227 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
228
229 $(OBJS)\fldll_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
230 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
231
232 $(OBJS)\fldll_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
233 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
234
235 $(OBJS)\fldll_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
236 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
237
238 $(OBJS)\fldll_toolwnd.obj: ../../src/fl\toolwnd.cpp
239 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
240
241 $(OBJS)\fldll_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
242 $(CXX) -q -c -P -o$@ $(FLDLL_CXXFLAGS) $**
243
244 $(OBJS)\fllib_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
245 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
246
247 $(OBJS)\fllib_bardragpl.obj: ../../src/fl\bardragpl.cpp
248 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
249
250 $(OBJS)\fllib_barhintspl.obj: ../../src/fl\barhintspl.cpp
251 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
252
253 $(OBJS)\fllib_cbcustom.obj: ../../src/fl\cbcustom.cpp
254 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
255
256 $(OBJS)\fllib_controlbar.obj: ../../src/fl\controlbar.cpp
257 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
258
259 $(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
260 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) -H $**
261
262 $(OBJS)\fllib_dyntbar.obj: ../../src/fl\dyntbar.cpp
263 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
264
265 $(OBJS)\fllib_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
266 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
267
268 $(OBJS)\fllib_frmview.obj: ../../src/fl\frmview.cpp
269 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
270
271 $(OBJS)\fllib_garbagec.obj: ../../src/fl\garbagec.cpp
272 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
273
274 $(OBJS)\fllib_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
275 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
276
277 $(OBJS)\fllib_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
278 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
279
280 $(OBJS)\fllib_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
281 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
282
283 $(OBJS)\fllib_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
284 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
285
286 $(OBJS)\fllib_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
287 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
288
289 $(OBJS)\fllib_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
290 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
291
292 $(OBJS)\fllib_toolwnd.obj: ../../src/fl\toolwnd.cpp
293 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
294
295 $(OBJS)\fllib_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
296 $(CXX) -q -c -P -o$@ $(FLLIB_CXXFLAGS) $**
297
298 clean:
299 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
300 -if exist $(OBJS)\*.res del $(OBJS)\*.res
301 -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
302 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
303 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
304
305 !if "$(SHARED)" == "1"
306 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_bcc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_dummy.obj
307 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
308 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) cw32mt$(__RUNTIME_LIBS_7).lib,,
309 |
310 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $@
311 !endif
312
313 !if "$(SHARED)" == "0"
314 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(FLLIB_OBJECTS) $(OBJS)\fllib_dummy.obj
315 if exist $@ del $@
316 tlib /a /p2048 $@ @&&|
317 $(FLLIB_OBJECTS)
318 |
319 !endif