]> git.saurik.com Git - apple/libinfo.git/blame - xcodescripts/Libinfo.xcconfig
Libinfo-538.tar.gz
[apple/libinfo.git] / xcodescripts / Libinfo.xcconfig
CommitLineData
f475de6c
A
1// Copyright (c) 2018 Apple Inc. All rights reserved.
2
53dd3e4a
A
3#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
4
9e8ccf68 5HEADER_SEARCH_PATHS = /usr/local/include $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
993b5481 6INSTALLHDRS_SCRIPT_PHASE = YES
9e8ccf68
A
7SDKROOT = macosx.internal
8SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator
993b5481
A
9
10GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1 __MigTypeCheck=1 INET6=1
9e8ccf68 11GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
53dd3e4a
A
12GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
13GCC_PREPROCESSOR_DEFINITIONS[sdk=appletvos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
993b5481
A
14GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = CONFIG_MAC DS_AVAILABLE SYNTH_ROOTFS $(GCC_PREPROCESSOR_DEFINITIONS)
15
53dd3e4a
A
16BUILD_VARIANTS = normal profile debug
17
9d0fc09c 18INSTALL_PATH = /usr/lib/system
993b5481
A
19
20EXECUTABLE_PREFIX = libsystem_
993b5481
A
21
22ORDER_FILE[sdk=macosx*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
23ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
53dd3e4a
A
24ORDER_FILE[sdk=watchos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
25ORDER_FILE[sdk=appletvos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
993b5481
A
26
27LINK_WITH_STANDARD_LIBRARIES = NO
28
db6e2fe0
A
29SIM_SUFFIX[sdk=*simulator*] = _sim
30
993b5481 31LIBCOMPILER_RT_LDFLAGS = -lcompiler_rt
993b5481 32LIBMALLOC_LDFLAGS = -lsystem_malloc
db6e2fe0
A
33LIBPLATFORM_LDFLAGS = -lsystem$(SIM_SUFFIX)_platform
34LIBPTHREAD_LDFLAGS = -lsystem$(SIM_SUFFIX)_pthread
35LIBSYSCALL_LDFLAGS = -lsystem$(SIM_SUFFIX)_kernel
993b5481 36LIBM_LDFLAGS = -lsystem_m
993b5481 37LIBDYLD_LDFLAGS = -ldyld
993b5481 38LIBC_LDFLAGS = -lsystem_c
993b5481 39LIBDISPATCH_LDFLAGS = -ldispatch
993b5481 40LIBASL_LDFLAGS = -lsystem_asl
993b5481 41LIBBLOCKS_LDFLAGS = -lsystem_blocks
993b5481 42LIBDNSD_LDFLAGS = -lsystem_dnssd
993b5481 43LIBNOTIFY_LDFLAGS = -lsystem_notify
993b5481 44LIBXPC_LDFLAGS = -lxpc
53dd3e4a
A
45LIBTRACE_LDFLAGS = -lsystem_trace
46
47CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
48CLANG_WARN_BOOL_CONVERSION = YES;
49CLANG_WARN_CONSTANT_CONVERSION = YES;
50CLANG_WARN_EMPTY_BODY = YES;
51CLANG_WARN_ENUM_CONVERSION = YES;
52CLANG_WARN_INFINITE_RECURSION = YES;
53CLANG_WARN_INT_CONVERSION = YES;
54CLANG_WARN_SUSPICIOUS_MOVE = YES;
55CLANG_WARN_UNREACHABLE_CODE = YES;
56CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
57GCC_NO_COMMON_BLOCKS = YES;
58GCC_TREAT_WARNINGS_AS_ERRORS = YES;
59GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
60GCC_WARN_ABOUT_RETURN_TYPE = YES;
61GCC_WARN_UNDECLARED_SELECTOR = YES;
62GCC_WARN_UNINITIALIZED_AUTOS = YES;
63GCC_WARN_UNUSED_VARIABLE = YES;
64WARNING_LDFLAGS = -Wall
65WARNING_CFLAGS = -Wno-error=deprecated-declarations
66GCC_WARN_UNUSED_FUNCTION = YES
67
68GCC_C_LANGUAGE_STANDARD = gnu99;
69ENABLE_STRICT_OBJC_MSGSEND = YES;
70
71//:configuration = Debug
72GCC_OPTIMIZATION_LEVEL = 0
73OTHER_CFLAGS = -DDEBUG=1
74//:completeSettings = none
75
76DYLIB_COMPATIBILITY_VERSION = 1
993b5481 77
ff4fe4c3 78OTHER_LDFLAGS = -all_load -umbrella System -L/usr/lib/system $(LIBCOMPILER_RT_LDFLAGS) $(LIBDYLD_LDFLAGS) $(LIBSYSCALL_LDFLAGS) $(LIBMALLOC_LDFLAGS) $(LIBPLATFORM_LDFLAGS) $(LIBPTHREAD_LDFLAGS) $(LIBC_LDFLAGS) $(LIBDISPATCH_LDFLAGS) $(LIBASL_LDFLAGS) $(LIBBLOCKS_LDFLAGS) $(LIBDNSD_LDFLAGS) $(LIBNOTIFY_LDFLAGS) $(LIBXPC_LDFLAGS) $(LIBTRACE_LDFLAGS)
f475de6c
A
79
80// Text-Based API settings
81
82SUPPORTS_TEXT_BASED_API = YES
83TAPI_VERIFY_MODE = Pedantic
84OTHER_TAPI_FLAGS = -D LIBINFO_INSTALL_API=1 -extra-public-header $(SRCROOT)/Libinfo/pseudo_public.h -extra-public-header $(DSTROOT)/usr/include -extra-private-header $(DSTROOT)/usr/local/include -extra-private-header $(SRCROOT)/Libinfo/pseudo_private.h -umbrella System
85
86GCC_SYMBOLS_PRIVATE_EXTERN = YES