]> git.saurik.com Git - apple/security.git/blob - keychains/Makefile
Security-54.tar.gz
[apple/security.git] / keychains / Makefile
1 #
2 # Makefile to install the system-startup code for SecurityServer
3 #
4 KEYCHAINS_SRC=$(SRCROOT)/keychains
5
6 SYSTEM_LIBRARY_DIR=$(DSTROOT)/System/Library
7 KEYCHAINS_DIR=$(SYSTEM_LIBRARY_DIR)/Keychains
8 X509ANCHORS=$(KEYCHAINS_DIR)/X509Anchors
9
10
11 #
12 # The other phases do nothing
13 #
14 build:
15 @echo null build.
16
17 debug:
18 @echo null debug.
19
20 profile:
21 @echo null profile.
22
23 installhdrs:
24 @echo null installhdrs.
25
26 installsrc:
27 @echo null installsrc.
28
29 clean:
30 @echo null clean.
31
32
33 #
34 # Install
35 #
36 install:
37 if [ ! -d $(KEYCHAINS_DIR) ]; then \
38 mkdir -p $(KEYCHAINS_DIR); \
39 chown root.admin $(KEYCHAINS_DIR); \
40 chmod 755 $(KEYCHAINS_DIR); \
41 fi
42 cp $(KEYCHAINS_SRC)/X509Anchors $(X509ANCHORS)
43 chown root.admin $(X509ANCHORS)
44 chmod 664 $(X509ANCHORS)
45 ls -l $(X509ANCHORS)