X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb9548d9a79312de7726a437a5a67e48e8093863..37da386f77095543cf7740453455701ab65b5c94:/build/bakefiles/common.bkl diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 6b1038d6f7..2ac0c1a132 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -2,26 +2,48 @@ - + + + + + + + + + 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)) @@ -32,11 +54,11 @@ $(WX_VERSION) - $(WXVER_MAJOR)$(WXVER_MINOR) - $(WXVER_MAJOR)$(WXVER_MINOR)$(WXVER_RELEASE) + $(WX_RELEASE_NODOT) + $(WX_VERSION_NODOT) - - + + @@ -45,7 +67,7 @@ base $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) - + _carbon @@ -68,12 +90,13 @@ d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) - + univ @@ -84,14 +107,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) @@ -111,7 +134,7 @@ $(WXVERSIONTAG) - + @@ -128,12 +151,18 @@ $(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'))) @@ -146,12 +175,15 @@ $(mk.evalExpr(wxwin.mkLibName('mono'))) - - + + - + + + _$(CPU) + @@ -161,7 +193,9 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + build_cbx_$(CFG_NAME_PART) @@ -169,25 +203,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) - - + + @@ -211,6 +247,14 @@ on off + + on + off + + + multi + single + __WXDEBUG__ @@ -224,7 +268,12 @@ _UNICODE - + + + + _WIN32_WINNT=0x0400 + + unicows @@ -233,35 +282,44 @@ $(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))) @@ -269,14 +327,23 @@ - + + wx/msw/wince/setup.h + wince\setup.h + wince_setup_h + + wx/msw/setup.h - - include\wx\msw\setup.h + setup.h + setup_h + + + + include\wx\msw\$(vc_setup_h) - + Creating $(SETUPHDIR)\wx\setup.h -InputPath=..\include\wx\msw\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 @@ -291,7 +358,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - + @@ -301,11 +368,24 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - + - + + + + $(EXTRALIBS) $(EXTRALIBS_GUI) + $(EXTRALIBS) + + + + $(EXTRALIBS_GUI) + + @@ -330,8 +419,8 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(LIB_ODBC) $(LIB_REGEX) $(LIB_EXPAT) - - $(EXTRALIBS) + + $(EXTRALIBS_FOR_BASE) @@ -339,7 +428,15 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h ole2w32 - + + ole32 + oleaut32 + uuid + commctrl + winsock + wininet + + kernel32 user32 gdi32 @@ -358,14 +455,16 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h oleacc - odbc32 + + odbc32 + @@ -377,33 +476,33 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(WXLIB_MONO) - + 0 - + -