]> git.saurik.com Git - apple/xnu.git/blame - libsyscall/Libsyscall.xcconfig
xnu-3248.40.184.tar.gz
[apple/xnu.git] / libsyscall / Libsyscall.xcconfig
CommitLineData
6d2010ae 1#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
fe8ab488 2
6d2010ae 3BUILD_VARIANTS = normal
3e170ce0 4SUPPORTED_PLATFORMS = macosx iphoneos iphoneosnano tvos appletvos watchos
6d2010ae 5ONLY_ACTIVE_ARCH = NO
fe8ab488 6DEAD_CODE_STRIPPING = YES
6d2010ae 7DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
3e170ce0
A
8INSTALL_PATH = /usr/lib/system
9PUBLIC_HEADERS_FOLDER_PATH = /usr/include
10PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include
11OS_PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os
6d2010ae
A
12EXECUTABLE_PREFIX = libsystem_
13PRODUCT_NAME = kernel
14ALWAYS_SEARCH_USER_PATHS = NO
316670eb 15ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_kernel.order
39236c6e 16OTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -momit-leaf-frame-pointer -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1
6d2010ae 17OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DSYSCALL_PRE1050
fe8ab488 18OTHER_CFLAGS[sdk=macosx*][arch=x86_64*] = $(inherited) -DNO_SYSCALL_LEGACY
6d2010ae 19OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -DNO_SYSCALL_LEGACY
3e170ce0
A
20OTHER_CFLAGS[sdk=watchos*] = $(inherited) -DNO_SYSCALL_LEGACY
21OTHER_CFLAGS[sdk=tvos*] = $(inherited) -DNO_SYSCALL_LEGACY
22OTHER_CFLAGS[sdk=appletvos*] = $(inherited) -DNO_SYSCALL_LEGACY
6d2010ae 23GCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
fe8ab488 24HEADER_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
6d2010ae
A
25WARNING_CFLAGS = -Wmost
26GCC_TREAT_WARNINGS_AS_ERRORS = YES
27GCC_WARN_ABOUT_MISSING_NEWLINE = YES
28CODE_SIGN_IDENTITY = -
29DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
39236c6e 30DYLIB_LDFLAGS = -umbrella System -all_load -Wl,-alias_list,$(SRCROOT)/Libsyscall.aliases
fe8ab488 31DYLIB_LDFLAGS[sdk=iphoneos*] = $(inherited) -Wl,-sectalign,__DATA,__data,1000
3e170ce0
A
32DYLIB_LDFLAGS[sdk=watchos*] = $(inherited) -Wl,-sectalign,__DATA,__data,1000
33DYLIB_LDFLAGS[sdk=tvos*] = $(inherited) -Wl,-sectalign,__DATA,__data,1000
34DYLIB_LDFLAGS[sdk=appletvos*] = $(inherited) -Wl,-sectalign,__DATA,__data,1000
6d2010ae
A
35OTHER_LDFLAGS =
36INSTALLHDRS_SCRIPT_PHASE = YES
39236c6e 37INSTALLHDRS_COPY_PHASE = YES
6d2010ae
A
38USE_HEADERMAP = NO
39LINK_WITH_STANDARD_LIBRARIES = NO
40ALWAYS_SEARCH_USER_PATHS = YES