]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/Libsyscall.xcconfig
xnu-2422.1.72.tar.gz
[apple/xnu.git] / libsyscall / Libsyscall.xcconfig
index 3f9e34bdb408da186adbe7aea147caccc117f90a..4fa5f1097532ed836abc52998d49d3638e1c4e7f 100644 (file)
@@ -1,5 +1,6 @@
 #include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
 BUILD_VARIANTS = normal
+SUPPORTED_PLATFORMS = macosx iphoneos
 ONLY_ACTIVE_ARCH = NO
 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
 INSTALL_PATH = /usr/lib/system
@@ -7,30 +8,34 @@ INSTALL_PATH[sdk=iphoneos*] = /usr/lib/system
 INSTALL_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/lib/system
 INSTALL_PATH[sdk=macosx*] = /usr/lib/system
 PUBLIC_HEADERS_FOLDER_PATH = /usr/include/mach
-PUBLIC_HEADERS_FOLDER_PATH[sdk=iphoneos*] = /usr/include/mach
-PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/include/mach
-PUBLIC_HEADERS_FOLDER_PATH[sdk=macosx*] = /usr/include/mach
+PUBLIC_HEADERS_FOLDER_PATH[sdk=iphoneos*] = /usr/include
+PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/include
+PUBLIC_HEADERS_FOLDER_PATH[sdk=macosx*] = /usr/include
 PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include
 PRIVATE_HEADERS_FOLDER_PATH[sdk=iphoneos*] = /usr/local/include
 PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/local/include
 PRIVATE_HEADERS_FOLDER_PATH[sdk=macosx*] = /usr/local/include
+OS_PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os
+OS_PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*] = $(SDKROOT)/usr/local/include/os
 EXECUTABLE_PREFIX = libsystem_
 PRODUCT_NAME = kernel
 ALWAYS_SEARCH_USER_PATHS = NO
 ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_kernel.order
-OTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -pipe -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1
+OTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -momit-leaf-frame-pointer -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1
 OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DSYSCALL_PRE1050
 OTHER_CFLAGS[sdk=macosx*][arch=x86_64] = $(inherited) -DNO_SYSCALL_LEGACY
 OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -DNO_SYSCALL_LEGACY
 GCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
-HEADER_SEARCH_PATHS = $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(PROJECT_DIR)/mach $(PROJECT_DIR)/wrappers
+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
 WARNING_CFLAGS = -Wmost
 GCC_TREAT_WARNINGS_AS_ERRORS = YES
 GCC_WARN_ABOUT_MISSING_NEWLINE = YES
 CODE_SIGN_IDENTITY = -
 DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
+DYLIB_LDFLAGS = -umbrella System -all_load -Wl,-alias_list,$(SRCROOT)/Libsyscall.aliases
 OTHER_LDFLAGS = 
 INSTALLHDRS_SCRIPT_PHASE = YES
+INSTALLHDRS_COPY_PHASE = YES
 USE_HEADERMAP = NO
 LINK_WITH_STANDARD_LIBRARIES = NO
 ALWAYS_SEARCH_USER_PATHS = YES