diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/rsa/Makefile.ssl | 183 |
1 files changed, 158 insertions, 25 deletions
diff --git a/src/lib/libcrypto/rsa/Makefile.ssl b/src/lib/libcrypto/rsa/Makefile.ssl index d52f2e609e..f1e93c2fa3 100644 --- a/src/lib/libcrypto/rsa/Makefile.ssl +++ b/src/lib/libcrypto/rsa/Makefile.ssl | |||
@@ -5,27 +5,30 @@ | |||
5 | DIR= rsa | 5 | DIR= rsa |
6 | TOP= ../.. | 6 | TOP= ../.. |
7 | CC= cc | 7 | CC= cc |
8 | INCLUDES= -I.. -I../../include | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
9 | CFLAG=-g | 9 | CFLAG=-g |
10 | INSTALL_PREFIX= | ||
11 | OPENSSLDIR= /usr/local/ssl | ||
10 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
11 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
12 | MAKEDEPEND= makedepend -f Makefile.ssl | 14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
13 | MAKEFILE= Makefile.ssl | 16 | MAKEFILE= Makefile.ssl |
14 | AR= ar r | 17 | AR= ar r |
15 | 18 | ||
16 | CFLAGS= $(INCLUDES) $(CFLAG) | 19 | CFLAGS= $(INCLUDES) $(CFLAG) |
17 | 20 | ||
18 | ERR=rsa | ||
19 | ERRC=rsa_err | ||
20 | GENERAL=Makefile | 21 | GENERAL=Makefile |
21 | TEST= | 22 | TEST=rsa_test.c |
22 | APPS= | 23 | APPS= |
23 | 24 | ||
24 | LIB=$(TOP)/libcrypto.a | 25 | LIB=$(TOP)/libcrypto.a |
25 | LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c $(ERRC).c \ | 26 | LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c \ |
26 | rsa_pk1.c rsa_ssl.c rsa_none.c | 27 | rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c \ |
27 | LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o $(ERRC).o \ | 28 | rsa_asn1.c |
28 | rsa_pk1.o rsa_ssl.o rsa_none.o | 29 | LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o rsa_err.o \ |
30 | rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o rsa_null.o \ | ||
31 | rsa_asn1.o | ||
29 | 32 | ||
30 | SRC= $(LIBSRC) | 33 | SRC= $(LIBSRC) |
31 | 34 | ||
@@ -41,24 +44,23 @@ all: lib | |||
41 | 44 | ||
42 | lib: $(LIBOBJ) | 45 | lib: $(LIBOBJ) |
43 | $(AR) $(LIB) $(LIBOBJ) | 46 | $(AR) $(LIB) $(LIBOBJ) |
44 | sh $(TOP)/util/ranlib.sh $(LIB) | 47 | $(RANLIB) $(LIB) || echo Never mind. |
45 | @touch lib | 48 | @touch lib |
46 | 49 | ||
47 | files: | 50 | files: |
48 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 51 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
49 | 52 | ||
50 | links: | 53 | links: |
51 | /bin/rm -f Makefile | 54 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
52 | $(TOP)/util/point.sh Makefile.ssl Makefile ; | 55 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
53 | $(TOP)/util/mklink.sh ../../include $(EXHEADER) | 56 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
54 | $(TOP)/util/mklink.sh ../../test $(TEST) | 57 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
55 | $(TOP)/util/mklink.sh ../../apps $(APPS) | ||
56 | 58 | ||
57 | install: | 59 | install: |
58 | @for i in $(EXHEADER) ; \ | 60 | @for i in $(EXHEADER) ; \ |
59 | do \ | 61 | do \ |
60 | (cp $$i $(INSTALLTOP)/include/$$i; \ | 62 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
61 | chmod 644 $(INSTALLTOP)/include/$$i ); \ | 63 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |
62 | done; | 64 | done; |
63 | 65 | ||
64 | tags: | 66 | tags: |
@@ -70,17 +72,148 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 73 | ||
72 | depend: | 74 | depend: |
73 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 75 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
74 | 76 | ||
75 | dclean: | 77 | dclean: |
76 | perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 78 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
77 | mv -f Makefile.new $(MAKEFILE) | 79 | mv -f Makefile.new $(MAKEFILE) |
78 | 80 | ||
79 | clean: | 81 | clean: |
80 | /bin/rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 82 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
81 | |||
82 | errors: | ||
83 | perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h | ||
84 | perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c | ||
85 | 83 | ||
86 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 84 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
85 | |||
86 | rsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
87 | rsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
88 | rsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
89 | rsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
90 | rsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
91 | rsa_asn1.o: ../../include/openssl/opensslconf.h | ||
92 | rsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
93 | rsa_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
94 | rsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
95 | rsa_asn1.o: ../cryptlib.h rsa_asn1.c | ||
96 | rsa_chk.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
97 | rsa_chk.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
98 | rsa_chk.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
99 | rsa_chk.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
100 | rsa_chk.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
101 | rsa_chk.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
102 | rsa_chk.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
103 | rsa_chk.o: rsa_chk.c | ||
104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h | ||
105 | rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
106 | rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
107 | rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
108 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
109 | rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
110 | rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
111 | rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
112 | rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
113 | rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
114 | rsa_eay.o: ../../include/openssl/ui.h ../cryptlib.h rsa_eay.c | ||
115 | rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
116 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
117 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
118 | rsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
119 | rsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
120 | rsa_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
121 | rsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
122 | rsa_err.o: rsa_err.c | ||
123 | rsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h | ||
124 | rsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
125 | rsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
126 | rsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
127 | rsa_gen.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
128 | rsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
129 | rsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
130 | rsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
131 | rsa_gen.o: ../cryptlib.h rsa_gen.c | ||
132 | rsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
133 | rsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
134 | rsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
135 | rsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
136 | rsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
137 | rsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
138 | rsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
139 | rsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
140 | rsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
141 | rsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
142 | rsa_lib.o: ../../include/openssl/ui.h ../cryptlib.h rsa_lib.c | ||
143 | rsa_none.o: ../../e_os.h ../../include/openssl/asn1.h | ||
144 | rsa_none.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
145 | rsa_none.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
146 | rsa_none.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
147 | rsa_none.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
148 | rsa_none.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
149 | rsa_none.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
150 | rsa_none.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
151 | rsa_none.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_none.c | ||
152 | rsa_null.o: ../../e_os.h ../../include/openssl/asn1.h | ||
153 | rsa_null.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
154 | rsa_null.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
155 | rsa_null.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
156 | rsa_null.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
157 | rsa_null.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
158 | rsa_null.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
159 | rsa_null.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
160 | rsa_null.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_null.c | ||
161 | rsa_oaep.o: ../../e_os.h ../../include/openssl/asn1.h | ||
162 | rsa_oaep.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
163 | rsa_oaep.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
164 | rsa_oaep.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
165 | rsa_oaep.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
166 | rsa_oaep.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
167 | rsa_oaep.o: ../../include/openssl/opensslconf.h | ||
168 | rsa_oaep.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
169 | rsa_oaep.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
170 | rsa_oaep.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
171 | rsa_oaep.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
172 | rsa_oaep.o: ../cryptlib.h rsa_oaep.c | ||
173 | rsa_pk1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
174 | rsa_pk1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
175 | rsa_pk1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
176 | rsa_pk1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
177 | rsa_pk1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
178 | rsa_pk1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
179 | rsa_pk1.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
180 | rsa_pk1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
181 | rsa_pk1.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_pk1.c | ||
182 | rsa_saos.o: ../../e_os.h ../../include/openssl/asn1.h | ||
183 | rsa_saos.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
184 | rsa_saos.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
185 | rsa_saos.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
186 | rsa_saos.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
187 | rsa_saos.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | ||
188 | rsa_saos.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
189 | rsa_saos.o: ../../include/openssl/opensslconf.h | ||
190 | rsa_saos.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
191 | rsa_saos.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h | ||
192 | rsa_saos.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
193 | rsa_saos.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
194 | rsa_saos.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
195 | rsa_saos.o: ../cryptlib.h rsa_saos.c | ||
196 | rsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h | ||
197 | rsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
198 | rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
199 | rsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
200 | rsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | ||
201 | rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
202 | rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
203 | rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
204 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
205 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | ||
206 | rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
207 | rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
208 | rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
209 | rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | ||
210 | rsa_sign.o: ../cryptlib.h rsa_sign.c | ||
211 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h | ||
212 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
213 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
214 | rsa_ssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
215 | rsa_ssl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
216 | rsa_ssl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
217 | rsa_ssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
218 | rsa_ssl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
219 | rsa_ssl.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_ssl.c | ||