]> git.saurik.com Git - apple/security.git/blob - xcconfig/lib_ios.xcconfig
Security-59754.41.1.tar.gz
[apple/security.git] / xcconfig / lib_ios.xcconfig
1 PRODUCT_NAME = $(TARGET_NAME)
2 EXECUTABLE_PREFIX = lib
3 MACH_O_TYPE = staticlib
4 EXECUTABLE_EXTENSION = a
5
6 CODE_SIGN_IDENTITY =
7
8 HEADER_SEARCH_PATHS[sdk=macosx*] = $(inherited) $(PROJECT_DIR)/OSX/libsecurity_smime $(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers
9 HEADER_SEARCH_PATHS[sdk=embedded*] = $(inherited) $(PROJECT_DIR)/libsecurity_smime
10
11 // Turning off deprecations here is the worst hack. Enable whenever possible.
12 WARNING_CFLAGS = -Wno-deprecated-declarations -Wglobal-constructors -Wmost -Wno-four-char-constants -Wno-unknown-pragmas $(inherited)
13
14 OTHER_CFLAGS = -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders -fconstant-cfstrings $(inherited)
15
16 DEAD_CODE_STRIPPING = YES
17 COPY_PHASE_STRIP = NO
18 SKIP_INSTALL = YES
19 COPY_PHASE_STRIP = NO
20
21 GCC_C_LANGUAGE_STANDARD = gnu2x
22
23 HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = NO
24
25 GCC_SYMBOLS_PRIVATE_EXTERN = NO
26
27 ARCHS[sdk=macosx*] = $(ARCHS_STANDARD_32_64_BIT)
28 SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator bridgeos
29
30 // No executables are made, it can't know how
31 // Therefore we shouldn't strip anything
32 // if somehow we decide to, the default is debuggable.
33 COPY_PHASE_STRIP = NO
34 STRIP_STYLE = debugging
35 STRIP_INSTALLED_PRODUCT = NO
36
37 // We shadow the *error variable all over the place
38 GCC_WARN_SHADOW = NO
39
40 GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(inherited) SEC_IOS_ON_OSX=1
41 GCC_PREPROCESSOR_DEFINITIONS[sdk=embeddedsimulator*] = $(inherited) NO_SERVER=1
42
43 GCC_PREPROCESSOR_DEFINITIONS[config=Debug][sdk=embedded] = $(inherited) NO_SERVER=1