]> git.saurik.com Git - apple/xnu.git/blame - libsyscall/Libsyscall.xcconfig
xnu-7195.101.1.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
5ba3f43e 4SUPPORTED_PLATFORMS = macosx iphoneos iphoneosnano tvos appletvos watchos bridgeos
6d2010ae 5ONLY_ACTIVE_ARCH = NO
fe8ab488 6DEAD_CODE_STRIPPING = YES
6d2010ae 7DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
cb323159
A
8
9SDK_INSTALL_VARIANT = $(SDK_INSTALL_VARIANT_$(DRIVERKIT))
10SDK_INSTALL_VARIANT_1 = driverkit
11SDK_INSTALL_VARIANT_ = default
12SDK_INSTALL_ROOT = $(SDK_INSTALL_ROOT_$(SDK_INSTALL_VARIANT))
13SDK_INSTALL_ROOT_driverkit = $(DRIVERKITROOT)
14SDK_INSTALL_HEADERS_ROOT = $(SDK_INSTALL_HEADERS_ROOT_$(SDK_INSTALL_VARIANT))
15SDK_INSTALL_HEADERS_ROOT_driverkit = $(SDK_INSTALL_ROOT)/$(SDK_RUNTIME_HEADERS_PREFIX)
16SDK_RUNTIME_HEADERS_PREFIX = Runtime
17
18INSTALL_PATH = $(SDK_INSTALL_ROOT)/usr/lib/system
19PUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include
20PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include
21OS_PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include/os
22OS_PUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include/os
6d2010ae
A
23EXECUTABLE_PREFIX = libsystem_
24PRODUCT_NAME = kernel
25ALWAYS_SEARCH_USER_PATHS = NO
316670eb 26ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_kernel.order
cb323159
A
27OTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -fno-stack-check -momit-leaf-frame-pointer -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1 -DNO_SYSCALL_LEGACY
28OTHER_CFLAGS[sdk=macosx*][arch=i386] = $(inherited) -UNO_SYSCALL_LEGACY -DSYSCALL_PRE1050
29OTHER_CFLAGS[sdk=macosx*][arch=x86_64*] = $(inherited) -DSYSCALL_PRE1050
6d2010ae 30GCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
cb323159
A
31
32HEADER_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
33SYSTEM_HEADER_SEARCH_PATHS = $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/local/include $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/include
34SYSTEM_FRAMEWORK_SEARCH_PATHS = $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks
35
36OTHER_MIGFLAGS = -novouchers -I$(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks/System.framework/PrivateHeaders -I$(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/local/include -I$(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/include
37
6d2010ae
A
38WARNING_CFLAGS = -Wmost
39GCC_TREAT_WARNINGS_AS_ERRORS = YES
40GCC_WARN_ABOUT_MISSING_NEWLINE = YES
cb323159
A
41GCC_NO_COMMON_BLOCKS = YES
42GCC_C_LANGUAGE_STANDARD = gnu11
43CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
44CLANG_WARN_EMPTY_BODY = YES
45CLANG_WARN_BOOL_CONVERSION = YES
46CLANG_WARN_CONSTANT_CONVERSION = YES
47GCC_WARN_64_TO_32_BIT_CONVERSION = NO
48CLANG_WARN_ENUM_CONVERSION = YES
49CLANG_WARN_INT_CONVERSION = NO
50CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
51CLANG_WARN_INFINITE_RECURSION = YES
52GCC_WARN_ABOUT_RETURN_TYPE = YES
53CLANG_WARN_STRICT_PROTOTYPES = YES
54CLANG_WARN_COMMA = YES
55GCC_WARN_UNINITIALIZED_AUTOS = YES
56CLANG_WARN_UNREACHABLE_CODE = YES
57GCC_WARN_UNUSED_FUNCTION = YES
58GCC_WARN_UNUSED_PARAMETER = YES
59GCC_WARN_UNUSED_VARIABLE = YES
60CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
61CLANG_WARN_SUSPICIOUS_MOVE = YES
62
6d2010ae
A
63CODE_SIGN_IDENTITY = -
64DYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
d9a64523 65DYLIB_LDFLAGS = -umbrella System -all_load
cb323159
A
66OTHER_LDFLAGS = $(SIMULATOR_LDFLAGS)
67SIMULATOR_LDFLAGS =
68SIMULATOR_LDFLAGS[sdk=macosx*] = -Wl,-simulator_support
6d2010ae 69INSTALLHDRS_SCRIPT_PHASE = YES
39236c6e 70INSTALLHDRS_COPY_PHASE = YES
6d2010ae
A
71USE_HEADERMAP = NO
72LINK_WITH_STANDARD_LIBRARIES = NO
73ALWAYS_SEARCH_USER_PATHS = YES
cb323159 74IS_ZIPPERED = YES