1 #include "common.xcconfig"
3 // Xcode-defined flags.
4 ARCHS = $(ARCHS_STANDARD_32_64_BIT)
5 SUPPORTED_PLATFORMS = macosx iphoneos
7 BUILD_VARIANTS = normal debug
8 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
9 GCC_TREAT_WARNINGS_AS_ERRORS = YES
10 DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
11 DYLIB_COMPATIBILITY_VERSION = 1
12 DEPLOYMENT_LOCATION = YES
13 INSTALL_PATH = /usr/lib/system
14 ORDER_FILE[sdk=macosx*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/liblaunch.order
15 ORDER_FILE[sdk=iphonesimulator*] =
16 LINK_WITH_STANDARD_LIBRARIES = NO
17 OTHER_LDFLAGS = -umbrella System -L/usr/lib/system -ldyld -lcompiler_rt -lsystem_kernel -lsystem_platform -lsystem_pthread -lsystem_malloc -lsystem_c -lquarantine -ldispatch $(CRASHREPORTER_LINKER_FLAGS)
18 OTHER_LDFLAGS[sdk=iphone*] = -umbrella System -L/usr/lib/system -ldyld -lcompiler_rt -lsystem_kernel -lsystem_platform -lsystem_pthread -lsystem_malloc -lsystem_c -ldispatch $(CRASHREPORTER_LINKER_FLAGS)
19 LD_DYLIB_INSTALL_NAME = $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)
20 MACH_O_TYPE = mh_dylib
21 EXECUTABLE_PREFIX = lib
23 PUBLIC_HEADERS_FOLDER_PATH = /usr/include
24 PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include
25 ALWAYS_SEARCH_USER_PATHS = NO
26 GCC_ENABLE_BUILTIN_FUNCTIONS = YES
27 GCC_PREPROCESSOR_DEFINITIONS_normal = __MigTypeCheck=1 mig_external=__private_extern__
28 GCC_PREPROCESSOR_DEFINITIONS_debug = $(GCC_PREPROCESSOR_DEFINITIONS_normal)
29 OTHER_CFLAGS_normal = -DXPC_BUILDING_LAUNCHD=1 -D__DARWIN_NON_CANCELABLE=1 -D_DARWIN_USE_64_BIT_INODE=1
30 OTHER_CFLAGS_debug = $(OTHER_CFLAGS_normal) -D__LAUNCH_DEBUG__=1 -O0
31 VERSION_INFO_PREFIX = _