]> git.saurik.com Git - apple/security.git/blob - SecExperiment/TLSAssets/Makefile
Security-59306.11.20.tar.gz
[apple/security.git] / SecExperiment / TLSAssets / Makefile
1 ASSET_DIR = BuiltTLSConfigAssets
2 ASSET_DATA = ${ASSET_DIR}/AssetData
3
4 asset:
5 rm -rf ${ASSET_DIR}
6 mkdir -p ${ASSET_DIR}
7 ditto Info.plist ${ASSET_DIR}
8 mkdir -p ${ASSET_DATA}
9 ditto TLSConfig.plist ${ASSET_DIR}/AssetData
10
11 cleanall: clean
12 rm -rf ${ASSET_DIR}
13
14 clean:
15 rm -rf staged
16
17 stage: asset
18 echo "TLSConfigs staging"
19 rm -rf staged
20 $(shell /usr/bin/xcrun --find assettool --sdk ioshostadditions) stage -p . -s staged -v 1
21 $(shell /usr/bin/xcrun --find assettool --sdk ioshostadditions) sign -s staged
22
23 installsrc:
24 $(DITTO) . $(SRCROOT)
25
26 install:
27 $(PLUTIL) -convert binary1 $(SRCROOT)/Asset/Info.plist
28 $(DITTO) $(SRCROOT)/Asset $(DSTROOT)/MySampleProject/
29 chown -R root:wheel $(DSTROOT)
30 find $(DSTROOT) -type d -exec chmod 755 {} \;
31 find $(DSTROOT) -type f -exec chmod 644 {} \;
32 $(DOTCLEAN) -m $(DSTROOT)
33
34 installhdrs:
35 $(ECHO) "doing nothing"