X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfca95348bb011b507db463c62107bc8f68614ff..438eb6502b26dd1e384246be850d1189a26af227:/build/bakefiles/common.bkl?ds=sidebyside diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 3e633ad293..4c99fc3eda 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -2,25 +2,51 @@ - + + + + + + + + + 0 + + + + 0 + - - + + + - + $(wxwin.getVersionMajor()) $(wxwin.getVersionMinor()) $(wxwin.getVersionRelease()) + + $(WXVER_MAJOR).$(WXVER_MINOR) + + + $(WXVER_MAJOR)$(WXVER_MINOR) + - $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) + $(WX_RELEASE).$(WXVER_RELEASE) + + + $(WX_RELEASE_NODOT)$(WXVER_RELEASE) $(int(int(WXVER_MINOR) % 2 == 0)) @@ -31,11 +57,11 @@ $(WX_VERSION) - $(WXVER_MAJOR)$(WXVER_MINOR) - $(WXVER_MAJOR)$(WXVER_MINOR)$(WXVER_RELEASE) + $(WX_RELEASE_NODOT) + $(WX_VERSION_NODOT) - - + + @@ -44,7 +70,7 @@ base $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) - + _carbon @@ -67,12 +93,13 @@ d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) - + univ @@ -83,14 +110,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) @@ -110,7 +137,7 @@ $(WXVERSIONTAG) - + @@ -121,20 +148,31 @@ $(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'))) + + $(mk.evalExpr(wxwin.mkLibName('odbc'))) + $(mk.evalExpr(wxwin.mkLibName('dbgrid'))) @@ -143,12 +181,15 @@ $(mk.evalExpr(wxwin.mkLibName('mono'))) - - + + - + + + _$(CPU) + @@ -158,7 +199,9 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + build_cbx_$(CFG_NAME_PART) @@ -166,25 +209,27 @@ $(OBJS) - + + + lib + 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) - - + + @@ -208,6 +253,24 @@ on off + + on + off + + + multi + single + + + + wxNO_RTTI + + + wxNO_EXCEPTIONS + + + wxNO_THREADS + __WXDEBUG__ @@ -221,7 +284,12 @@ _UNICODE - + + + + _WIN32_WINNT=0x0400 + + unicows @@ -230,35 +298,83 @@ $(DEBUGINFO) $(DEBUGRUNTIME) $(OPTIMIZEFLAG) - multi + $(THREADSFLAG) $(RUNTIME_LIBS) - $(EXCEPTIONSFLAG) + $(RTTIFLAG) $(EXCEPTIONSFLAG) $(EXTRACFLAGS) $(NO_VC_CRTDBG) + $(WIN32_WINNT) - + + + + $(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 + + + + + + - + @@ -268,23 +384,48 @@ - + - + + + + $(EXTRALIBS) $(EXTRALIBS_GUI) + $(EXTRALIBS) + + + + $(EXTRALIBS_GUI) + + @@ -297,8 +438,8 @@ $(LIB_ODBC) $(LIB_REGEX) $(LIB_EXPAT) - - $(EXTRALIBS) + + $(EXTRALIBS_FOR_BASE) @@ -306,7 +447,15 @@ ole2w32 - + + ole32 + oleaut32 + uuid + commctrl + winsock + wininet + + kernel32 user32 gdi32 @@ -325,38 +474,16 @@ oleacc - odbc32 + + odbc32 + - - - - $(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 - -"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" -$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - - - - @@ -368,33 +495,31 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(WXLIB_MONO) - + 0 - + -