X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c59422a40f0a3b11d6c38993f09b3a36b30f8322..fde8374482bc51ca0539b2db8f449c62a0d0d7e4:/build/bakefiles/common.bkl
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 38c6d80e9b..c8b45a7847 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -22,10 +22,6 @@
0
-
- 0
-
-
@@ -34,6 +30,15 @@
+
+ _$(CPU)
+ _x64
+ _x64
+ _ia64
+ _ia64
+ _x64
+ _x64
+
@@ -48,12 +53,26 @@
_carbon
+
+
+ ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
+
+
$(COMPILER)
gcc
+
+
- _$(COMPILERORGCC)
+ _$(COMPILERORGCC)$(COMPILER_VERSION)$(ARCH_SUFFIX)
+ _$(COMPILERORGCC)
@@ -161,7 +180,9 @@
$(mk.evalExpr(wxwin.mkLibName('stc')))
-
+
+ $(mk.evalExpr(wxwin.mkLibName('webview')))
+
$(mk.evalExpr(wxwin.mkLibName('mono')))
@@ -171,14 +192,6 @@
-
- _$(CPU)
- _amd64
- _amd64
- _ia64
- _ia64
-
-
dll
@@ -187,12 +200,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)
@@ -208,7 +221,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)
@@ -301,20 +314,14 @@
$(DOLLAR)(CAIRO_ROOT)/include/cairo
-
-
- gdiplus
-
-
- wxUSE_GRAPHICS_CONTEXT=1
-
-
/MACHINE:X64
/MACHINE:X64
/MACHINE:IA64
/MACHINE:IA64
+ /MACHINE:X64
+ /MACHINE:X64
@@ -328,6 +335,13 @@
$(EXTRACFLAGS)
+
+
+ _CRT_SECURE_NO_DEPRECATE=1
+ _CRT_NON_CONFORMING_SWPRINTFS=1
+ _SCL_SECURE_NO_WARNINGS=1
+
+
$(NO_VC_CRTDBG)
$(WIN32_WINNT)
@@ -384,7 +398,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
@@ -415,15 +436,31 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
-
- msw/setup.h
- univ/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')
@@ -481,7 +518,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)
@@ -489,12 +526,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(EXTRALIBS_GUI)
-
- $(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10
-
- dos4gw
-
-
+
+
+ -mms-bitfields
+
$(wxwin.mk_wxid(id))
@@ -507,15 +542,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(THREAD_DEFINE)
$(UNICODE_DEFINE)
$(MSLU_DEFINE)
- $(GFXCTX_DEFINE)
$(SETUPHDIR)
$(TOP_SRCDIR)include
$(CAIRO_INCLUDEDIR)
$(LIBDIRNAME)
-
- $(MGLLIBPATH)
- $(MGLLIBPATH)/$(MGLPMLIBPATH)
-
max
$(CXXWARNINGS)
@@ -527,6 +557,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
-Wno-ctor-dtor-privacy
+ $(CXXFLAGS_GTK_WINDOWS_GCC)
@@ -546,17 +577,9 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
-
-
- mgl
- mglcpp
- pm
-
-
$(UNICOWS_LIB)
- $(GDIPLUS_LIB)
$(CAIRO_LIB)
$(CAIRO_LIBDIR)
@@ -595,19 +618,29 @@ $(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_TIFF)
$(LIB_JPEG)
$(LIB_PNG)
+ $(LIB_GTK)
$(EXTRALIBS_FOR_GUI)
+
+ $(LIB_PNG)
+
-
+
$(WXLIB_MONO)
+ $(LIB_PNG_IF_MONO)
@@ -624,7 +657,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
WXBUILDING
-
+
$(WXTOPDIR)src/common/dummy.cpp
$(WXTOPDIR)src/common/dummy.cpp
@@ -636,16 +669,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
@@ -679,7 +716,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(DYLIB_RPATH_POSTLINK)
$(WXTOPDIR)src/msw/version.rc
-
+
@@ -697,9 +734,6 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
-
- $(DOLLAR)(%SCITECH)/include
-
$(INC_TIFF_BUILD)
$(INC_TIFF)
$(INC_JPEG)