1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
46 !ifeq DEBUG_FLAG default
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_wat$(VENDORTAG).dll
86 !ifeq DEBUG_INFO default
87 __DEBUGINFO_2 = debug all
91 !ifeq DEBUG_INFO default
99 __DEBUGINFO_2 = debug all
104 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
108 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
112 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
116 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
120 __GDIPLUS_LIB_p = gdiplus.lib
125 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
130 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
134 __fllib___depname = &
135 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib
139 !ifeq DEBUG_INFO default
144 !ifeq DEBUG_INFO default
159 __OPTIMIZEFLAG = -ot -ox
169 !ifeq RUNTIME_LIBS dynamic
172 !ifeq RUNTIME_LIBS static
183 !ifeq USE_EXCEPTIONS 0
186 !ifeq USE_EXCEPTIONS 1
187 __EXCEPTIONSFLAG = -xs
191 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
195 !ifeq DEBUG_FLAG default
196 __DEBUG_DEFINE_p = -d__WXDEBUG__
200 __DEBUG_DEFINE_p = -d__WXDEBUG__
202 __EXCEPTIONS_DEFINE_p =
203 !ifeq USE_EXCEPTIONS 0
204 __EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
208 __RTTI_DEFINE_p = -dwxNO_RTTI
212 __THREAD_DEFINE_p = -dwxNO_THREADS
216 __UNICODE_DEFINE_p = -d_UNICODE
220 __GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
225 WX_RELEASE_NODOT = 27
226 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
228 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
229 LIBDIRNAME = ..\..\src\fl\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
231 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
232 FLDLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
233 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
234 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
235 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
236 -i=..\..\src\fl\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
237 -i=..\..\src\fl\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_FL &
238 /fh=$(OBJS)\wxprec_fldll.pch $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
241 $(OBJS)\fldll_dummy.obj &
242 $(OBJS)\fldll_antiflickpl.obj &
243 $(OBJS)\fldll_bardragpl.obj &
244 $(OBJS)\fldll_barhintspl.obj &
245 $(OBJS)\fldll_cbcustom.obj &
246 $(OBJS)\fldll_controlbar.obj &
247 $(OBJS)\fldll_dyntbar.obj &
248 $(OBJS)\fldll_dyntbarhnd.obj &
249 $(OBJS)\fldll_frmview.obj &
250 $(OBJS)\fldll_garbagec.obj &
251 $(OBJS)\fldll_gcupdatesmgr.obj &
252 $(OBJS)\fldll_hintanimpl.obj &
253 $(OBJS)\fldll_newbmpbtn.obj &
254 $(OBJS)\fldll_panedrawpl.obj &
255 $(OBJS)\fldll_rowdragpl.obj &
256 $(OBJS)\fldll_rowlayoutpl.obj &
257 $(OBJS)\fldll_toolwnd.obj &
258 $(OBJS)\fldll_updatesmgr.obj
259 FLLIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
260 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
261 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
262 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
263 -i=..\..\src\fl\..\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
264 -i=..\..\src\fl\..\..\include /fh=$(OBJS)\wxprec_fllib.pch $(__RTTIFLAG) &
265 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
267 $(OBJS)\fllib_dummy.obj &
268 $(OBJS)\fllib_antiflickpl.obj &
269 $(OBJS)\fllib_bardragpl.obj &
270 $(OBJS)\fllib_barhintspl.obj &
271 $(OBJS)\fllib_cbcustom.obj &
272 $(OBJS)\fllib_controlbar.obj &
273 $(OBJS)\fllib_dyntbar.obj &
274 $(OBJS)\fllib_dyntbarhnd.obj &
275 $(OBJS)\fllib_frmview.obj &
276 $(OBJS)\fllib_garbagec.obj &
277 $(OBJS)\fllib_gcupdatesmgr.obj &
278 $(OBJS)\fllib_hintanimpl.obj &
279 $(OBJS)\fllib_newbmpbtn.obj &
280 $(OBJS)\fllib_panedrawpl.obj &
281 $(OBJS)\fllib_rowdragpl.obj &
282 $(OBJS)\fllib_rowlayoutpl.obj &
283 $(OBJS)\fllib_toolwnd.obj &
284 $(OBJS)\fllib_updatesmgr.obj
289 -if not exist $(OBJS) mkdir $(OBJS)
293 all : .SYMBOLIC $(__fldll___depname) $(__fllib___depname)
296 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
297 -if exist $(OBJS)\*.res del $(OBJS)\*.res
298 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
299 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
300 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
301 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_wat$(VENDORTAG).dll
302 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib
303 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib
306 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_wat$(VENDORTAG).dll : $(FLDLL_OBJECTS) $(OBJS)\fldll_version.res
307 @%create $(OBJS)\fldll.lbc
308 @%append $(OBJS)\fldll.lbc option quiet
309 @%append $(OBJS)\fldll.lbc name $^@
310 @%append $(OBJS)\fldll.lbc option caseexact
311 @%append $(OBJS)\fldll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
312 @for %i in ($(FLDLL_OBJECTS)) do @%append $(OBJS)\fldll.lbc file %i
313 @for %i in ( $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\fldll.lbc library %i
314 @%append $(OBJS)\fldll.lbc option resource=$(OBJS)\fldll_version.res
315 @%append $(OBJS)\fldll.lbc system nt_dll
316 wlink @$(OBJS)\fldll.lbc
317 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib +$^@
321 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib : $(FLLIB_OBJECTS)
322 @%create $(OBJS)\fllib.lbc
323 @for %i in ($(FLLIB_OBJECTS)) do @%append $(OBJS)\fllib.lbc +%i
324 wlib -q -p4096 -n -b $^@ @$(OBJS)\fllib.lbc
327 $(OBJS)\fldll_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\common\dummy.cpp
328 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
330 $(OBJS)\fldll_version.res : .AUTODEPEND ../../src/fl\..\..\..\src\msw\version.rc
331 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=..\..\src\fl\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl_wat$(VENDORTAG) $<
333 $(OBJS)\fldll_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
334 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
336 $(OBJS)\fldll_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
337 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
339 $(OBJS)\fldll_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
340 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
342 $(OBJS)\fldll_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
343 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
345 $(OBJS)\fldll_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
346 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
348 $(OBJS)\fldll_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
349 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
351 $(OBJS)\fldll_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
352 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
354 $(OBJS)\fldll_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
355 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
357 $(OBJS)\fldll_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
358 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
360 $(OBJS)\fldll_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
361 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
363 $(OBJS)\fldll_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
364 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
366 $(OBJS)\fldll_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
367 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
369 $(OBJS)\fldll_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
370 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
372 $(OBJS)\fldll_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
373 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
375 $(OBJS)\fldll_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
376 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
378 $(OBJS)\fldll_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
379 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
381 $(OBJS)\fldll_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
382 $(CXX) -bt=nt -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
384 $(OBJS)\fllib_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\common\dummy.cpp
385 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
387 $(OBJS)\fllib_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
388 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
390 $(OBJS)\fllib_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
391 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
393 $(OBJS)\fllib_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
394 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
396 $(OBJS)\fllib_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
397 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
399 $(OBJS)\fllib_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
400 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
402 $(OBJS)\fllib_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
403 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
405 $(OBJS)\fllib_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
406 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
408 $(OBJS)\fllib_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
409 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
411 $(OBJS)\fllib_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
412 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
414 $(OBJS)\fllib_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
415 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
417 $(OBJS)\fllib_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
418 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
420 $(OBJS)\fllib_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
421 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
423 $(OBJS)\fllib_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
424 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
426 $(OBJS)\fllib_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
427 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
429 $(OBJS)\fllib_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
430 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
432 $(OBJS)\fllib_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
433 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
435 $(OBJS)\fllib_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
436 $(CXX) -bt=nt -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<