]> git.saurik.com Git - apple/security.git/blob - securityd/etc/startup.mk
Security-57336.1.9.tar.gz
[apple/security.git] / securityd / etc / startup.mk
1 #
2 # Makefile to install the system-startup code for SecurityServer
3 #
4
5 # wouldn't it be nice if PBX actually $#@?@! defined those?
6 # (for future ref: CoreOS Makefiles define many standard path vars)
7 # Note: CORE_SERVICES_DIR should be absolute path in target environment (don't prefix with DSTROOT)
8 SYSTEM_LIBRARY_DIR=$(DSTROOT)/System/Library
9 SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
10 ETC_DIR=$(DSTROOT)/private/etc
11 LAUNCH_DIR=$(DSTROOT)/System/Library/LaunchDaemons
12 #AUTHORIZATION_LOCATION=$(ETC_DIR)
13 #AUTHORIZATION_PLIST=$(AUTHORIZATION_LOCATION)/authorization
14 VARDB=$(DSTROOT)/private/var/db
15
16 SRC=$(SRCROOT)/etc
17
18
19 #
20 # The other phases do nothing
21 #
22 build:
23 @echo null build.
24
25 debug:
26 @echo null debug.
27
28 profile:
29 @echo null profile.
30
31 #
32 # Install
33 #
34 install:
35 mkdir -p $(LAUNCH_DIR)
36 cp $(SRC)/com.apple.securityd.plist $(LAUNCH_DIR)
37 #mkdir -p $(AUTHORIZATION_LOCATION)
38 #plutil -lint $(SRC)/authorization.plist
39 #cp $(SRC)/authorization.plist $(AUTHORIZATION_PLIST)
40 #chown root:wheel $(AUTHORIZATION_PLIST)
41 #chmod 644 $(AUTHORIZATION_PLIST)
42 mkdir -p $(VARDB)
43
44 installhdrs:
45 @echo null installhdrs.
46
47 installsrc:
48 @echo null installsrc.
49
50 clean:
51 @echo null clean.