]>
Commit | Line | Data |
---|---|---|
6b200bc3 A |
1 | #include "OSX/config/security_macos.xcconfig" |
2 | ||
3 | PRODUCT_NAME = Security | |
4 | PRODUCT_BUNDLE_IDENTIFIER = com.apple.security | |
5 | ||
6 | FRAMEWORK_VERSION = A | |
7 | ||
8 | DYLIB_COMPATIBILITY_VERSION = 1 | |
9 | DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION) | |
10 | ||
11 | MODULEMAP_FILE = Modules/Security.macOS.modulemap | |
12 | DEFINES_MODULE = YES | |
13 | ||
14 | EXPORTED_SYMBOLS_FILE = $(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).$(CURRENT_ARCH).exp | |
15 | ORDER_FILE = OSX/lib/Security.order | |
16 | INFOPLIST_FILE = OSX/lib/Info-Security.plist | |
17 | ||
18 | INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Frameworks | |
19 | ||
dbe77505 A |
20 | ASAN_EXTRA_LDFLAGS_YES = -Wl,-no_warn_inits |
21 | OTHER_LDFLAGS = -laks -lCrashReporterClient -Wl,-upward_framework,Foundation -Wl,-no_inits $(ASAN_EXTRA_LDFLAGS_$(ENABLE_ADDRESS_SANITIZER)) | |
6b200bc3 A |
22 | |
23 | SECTORDER_FLAGS = -order_file_statistics | |
24 | APPLY_RULES_IN_COPY_FILES = NO | |
25 | ||
26 | // Not entirely sure what this is for, but, okay. | |
27 | INSTALLHDRS_SCRIPT_PHASE = YES | |
ecaf5866 A |
28 | |
29 | // Adding things here is against the spirit of TAPI. If something is in the framework, it should be in the framework headers. | |
30 | // Don't add things. | |
31 | OTHER_TAPI_FLAGS_TRUST = -extra-private-header $(PROJECT_DIR)/OSX/trustd/macOS/SecTrustOSXEntryPoints.h -extra-private-header $(PROJECT_DIR)/OSX/sec/Security/SecCertificateInternal.h | |
32 | OTHER_TAPI_FLAGS_USR_LIB_HEADERS = -extra-private-header $(PROJECT_DIR)/OSX/utilities/src/debugging.h | |
33 | 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 | |
34 | ||
35 | 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) | |
79b9da22 A |
36 | |
37 | IS_ZIPPERED = YES |