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