X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ceec2216bd3c65103e51a4ed9927f90fc1291d9c..7c3f702506c52162aa913bdf26ba180c7107c705:/build/bakefiles/common.bkl?ds=sidebyside diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 70f7f8317f..c8b45a7847 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -3,45 +3,43 @@ - - + + + + + + + + 0 + + - - - - - $(wxwin.getVersionMajor()) - $(wxwin.getVersionMinor()) - $(wxwin.getVersionRelease()) - - $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) - - - $(WXVER_MAJOR).$(WXVER_MINOR) - - $(int(int(WXVER_MINOR) % 2 == 0)) + + - - 0.0.0 - $(WXVER_RELEASE).0.0 - - $(WX_VERSION) - - $(WXVER_MAJOR)$(WXVER_MINOR) - $(WXVER_MAJOR)$(WXVER_MINOR)$(WXVER_RELEASE) + + _$(CPU) + _x64 + _x64 + _ia64 + _ia64 + _x64 + _x64 - - + @@ -50,17 +48,31 @@ base $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) - + _carbon + + + ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD + + $(COMPILER) gcc + + - _$(COMPILERORGCC) + _$(COMPILERORGCC)$(COMPILER_VERSION)$(ARCH_SUFFIX) + _$(COMPILERORGCC) @@ -68,18 +80,22 @@ _$(VENDOR) + - d - d + d + d u + + $(WXUNICODEFLAG)$(WXDEBUGFLAG) + - $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) + $(WX_U_D_SUFFIX)$(WX_LIB_FLAVOUR) - + univ @@ -90,14 +106,14 @@ wx_base$(WXBASEPORT) wx_$(PORTNAME)$(WXUNIVNAME) - -$(WXVER_MAJOR).$(WXVER_MINOR) + -$(WX_RELEASE) - wxbase$(WXBASEPORT)$(WXVER_MAJOR)$(WXVER_MINOR) + wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT) - wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR) + wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT) @@ -117,7 +133,7 @@ $(WXVERSIONTAG) - + @@ -128,12 +144,18 @@ $(mk.evalExpr(wxwin.mkLibName('net'))) + + $(mk.evalExpr(wxwin.mkLibName('qa'))) + $(mk.evalExpr(wxwin.mkLibName('core'))) $(mk.evalExpr(wxwin.mkLibName('adv'))) + + $(mk.evalExpr(wxwin.mkLibName('media'))) + $(mk.evalExpr(wxwin.mkLibName('html'))) @@ -143,65 +165,74 @@ $(mk.evalExpr(wxwin.mkLibName('xrc'))) - - - $(mk.evalExpr(wxwin.mkLibName('odbc'))) - + + $(mk.evalExpr(wxwin.mkLibName('aui'))) - - $(mk.evalExpr(wxwin.mkLibName('dbgrid'))) + + $(mk.evalExpr(wxwin.mkLibName('ribbon'))) + + + $(mk.evalExpr(wxwin.mkLibName('propgrid'))) + + + $(mk.evalExpr(wxwin.mkLibName('richtext'))) + + + $(mk.evalExpr(wxwin.mkLibName('stc'))) + + + $(mk.evalExpr(wxwin.mkLibName('webview'))) - $(mk.evalExpr(wxwin.mkLibName('mono'))) - - + + - - - _$(CPU) - dll - $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) + $(PORTNAME)$(WXUNIVNAME)$(WX_U_D_SUFFIX)$(WXDLLFLAG)$(CFG) + + + $(COMPILER) + - - $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) - - - build_cbx_$(CFG_NAME_PART) + $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(CFG_NAME_PART)$(ARCH_SUFFIX) $(OBJS) - + + + lib + dll + $(TOOLKIT_LOWERCASE)_lib + $(TOOLKIT_LOWERCASE)_dll + + - $(top_builddir)lib - - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_lib$(CFG) - - - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_dll$(CFG) + $(wx_top_builddir)/lib + + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) - + - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WX_U_D_SUFFIX) - - + + @@ -213,7 +244,8 @@ off - $(DEBUGINFO) + on + off off on @@ -225,11 +257,33 @@ on off + + on + off + + + multi + single + + + + wxNO_RTTI + + + wxNO_EXCEPTIONS + + + wxNO_THREADS + - __WXDEBUG__ - __WXDEBUG__ + wxDEBUG_LEVEL=0 + + NDEBUG + NDEBUG + + __NO_VC_CRTDBG__ @@ -237,131 +291,297 @@ _UNICODE + wxUSE_UNICODE=0 + + + wxUSE_UNICODE_MSLU=1 + + + + + _WIN32_WINNT=0x0400 - + unicows + + cairo + + + $(DOLLAR)(CAIRO_ROOT)/lib + + + $(DOLLAR)(CAIRO_ROOT)/include/cairo + + + + /MACHINE:X64 + /MACHINE:X64 + /MACHINE:IA64 + /MACHINE:IA64 + /MACHINE:X64 + /MACHINE:X64 + - + - - - - $(FORMAT in ['msvc6prj','msevc4prj']) + + - $(addPrefixToList('include\', wxwin.headersOnly(value))) + $(addPrefixToList('include\\', wxwin.headersOnly(value))) - - - wx/msw/wince/setup.h - wince\setup.h - wince_setup_h + + +Creating $(SETUPHDIR)\wx\setup.h +InputPath=..\..\include\wx\%s + +"$(SETUPHDIR)\wx\setup.h" : +$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - - wx/msw/setup.h - setup.h - setup_h + +Creating $(SETUPHDIR)\wx\setup.h +InputPath=..\..\include\wx\%s + +"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" +$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h + + + + + $(addPrefixToList('wx/', value)) + - include\wx\msw\$(vc_setup_h) + $(nativePaths(addPrefixToList('include/wx/', value))) - -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 + + + + + msw/wince/setup.h + + + $(msvc_copy_setup_h_script % 'msw\wince\setup.h') + + + + + + + msw/setup.h + univ/setup.h + + + + + gtk/setup.h + univ/setup.h + + + + + $(msvc_copy_setup_h_script % 'msw\setup.h') + + + + + $(msvc_copy_setup_h_script % 'gtk\setup.h') + + + + + $(msvc_copy_setup_h_script % 'univ\setup.h') + + + + + + + + + + msw/genrcdefs.h + + + + $(_COMPILER) + cl + + +Creating $(SETUPHDIR)\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(SETUPHDIR)\wx\msw" +$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h" - + - + + - + + + $(EXTRALIBS) $(EXTRALIBS_XML) $(EXTRALIBS_GUI) + $(EXTRALIBS) + + + + $(EXTRALIBS_GUI) + + + + + -mms-bitfields + + + + gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib glib-2.0.lib + -