update docs (recent constification)
[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 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=ectest.c
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_recp.c ecp_nist.c ec_cvt.c ec_mult.c\
27         ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c\
28         ec2_smpl.c ec2_smpt.c ec2_mult.c
29
30 LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_recp.o ecp_nist.o ec_cvt.o ec_mult.o\
31         ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\
32         ec2_smpl.o ec2_mult.o
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 files:
52         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
53
54 links:
55         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
56         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
57         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
58
59 install:
60         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
61         do  \
62         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
63         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
64         done;
65
66 tags:
67         ctags $(SRC)
68
69 tests:
70
71 lint:
72         lint -DLINT $(INCLUDES) $(SRC)>fluff
73
74 depend:
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_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
95 ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
96 ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
97 ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
98 ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
99 ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
100 ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
101 ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec2_smpt.c ec_lcl.h
102 ec2_smpt.o: ec2_smpt.c
103 ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
104 ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
105 ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
106 ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
107 ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
108 ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
109 ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110 ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111 ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
112 ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
113 ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
114 ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
115 ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
116 ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
117 ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
118 ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119 ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
120 ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
121 ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
122 ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
123 ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124 ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
125 ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
126 ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
127 ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
128 ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
129 ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
130 ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
131 ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
132 ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
133 ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
134 ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
135 ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h
136 ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
137 ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
138 ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
139 ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
140 ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
141 ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
142 ec_err.o: ../../include/openssl/symhacks.h ec_err.c
143 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
144 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
145 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
146 ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
147 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
148 ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
149 ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
150 ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
151 ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
152 ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
153 ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
154 ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
155 ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
156 ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
157 ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
158 ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c
159 ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
160 ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
161 ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
162 ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
163 ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
164 ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
165 ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
166 ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c
167 ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
168 ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
169 ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
170 ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
171 ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
172 ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
173 ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
174 ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
175 ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
176 ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
177 ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
178 ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
179 ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
180 ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
181 ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
182 ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
183 ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
184 ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
185 ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
186 ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
187 ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
188 ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
189 ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
190 ecp_recp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
191 ecp_recp.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
192 ecp_recp.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
193 ecp_recp.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
194 ecp_recp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195 ecp_recp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
196 ecp_recp.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_recp.c
197 ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
198 ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
199 ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
200 ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
201 ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
202 ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
203 ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
204 ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c