2 # FEE library Makefile, generic UNIX version.
6 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 ellipticProj.c
8 SFILES=giantPort_PPC_Gnu.s
9 OFILES= $(CFILES:%.c=%.o) $(SFILES:%.s=%.o)
11 CFLAGS=-g -O -Wall -c -I..
13 # set to platform-specific compiler (gcc, /bin/cc, etc.)
23 ar r ${FEE_LIB} $(OFILES)
26 CipherFileDES.o: CipherFileDES.c
27 $(CC) $(CFLAGS) -o $@ CipherFileDES.c
29 CipherFileFEED.o: CipherFileFEED.c
30 $(CC) $(CFLAGS) -o $@ CipherFileFEED.c
33 $(CC) $(CFLAGS) -o $@ DES.c
36 $(CC) $(CFLAGS) -o $@ MD5.c
38 elliptic.o: elliptic.c
39 $(CC) $(CFLAGS) -o $@ elliptic.c
41 giantIntegers.o: giantIntegers.c
42 $(CC) $(CFLAGS) -o $@ giantIntegers.c
45 $(CC) $(CFLAGS) -o $@ ckSHA1.c
47 ckSHA1_priv.o: ckSHA1_priv.c
48 $(CC) $(CFLAGS) -o $@ ckSHA1_priv.c
51 $(CC) $(CFLAGS) -o $@ byteRep.c
53 curveParams.o: curveParams.c
54 $(CC) $(CFLAGS) -o $@ curveParams.c
57 $(CC) $(CFLAGS) -o $@ enc64.c
60 $(CC) $(CFLAGS) -o $@ falloc.c
62 feeCipherFile.o: feeCipherFile.c
63 $(CC) $(CFLAGS) -o $@ feeCipherFile.c
65 feeCipherFileAtom.o: feeCipherFileAtom.c
66 $(CC) $(CFLAGS) -o $@ feeCipherFileAtom.c
69 $(CC) $(CFLAGS) -o $@ feeDES.c
71 feeDigitalSignature.o: feeDigitalSignature.c
72 $(CC) $(CFLAGS) -o $@ feeDigitalSignature.c
74 feeECDSA.o: feeECDSA.c
75 $(CC) $(CFLAGS) -o $@ feeECDSA.c
78 $(CC) $(CFLAGS) -o $@ feeFEED.c
80 feeFEEDExp.o: feeFEEDExp.c
81 $(CC) $(CFLAGS) -o $@ feeFEEDExp.c
84 $(CC) $(CFLAGS) -o $@ feeHash.c
86 feePublicKey.o: feePublicKey.c
87 $(CC) $(CFLAGS) -o $@ feePublicKey.c
89 feeRandom.o: feeRandom.c
90 $(CC) $(CFLAGS) -o $@ feeRandom.c
92 platform.o: platform.c
93 $(CC) $(CFLAGS) -o $@ platform.c
95 utilities.o: utilities.c
96 $(CC) $(CFLAGS) -o $@ utilities.c
98 giantPort_PPC_Gnu.o: giantPort_PPC_Gnu.s
99 $(CC) $(CFLAGS) -o $@ giantPort_PPC_Gnu.s
101 ellipticProj.o: ellipticProj.c
102 $(CC) $(CFLAGS) -o $@ ellipticProj.c