]>
Commit | Line | Data |
---|---|---|
b1ab9ed8 A |
1 | #! /bin/csh -f |
2 | # | |
3 | # Build "outside release" version of CryptKit source tree. Places | |
4 | # source in $argv[1]/CryptKit. | |
5 | # | |
6 | if ( $#argv < 1 ) then | |
7 | echo Usage: buildSrcTree target_dir | |
8 | exit(1) | |
9 | endif | |
10 | # | |
11 | set TARGDIR=CryptKit | |
12 | # | |
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" | |
14 | # | |
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" | |
16 | # | |
17 | set SFILES="giantPort_i486.s giantPort_PPC_Gnu.s" | |
18 | set OTHERFILES="README" | |
19 | # | |
20 | set MAKEFILE_SRC=unixMakefile | |
21 | set MAKEFILE_DEST=Makefile | |
22 | set TOP_README_SRC=TOP_README | |
23 | set TOP_README_DST=README | |
24 | # | |
25 | set DSTROOT=$argv[1] | |
26 | set DSTDIR=${DSTROOT}/${TARGDIR} | |
27 | mkdir -p ${DSTDIR} || exit(1) | |
28 | # | |
29 | cp -p ${CFILES} ${HFILES} ${SFILES} ${OTHERFILES} ${DSTDIR} || exit(1) | |
30 | # | |
31 | # These files get renamed... | |
32 | # | |
33 | cp -p ${MAKEFILE_SRC} ${DSTDIR}/${MAKEFILE_DEST} || exit(1) | |
34 | cp -p ${TOP_README_SRC} ${DSTROOT}/${TOP_README_DST} |