Security-58286.70.7.tar.gz
[apple/security.git] / OSX / config / security_framework_macos.xcconfig
CommitLineData
6b200bc3
A
1#include "OSX/config/security_macos.xcconfig"
2
3PRODUCT_NAME = Security
4PRODUCT_BUNDLE_IDENTIFIER = com.apple.security
5
6FRAMEWORK_VERSION = A
7
8DYLIB_COMPATIBILITY_VERSION = 1
9DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
10
11MODULEMAP_FILE = Modules/Security.macOS.modulemap
12DEFINES_MODULE = YES
13
14EXPORTED_SYMBOLS_FILE = $(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).$(CURRENT_ARCH).exp
15ORDER_FILE = OSX/lib/Security.order
16INFOPLIST_FILE = OSX/lib/Info-Security.plist
17
18INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Frameworks
19
866f8763 20OTHER_LDFLAGS = -laks -lCrashReporterClient -Wl,-upward_framework,Foundation
6b200bc3
A
21
22SECTORDER_FLAGS = -order_file_statistics
23APPLY_RULES_IN_COPY_FILES = NO
24
25// Not entirely sure what this is for, but, okay.
26INSTALLHDRS_SCRIPT_PHASE = YES
ecaf5866
A
27
28// Adding things here is against the spirit of TAPI. If something is in the framework, it should be in the framework headers.
29// Don't add things.
30OTHER_TAPI_FLAGS_TRUST = -extra-private-header $(PROJECT_DIR)/OSX/trustd/macOS/SecTrustOSXEntryPoints.h -extra-private-header $(PROJECT_DIR)/OSX/sec/Security/SecCertificateInternal.h
31OTHER_TAPI_FLAGS_USR_LIB_HEADERS = -extra-private-header $(PROJECT_DIR)/OSX/utilities/src/debugging.h
32OTHER_TAPI_FLAGS_HACKS = -exclude-public-header $(BUILT_PRODUCTS_DIR)/Security.framework/Versions/A/Headers/AuthorizationPlugin.h -extra-public-header $(PROJECT_DIR)/OSX/macos_tapi_hacks.h -D SECURITY_PROJECT_TAPI_HACKS=1
33
34OTHER_TAPI_FLAGS = $(inherited) $(OTHER_TAPI_FLAGS_SECURITY_FRAMEWORK) -I$(PROJECT_DIR)/header_symlinks/ $(OTHER_TAPI_FLAGS_TRUST) $(OTHER_TAPI_FLAGS_USR_LIB_HEADERS) $(OTHER_TAPI_FLAGS_HACKS)