]>
git.saurik.com Git - apple/security.git/blob - OSX/include/security_cryptkit/buildSrcTree
3 # Build "outside release" version of CryptKit source tree. Places
4 # source in $argv[1]/CryptKit.
7 echo Usage
: buildSrcTree target_dir
13 set CFILES
="CipherFileDES.c CipherFileFEED.c ckDES.c ckMD5.c elliptic.c giantIntegers.c ckSHA1.c ckSHA1_priv.c byteRep.c curveParams.c enc64.c falloc.c feeCipherFile.c feeCipherFileAtom.c feeDES.c feeDigitalSignature.c feeECDSA.c feeFEED.c feeFEEDExp.c feeHash.c feePublicKey.c feeRandom.c platform.c ckutilities.c giantPort_PPC.c ellipticProj.c"
15 set HFILES
="CipherFileDES.h CipherFileFEED.h CipherFileTypes.h Crypt.h ckDES.h ECDSA_Profile.h ckMD5.h elliptic.h giantIntegers.h ckSHA1.h ckSHA1_priv.h byteRep.h ckconfig.h curveParams.h curveParamData.h ellipticMeasure.h enc64.h falloc.h feeCipherFile.h feeDES.h feeDebug.h feeDigitalSignature.h feeECDSA.h feeFEED.h feeFEEDExp.h feeFunctions.h feeHash.h feePublicKey.h feePublicKeyPrivate.h feeRandom.h feeTypes.h platform.h ckutilities.h giantPortCommon.h giantPort_Generic.h giantPort_PPC_Gnu.h giantPort_PPC.h giantPort_i486.h ellipticProj.h"
17 set SFILES
="giantPort_i486.s giantPort_PPC_Gnu.s"
18 set OTHERFILES
="README"
20 set MAKEFILE_SRC
=unixMakefile
21 set MAKEFILE_DEST
=Makefile
22 set TOP_README_SRC
=TOP_README
23 set TOP_README_DST
=README
26 set DSTDIR
=${DSTROOT}/${TARGDIR}
27 mkdir -p ${DSTDIR} || exit(1)
29 cp -p ${CFILES} ${HFILES} ${SFILES} ${OTHERFILES} ${DSTDIR} || exit(1)
31 # These files get renamed...
33 cp -p ${MAKEFILE_SRC} ${DSTDIR}/${MAKEFILE_DEST} || exit(1)
34 cp -p ${TOP_README_SRC} ${DSTROOT}/${TOP_README_DST}