1 #include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
3 #include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/SimulatorSupport.xcconfig"
4 // Set INSTALL_PATH[sdk=macosx*] when SimulatorSupport.xcconfig is unavailable
5 INSTALL_PATH[sdk=macosx*] = $(INSTALL_PATH_ACTUAL)
7 BUILD_VARIANTS = normal
8 SUPPORTED_PLATFORMS = macosx iphoneos iphoneosnano
10 DEAD_CODE_STRIPPING = YES
11 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
12 INSTALL_PATH_ACTUAL = /usr/lib/system
13 PUBLIC_HEADERS_FOLDER_PATH = $(INSTALL_PATH_PREFIX)/usr/include
14 PRIVATE_HEADERS_FOLDER_PATH = $(INSTALL_PATH_PREFIX)/usr/local/include
15 OS_PRIVATE_HEADERS_FOLDER_PATH = $(INSTALL_PATH_PREFIX)/usr/local/include/os
16 EXECUTABLE_PREFIX = libsystem_
18 ALWAYS_SEARCH_USER_PATHS = NO
19 ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_kernel.order
20 OTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -momit-leaf-frame-pointer -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1
21 OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DSYSCALL_PRE1050
22 OTHER_CFLAGS[sdk=macosx*][arch=x86_64*] = $(inherited) -DNO_SYSCALL_LEGACY
23 OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -DNO_SYSCALL_LEGACY
24 GCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
25 HEADER_SEARCH_PATHS = $(PROJECT_DIR)/mach $(PROJECT_DIR)/os $(PROJECT_DIR)/wrappers $(PROJECT_DIR)/wrappers/string $(PROJECT_DIR)/wrappers/libproc $(PROJECT_DIR)/wrappers/libproc/spawn $(BUILT_PRODUCTS_DIR)/internal_hdr/include $(BUILT_PRODUCTS_DIR)/mig_hdr/local/include $(BUILT_PRODUCTS_DIR)/mig_hdr/include $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
26 WARNING_CFLAGS = -Wmost
27 GCC_TREAT_WARNINGS_AS_ERRORS = YES
28 GCC_WARN_ABOUT_MISSING_NEWLINE = YES
29 CODE_SIGN_IDENTITY = -
30 DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
31 DYLIB_LDFLAGS = -umbrella System -all_load -Wl,-alias_list,$(SRCROOT)/Libsyscall.aliases
32 DYLIB_LDFLAGS[sdk=iphoneos*] = $(inherited) -Wl,-sectalign,__DATA,__data,1000
34 INSTALLHDRS_SCRIPT_PHASE = YES
35 INSTALLHDRS_COPY_PHASE = YES
37 LINK_WITH_STANDARD_LIBRARIES = NO
38 ALWAYS_SEARCH_USER_PATHS = YES