diff options
Diffstat (limited to 'src/lib/libcrypto/ec/Makefile')
-rw-r--r-- | src/lib/libcrypto/ec/Makefile | 163 |
1 files changed, 115 insertions, 48 deletions
diff --git a/src/lib/libcrypto/ec/Makefile b/src/lib/libcrypto/ec/Makefile index 8f03658ad4..42f7bb7fc8 100644 --- a/src/lib/libcrypto/ec/Makefile +++ b/src/lib/libcrypto/ec/Makefile | |||
@@ -7,11 +7,6 @@ TOP= ../.. | |||
7 | CC= cc | 7 | CC= cc |
8 | INCLUDES= -I.. -I$(TOP) -I../../include | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
9 | CFLAG=-g | 9 | CFLAG=-g |
10 | INSTALL_PREFIX= | ||
11 | OPENSSLDIR= /usr/local/ssl | ||
12 | INSTALLTOP=/usr/local/ssl | ||
13 | MAKEDEPPROG= makedepend | ||
14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
15 | MAKEFILE= Makefile | 10 | MAKEFILE= Makefile |
16 | AR= ar r | 11 | AR= ar r |
17 | 12 | ||
@@ -22,11 +17,13 @@ TEST=ectest.c | |||
22 | APPS= | 17 | APPS= |
23 | 18 | ||
24 | LIB=$(TOP)/libcrypto.a | 19 | LIB=$(TOP)/libcrypto.a |
25 | LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_recp.c ecp_nist.c ec_cvt.c ec_mult.c \ | 20 | LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c\ |
26 | ec_err.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_smpt.c ec2_mult.c | ||
27 | 23 | ||
28 | LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_recp.o ecp_nist.o ec_cvt.o ec_mult.o \ | 24 | LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_nist.o ec_cvt.o ec_mult.o\ |
29 | ec_err.o | 25 | ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\ |
26 | ec2_smpl.o ec2_mult.o | ||
30 | 27 | ||
31 | SRC= $(LIBSRC) | 28 | SRC= $(LIBSRC) |
32 | 29 | ||
@@ -54,6 +51,7 @@ links: | |||
54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 51 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
55 | 52 | ||
56 | install: | 53 | install: |
54 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
57 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | 55 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ |
58 | do \ | 56 | do \ |
59 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | 57 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
@@ -69,6 +67,7 @@ lint: | |||
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 67 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
70 | 68 | ||
71 | depend: | 69 | depend: |
70 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... | ||
72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
73 | 72 | ||
74 | dclean: | 73 | dclean: |
@@ -80,47 +79,115 @@ clean: | |||
80 | 79 | ||
81 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
82 | 81 | ||
83 | ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | 82 | ec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
84 | ec_cvt.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | 83 | ec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
84 | ec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
85 | ec2_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
86 | ec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
87 | ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
88 | ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
89 | ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h | ||
90 | ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
91 | ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
92 | ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
93 | ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
94 | ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
95 | ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
96 | ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
97 | ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec2_smpt.c ec_lcl.h | ||
98 | ec2_smpt.o: ec2_smpt.c | ||
99 | ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
100 | ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
101 | ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
102 | ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
103 | ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
104 | ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
105 | ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
106 | ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
107 | ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h | ||
108 | ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
109 | ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
110 | ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
111 | ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
112 | ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
113 | ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
114 | ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
115 | ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h | ||
116 | ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
117 | ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
118 | ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
119 | ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
120 | ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
121 | ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
122 | ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
123 | ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h | ||
124 | ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
125 | ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
126 | ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
127 | ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
128 | ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
129 | ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
130 | ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
85 | ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h | 131 | ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h |
86 | ec_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 132 | ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
87 | ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 133 | ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
88 | ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h | 134 | ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h |
89 | ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 135 | ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
90 | ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 136 | ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
91 | ec_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 137 | ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
92 | ec_err.o: ec_err.c | 138 | ec_err.o: ../../include/openssl/symhacks.h ec_err.c |
93 | ec_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 139 | ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
94 | ec_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 140 | ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
95 | ec_lib.o: ../../include/openssl/ec.h ../../include/openssl/err.h | 141 | ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h |
96 | ec_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 142 | ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
97 | ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 143 | ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h |
98 | ec_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 144 | ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
99 | ec_lib.o: ec_lcl.h ec_lib.c | 145 | ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
100 | ec_mult.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 146 | ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h |
101 | ec_mult.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 147 | ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
102 | ec_mult.o: ../../include/openssl/ec.h ../../include/openssl/err.h | 148 | ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
103 | ec_mult.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 149 | ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h |
104 | ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 150 | ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
105 | ec_mult.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 151 | ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h |
106 | ec_mult.o: ec_lcl.h ec_mult.c | 152 | ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
107 | ecp_mont.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 153 | ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
108 | ecp_mont.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 154 | ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c |
109 | ecp_mont.o: ../../include/openssl/ec.h ../../include/openssl/err.h | 155 | ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
110 | ecp_mont.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 156 | ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
111 | ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 157 | ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h |
112 | ecp_mont.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 158 | ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
113 | ecp_mont.o: ec_lcl.h ecp_mont.c | 159 | ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h |
114 | ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | 160 | ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
115 | ecp_nist.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | 161 | ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
162 | ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c | ||
163 | ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
164 | ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
165 | ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
166 | ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
167 | ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
168 | ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
169 | ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c | ||
170 | ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
171 | ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
172 | ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
173 | ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
174 | ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
175 | ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
176 | ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
177 | ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c | ||
178 | ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
179 | ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
180 | ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
181 | ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
182 | ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h | ||
183 | ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
184 | ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
116 | ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c | 185 | ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c |
117 | ecp_recp.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | 186 | ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
118 | ecp_recp.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | 187 | ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
119 | ecp_recp.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_recp.c | 188 | ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h |
120 | ecp_smpl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 189 | ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
121 | ecp_smpl.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 190 | ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h |
122 | ecp_smpl.o: ../../include/openssl/ec.h ../../include/openssl/err.h | 191 | ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
123 | ecp_smpl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 192 | ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
124 | ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 193 | ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c |
125 | ecp_smpl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
126 | ecp_smpl.o: ec_lcl.h ecp_smpl.c | ||