2 # Makefile to install the system-startup code for SecurityServer
4 KEYCHAINS_SRC=$(SRCROOT)/keychains
6 SYSTEM_LIBRARY_DIR=$(DSTROOT)/System/Library
7 KEYCHAINS_DIR=$(SYSTEM_LIBRARY_DIR)/Keychains
8 X509ANCHORS=$(KEYCHAINS_DIR)/X509Anchors
12 # The other phases do nothing
24 @echo null installhdrs.
27 @echo null installsrc.
37 if [ ! -d $(KEYCHAINS_DIR) ]; then \
38 mkdir -p $(KEYCHAINS_DIR); \
39 chown root.admin $(KEYCHAINS_DIR); \
40 chmod 755 $(KEYCHAINS_DIR); \
42 cp $(KEYCHAINS_SRC)/X509Anchors $(X509ANCHORS)
43 chown root.admin $(X509ANCHORS)
44 chmod 664 $(X509ANCHORS)