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 # =========================================================================
7 !include ../../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
32 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\wat_lib$(CFG)
35 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\wat_dll$(CFG)
45 !ifeq OFFICIAL_BUILD 0
46 VENDORTAG = _$(VENDOR)
48 !ifeq OFFICIAL_BUILD 1
53 !ifeq DEBUG_FLAG default
74 !ifeq DEBUG_INFO default
79 !ifeq DEBUG_INFO default
91 !ifeq DEBUG_INFO default
92 __DEBUGINFO_1 = debug all
96 !ifeq DEBUG_INFO default
104 __DEBUGINFO_1 = debug all
108 !ifeq DEBUG_FLAG default
109 __DEBUG_DEFINE_p = -d__WXDEBUG__
113 __DEBUG_DEFINE_p = -d__WXDEBUG__
116 !ifeq USE_EXCEPTIONS 0
119 !ifeq USE_EXCEPTIONS 1
120 __EXCEPTIONSFLAG = -xs
124 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
128 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
132 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
139 __OPTIMIZEFLAG = -ot -ox
142 !ifeq RUNTIME_LIBS dynamic
145 !ifeq RUNTIME_LIBS static
150 __UNICODE_DEFINE_p = -d_UNICODE
154 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
159 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
164 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
168 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
172 __fldll___depname = &
173 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
177 __fllib___depname = &
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
183 FLDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
184 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
185 $(__UNICODE_DEFINE_p) -i=..\..\src\fl\..\..\..\include -i=$(SETUPHDIR) &
186 -i=..\..\src\fl\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_FL $(CXXFLAGS) &
187 /fh=$(OBJS)\wxprec_fldll.pch $(__EXCEPTIONSFLAG)
189 $(OBJS)\fldll_dummy.obj &
190 $(OBJS)\fldll_antiflickpl.obj &
191 $(OBJS)\fldll_bardragpl.obj &
192 $(OBJS)\fldll_barhintspl.obj &
193 $(OBJS)\fldll_cbcustom.obj &
194 $(OBJS)\fldll_controlbar.obj &
195 $(OBJS)\fldll_dyntbar.obj &
196 $(OBJS)\fldll_dyntbarhnd.obj &
197 $(OBJS)\fldll_frmview.obj &
198 $(OBJS)\fldll_garbagec.obj &
199 $(OBJS)\fldll_gcupdatesmgr.obj &
200 $(OBJS)\fldll_hintanimpl.obj &
201 $(OBJS)\fldll_newbmpbtn.obj &
202 $(OBJS)\fldll_panedrawpl.obj &
203 $(OBJS)\fldll_rowdragpl.obj &
204 $(OBJS)\fldll_rowlayoutpl.obj &
205 $(OBJS)\fldll_toolwnd.obj &
206 $(OBJS)\fldll_updatesmgr.obj
207 FLLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
208 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
209 $(__UNICODE_DEFINE_p) -i=..\..\src\fl\..\..\..\include -i=$(SETUPHDIR) &
210 -i=..\..\src\fl\..\..\include $(CXXFLAGS) /fh=$(OBJS)\wxprec_fllib.pch &
213 $(OBJS)\fllib_dummy.obj &
214 $(OBJS)\fllib_antiflickpl.obj &
215 $(OBJS)\fllib_bardragpl.obj &
216 $(OBJS)\fllib_barhintspl.obj &
217 $(OBJS)\fllib_cbcustom.obj &
218 $(OBJS)\fllib_controlbar.obj &
219 $(OBJS)\fllib_dyntbar.obj &
220 $(OBJS)\fllib_dyntbarhnd.obj &
221 $(OBJS)\fllib_frmview.obj &
222 $(OBJS)\fllib_garbagec.obj &
223 $(OBJS)\fllib_gcupdatesmgr.obj &
224 $(OBJS)\fllib_hintanimpl.obj &
225 $(OBJS)\fllib_newbmpbtn.obj &
226 $(OBJS)\fllib_panedrawpl.obj &
227 $(OBJS)\fllib_rowdragpl.obj &
228 $(OBJS)\fllib_rowlayoutpl.obj &
229 $(OBJS)\fllib_toolwnd.obj &
230 $(OBJS)\fllib_updatesmgr.obj
232 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
234 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
239 -if not exist $(OBJS) mkdir $(OBJS)
243 all : .SYMBOLIC $(__fldll___depname) $(__fllib___depname)
245 $(OBJS)\fldll_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
246 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
248 $(OBJS)\fldll_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
249 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
251 $(OBJS)\fldll_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
252 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
254 $(OBJS)\fldll_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
255 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
257 $(OBJS)\fldll_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
258 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
260 $(OBJS)\fldll_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
261 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
263 $(OBJS)\fldll_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
264 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
266 $(OBJS)\fldll_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
267 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
269 $(OBJS)\fldll_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
270 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
272 $(OBJS)\fldll_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
273 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
275 $(OBJS)\fldll_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
276 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
278 $(OBJS)\fldll_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
279 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
281 $(OBJS)\fldll_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
282 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
284 $(OBJS)\fldll_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
285 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
287 $(OBJS)\fldll_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
288 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
290 $(OBJS)\fldll_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
291 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
293 $(OBJS)\fldll_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
294 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
296 $(OBJS)\fldll_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
297 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
299 $(OBJS)\fllib_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
300 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
302 $(OBJS)\fllib_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
303 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
305 $(OBJS)\fllib_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
306 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
308 $(OBJS)\fllib_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
309 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
311 $(OBJS)\fllib_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
312 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
314 $(OBJS)\fllib_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
315 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
317 $(OBJS)\fllib_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
318 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
320 $(OBJS)\fllib_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
321 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
323 $(OBJS)\fllib_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
324 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
326 $(OBJS)\fllib_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
327 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
329 $(OBJS)\fllib_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
330 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
332 $(OBJS)\fllib_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
333 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
335 $(OBJS)\fllib_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
336 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
338 $(OBJS)\fllib_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
339 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
341 $(OBJS)\fllib_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
342 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
344 $(OBJS)\fllib_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
345 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
347 $(OBJS)\fllib_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
348 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
350 $(OBJS)\fllib_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
351 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
354 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
355 -if exist $(OBJS)\*.res del $(OBJS)\*.res
356 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
357 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
358 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
359 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
360 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
363 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll : $(FLDLL_OBJECTS)
364 @%create $(OBJS)\fldll.lbc
365 @%append $(OBJS)\fldll.lbc option quiet
366 @%append $(OBJS)\fldll.lbc name $^@
367 @%append $(OBJS)\fldll.lbc option caseexact
368 @%append $(OBJS)\fldll.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME)
369 @for %i in ($(FLDLL_OBJECTS)) do @%append $(OBJS)\fldll.lbc file %i
370 @for %i in ( $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\fldll.lbc library %i
371 @%append $(OBJS)\fldll.lbc
372 @%append $(OBJS)\fldll.lbc system nt_dll
373 wlink @$(OBJS)\fldll.lbc
374 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib +$^@
378 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib : $(FLLIB_OBJECTS)
379 @%create $(OBJS)\fllib.lbc
380 @for %i in ($(FLLIB_OBJECTS)) do @%append $(OBJS)\fllib.lbc +%i
381 wlib -q -p2048 -n -b $^@ @$(OBJS)\fllib.lbc