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 ec_pmeth.c eck_prn.c \
23         ecp_nistp224.c ecp_oct.c ec2_oct.c ec_oct.c
24
25 LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_nist.o ec_cvt.o ec_mult.o\
26         ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\
27         ec2_smpl.o ec2_mult.o ec_ameth.o ec_pmeth.o eck_prn.o \
28         ecp_nistp224.o ecp_oct.o ec2_oct.o ec_oct.o
29
30 SRC= $(LIBSRC)
31
32 EXHEADER= ec.h
33 HEADER= ec_lcl.h $(EXHEADER)
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(ARX) $(LIB) $(LIBOBJ)
44         $(RANLIB) $(LIB) || echo Never mind.
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
49
50 links:
51         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
52         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
53         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
54
55 install:
56         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
57         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
73         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74
75 dclean:
76         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77         mv -f Makefile.new $(MAKEFILE)
78
79 clean:
80         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81
82 # DO NOT DELETE THIS LINE -- make depend depends on it.
83
84 ec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
85 ec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
86 ec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
87 ec2_mult.o: ../../include/openssl/err.h ../../include/openssl/fips.h
88 ec2_mult.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
89 ec2_mult.o: ../../include/openssl/opensslconf.h
90 ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
91 ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
92 ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h
93 ec2_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
94 ec2_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
95 ec2_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
96 ec2_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
97 ec2_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
98 ec2_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
99 ec2_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
100 ec2_oct.o: ../../include/openssl/symhacks.h ec2_oct.c ec_lcl.h
101 ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
102 ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
103 ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
104 ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/fips.h
105 ec2_smpl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
106 ec2_smpl.o: ../../include/openssl/opensslconf.h
107 ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
108 ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
109 ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec_lcl.h
110 ec_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
111 ec_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
112 ec_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
113 ec_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
114 ec_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
115 ec_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
116 ec_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
117 ec_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
118 ec_ameth.o: ../../include/openssl/opensslconf.h
119 ec_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
120 ec_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
121 ec_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122 ec_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
123 ec_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
124 ec_ameth.o: ec_ameth.c
125 ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
126 ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
127 ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
128 ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
129 ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
130 ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
131 ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
132 ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
133 ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
134 ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
135 ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
136 ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
137 ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
138 ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
139 ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
140 ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141 ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
142 ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
143 ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
144 ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
145 ec_curve.o: ../../include/openssl/err.h ../../include/openssl/fips.h
146 ec_curve.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
147 ec_curve.o: ../../include/openssl/opensslconf.h
148 ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
149 ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
150 ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
151 ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
152 ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
153 ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
154 ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/fips.h
155 ec_cvt.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
156 ec_cvt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
157 ec_cvt.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
158 ec_cvt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
159 ec_cvt.o: ec_cvt.c ec_lcl.h
160 ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
161 ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
162 ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
163 ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
164 ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
165 ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
166 ec_err.o: ../../include/openssl/symhacks.h ec_err.c
167 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
168 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
169 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
170 ec_key.o: ../../include/openssl/err.h ../../include/openssl/evp.h
171 ec_key.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
172 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
173 ec_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
174 ec_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
175 ec_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
176 ec_key.o: ec_key.c ec_lcl.h
177 ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
178 ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
179 ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
180 ec_lib.o: ../../include/openssl/err.h ../../include/openssl/fips.h
181 ec_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
182 ec_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
183 ec_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
184 ec_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
185 ec_lib.o: ec_lcl.h ec_lib.c
186 ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
187 ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
188 ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
189 ec_mult.o: ../../include/openssl/err.h ../../include/openssl/fips.h
190 ec_mult.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
191 ec_mult.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
192 ec_mult.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
193 ec_mult.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
194 ec_mult.o: ec_lcl.h ec_mult.c
195 ec_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
196 ec_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
197 ec_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
198 ec_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
199 ec_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
200 ec_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
201 ec_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
202 ec_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ec_oct.c
203 ec_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
204 ec_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
205 ec_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
206 ec_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
207 ec_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
208 ec_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
209 ec_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
210 ec_pmeth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
211 ec_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
212 ec_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
213 ec_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
214 ec_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
215 ec_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h
216 ec_pmeth.o: ec_pmeth.c
217 ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
218 ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
219 ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
220 ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
221 ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
222 ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
223 ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
224 eck_prn.o: ../../e_os.h ../../include/openssl/asn1.h
225 eck_prn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
226 eck_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
227 eck_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
228 eck_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
229 eck_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
230 eck_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
231 eck_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
232 eck_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
233 eck_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h eck_prn.c
234 ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
235 ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
236 ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
237 ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/fips.h
238 ecp_mont.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
239 ecp_mont.o: ../../include/openssl/opensslconf.h
240 ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
241 ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
242 ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
243 ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
244 ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
245 ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
246 ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/fips.h
247 ecp_nist.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
248 ecp_nist.o: ../../include/openssl/opensslconf.h
249 ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
250 ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
251 ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
252 ecp_nistp224.o: ecp_nistp224.c
253 ecp_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
254 ecp_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
255 ecp_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
256 ecp_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
257 ecp_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
258 ecp_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
259 ecp_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
260 ecp_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_oct.c
261 ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
262 ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
263 ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
264 ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/fips.h
265 ecp_smpl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
266 ecp_smpl.o: ../../include/openssl/opensslconf.h
267 ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
268 ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
269 ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c