1DEAD_CODE_STRIPPING = YES; 2DEBUG_INFORMATION_FORMAT = dwarf; 3GCC_C_LANGUAGE_STANDARD = gnu99; 4GCC_DEBUGGING_SYMBOLS = default; 5GCC_ENABLE_CPP_RTTI = NO; 6GCC_ENABLE_OBJC_EXCEPTIONS = YES; 7GCC_ENABLE_OBJC_GC = supported; 8GCC_ENABLE_SYMBOL_SEPARATION = NO; 9GCC_FAST_OBJC_DISPATCH = YES; 10GCC_MODEL_TUNING = G5; 11GCC_OBJC_CALL_CXX_CDTORS = YES; 12GCC_OPTIMIZATION_LEVEL = s; 13GCC_PRECOMPILE_PREFIX_HEADER = NO; 14GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 15GCC_SYMBOLS_PRIVATE_EXTERN = NO; 16GCC_THREADSAFE_STATICS = NO; 17GCC_TREAT_WARNINGS_AS_ERRORS = NO; 18GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; 19LINKER_DISPLAYS_MANGLED_NAMES = YES; 20PREBINDING = NO; 21STRIP_INSTALLED_PRODUCT = NO; 22 23 24TARGET_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. 31TARGET_GCC_VERSION = $(TARGET_GCC_VERSION_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 32TARGET_GCC_VERSION_ = $(TARGET_GCC_VERSION_1040); 33TARGET_GCC_VERSION_1040 = GCC_40; 34TARGET_GCC_VERSION_1050 = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_MINOR)); 35TARGET_GCC_VERSION_1050_ = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_ACTUAL)); 36TARGET_GCC_VERSION_1050_0310 = GCC_42; 37TARGET_GCC_VERSION_1050_0320 = GCC_42; 38TARGET_GCC_VERSION_1060 = GCC_42; 39TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION)); 40TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER; 41TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42; 42TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42; 43 44GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION)); 45GCC_VERSION_GCC_40 = 4.0; 46GCC_VERSION_GCC_42 = 4.2; 47GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42; 48GCC_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. 51GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION)); 52GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO; 53GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO; 54GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO; 55GCC_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. 58SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 59SDKROOT_1050_1040 = macosx10.4internal; 60SDKROOT_1060_1040 = macosx10.4internal; 61SDKROOT_1060_1050 = macosx10.5internal; 62SDKROOT_1070_1040 = macosx10.4internal; 63SDKROOT_1070_1050 = macosx10.5internal; 64SDKROOT_1070_1060 = macosx10.6internal; 65