Add information and pem strings. Update dependencies.
[openssl.git] / crypto / ec / Makefile
1 #
2 # crypto/ec/Makefile
3 #
4
5 DIR=    ec
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16 TEST=ectest.c
17 APPS=
18
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c\
21         ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c\
22         ec2_smpl.c ec2_mult.c ec_ameth.c eck_prn.c
23
24 LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_nist.o ec_cvt.o ec_mult.o\
25         ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\
26         ec2_smpl.o ec2_mult.o ec_ameth.o eck_prn.o
27
28 SRC= $(LIBSRC)
29
30 EXHEADER= ec.h
31 HEADER= ec_lcl.h $(EXHEADER)
32
33 ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35 top:
36         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38 all:    lib
39
40 lib:    $(LIBOBJ)
41         $(AR) $(LIB) $(LIBOBJ)
42         $(RANLIB) $(LIB) || echo Never mind.
43         @touch lib
44
45 files:
46         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47
48 links:
49         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
50         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
51         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
52
53 install:
54         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
55         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
56         do  \
57         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
58         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
59         done;
60
61 tags:
62         ctags $(SRC)
63
64 tests:
65
66 lint:
67         lint -DLINT $(INCLUDES) $(SRC)>fluff
68
69 depend:
70         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
71         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72
73 dclean:
74         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75         mv -f Makefile.new $(MAKEFILE)
76
77 clean:
78         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
79
80 # DO NOT DELETE THIS LINE -- make depend depends on it.
81
82 ec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
83 ec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
84 ec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
85 ec2_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
86 ec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
87 ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88 ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89 ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h
90 ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
91 ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
92 ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
93 ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
94 ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
95 ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96 ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97 ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec_lcl.h
98 ec_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
99 ec_ameth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
100 ec_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
101 ec_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
102 ec_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
103 ec_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
104 ec_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
105 ec_ameth.o: ../../include/openssl/opensslconf.h
106 ec_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
107 ec_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
108 ec_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
109 ec_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
110 ec_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
111 ec_ameth.o: ec_ameth.c
112 ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
113 ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
114 ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
115 ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
116 ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
117 ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
118 ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
119 ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
120 ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
121 ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
122 ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
123 ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
124 ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
125 ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
126 ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
127 ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
128 ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
129 ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
130 ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
131 ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
132 ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
133 ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
134 ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
135 ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136 ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
137 ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
138 ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
139 ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
140 ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
141 ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
142 ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
143 ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
144 ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h
145 ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
146 ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
147 ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
148 ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
149 ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
150 ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
151 ec_err.o: ../../include/openssl/symhacks.h ec_err.c
152 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
153 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
154 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
155 ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
156 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
157 ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
158 ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
159 ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
160 ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
161 ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
162 ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
163 ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
164 ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
165 ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
166 ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
167 ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c
168 ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
169 ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
170 ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
171 ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
172 ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
173 ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
174 ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
175 ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c
176 ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
177 ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
178 ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
179 ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
180 ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181 ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182 ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
183 eck_prn.o: ../../e_os.h ../../include/openssl/asn1.h
184 eck_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
185 eck_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
186 eck_prn.o: ../../include/openssl/ec.h ../../include/openssl/err.h
187 eck_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
188 eck_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
189 eck_prn.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
190 eck_prn.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
191 eck_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
192 eck_prn.o: ../cryptlib.h eck_prn.c
193 ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
194 ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
195 ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
196 ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
197 ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
198 ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
199 ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
200 ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
201 ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
202 ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
203 ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
204 ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
205 ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
206 ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
207 ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
208 ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
209 ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
210 ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
211 ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
212 ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
213 ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
214 ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
215 ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
216 ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c