Home | History | Annotate | Download | only in Configurations
      1 DEAD_CODE_STRIPPING = YES;
      2 DEBUG_INFORMATION_FORMAT = dwarf;
      3 GCC_C_LANGUAGE_STANDARD = gnu99;
      4 GCC_DEBUGGING_SYMBOLS = default;
      5 GCC_ENABLE_CPP_RTTI = NO;
      6 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
      7 GCC_ENABLE_OBJC_GC = supported;
      8 GCC_ENABLE_SYMBOL_SEPARATION = NO;
      9 GCC_FAST_OBJC_DISPATCH = YES;
     10 GCC_MODEL_TUNING = G5;
     11 GCC_OBJC_CALL_CXX_CDTORS = YES;
     12 GCC_OPTIMIZATION_LEVEL = s;
     13 GCC_PRECOMPILE_PREFIX_HEADER = NO;
     14 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
     15 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
     16 GCC_THREADSAFE_STATICS = NO;
     17 GCC_TREAT_WARNINGS_AS_ERRORS = NO;
     18 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
     19 LINKER_DISPLAYS_MANGLED_NAMES = YES;
     20 PREBINDING = NO;
     21 STRIP_INSTALLED_PRODUCT = NO;
     22 
     23 
     24 TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
     25 
     26 
     27 // Use GCC 4.2 with Xcode 3.1, which includes GCC 4.2 but defaults to GCC 4.0.
     28 // Note that Xcode versions as new as 3.1.2 use XCODE_VERSION_ACTUAL for the minor version
     29 // number.  Newer versions of Xcode use XCODE_VERSION_MINOR for the minor version, and
     30 // XCODE_VERSION_ACTUAL for the full version number.
     31 TARGET_GCC_VERSION = $(TARGET_GCC_VERSION_$(TARGET_MAC_OS_X_VERSION_MAJOR));
     32 TARGET_GCC_VERSION_ = $(TARGET_GCC_VERSION_1040);
     33 TARGET_GCC_VERSION_1040 = GCC_40;
     34 TARGET_GCC_VERSION_1050 = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_MINOR));
     35 TARGET_GCC_VERSION_1050_ = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_ACTUAL));
     36 TARGET_GCC_VERSION_1050_0310 = GCC_42;
     37 TARGET_GCC_VERSION_1050_0320 = GCC_42;
     38 TARGET_GCC_VERSION_1060 = GCC_42;
     39 TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     40 TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     41 TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     42 TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
     43 
     44 GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     45 GCC_VERSION_GCC_40 = 4.0;
     46 GCC_VERSION_GCC_42 = 4.2;
     47 GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     48 GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     49 
     50 // FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     51 GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     52 GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     53 GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     54 GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     55 GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
     56 
     57 // 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.
     58 SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
     59 SDKROOT_1050_1040 = macosx10.4internal;
     60 SDKROOT_1060_1040 = macosx10.4internal;
     61 SDKROOT_1060_1050 = macosx10.5internal;
     62 SDKROOT_1070_1040 = macosx10.4internal;
     63 SDKROOT_1070_1050 = macosx10.5internal;
     64 SDKROOT_1070_1060 = macosx10.6internal;
     65