X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6684d425df28994f4cd13728fdd1dc7cd00a4af..9142a5ec3f9e9232d47ef09fe4a3c96f39816dc4:/build/bakefiles/common.bkl?ds=sidebyside diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index d4f343018d..78915bc7a4 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -1,9 +1,8 @@ - - + @@ -22,10 +21,6 @@ 0 - - 0 - - @@ -34,6 +29,15 @@ + + _$(CPU) + _x64 + _x64 + _ia64 + _ia64 + _x64 + _x64 + @@ -48,12 +52,26 @@ _carbon + + + ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD + + $(COMPILER) gcc + + - _$(COMPILERORGCC) + _$(COMPILERORGCC)$(COMPILER_VERSION)$(ARCH_SUFFIX) + _$(COMPILERORGCC) @@ -149,6 +167,9 @@ $(mk.evalExpr(wxwin.mkLibName('aui'))) + + $(mk.evalExpr(wxwin.mkLibName('ribbon'))) + $(mk.evalExpr(wxwin.mkLibName('propgrid'))) @@ -158,7 +179,9 @@ $(mk.evalExpr(wxwin.mkLibName('stc'))) - + + $(mk.evalExpr(wxwin.mkLibName('webview'))) + $(mk.evalExpr(wxwin.mkLibName('mono'))) @@ -168,14 +191,6 @@ - - _$(CPU) - _amd64 - _amd64 - _ia64 - _ia64 - - dll @@ -184,12 +199,12 @@ $(PORTNAME)$(WXUNIVNAME)$(WX_U_D_SUFFIX)$(WXDLLFLAG)$(CFG) - $(COMPILER) - $(COMPILER_PREFIX)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(CFG_NAME_PART)$(ARCH_SUFFIX) $(OBJS) @@ -205,7 +220,7 @@ $(wx_top_builddir)/lib - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG) @@ -263,6 +278,11 @@ wxDEBUG_LEVEL=0 + + NDEBUG + NDEBUG + + __NO_VC_CRTDBG__ @@ -284,21 +304,23 @@ unicows - - - - gdiplus - - - wxUSE_GRAPHICS_CONTEXT=1 - - + + cairo + + + $(DOLLAR)(CAIRO_ROOT)/lib + + + $(DOLLAR)(CAIRO_ROOT)/include/cairo + - /MACHINE:AMD64 - /MACHINE:AMD64 + /MACHINE:X64 + /MACHINE:X64 /MACHINE:IA64 /MACHINE:IA64 + /MACHINE:X64 + /MACHINE:X64 @@ -352,7 +397,14 @@ - + +Creating $(SETUPHDIR)\wx\setup.h +InputPath=..\..\include\wx\%s + +"$(SETUPHDIR)\wx\setup.h" : +$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h + + Creating $(SETUPHDIR)\wx\setup.h InputPath=..\..\include\wx\%s @@ -388,10 +440,15 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\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') @@ -449,7 +506,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r The variables below are defined so that all libs are used in monolithic build, but not in multilib one. --> - $(EXTRALIBS) $(EXTRALIBS_GUI) + $(EXTRALIBS) $(EXTRALIBS_XML) $(EXTRALIBS_GUI) $(EXTRALIBS) @@ -457,31 +514,26 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r $(EXTRALIBS_GUI) - - $(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10 - - dos4gw - - + + + -mms-bitfields + @@ -512,17 +565,11 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r - - - mgl - mglcpp - pm - - $(UNICOWS_LIB) - $(GDIPLUS_LIB) + $(CAIRO_LIB) + $(CAIRO_LIBDIR) ole2w32 @@ -559,23 +606,38 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r + + 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 + + + $(LIB_PNG) + + + + $(LIB_SCINTILLA) + @@ -588,7 +650,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r WXBUILDING - + $(WXTOPDIR)src/common/dummy.cpp $(WXTOPDIR)src/common/dummy.cpp @@ -600,16 +662,20 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r wxprec_$(id) src/common/extended.c + src/gtk/eggtrayicon.c + src/gtk/treeentry_gtk.c Common Sources:src/common/* + GTK+ Sources:src/gtk/* MSW Sources:src/msw/* Generic Sources:src/generic/* wxUniv Sources:src/univ/* wxHTML Sources:src/html/* Setup Headers:*/setup.h + GTK+ Headers:*wx/gtk/*.h MSW Headers:*wx/msw/*.h Generic Headers:*wx/generic/*.h wxUniv Headers:*wx/univ/*.h @@ -643,7 +709,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r $(DYLIB_RPATH_POSTLINK) $(WXTOPDIR)src/msw/version.rc - +