]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cryptkit/lib/unixMakefile
Security-59754.41.1.tar.gz
[apple/security.git] / OSX / libsecurity_cryptkit / lib / unixMakefile
1 #
2 # FEE library Makefile, generic UNIX version.
3 #
4 FEE_LIB=libFEE.a
5 #
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
7 #
8 SFILES=giantPort_PPC_Gnu.s
9 OFILES= $(CFILES:%.c=%.o) $(SFILES:%.s=%.o)
10 #
11 CFLAGS=-g -O -Wall -c -I..
12 #
13 # set to platform-specific compiler (gcc, /bin/cc, etc.)
14 CC=cc
15 #
16 first all: $(FEE_LIB)
17 #
18 clean:
19 rm -f *.o *.a
20 #
21 $(FEE_LIB): $(OFILES)
22 rm -f $(FEE_LIB)
23 ar r ${FEE_LIB} $(OFILES)
24 ranlib ${FEE_LIB}
25 #
26 CipherFileDES.o: CipherFileDES.c
27 $(CC) $(CFLAGS) -o $@ CipherFileDES.c
28
29 CipherFileFEED.o: CipherFileFEED.c
30 $(CC) $(CFLAGS) -o $@ CipherFileFEED.c
31
32 DES.o: DES.c
33 $(CC) $(CFLAGS) -o $@ DES.c
34
35 MD5.o: MD5.c
36 $(CC) $(CFLAGS) -o $@ MD5.c
37
38 elliptic.o: elliptic.c
39 $(CC) $(CFLAGS) -o $@ elliptic.c
40
41 giantIntegers.o: giantIntegers.c
42 $(CC) $(CFLAGS) -o $@ giantIntegers.c
43
44 ckSHA1.o: ckSHA1.c
45 $(CC) $(CFLAGS) -o $@ ckSHA1.c
46
47 ckSHA1_priv.o: ckSHA1_priv.c
48 $(CC) $(CFLAGS) -o $@ ckSHA1_priv.c
49
50 byteRep.o: byteRep.c
51 $(CC) $(CFLAGS) -o $@ byteRep.c
52
53 curveParams.o: curveParams.c
54 $(CC) $(CFLAGS) -o $@ curveParams.c
55
56 enc64.o: enc64.c
57 $(CC) $(CFLAGS) -o $@ enc64.c
58
59 falloc.o: falloc.c
60 $(CC) $(CFLAGS) -o $@ falloc.c
61
62 feeCipherFile.o: feeCipherFile.c
63 $(CC) $(CFLAGS) -o $@ feeCipherFile.c
64
65 feeCipherFileAtom.o: feeCipherFileAtom.c
66 $(CC) $(CFLAGS) -o $@ feeCipherFileAtom.c
67
68 feeDES.o: feeDES.c
69 $(CC) $(CFLAGS) -o $@ feeDES.c
70
71 feeDigitalSignature.o: feeDigitalSignature.c
72 $(CC) $(CFLAGS) -o $@ feeDigitalSignature.c
73
74 feeECDSA.o: feeECDSA.c
75 $(CC) $(CFLAGS) -o $@ feeECDSA.c
76
77 feeFEED.o: feeFEED.c
78 $(CC) $(CFLAGS) -o $@ feeFEED.c
79
80 feeFEEDExp.o: feeFEEDExp.c
81 $(CC) $(CFLAGS) -o $@ feeFEEDExp.c
82
83 feeHash.o: feeHash.c
84 $(CC) $(CFLAGS) -o $@ feeHash.c
85
86 feePublicKey.o: feePublicKey.c
87 $(CC) $(CFLAGS) -o $@ feePublicKey.c
88
89 feeRandom.o: feeRandom.c
90 $(CC) $(CFLAGS) -o $@ feeRandom.c
91
92 platform.o: platform.c
93 $(CC) $(CFLAGS) -o $@ platform.c
94
95 utilities.o: utilities.c
96 $(CC) $(CFLAGS) -o $@ utilities.c
97
98 giantPort_PPC_Gnu.o: giantPort_PPC_Gnu.s
99 $(CC) $(CFLAGS) -o $@ giantPort_PPC_Gnu.s
100
101 ellipticProj.o: ellipticProj.c
102 $(CC) $(CFLAGS) -o $@ ellipticProj.c