1 PRODUCT_NAME = $(TARGET_NAME)
2 EXECUTABLE_PREFIX = lib
3 MACH_O_TYPE = staticlib
4 EXECUTABLE_EXTENSION = a
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
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)
14 OTHER_CFLAGS = -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders -fconstant-cfstrings $(inherited)
16 DEAD_CODE_STRIPPING = YES
21 GCC_C_LANGUAGE_STANDARD = gnu2x
23 HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = NO
25 GCC_SYMBOLS_PRIVATE_EXTERN = NO
27 ARCHS[sdk=macosx*] = $(ARCHS_STANDARD_32_64_BIT)
28 SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator bridgeos
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.
34 STRIP_STYLE = debugging
35 STRIP_INSTALLED_PRODUCT = NO
37 // We shadow the *error variable all over the place
40 GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(inherited) SEC_IOS_ON_OSX=1
41 GCC_PREPROCESSOR_DEFINITIONS[sdk=embeddedsimulator*] = $(inherited) NO_SERVER=1
43 GCC_PREPROCESSOR_DEFINITIONS[config=Debug][sdk=embedded] = $(inherited) NO_SERVER=1