| DEBUG_INFORMATION_FORMAT = dwarf; |
| GCC_C_LANGUAGE_STANDARD = gnu99; |
| GCC_DEBUGGING_SYMBOLS = default; |
| GCC_DYNAMIC_NO_PIC = NO; |
| GCC_ENABLE_CPP_EXCEPTIONS = NO; |
| GCC_ENABLE_CPP_RTTI = NO; |
| GCC_ENABLE_OBJC_EXCEPTIONS = YES; |
| GCC_ENABLE_OBJC_GC = supported; |
| GCC_ENABLE_SYMBOL_SEPARATION = NO; |
| GCC_FAST_OBJC_DISPATCH = YES; |
| GCC_MODEL_TUNING = G5; |
| GCC_OBJC_CALL_CXX_CDTORS = YES; |
| GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| GCC_THREADSAFE_STATICS = NO; |
| GCC_TREAT_WARNINGS_AS_ERRORS = YES; |
| GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; |
| GCC_WARN_ABOUT_MISSING_NEWLINE = YES; |
| GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; |
| GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; |
| LINKER_DISPLAYS_MANGLED_NAMES = YES; |
| OTHER_MIGFLAGS = -F$(BUILT_PRODUCTS_DIR); |
| PREBINDING = NO; |
| VALID_ARCHS = i386 ppc x86_64 ppc64; |
| // FIXME: <rdar://problem/5070292> WebKit should build with -Wshorten-64-to-32 |
| WARNING_CFLAGS = -Wall -Wextra -Wcast-align -Wchar-subscripts -Wextra-tokens -Wformat-security -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wno-unused-parameter -Wpacked -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings; |
| |
| |
| // DEBUG_DEFINES, GCC_OPTIMIZATION_LEVEL, STRIP_INSTALLED_PRODUCT and DEAD_CODE_STRIPPING vary between the debug and normal variants. |
| // We set up the values for each variant here, and have the Debug configuration in the Xcode project use the _debug variant. |
| DEBUG_DEFINES_debug = DISABLE_THREAD_CHECK; |
| DEBUG_DEFINES_normal = NDEBUG; |
| DEBUG_DEFINES = $(DEBUG_DEFINES_$(CURRENT_VARIANT)); |
| |
| GCC_OPTIMIZATION_LEVEL = $(GCC_OPTIMIZATION_LEVEL_$(CURRENT_VARIANT)); |
| GCC_OPTIMIZATION_LEVEL_normal = 2; |
| GCC_OPTIMIZATION_LEVEL_debug = 0; |
| |
| STRIP_INSTALLED_PRODUCT = $(STRIP_INSTALLED_PRODUCT_$(CURRENT_VARIANT)); |
| STRIP_INSTALLED_PRODUCT_normal = YES; |
| STRIP_INSTALLED_PRODUCT_debug = NO; |
| |
| // Dead code stripping needs to be on in the debug variant to avoid link errors. This is due to unconditionally |
| // building the MiG bindings for WebKitPluginClient even when the functions that the bindings wrap are not built. |
| DEAD_CODE_STRIPPING = YES; |
| |
| |
| GCC_VERSION = $(GCC_VERSION_$(XCODE_VERSION_ACTUAL)); |
| GCC_VERSION_0310 = 4.2; |
| |
| |
| // <rdar://problem/5488678>: Production builds on 10.4 PowerPC need to have debugging symbols disabled to prevent a huge STABS section being generated. |
| // Xcode on 10.4 does not define MAC_OS_X_VERSION_MAJOR, so the default Mac OS X version is treated as 10.4. |
| GCC_GENERATE_DEBUGGING_SYMBOLS = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH)); |
| GCC_GENERATE_DEBUGGING_SYMBOLS_i386 = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_x86_64 = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc64 = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH)_$(CONFIGURATION)); |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Debug = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Release = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production = $(GCC_GENERATE_DEBUGGING_SYMBOLS_$(CURRENT_ARCH)_$(CONFIGURATION)_$(MAC_OS_X_VERSION_MAJOR)); |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_ = NO; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1040 = NO; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1050 = YES; |
| GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1060 = YES; |