X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/149cc21856cf07a6f1b347b66ab3abcda82717d2..687706f5e722ac8a39172024f794ae0ffbd190e2:/build/bakefiles/common.bkl diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index e26b092c5d..5514715acd 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -2,29 +2,63 @@ - + + + + + + + + + 0 + + - - + + + - + $(wxwin.getVersionMajor()) $(wxwin.getVersionMinor()) $(wxwin.getVersionRelease()) - $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) + + $(WXVER_MAJOR).$(WXVER_MINOR) + + + $(WXVER_MAJOR)$(WXVER_MINOR) + + + $(WX_RELEASE).$(WXVER_RELEASE) + + + $(WX_RELEASE_NODOT)$(WXVER_RELEASE) + + + $(int(int(WXVER_MINOR) % 2 == 0)) - 0.0.0 + + 0.0.0 + $(WXVER_RELEASE).0.0 + $(WX_VERSION) - - + + $(WX_RELEASE_NODOT) + $(WX_VERSION_NODOT) + + + @@ -34,6 +68,10 @@ $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) + + _carbon + + $(COMPILER) gcc @@ -48,15 +86,17 @@ - d + d + d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) - + univ @@ -65,22 +105,27 @@ - wx_base + wx_base$(WXBASEPORT) wx_$(PORTNAME)$(WXUNIVNAME) - -$(WXVER_MAJOR).$(WXVER_MINOR) + -$(WX_RELEASE) - wxbase$(WXVER_MAJOR)$(WXVER_MINOR) - wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR) + + wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT) + + + wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT) - wxbase$(WXVER_MAJOR)$(WXVER_MINOR) + + wxbase$(WXBASEPORT)$(WXWIN32DLLVERSION) + $(WXNAMEPREFIX) - wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR) + wx$(PORTNAME)$(WXUNIVNAME)$(WXWIN32DLLVERSION) $(WXNAMEPREFIXGUI) @@ -89,11 +134,7 @@ $(WXVERSIONTAG) - - $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-$(WXVER_MAJOR).$(WXVER_MINOR) - - @@ -101,22 +142,48 @@ $(mk.evalExpr(wxwin.mkLibName('base'))) + + $(mk.evalExpr(wxwin.mkLibName('net'))) + $(mk.evalExpr(wxwin.mkLibName('core'))) + + $(mk.evalExpr(wxwin.mkLibName('adv'))) + + + $(mk.evalExpr(wxwin.mkLibName('media'))) + $(mk.evalExpr(wxwin.mkLibName('html'))) + + $(mk.evalExpr(wxwin.mkLibName('xml'))) + + + $(mk.evalExpr(wxwin.mkLibName('xrc'))) + + + + $(mk.evalExpr(wxwin.mkLibName('odbc'))) + + + + $(mk.evalExpr(wxwin.mkLibName('dbgrid'))) + $(mk.evalExpr(wxwin.mkLibName('mono'))) - - + + - + + + _$(CPU) + @@ -125,66 +192,159 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + + + build_cbx_$(CFG_NAME_PART) + + $(OBJS) - - + + + lib + dll + + + $(top_builddir)lib - $(TOP_SRCDIR)lib$(DIRSEP)$(COMPILER)_$(CFG_NAME_PART) + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) - + + + $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) + + + + + - - on - off + + on + on + off + off + + + $(DEBUGINFO) + off + on off speed + + on + off + - __WXDEBUG__ + __WXDEBUG__ + __WXDEBUG__ + + + + __NO_VC_CRTDBG__ + __NO_VC_CRTDBG__ - wxUSE_UNICODE=1 + _UNICODE + + + + unicows - + + + + $(FORMAT in ['msvc6prj','msevc4prj']) + + + + + $(addPrefixToList('include\', wxwin.headersOnly(value))) + + + + + + + wx/msw/wince/setup.h + wince\setup.h + wince_setup_h + + + wx/msw/setup.h + setup.h + setup_h + + + + include\wx\msw\$(vc_setup_h) + + +Creating $(SETUPHDIR)\wx\setup.h +InputPath=..\include\wx\msw\$(vc_setup_h) + +"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" +$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h + + + + + + - + @@ -192,30 +352,51 @@ + + - - + + + + $(EXTRALIBS) $(EXTRALIBS_GUI) + $(EXTRALIBS) + + + + $(EXTRALIBS_GUI) + + -