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