| DEAD_CODE_STRIPPING = YES; |
| DEBUG_INFORMATION_FORMAT = dwarf; |
| GCC_C_LANGUAGE_STANDARD = gnu99; |
| GCC_DEBUGGING_SYMBOLS = default; |
| 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_OPTIMIZATION_LEVEL = s; |
| GCC_PRECOMPILE_PREFIX_HEADER = NO; |
| GCC_INLINES_ARE_PRIVATE_EXTERN = YES; |
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; |
| GCC_THREADSAFE_STATICS = NO; |
| GCC_TREAT_WARNINGS_AS_ERRORS = NO; |
| GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; |
| LINKER_DISPLAYS_MANGLED_NAMES = YES; |
| PREBINDING = NO; |
| STRIP_INSTALLED_PRODUCT = NO; |
| |
| |
| TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR); |
| |
| |
| // Use GCC 4.2 with Xcode 3.1, which includes GCC 4.2 but defaults to GCC 4.0. |
| // Note that Xcode versions as new as 3.1.2 use XCODE_VERSION_ACTUAL for the minor version |
| // number. Newer versions of Xcode use XCODE_VERSION_MINOR for the minor version, and |
| // XCODE_VERSION_ACTUAL for the full version number. |
| TARGET_GCC_VERSION = $(TARGET_GCC_VERSION_$(TARGET_MAC_OS_X_VERSION_MAJOR)); |
| TARGET_GCC_VERSION_ = $(TARGET_GCC_VERSION_1040); |
| TARGET_GCC_VERSION_1040 = GCC_40; |
| TARGET_GCC_VERSION_1050 = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_MINOR)); |
| TARGET_GCC_VERSION_1050_ = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_ACTUAL)); |
| TARGET_GCC_VERSION_1050_0310 = GCC_42; |
| TARGET_GCC_VERSION_1050_0320 = GCC_42; |
| TARGET_GCC_VERSION_1060 = GCC_42; |
| TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION)); |
| TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER; |
| TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42; |
| TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42; |
| |
| GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION)); |
| GCC_VERSION_GCC_40 = 4.0; |
| GCC_VERSION_GCC_42 = 4.2; |
| GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42; |
| GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0; |
| |
| // FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions. |
| GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION)); |
| GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO; |
| GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO; |
| GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO; |
| GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES; |
| |
| // If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK. |
| SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); |
| SDKROOT_1050_1040 = macosx10.4internal; |
| SDKROOT_1060_1040 = macosx10.4internal; |
| SDKROOT_1060_1050 = macosx10.5internal; |
| SDKROOT_1070_1040 = macosx10.4internal; |
| SDKROOT_1070_1050 = macosx10.5internal; |
| SDKROOT_1070_1060 = macosx10.6internal; |