]>
Commit | Line | Data |
---|---|---|
a9aaacca A |
1 | #include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig" |
2 | ||
3 | // Versioning | |
4 | ||
5 | // RC_ProjectSourceVersion unless it's unset, falling back to RECON_BUILD_VERSION_NONE | |
6 | Libcollections_BUILD_VERSION = $(<project>_BUILD_VERSION_$(<project>_BUILD_VERSION_SUFFIX_$(RC_ProjectSourceVersion))) | |
7 | ||
8 | Libcollections_BUILD_VERSION_ = $(RC_ProjectSourceVersion) | |
9 | Libcollections_BUILD_VERSION_SUFFIX_ = NONE | |
10 | ||
11 | // A high default value for when CURRENT_PROJECT_VERSION is unset (running `~rc/bin/buildit` with no version specified) | |
12 | collections_BUILD_VERSION_NONE = 60000 | |
13 | ||
14 | CURRENT_PROJECT_VERSION = $(collections_BUILD_VERSION) | |
15 | DYLIB_CURRENT_VERSION = $(collections_BUILD_VERSION) | |
16 | MODULE_VERSION = $(collections_BUILD_VERSION) | |
17 | ||
18 | ARCHS = $(ARCHS_STANDARD) | |
19 | ONLY_ACTIVE_ARCH = NO | |
20 | ONLY_ACTIVE_ARCH[config=Debug] = YES | |
21 | ENABLE_TESTABILITY[config=Debug] = YES | |
22 | ALWAYS_SEARCH_USER_PATHS = NO | |
23 | USE_HEADERMAP = NO | |
24 | INFOPLIST_PREPROCESS = YES | |
25 | STRIP_INSTALLED_PRODUCT[config=Debug][sdk=*] = NO | |
26 | SKIP_INSTALL = NO | |
27 | OTHER_CFLAGS = -fverbose-asm | |
28 | SUPPORTS_TEXT_BASED_API = YES | |
29 | TAPI_VERIFY_MODE=Pedantic | |
30 | CODE_SIGN_IDENTITY = - | |
31 | ||
32 | // Compiler options | |
33 | ||
34 | GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS[config=Debug] = DEBUG=1 | |
35 | ||
36 | GCC_C_LANGUAGE_STANDARD = gnu11 | |
37 | CLANG_CXX_LANGUAGE_STANDARD = gnu++11 | |
38 | GCC_OPTIMIZATION_LEVEL = s | |
39 | GCC_OPTIMIZATION_LEVEL[config=Debug] = 0 | |
40 | CLANG_ENABLE_OBJC_ARC = YES | |
41 | CLANG_LINK_OBJC_RUNTIME = NO | |
42 | ENABLE_STRICT_OBJC_MSGSEND = YES | |
43 | GCC_ENABLE_BUILTIN_FUNCTIONS = YES | |
44 | GCC_ENABLE_CPP_EXCEPTIONS = NO | |
45 | GCC_ENABLE_PASCAL_STRINGS = NO | |
46 | GCC_NO_COMMON_BLOCKS = YES | |
47 | GCC_STRICT_ALIASING = YES | |
48 | GCC_SYMBOLS_PRIVATE_EXTERN = YES | |
49 | GCC_TREAT_WARNINGS_AS_ERRORS = YES | |
50 | ||
51 | HEADER_SEARCH_PATHS = $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders $(PROJECT_DIR) | |
52 | ||
53 | // Static analyzer | |
54 | ||
55 | CLANG_ANALYZER_DEADCODE_DEADSTORES = YES | |
56 | CLANG_ANALYZER_GCD = YES | |
57 | CLANG_ANALYZER_MEMORY_MANAGEMENT = YES | |
58 | CLANG_ANALYZER_NONNULL = YES | |
59 | CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES | |
60 | CLANG_ANALYZER_SECURITY_INSECUREAPI_GETPW_GETS = YES | |
61 | CLANG_ANALYZER_SECURITY_INSECUREAPI_MKSTEMP = YES | |
62 | CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES | |
63 | CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES | |
64 | CLANG_ANALYZER_SECURITY_INSECUREAPI_UNCHECKEDRETURN = YES | |
65 | CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK = YES | |
66 | CLANG_ANALYZER_SECURITY_KEYCHAIN_API = YES | |
67 | ||
68 | ||
69 | PRODUCT_NAME = collections | |
70 | INSTALL_PATH = /usr/lib/system | |
71 | PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include/os | |
72 | PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include/os | |
73 | DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION) | |
74 | EXECUTABLE_PREFIX = libsystem_ | |
75 | BUILD_VARIANTS = normal | |
76 | CURRENT_PROJECT_VERSION = $(RC_ProjectSourceVersion) | |
77 | VERSION_INFO_PREFIX = __ | |
78 | VERSIONING_SYSTEM = apple-generic | |
79 | GCC_SYMBOLS_PRIVATE_EXTERN = YES | |
80 | STRIP_STYLE = non-global | |
81 | ||
82 | SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator iphoneosnano iphonesimulatornano bridgeos | |
83 | ||
84 | LINK_WITH_STANDARD_LIBRARIES = NO | |
85 | OTHER_LDFLAGS = -umbrella System -L/usr/lib/system $(LDFLAGS_DYLD) $(LDFLAGS_COMPILER_RT) $(LDFLAGS_SYSCALL) $(LDFLAGS_MALLOC) $(LDFLAGS_C) $(LDFLAGS_BLOCKS) $(LDFLAGS_DARWIN) | |
86 | LDFLAGS_DYLD = -ldyld | |
87 | LDFLAGS_COMPILER_RT = -lcompiler_rt | |
88 | LDFLAGS_SYSCALL = -lsystem_kernel | |
89 | LDFLAGS_SYSCALL[sdk=iphonesimulator*] = -lsystem_sim_kernel | |
90 | LDFLAGS_MALLOC = -lsystem_malloc | |
91 | LDFLAGS_C = -lsystem_c | |
92 | LDFLAGS_BLOCKS = -lsystem_blocks | |
93 | LDFLAGS_DARWIN = -lsystem_darwin |