1d7d1dcbed41d918c89f151dc09b770cd25e8fd9
[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/lhash.h
88 ec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
89 ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
90 ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
91 ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h
92 ec2_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
93 ec2_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
94 ec2_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
95 ec2_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
96 ec2_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
97 ec2_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
98 ec2_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
99 ec2_oct.o: ../../include/openssl/symhacks.h ec2_oct.c ec_lcl.h
100 ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
101 ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
102 ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
103 ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
104 ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
105 ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106 ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
107 ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec_lcl.h
108 ec_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
109 ec_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
110 ec_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
111 ec_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
112 ec_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
113 ec_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
114 ec_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
115 ec_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
116 ec_ameth.o: ../../include/openssl/opensslconf.h
117 ec_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
118 ec_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
119 ec_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
120 ec_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
121 ec_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
122 ec_ameth.o: ec_ameth.c
123 ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
124 ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
125 ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
126 ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
127 ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
128 ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
129 ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
130 ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
131 ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
132 ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
133 ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
134 ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
135 ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
136 ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
137 ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
138 ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
139 ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
140 ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
141 ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
142 ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
143 ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
144 ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
145 ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
146 ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
147 ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
148 ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
149 ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
150 ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
151 ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
152 ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
153 ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
154 ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
155 ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h
156 ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
157 ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
158 ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
159 ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
160 ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
161 ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
162 ec_err.o: ../../include/openssl/symhacks.h ec_err.c
163 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
164 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
165 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
166 ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
167 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
168 ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169 ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
170 ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
171 ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
172 ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
173 ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
174 ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
175 ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
176 ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
177 ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
178 ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c
179 ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
180 ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
181 ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
182 ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
183 ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
184 ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
185 ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
186 ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c
187 ec_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
188 ec_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
189 ec_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
190 ec_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
191 ec_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
192 ec_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
193 ec_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
194 ec_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ec_oct.c
195 ec_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
196 ec_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
197 ec_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
198 ec_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
199 ec_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
200 ec_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
201 ec_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
202 ec_pmeth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
203 ec_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
204 ec_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
205 ec_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
206 ec_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
207 ec_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h
208 ec_pmeth.o: ec_pmeth.c
209 ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
210 ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
211 ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
212 ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
213 ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
214 ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
215 ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
216 eck_prn.o: ../../e_os.h ../../include/openssl/asn1.h
217 eck_prn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
218 eck_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
219 eck_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
220 eck_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
221 eck_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
222 eck_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
223 eck_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
224 eck_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
225 eck_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h eck_prn.c
226 ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
227 ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
228 ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
229 ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
230 ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
231 ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
232 ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
233 ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
234 ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
235 ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
236 ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
237 ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
238 ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
239 ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
240 ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
241 ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
242 ecp_nistp224.o: ecp_nistp224.c
243 ecp_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
244 ecp_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
245 ecp_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
246 ecp_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
247 ecp_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
248 ecp_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
249 ecp_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
250 ecp_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_oct.c
251 ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
252 ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
253 ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
254 ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
255 ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
256 ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
257 ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
258 ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c