xref: /xnu-8796.121.2/libsyscall/Libsyscall.xcconfig (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
1*c54f35caSApple OSS Distributions#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
2*c54f35caSApple OSS Distributions
3*c54f35caSApple OSS DistributionsBUILD_VARIANTS = normal
4*c54f35caSApple OSS DistributionsSUPPORTED_PLATFORMS = macosx iphoneos iphoneosnano tvos appletvos watchos bridgeos
5*c54f35caSApple OSS DistributionsONLY_ACTIVE_ARCH = NO
6*c54f35caSApple OSS DistributionsDEAD_CODE_STRIPPING = YES
7*c54f35caSApple OSS DistributionsDEBUG_INFORMATION_FORMAT = dwarf-with-dsym
8*c54f35caSApple OSS Distributions
9*c54f35caSApple OSS DistributionsSDK_INSTALL_VARIANT = $(SDK_INSTALL_VARIANT_$(DRIVERKIT))
10*c54f35caSApple OSS DistributionsSDK_INSTALL_VARIANT_1 = driverkit
11*c54f35caSApple OSS DistributionsSDK_INSTALL_VARIANT_ = default
12*c54f35caSApple OSS DistributionsSDK_INSTALL_ROOT = $(SDK_INSTALL_ROOT_$(SDK_INSTALL_VARIANT))
13*c54f35caSApple OSS DistributionsSDK_INSTALL_ROOT_driverkit = $(DRIVERKITROOT)
14*c54f35caSApple OSS DistributionsSDK_INSTALL_HEADERS_ROOT = $(SDK_INSTALL_HEADERS_ROOT_$(SDK_INSTALL_VARIANT))
15*c54f35caSApple OSS DistributionsSDK_INSTALL_HEADERS_ROOT_driverkit = $(SDK_INSTALL_ROOT)/$(SDK_RUNTIME_HEADERS_PREFIX)
16*c54f35caSApple OSS DistributionsSDK_RUNTIME_HEADERS_PREFIX = Runtime
17*c54f35caSApple OSS Distributions
18*c54f35caSApple OSS DistributionsINSTALL_PATH = $(SDK_INSTALL_ROOT)/usr/lib/system
19*c54f35caSApple OSS DistributionsPUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include
20*c54f35caSApple OSS DistributionsPRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include
21*c54f35caSApple OSS DistributionsOS_PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include/os
22*c54f35caSApple OSS DistributionsOS_PUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include/os
23*c54f35caSApple OSS DistributionsEXECUTABLE_PREFIX = libsystem_
24*c54f35caSApple OSS DistributionsPRODUCT_NAME = kernel
25*c54f35caSApple OSS DistributionsALWAYS_SEARCH_USER_PATHS = NO
26*c54f35caSApple 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*c54f35caSApple OSS DistributionsOTHER_CFLAGS[sdk=macosx*][arch=i386] = $(inherited) -UNO_SYSCALL_LEGACY -DSYSCALL_PRE1050
28*c54f35caSApple OSS DistributionsOTHER_CFLAGS[sdk=macosx*][arch=x86_64*] = $(inherited) -DSYSCALL_PRE1050
29*c54f35caSApple OSS DistributionsGCC_PREPROCESSOR_DEFINITIONS = CF_OPEN_SOURCE CF_EXCLUDE_CSTD_HEADERS DEBUG _FORTIFY_SOURCE=0
30*c54f35caSApple OSS Distributions
31*c54f35caSApple 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*c54f35caSApple OSS DistributionsSYSTEM_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
33*c54f35caSApple OSS DistributionsSYSTEM_FRAMEWORK_SEARCH_PATHS = $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/System/Library/Frameworks
34*c54f35caSApple OSS Distributions
35*c54f35caSApple 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
36*c54f35caSApple OSS Distributions
37*c54f35caSApple OSS DistributionsWARNING_CFLAGS = -Wmost -Wformat=2
38*c54f35caSApple OSS DistributionsGCC_TREAT_WARNINGS_AS_ERRORS = YES
39*c54f35caSApple OSS DistributionsGCC_WARN_ABOUT_MISSING_NEWLINE = YES
40*c54f35caSApple OSS DistributionsGCC_NO_COMMON_BLOCKS = YES
41*c54f35caSApple OSS DistributionsGCC_C_LANGUAGE_STANDARD = gnu11
42*c54f35caSApple OSS DistributionsCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
43*c54f35caSApple OSS DistributionsCLANG_WARN_EMPTY_BODY = YES
44*c54f35caSApple OSS DistributionsCLANG_WARN_BOOL_CONVERSION = YES
45*c54f35caSApple OSS DistributionsCLANG_WARN_CONSTANT_CONVERSION = YES
46*c54f35caSApple OSS DistributionsGCC_WARN_64_TO_32_BIT_CONVERSION = NO
47*c54f35caSApple OSS DistributionsCLANG_WARN_ENUM_CONVERSION = YES
48*c54f35caSApple OSS DistributionsCLANG_WARN_INT_CONVERSION = NO
49*c54f35caSApple OSS DistributionsCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
50*c54f35caSApple OSS DistributionsCLANG_WARN_INFINITE_RECURSION = YES
51*c54f35caSApple OSS DistributionsGCC_WARN_ABOUT_RETURN_TYPE = YES
52*c54f35caSApple OSS DistributionsCLANG_WARN_STRICT_PROTOTYPES = YES
53*c54f35caSApple OSS DistributionsCLANG_WARN_COMMA = YES
54*c54f35caSApple OSS DistributionsGCC_WARN_UNINITIALIZED_AUTOS = YES
55*c54f35caSApple OSS DistributionsCLANG_WARN_UNREACHABLE_CODE = YES
56*c54f35caSApple OSS DistributionsGCC_WARN_UNUSED_FUNCTION = YES
57*c54f35caSApple OSS DistributionsGCC_WARN_UNUSED_PARAMETER = YES
58*c54f35caSApple OSS DistributionsGCC_WARN_UNUSED_VARIABLE = YES
59*c54f35caSApple OSS DistributionsCLANG_WARN_RANGE_LOOP_ANALYSIS = YES
60*c54f35caSApple OSS DistributionsCLANG_WARN_SUSPICIOUS_MOVE = YES
61*c54f35caSApple OSS Distributions
62*c54f35caSApple OSS DistributionsCODE_SIGN_IDENTITY = -
63*c54f35caSApple OSS DistributionsDYLIB_CURRENT_VERSION = $(RC_ProjectSourceVersion)
64*c54f35caSApple OSS DistributionsDYLIB_LDFLAGS = -umbrella System -all_load $(BUILT_PRODUCTS_DIR)/$(EXECUTABLE_PREFIX)$(PRODUCT_NAME).a
65*c54f35caSApple OSS DistributionsOTHER_LDFLAGS = $(SIMULATOR_LDFLAGS)
66*c54f35caSApple OSS DistributionsSIMULATOR_LDFLAGS =
67*c54f35caSApple OSS DistributionsSIMULATOR_LDFLAGS[sdk=macosx*] = -Wl,-simulator_support
68*c54f35caSApple OSS DistributionsINSTALLHDRS_SCRIPT_PHASE = YES
69*c54f35caSApple OSS DistributionsINSTALLHDRS_COPY_PHASE = YES
70*c54f35caSApple OSS DistributionsUSE_HEADERMAP = NO
71*c54f35caSApple OSS DistributionsLINK_WITH_STANDARD_LIBRARIES = NO
72*c54f35caSApple OSS DistributionsLLVM_LTO = YES
73*c54f35caSApple OSS DistributionsLLVM_LTO[arch=armv7*] = NO
74*c54f35caSApple OSS DistributionsALWAYS_SEARCH_USER_PATHS = YES
75*c54f35caSApple OSS DistributionsIS_ZIPPERED = YES
76