f0bb149ae62ed631713e957a937e0b91613d042d
[openssl.git] / crypto / ec / Makefile.ssl
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 -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
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.ssl >> $(TOP)/MINFO
53
54 links:
55         @sh $(TOP)/util/point.sh Makefile.ssl Makefile
56         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
57         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
58         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
59
60 install:
61         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
62         do  \
63         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
64         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
65         done;
66
67 tags:
68         ctags $(SRC)
69
70 tests:
71
72 lint:
73         lint -DLINT $(INCLUDES) $(SRC)>fluff
74
75 depend:
76         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
77
78 dclean:
79         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80         mv -f Makefile.new $(MAKEFILE)
81
82 clean:
83         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
84
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
86
87 ec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
88 ec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
89 ec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
90 ec2_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
91 ec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
92 ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
93 ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
94 ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h
95 ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
96 ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
97 ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
98 ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
99 ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
100 ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
101 ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
102 ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec2_smpt.c ec_lcl.h
103 ec2_smpt.o: ec2_smpt.c
104 ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
105 ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106 ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
107 ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
108 ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
109 ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
110 ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
111 ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112 ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
113 ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
114 ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
115 ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
116 ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
117 ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
118 ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
119 ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
120 ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
121 ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
122 ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
123 ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
124 ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
125 ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
126 ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
127 ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
128 ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
129 ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
130 ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
131 ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
132 ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
133 ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
134 ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
135 ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
136 ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h
137 ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
138 ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
139 ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
140 ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
141 ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
142 ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
143 ec_err.o: ../../include/openssl/symhacks.h ec_err.c
144 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
145 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
146 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
147 ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
148 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
149 ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
150 ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
151 ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
152 ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
153 ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
154 ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
155 ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
156 ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
157 ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
158 ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
159 ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c
160 ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
161 ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
162 ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
163 ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
164 ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
165 ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
166 ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
167 ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c
168 ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
169 ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
170 ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
171 ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
172 ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
173 ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
174 ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
175 ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
176 ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
177 ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
178 ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
179 ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
180 ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181 ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182 ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
183 ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
184 ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
185 ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
186 ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
187 ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
188 ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
189 ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
190 ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
191 ecp_recp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
192 ecp_recp.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
193 ecp_recp.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
194 ecp_recp.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
195 ecp_recp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
196 ecp_recp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
197 ecp_recp.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_recp.c
198 ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
199 ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
200 ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
201 ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
202 ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
203 ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
204 ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
205 ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c