]> git.saurik.com Git - apple/security.git/blobdiff - OSX/config/security_framework_macos.xcconfig
Security-58286.51.6.tar.gz
[apple/security.git] / OSX / config / security_framework_macos.xcconfig
index 2e878c706907cc0952a34da7b4e53602e0f129ad..2dff3356ea0addf455b1329a42a6c5e2df102c43 100644 (file)
@@ -24,3 +24,11 @@ APPLY_RULES_IN_COPY_FILES = NO
 
 // Not entirely sure what this is for, but, okay.
 INSTALLHDRS_SCRIPT_PHASE = YES
+
+// Adding things here is against the spirit of TAPI. If something is in the framework, it should be in the framework headers.
+// Don't add things.
+OTHER_TAPI_FLAGS_TRUST = -extra-private-header $(PROJECT_DIR)/OSX/trustd/macOS/SecTrustOSXEntryPoints.h -extra-private-header $(PROJECT_DIR)/OSX/sec/Security/SecCertificateInternal.h
+OTHER_TAPI_FLAGS_USR_LIB_HEADERS = -extra-private-header $(PROJECT_DIR)/OSX/utilities/src/debugging.h
+OTHER_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
+
+OTHER_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)