]> git.saurik.com Git - apple/libinfo.git/blob - xcodescripts/Libinfo.xcconfig
Libinfo-517.tar.gz
[apple/libinfo.git] / xcodescripts / Libinfo.xcconfig
1 #include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
2
3 HEADER_SEARCH_PATHS = /usr/local/include $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
4 INSTALLHDRS_SCRIPT_PHASE = YES
5 SDKROOT = macosx.internal
6 SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator
7
8 GCC_PREPROCESSOR_DEFINITIONS = __DARWIN_NON_CANCELABLE=1 __MigTypeCheck=1 INET6=1
9 GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
10 GCC_PREPROCESSOR_DEFINITIONS[sdk=watchos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
11 GCC_PREPROCESSOR_DEFINITIONS[sdk=appletvos*] = MUSER_AVAILABLE $(GCC_PREPROCESSOR_DEFINITIONS)
12 GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = CONFIG_MAC DS_AVAILABLE SYNTH_ROOTFS $(GCC_PREPROCESSOR_DEFINITIONS)
13
14 BUILD_VARIANTS = normal profile debug
15
16 INSTALL_PATH = /usr/lib/system
17
18 EXECUTABLE_PREFIX = libsystem_
19
20 ORDER_FILE[sdk=macosx*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
21 ORDER_FILE[sdk=iphoneos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
22 ORDER_FILE[sdk=watchos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
23 ORDER_FILE[sdk=appletvos*] = $(SDKROOT)/$(APPLE_INTERNAL_DIR)/OrderFiles/libsystem_info.order
24
25 LINK_WITH_STANDARD_LIBRARIES = NO
26
27 SIM_SUFFIX[sdk=*simulator*] = _sim
28
29 LIBCOMPILER_RT_LDFLAGS = -lcompiler_rt
30 LIBMALLOC_LDFLAGS = -lsystem_malloc
31 LIBPLATFORM_LDFLAGS = -lsystem$(SIM_SUFFIX)_platform
32 LIBPTHREAD_LDFLAGS = -lsystem$(SIM_SUFFIX)_pthread
33 LIBSYSCALL_LDFLAGS = -lsystem$(SIM_SUFFIX)_kernel
34 LIBM_LDFLAGS = -lsystem_m
35 LIBDYLD_LDFLAGS = -ldyld
36 LIBC_LDFLAGS = -lsystem_c
37 LIBDISPATCH_LDFLAGS = -ldispatch
38 LIBLAUNCH_LDFLAGS = -llaunch
39 LIBASL_LDFLAGS = -lsystem_asl
40 LIBBLOCKS_LDFLAGS = -lsystem_blocks
41 LIBDNSD_LDFLAGS = -lsystem_dnssd
42 LIBNOTIFY_LDFLAGS = -lsystem_notify
43 LIBXPC_LDFLAGS = -lxpc
44 LIBNETWORK_LDFLAGS = -lsystem_network
45 LIBTRACE_LDFLAGS = -lsystem_trace
46
47 CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
48 CLANG_WARN_BOOL_CONVERSION = YES;
49 CLANG_WARN_CONSTANT_CONVERSION = YES;
50 CLANG_WARN_EMPTY_BODY = YES;
51 CLANG_WARN_ENUM_CONVERSION = YES;
52 CLANG_WARN_INFINITE_RECURSION = YES;
53 CLANG_WARN_INT_CONVERSION = YES;
54 CLANG_WARN_SUSPICIOUS_MOVE = YES;
55 CLANG_WARN_UNREACHABLE_CODE = YES;
56 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
57 GCC_NO_COMMON_BLOCKS = YES;
58 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
59 GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
60 GCC_WARN_ABOUT_RETURN_TYPE = YES;
61 GCC_WARN_UNDECLARED_SELECTOR = YES;
62 GCC_WARN_UNINITIALIZED_AUTOS = YES;
63 GCC_WARN_UNUSED_VARIABLE = YES;
64 WARNING_LDFLAGS = -Wall
65 WARNING_CFLAGS = -Wno-error=deprecated-declarations
66 GCC_WARN_UNUSED_FUNCTION = YES
67
68 GCC_C_LANGUAGE_STANDARD = gnu99;
69 ENABLE_STRICT_OBJC_MSGSEND = YES;
70
71 //:configuration = Debug
72 GCC_OPTIMIZATION_LEVEL = 0
73 OTHER_CFLAGS = -DDEBUG=1
74 //:completeSettings = none
75
76 DYLIB_COMPATIBILITY_VERSION = 1
77
78 OTHER_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) $(LIBLAUNCH_LDFLAGS) $(LIBASL_LDFLAGS) $(LIBBLOCKS_LDFLAGS) $(LIBDNSD_LDFLAGS) $(LIBNOTIFY_LDFLAGS) $(LIBXPC_LDFLAGS) $(LIBNETWORK_LDFLAGS) $(LIBTRACE_LDFLAGS)