X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6dc1b906339cd9ff5aac3fede6f5c6a9d3b4483..b8af111fa5d3916e6f42fee3af0ab1bec0ace7b6:/build/bakefiles/common.bkl diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 21e13cf652..06b45c3bdb 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -3,42 +3,37 @@ - - + + + + + + + + 0 + + + + 0 + - - - - - $(wxwin.getVersionMajor()) - $(wxwin.getVersionMinor()) - $(wxwin.getVersionRelease()) - - $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) - - $(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) - - - @@ -47,7 +42,7 @@ base $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) - + _carbon @@ -70,12 +65,13 @@ d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) - + univ @@ -86,14 +82,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) @@ -113,7 +109,7 @@ $(WXVERSIONTAG) - + @@ -124,18 +120,27 @@ $(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'))) $(mk.evalExpr(wxwin.mkLibName('xml'))) + + $(mk.evalExpr(wxwin.mkLibName('xrc'))) + $(mk.evalExpr(wxwin.mkLibName('odbc'))) @@ -148,12 +153,17 @@ $(mk.evalExpr(wxwin.mkLibName('mono'))) - - + + - + + + _$(CPU) + _amd64 + _ia64 + @@ -163,7 +173,9 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + build_cbx_$(CFG_NAME_PART) @@ -171,25 +183,29 @@ $(OBJS) - + + + lib + dll + $(TOOLKIT_LOWERCASE)_lib + $(TOOLKIT_LOWERCASE)_dll + + $(top_builddir)lib - - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_lib$(CFG) - - - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_dll$(CFG) + + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) - + $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) - - + + @@ -201,7 +217,8 @@ off - $(DEBUGINFO) + on + off off on @@ -213,6 +230,24 @@ on off + + on + off + + + multi + single + + + + wxNO_RTTI + + + wxNO_EXCEPTIONS + + + wxNO_THREADS + __WXDEBUG__ @@ -226,66 +261,145 @@ _UNICODE - + + wxUSE_UNICODE_MSLU=1 + + + + + _WIN32_WINNT=0x0400 + + unicows + + /MACHINE:AMD64 + /MACHINE:IA64 + + + WX_CPU_AMD64 + WX_CPU_IA64 + + - + - - + + + $(FORMAT in ['msvc6prj','msevc4prj']) + - - - $(addPrefixToList('include\', wxwin.headersOnly(value))) - + + + + + $(addPrefixToList('include\', wxwin.headersOnly(value))) + + + + + $(addPrefixToList('include\\', wxwin.headersOnly(value))) + + - - - wx/msw/setup.h - - include\wx\msw\setup.h - - + + Creating $(SETUPHDIR)\wx\setup.h -InputPath=..\include\wx\msw\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)) + + + $(nativePaths(addPrefixToList('include/wx/', value))) + + + + + msw/wince/setup.h + + + $(msvc_copy_setup_h_script % 'msw\wince\setup.h') + + + + + msw/setup.h + univ/setup.h + + + + $(msvc_copy_setup_h_script % 'msw\setup.h') + + + + + $(msvc_copy_setup_h_script % 'univ\setup.h') + + + + + + @@ -293,7 +407,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - + @@ -303,23 +417,49 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - + - + + + + $(EXTRALIBS) $(EXTRALIBS_GUI) + $(EXTRALIBS) + + + + $(EXTRALIBS_GUI) + + @@ -332,16 +472,31 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(LIB_ODBC) $(LIB_REGEX) $(LIB_EXPAT) - - $(EXTRALIBS) + + $(EXTRALIBS_FOR_BASE) + + + + + upm32 + + - + $(UNICOWS_LIB) ole2w32 - + + ole32 + oleaut32 + uuid + commctrl + winsock + wininet + + kernel32 user32 gdi32 @@ -360,14 +515,16 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h oleacc - odbc32 + + odbc32 + @@ -379,33 +536,31 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(WXLIB_MONO) - + 0 - + -