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