]> git.saurik.com Git - apple/security.git/blame - keychains/Makefile
Security-54.tar.gz
[apple/security.git] / keychains / Makefile
CommitLineData
29654253
A
1#
2# Makefile to install the system-startup code for SecurityServer
3#
4KEYCHAINS_SRC=$(SRCROOT)/keychains
5
6SYSTEM_LIBRARY_DIR=$(DSTROOT)/System/Library
7KEYCHAINS_DIR=$(SYSTEM_LIBRARY_DIR)/Keychains
8X509ANCHORS=$(KEYCHAINS_DIR)/X509Anchors
9
10
11#
12# The other phases do nothing
13#
14build:
15 @echo null build.
16
17debug:
18 @echo null debug.
19
20profile:
21 @echo null profile.
22
23installhdrs:
24 @echo null installhdrs.
25
26installsrc:
27 @echo null installsrc.
28
29clean:
30 @echo null clean.
31
32
33#
34# Install
35#
36install:
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)