1 PRODUCT_NAME = $(TARGET_NAME)
2 EXECUTABLE_PREFIX = lib
3 MACH_O_TYPE = staticlib
4 EXECUTABLE_EXTENSION = a
8 HEADER_SEARCH_PATHS = $(inherited) $(PROJECT_DIR) $(PROJECT_DIR)/header_symlinks $(PROJECT_DIR)/OSX/sec/ProjectHeaders $(PROJECT_DIR)/OSX/utilities $(PROJECT_DIR)/OSX/sec/ipc $(PROJECT_DIR)/OSX/sectask $(PROJECT_DIR)/OSX/libsecurity_asn1 $(PROJECT_DIR)/OSX/libsecurity_ssl $(PROJECT_DIR)/OSX/regressions $(SDKROOT)/usr/local/include/security_libDER $(BUILT_PRODUCTS_DIR)/usr/local/include
10 HEADER_SEARCH_PATHS[sdk=macosx*] = $(inherited) $(PROJECT_DIR)/OSX/libsecurity_smime $(PROJECT_DIR)/header_symlinks/macOS $(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers
11 HEADER_SEARCH_PATHS[sdk=embedded*] = $(inherited) $(PROJECT_DIR)/libsecurity_smime $(PROJECT_DIR)/OSX/sec/sectask $(PROJECT_DIR)/header_symlinks/iOS
13 // Turning off deprecations here is the worst hack. Enable whenever possible.
14 WARNING_CFLAGS = -Wno-deprecated-declarations -Wglobal-constructors -Wmost -Wno-four-char-constants -Wno-unknown-pragmas $(inherited)
17 OTHER_CFLAGS = -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders -fconstant-cfstrings $(inherited)
19 DEAD_CODE_STRIPPING = YES
24 ALWAYS_SEARCH_USER_PATHS = YES
26 GCC_C_LANGUAGE_STANDARD = gnu99
28 HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = NO
30 GCC_SYMBOLS_PRIVATE_EXTERN = NO
32 ARCHS[sdk=macosx*] = $(ARCHS_STANDARD_32_64_BIT)
33 SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator
35 // No executables are made, it can't know how
36 // Therefore we shouldn't strip anything
37 // if somehow we decide to, the default is debuggable.
39 STRIP_STYLE = debugging
40 STRIP_INSTALLED_PRODUCT = NO
42 // We shadow the *error variable all over the place
45 GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(inherited) SEC_IOS_ON_OSX=1
46 GCC_PREPROCESSOR_DEFINITIONS[sdk=embeddedsimulator*] = $(inherited) NO_SERVER=1
48 GCC_PREPROCESSOR_DEFINITIONS[config=Debug][sdk=embedded] = $(inherited) NO_SERVER=1