xref: /xnu-11417.101.15/libsyscall/Libsyscall.xcconfig (revision e3723e1f17661b24996789d8afc084c0c3303b26)
1*e3723e1fSApple OSS Distributions#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
2*e3723e1fSApple OSS Distributions
3*e3723e1fSApple OSS DistributionsBUILD_VARIANTS = normal
4*e3723e1fSApple OSS DistributionsSUPPORTED_PLATFORMS = macosx iphoneos iphoneosnano tvos appletvos watchos bridgeos driverkit
5*e3723e1fSApple OSS DistributionsONLY_ACTIVE_ARCH = NO
6*e3723e1fSApple OSS DistributionsDEAD_CODE_STRIPPING = YES
7*e3723e1fSApple OSS DistributionsDEBUG_INFORMATION_FORMAT = dwarf-with-dsym
8*e3723e1fSApple OSS Distributions
9*e3723e1fSApple OSS DistributionsSDK_INSTALL_ROOT[sdk=driverkit*] = $(DRIVERKITROOT)
10*e3723e1fSApple OSS DistributionsSDK_INSTALL_HEADERS_ROOT[sdk=driverkit*] = $(SDK_INSTALL_ROOT)/$(SDK_RUNTIME_HEADERS_PREFIX)
11*e3723e1fSApple OSS DistributionsSDK_RUNTIME_HEADERS_PREFIX = Runtime
12*e3723e1fSApple OSS Distributions
13*e3723e1fSApple OSS DistributionsINSTALL_PATH = $(SDK_INSTALL_ROOT)/usr/lib/system
14*e3723e1fSApple OSS DistributionsSCRIPT_OUTPUT_DIR = $(SCRIPT_OUTPUT_DIR__$(DEPLOYMENT_LOCATION:default=NO))
15*e3723e1fSApple OSS DistributionsSCRIPT_OUTPUT_DIR__NO = $(TARGET_BUILD_DIR)
16*e3723e1fSApple OSS DistributionsSCRIPT_OUTPUT_DIR__YES = $(DSTROOT)
17*e3723e1fSApple OSS DistributionsPUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include
18*e3723e1fSApple OSS DistributionsPRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include
19*e3723e1fSApple OSS DistributionsEMBEDDED_PRIVATE_HEADERS_FOLDER_PATH = $(PRIVATE_HEADERS_FOLDER_PATH)
20*e3723e1fSApple OSS DistributionsEMBEDDED_PRIVATE_HEADERS_FOLDER_PATH[sdk=macosx*] = $(PUBLIC_HEADERS_FOLDER_PATH)
21*e3723e1fSApple OSS DistributionsOS_PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include/os
22*e3723e1fSApple OSS DistributionsOS_PUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include/os
23*e3723e1fSApple OSS DistributionsEXECUTABLE_PREFIX = libsystem_
24*e3723e1fSApple OSS DistributionsPRODUCT_NAME = kernel
25*e3723e1fSApple OSS DistributionsALWAYS_SEARCH_USER_PATHS = NO
26*e3723e1fSApple OSS DistributionsOTHER_CFLAGS = -fdollars-in-identifiers -no-cpp-precomp -fno-common -fno-stack-protector -fno-stack-check -fno-builtin-calloc -momit-leaf-frame-pointer -DLIBSYSCALL_INTERFACE -D__DARWIN_VERS_1050=1 -DNO_SYSCALL_LEGACY
27*e3723e1fSApple OSS DistributionsOTHER_CFLAGS[sdk=macosx*][arch=i386] = $(inherited) -UNO_SYSCALL_LEGACY -DSYSCALL_PRE1050
28*e3723e1fSApple OSS DistributionsOTHER_CFLAGS[sdk=macosx*][arch=x86_64*] = $(inherited) -DSYSCALL_PRE1050
29*e3723e1fSApple OSS DistributionsGCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
30*e3723e1fSApple OSS Distributions
31*e3723e1fSApple OSS DistributionsHEADER_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
32*e3723e1fSApple OSS DistributionsSYSTEM_HEADER_SEARCH_PATHS = $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
33*e3723e1fSApple OSS DistributionsSYSTEM_HEADER_SEARCH_PATHS[sdk=driverkit*] = $(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
34*e3723e1fSApple OSS DistributionsSYSTEM_FRAMEWORK_SEARCH_PATHS[sdk=driverkit*] = $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks
35*e3723e1fSApple OSS Distributions
36*e3723e1fSApple OSS DistributionsOTHER_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 -DKOBJECT_SERVER
37*e3723e1fSApple OSS Distributions
38*e3723e1fSApple OSS DistributionsWARNING_CFLAGS = -Wmost -Wformat=2
39*e3723e1fSApple OSS DistributionsGCC_TREAT_WARNINGS_AS_ERRORS = YES
40*e3723e1fSApple OSS DistributionsGCC_WARN_ABOUT_MISSING_NEWLINE = YES
41*e3723e1fSApple OSS DistributionsGCC_NO_COMMON_BLOCKS = YES
42*e3723e1fSApple OSS DistributionsGCC_C_LANGUAGE_STANDARD = gnu11
43*e3723e1fSApple OSS DistributionsCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
44*e3723e1fSApple OSS DistributionsCLANG_WARN_EMPTY_BODY = YES
45*e3723e1fSApple OSS DistributionsCLANG_WARN_BOOL_CONVERSION = YES
46*e3723e1fSApple OSS DistributionsCLANG_WARN_CONSTANT_CONVERSION = YES
47*e3723e1fSApple OSS DistributionsGCC_WARN_64_TO_32_BIT_CONVERSION = NO
48*e3723e1fSApple OSS DistributionsCLANG_WARN_ENUM_CONVERSION = YES
49*e3723e1fSApple OSS DistributionsCLANG_WARN_INT_CONVERSION = NO
50*e3723e1fSApple OSS DistributionsCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
51*e3723e1fSApple OSS DistributionsCLANG_WARN_INFINITE_RECURSION = YES
52*e3723e1fSApple OSS DistributionsGCC_WARN_ABOUT_RETURN_TYPE = YES
53*e3723e1fSApple OSS DistributionsCLANG_WARN_STRICT_PROTOTYPES = YES
54*e3723e1fSApple OSS DistributionsCLANG_WARN_COMMA = YES
55*e3723e1fSApple OSS DistributionsGCC_WARN_UNINITIALIZED_AUTOS = YES
56*e3723e1fSApple OSS DistributionsCLANG_WARN_UNREACHABLE_CODE = YES
57*e3723e1fSApple OSS DistributionsGCC_WARN_UNUSED_FUNCTION = YES
58*e3723e1fSApple OSS DistributionsGCC_WARN_UNUSED_PARAMETER = YES
59*e3723e1fSApple OSS DistributionsGCC_WARN_UNUSED_VARIABLE = YES
60*e3723e1fSApple OSS DistributionsCLANG_WARN_RANGE_LOOP_ANALYSIS = YES
61*e3723e1fSApple OSS DistributionsCLANG_WARN_SUSPICIOUS_MOVE = YES
62*e3723e1fSApple OSS Distributions
63*e3723e1fSApple OSS DistributionsCODE_SIGN_IDENTITY = -
64*e3723e1fSApple OSS DistributionsDYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
65*e3723e1fSApple OSS DistributionsDYLIB_LDFLAGS = -umbrella System -all_load $(BUILT_PRODUCTS_DIR)/$(EXECUTABLE_PREFIX)$(PRODUCT_NAME).a
66*e3723e1fSApple OSS DistributionsOTHER_LDFLAGS = $(SIMULATOR_LDFLAGS)
67*e3723e1fSApple OSS DistributionsSIMULATOR_LDFLAGS =
68*e3723e1fSApple OSS DistributionsSIMULATOR_LDFLAGS[sdk=macosx*] = -Wl,-simulator_support
69*e3723e1fSApple OSS DistributionsINSTALLHDRS_SCRIPT_PHASE = YES
70*e3723e1fSApple OSS DistributionsINSTALLHDRS_COPY_PHASE = YES
71*e3723e1fSApple OSS DistributionsUSE_HEADERMAP = NO
72*e3723e1fSApple OSS DistributionsLINK_WITH_STANDARD_LIBRARIES = NO
73*e3723e1fSApple OSS DistributionsLLVM_LTO = YES
74*e3723e1fSApple OSS DistributionsLLVM_LTO[arch=armv7*] = NO
75*e3723e1fSApple OSS DistributionsALWAYS_SEARCH_USER_PATHS = YES
76*e3723e1fSApple OSS DistributionsIS_ZIPPERED = YES
77