diff options
93 files changed, 1298 insertions, 1037 deletions
diff --git a/src/lib/libcrypto/Makefile.ssl b/src/lib/libcrypto/Makefile.ssl index 91e931a6ed..9def17ae60 100644 --- a/src/lib/libcrypto/Makefile.ssl +++ b/src/lib/libcrypto/Makefile.ssl | |||
@@ -36,8 +36,8 @@ GENERAL=Makefile README crypto-lib.com install.com | |||
36 | 36 | ||
37 | LIB= $(TOP)/libcrypto.a | 37 | LIB= $(TOP)/libcrypto.a |
38 | SHARED_LIB= libcrypto$(SHLIB_EXT) | 38 | SHARED_LIB= libcrypto$(SHLIB_EXT) |
39 | LIBSRC= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c | 39 | LIBSRC= cryptlib.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c |
40 | LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o | 40 | LIBOBJ= cryptlib.o mem.o mem_clr.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o |
41 | 41 | ||
42 | SRC= $(LIBSRC) | 42 | SRC= $(LIBSRC) |
43 | 43 | ||
@@ -136,12 +136,12 @@ lint: | |||
136 | 136 | ||
137 | depend: | 137 | depend: |
138 | if [ ! -f buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist | 138 | if [ ! -f buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist |
139 | $(MAKEDEPEND) $(CFLAG) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC) | 139 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDE) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
140 | if [ ! -s buildinf.h ]; then rm buildinf.h; fi | 140 | if [ ! -s buildinf.h ]; then rm buildinf.h; fi |
141 | @for i in $(SDIRS) ;\ | 141 | @for i in $(SDIRS) ;\ |
142 | do \ | 142 | do \ |
143 | (cd $$i && echo "making depend in crypto/$$i..." && \ | 143 | (cd $$i && echo "making depend in crypto/$$i..." && \ |
144 | $(MAKE) MAKEFILE='${MAKEFILE}' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' DEPFLAG='${DEPFLAG}' PERL='${PERL}' depend ); \ | 144 | $(MAKE) MAKEFILE='${MAKEFILE}' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' DEPFLAG='${DEPFLAG}' MAKEDEPPROG='${MAKEDEPPROG}' KRB5_INCLUDES='${KRB5_INCLUDES}' PERL='${PERL}' depend ); \ |
145 | done; | 145 | done; |
146 | 146 | ||
147 | clean: | 147 | clean: |
@@ -193,6 +193,10 @@ mem.o: ../include/openssl/err.h ../include/openssl/lhash.h | |||
193 | mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 193 | mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
194 | mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 194 | mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
195 | mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c | 195 | mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c |
196 | mem_clr.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
197 | mem_clr.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
198 | mem_clr.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
199 | mem_clr.o: ../include/openssl/symhacks.h mem_clr.c | ||
196 | mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | 200 | mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h |
197 | mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 201 | mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
198 | mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h | 202 | mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h |
diff --git a/src/lib/libcrypto/aes/Makefile.ssl b/src/lib/libcrypto/aes/Makefile.ssl index 49dbeedf37..364d05bbfe 100644 --- a/src/lib/libcrypto/aes/Makefile.ssl +++ b/src/lib/libcrypto/aes/Makefile.ssl | |||
@@ -75,7 +75,7 @@ lint: | |||
75 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
76 | 76 | ||
77 | depend: | 77 | depend: |
78 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 78 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
79 | 79 | ||
80 | dclean: | 80 | dclean: |
81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/asn1/Makefile.ssl b/src/lib/libcrypto/asn1/Makefile.ssl index af4bd39619..944d8f164a 100644 --- a/src/lib/libcrypto/asn1/Makefile.ssl +++ b/src/lib/libcrypto/asn1/Makefile.ssl | |||
@@ -98,7 +98,7 @@ lint: | |||
98 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 98 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
99 | 99 | ||
100 | depend: | 100 | depend: |
101 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 101 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
102 | 102 | ||
103 | dclean: | 103 | dclean: |
104 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 104 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -286,13 +286,14 @@ a_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |||
286 | a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 286 | a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
287 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 287 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
288 | a_sign.o: ../cryptlib.h a_sign.c | 288 | a_sign.o: ../cryptlib.h a_sign.c |
289 | a_strex.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | 289 | a_strex.o: ../../e_os.h ../../include/openssl/aes.h |
290 | a_strex.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 290 | a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
291 | a_strex.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 291 | a_strex.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
292 | a_strex.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h | 292 | a_strex.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
293 | a_strex.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 293 | a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
294 | a_strex.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 294 | a_strex.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h |
295 | a_strex.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | 295 | a_strex.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
296 | a_strex.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
296 | a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | 297 | a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
297 | a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | 298 | a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
298 | a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 299 | a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
@@ -305,7 +306,7 @@ a_strex.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | |||
305 | a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 306 | a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
306 | a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 307 | a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
307 | a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | 308 | a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h |
308 | a_strex.o: ../../include/openssl/x509_vfy.h a_strex.c charmap.h | 309 | a_strex.o: ../../include/openssl/x509_vfy.h ../cryptlib.h a_strex.c charmap.h |
309 | a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h | 310 | a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h |
310 | a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 311 | a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
311 | a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 312 | a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
diff --git a/src/lib/libcrypto/bf/Makefile.ssl b/src/lib/libcrypto/bf/Makefile.ssl index 983319264c..bb14a0ee82 100644 --- a/src/lib/libcrypto/bf/Makefile.ssl +++ b/src/lib/libcrypto/bf/Makefile.ssl | |||
@@ -49,14 +49,8 @@ lib: $(LIBOBJ) | |||
49 | @touch lib | 49 | @touch lib |
50 | 50 | ||
51 | # elf | 51 | # elf |
52 | asm/bx86-elf.o: asm/bx86unix.cpp | 52 | asm/bx86-elf.s: asm/bf-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
53 | $(CPP) -DELF -x c asm/bx86unix.cpp | as -o asm/bx86-elf.o | 53 | (cd asm; $(PERL) bf-586.pl elf $(CFLAGS) $(PROCESSOR) > bx86-elf.s) |
54 | |||
55 | # solaris | ||
56 | asm/bx86-sol.o: asm/bx86unix.cpp | ||
57 | $(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s | ||
58 | as -o asm/bx86-sol.o asm/bx86-sol.s | ||
59 | rm -f asm/bx86-sol.s | ||
60 | 54 | ||
61 | # a.out | 55 | # a.out |
62 | asm/bx86-out.o: asm/bx86unix.cpp | 56 | asm/bx86-out.o: asm/bx86unix.cpp |
@@ -96,14 +90,14 @@ lint: | |||
96 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 90 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
97 | 91 | ||
98 | depend: | 92 | depend: |
99 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 93 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
100 | 94 | ||
101 | dclean: | 95 | dclean: |
102 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 96 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
103 | mv -f Makefile.new $(MAKEFILE) | 97 | mv -f Makefile.new $(MAKEFILE) |
104 | 98 | ||
105 | clean: | 99 | clean: |
106 | rm -f asm/bx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 100 | rm -f asm/bx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
107 | 101 | ||
108 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 102 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
109 | 103 | ||
diff --git a/src/lib/libcrypto/bio/Makefile.ssl b/src/lib/libcrypto/bio/Makefile.ssl index d8beb6572c..141a03ae1d 100644 --- a/src/lib/libcrypto/bio/Makefile.ssl +++ b/src/lib/libcrypto/bio/Makefile.ssl | |||
@@ -78,7 +78,7 @@ lint: | |||
78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
79 | 79 | ||
80 | depend: | 80 | depend: |
81 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 81 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
82 | 82 | ||
83 | dclean: | 83 | dclean: |
84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/bn/Makefile.ssl b/src/lib/libcrypto/bn/Makefile.ssl index 46663d389c..c1547a8e6d 100644 --- a/src/lib/libcrypto/bn/Makefile.ssl +++ b/src/lib/libcrypto/bn/Makefile.ssl | |||
@@ -23,14 +23,6 @@ BN_ASM= bn_asm.o | |||
23 | 23 | ||
24 | CFLAGS= $(INCLUDES) $(CFLAG) | 24 | CFLAGS= $(INCLUDES) $(CFLAG) |
25 | 25 | ||
26 | # We let the C compiler driver to take care of .s files. This is done in | ||
27 | # order to be excused from maintaining a separate set of architecture | ||
28 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
29 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
30 | # and pass it down to assembler. | ||
31 | AS=$(CC) -c | ||
32 | ASFLAGS=$(CFLAGS) | ||
33 | |||
34 | GENERAL=Makefile | 26 | GENERAL=Makefile |
35 | TEST=bntest.c exptest.c | 27 | TEST=bntest.c exptest.c |
36 | APPS= | 28 | APPS= |
@@ -73,22 +65,11 @@ lib: $(LIBOBJ) | |||
73 | @touch lib | 65 | @touch lib |
74 | 66 | ||
75 | # elf | 67 | # elf |
76 | asm/bn86-elf.o: asm/bn86unix.cpp | 68 | asm/bn86-elf.s: asm/bn-586.pl ../perlasm/x86asm.pl |
77 | $(CPP) -DELF -x c asm/bn86unix.cpp | as -o asm/bn86-elf.o | 69 | (cd asm; $(PERL) bn-586.pl elf $(CFLAGS) > bn86-elf.s) |
78 | |||
79 | asm/co86-elf.o: asm/co86unix.cpp | ||
80 | $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o | ||
81 | 70 | ||
82 | # solaris | 71 | asm/co86-elf.s: asm/co-586.pl ../perlasm/x86asm.pl |
83 | asm/bn86-sol.o: asm/bn86unix.cpp | 72 | (cd asm; $(PERL) co-586.pl elf $(CFLAGS) > co86-elf.s) |
84 | $(CC) -E -DSOL asm/bn86unix.cpp | sed 's/^#.*//' > asm/bn86-sol.s | ||
85 | as -o asm/bn86-sol.o asm/bn86-sol.s | ||
86 | rm -f asm/bn86-sol.s | ||
87 | |||
88 | asm/co86-sol.o: asm/co86unix.cpp | ||
89 | $(CC) -E -DSOL asm/co86unix.cpp | sed 's/^#.*//' > asm/co86-sol.s | ||
90 | as -o asm/co86-sol.o asm/co86-sol.s | ||
91 | rm -f asm/co86-sol.s | ||
92 | 73 | ||
93 | # a.out | 74 | # a.out |
94 | asm/bn86-out.o: asm/bn86unix.cpp | 75 | asm/bn86-out.o: asm/bn86unix.cpp |
@@ -136,6 +117,8 @@ asm/ia64-cpp.o: asm/ia64.S | |||
136 | $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \ | 117 | $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \ |
137 | rm -f /tmp/ia64.$$$$.s | 118 | rm -f /tmp/ia64.$$$$.s |
138 | 119 | ||
120 | asm/x86_64-gcc.o: asm/x86_64-gcc.c | ||
121 | |||
139 | files: | 122 | files: |
140 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 123 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
141 | 124 | ||
@@ -169,14 +152,14 @@ lint: | |||
169 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 152 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
170 | 153 | ||
171 | depend: | 154 | depend: |
172 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 155 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
173 | 156 | ||
174 | dclean: | 157 | dclean: |
175 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 158 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
176 | mv -f Makefile.new $(MAKEFILE) | 159 | mv -f Makefile.new $(MAKEFILE) |
177 | 160 | ||
178 | clean: | 161 | clean: |
179 | rm -f asm/co86unix.cpp asm/bn86unix.cpp *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s | 162 | rm -f asm/co86unix.cpp asm/bn86unix.cpp asm/*-elf.* *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s |
180 | 163 | ||
181 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 164 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
182 | 165 | ||
diff --git a/src/lib/libcrypto/buffer/Makefile.ssl b/src/lib/libcrypto/buffer/Makefile.ssl index fd16e51243..e8b6c9693a 100644 --- a/src/lib/libcrypto/buffer/Makefile.ssl +++ b/src/lib/libcrypto/buffer/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/cast/Makefile.ssl b/src/lib/libcrypto/cast/Makefile.ssl index b04c1c0e9b..70c47bf8e6 100644 --- a/src/lib/libcrypto/cast/Makefile.ssl +++ b/src/lib/libcrypto/cast/Makefile.ssl | |||
@@ -52,14 +52,8 @@ lib: $(LIBOBJ) | |||
52 | @touch lib | 52 | @touch lib |
53 | 53 | ||
54 | # elf | 54 | # elf |
55 | asm/cx86-elf.o: asm/cx86unix.cpp | 55 | asm/cx86-elf.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
56 | $(CPP) -DELF -x c asm/cx86unix.cpp | as -o asm/cx86-elf.o | 56 | (cd asm; $(PERL) cast-586.pl elf $(CLAGS) $(PROCESSOR) > cx86-elf.s) |
57 | |||
58 | # solaris | ||
59 | asm/cx86-sol.o: asm/cx86unix.cpp | ||
60 | $(CC) -E -DSOL asm/cx86unix.cpp | sed 's/^#.*//' > asm/cx86-sol.s | ||
61 | as -o asm/cx86-sol.o asm/cx86-sol.s | ||
62 | rm -f asm/cx86-sol.s | ||
63 | 57 | ||
64 | # a.out | 58 | # a.out |
65 | asm/cx86-out.o: asm/cx86unix.cpp | 59 | asm/cx86-out.o: asm/cx86unix.cpp |
@@ -97,14 +91,14 @@ lint: | |||
97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
98 | 92 | ||
99 | depend: | 93 | depend: |
100 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
101 | 95 | ||
102 | dclean: | 96 | dclean: |
103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
104 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
105 | 99 | ||
106 | clean: | 100 | clean: |
107 | rm -f asm/cx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 101 | rm -f asm/cx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
108 | 102 | ||
109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
110 | 104 | ||
diff --git a/src/lib/libcrypto/comp/Makefile.ssl b/src/lib/libcrypto/comp/Makefile.ssl index fd192d35f8..f60c7a1afc 100644 --- a/src/lib/libcrypto/comp/Makefile.ssl +++ b/src/lib/libcrypto/comp/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/conf/Makefile.ssl b/src/lib/libcrypto/conf/Makefile.ssl index 92a796b0ec..28b3f9ac0b 100644 --- a/src/lib/libcrypto/conf/Makefile.ssl +++ b/src/lib/libcrypto/conf/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/des/Makefile.ssl b/src/lib/libcrypto/des/Makefile.ssl index 14baf7d0cc..548573f4b1 100644 --- a/src/lib/libcrypto/des/Makefile.ssl +++ b/src/lib/libcrypto/des/Makefile.ssl | |||
@@ -66,22 +66,11 @@ des: des.o cbc3_enc.o lib | |||
66 | $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) | 66 | $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) |
67 | 67 | ||
68 | # elf | 68 | # elf |
69 | asm/dx86-elf.o: asm/dx86unix.cpp | 69 | asm/dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
70 | $(CPP) -DELF -x c asm/dx86unix.cpp | as -o asm/dx86-elf.o | 70 | (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > dx86-elf.s) |
71 | 71 | ||
72 | asm/yx86-elf.o: asm/yx86unix.cpp | 72 | asm/yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
73 | $(CPP) -DELF -x c asm/yx86unix.cpp | as -o asm/yx86-elf.o | 73 | (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > yx86-elf.s) |
74 | |||
75 | # solaris | ||
76 | asm/dx86-sol.o: asm/dx86unix.cpp | ||
77 | $(CC) -E -DSOL asm/dx86unix.cpp | sed 's/^#.*//' > asm/dx86-sol.s | ||
78 | as -o asm/dx86-sol.o asm/dx86-sol.s | ||
79 | rm -f asm/dx86-sol.s | ||
80 | |||
81 | asm/yx86-sol.o: asm/yx86unix.cpp | ||
82 | $(CC) -E -DSOL asm/yx86unix.cpp | sed 's/^#.*//' > asm/yx86-sol.s | ||
83 | as -o asm/yx86-sol.o asm/yx86-sol.s | ||
84 | rm -f asm/yx86-sol.s | ||
85 | 74 | ||
86 | # a.out | 75 | # a.out |
87 | asm/dx86-out.o: asm/dx86unix.cpp | 76 | asm/dx86-out.o: asm/dx86unix.cpp |
@@ -130,14 +119,14 @@ lint: | |||
130 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 119 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
131 | 120 | ||
132 | depend: | 121 | depend: |
133 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 122 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
134 | 123 | ||
135 | dclean: | 124 | dclean: |
136 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 125 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
137 | mv -f Makefile.new $(MAKEFILE) | 126 | mv -f Makefile.new $(MAKEFILE) |
138 | 127 | ||
139 | clean: | 128 | clean: |
140 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff | 129 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff |
141 | 130 | ||
142 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 131 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
143 | 132 | ||
diff --git a/src/lib/libcrypto/dh/Makefile.ssl b/src/lib/libcrypto/dh/Makefile.ssl index caa048825d..1c447e971f 100644 --- a/src/lib/libcrypto/dh/Makefile.ssl +++ b/src/lib/libcrypto/dh/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -112,17 +112,14 @@ dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |||
112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | 112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
114 | dh_gen.o: ../cryptlib.h dh_gen.c | 114 | dh_gen.o: ../cryptlib.h dh_gen.c |
115 | dh_key.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | 115 | dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
116 | dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 116 | dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
117 | dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 117 | dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h |
118 | dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 118 | dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
119 | dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 119 | dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
120 | dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 120 | dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
121 | dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
122 | dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
123 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 121 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
124 | dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 122 | dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c |
125 | dh_key.o: ../cryptlib.h dh_key.c | ||
126 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | 123 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h |
127 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 124 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
128 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 125 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h |
diff --git a/src/lib/libcrypto/dsa/Makefile.ssl b/src/lib/libcrypto/dsa/Makefile.ssl index 3dbe0d309c..014d006347 100644 --- a/src/lib/libcrypto/dsa/Makefile.ssl +++ b/src/lib/libcrypto/dsa/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -143,35 +143,29 @@ dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h | |||
143 | dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 143 | dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
144 | dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 144 | dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
145 | dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 145 | dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
146 | dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 146 | dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
147 | dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 147 | dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
148 | dsa_ossl.o: ../../include/openssl/opensslconf.h | ||
149 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 148 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
150 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | 149 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
151 | dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 150 | dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
152 | dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
153 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c | 151 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c |
154 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h | 152 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h |
155 | dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 153 | dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
156 | dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 154 | dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
157 | dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 155 | dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
158 | dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 156 | dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
159 | dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 157 | dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
160 | dsa_sign.o: ../../include/openssl/opensslconf.h | ||
161 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 158 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
162 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | 159 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
163 | dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 160 | dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
164 | dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
165 | dsa_sign.o: ../cryptlib.h dsa_sign.c | 161 | dsa_sign.o: ../cryptlib.h dsa_sign.c |
166 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h | 162 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h |
167 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | 163 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h |
168 | dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 164 | dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
169 | dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 165 | dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h |
170 | dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 166 | dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
171 | dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 167 | dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
172 | dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 168 | dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
173 | dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 169 | dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
174 | dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
175 | dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 170 | dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
176 | dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 171 | dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c |
177 | dsa_vrf.o: ../cryptlib.h dsa_vrf.c | ||
diff --git a/src/lib/libcrypto/dso/Makefile.ssl b/src/lib/libcrypto/dso/Makefile.ssl index f4248aa60c..3d00363bb6 100644 --- a/src/lib/libcrypto/dso/Makefile.ssl +++ b/src/lib/libcrypto/dso/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/ec/Makefile.ssl b/src/lib/libcrypto/ec/Makefile.ssl index 71e4184800..c34a49c1b1 100644 --- a/src/lib/libcrypto/ec/Makefile.ssl +++ b/src/lib/libcrypto/ec/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/engine/Makefile.ssl b/src/lib/libcrypto/engine/Makefile.ssl index 7b73a68f80..847d672400 100644 --- a/src/lib/libcrypto/engine/Makefile.ssl +++ b/src/lib/libcrypto/engine/Makefile.ssl | |||
@@ -28,13 +28,13 @@ LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ | |||
28 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ | 28 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ |
29 | eng_openssl.c eng_dyn.c eng_cnf.c \ | 29 | eng_openssl.c eng_dyn.c eng_cnf.c \ |
30 | hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ | 30 | hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ |
31 | hw_openbsd_dev_crypto.c hw_aep.c hw_sureware.c hw_4758_cca.c | 31 | hw_cryptodev.c hw_aep.c hw_sureware.c hw_4758_cca.c |
32 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ | 32 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ |
33 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ | 33 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ |
34 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ | 34 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ |
35 | eng_openssl.o eng_dyn.o eng_cnf.o \ | 35 | eng_openssl.o eng_dyn.o eng_cnf.o \ |
36 | hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ | 36 | hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ |
37 | hw_openbsd_dev_crypto.o hw_aep.o hw_sureware.o hw_4758_cca.o | 37 | hw_cryptodev.o hw_aep.o hw_sureware.o hw_4758_cca.o |
38 | 38 | ||
39 | SRC= $(LIBSRC) | 39 | SRC= $(LIBSRC) |
40 | 40 | ||
@@ -50,7 +50,7 @@ all: lib | |||
50 | 50 | ||
51 | lib: $(LIBOBJ) | 51 | lib: $(LIBOBJ) |
52 | $(AR) $(LIB) $(LIBOBJ) | 52 | $(AR) $(LIB) $(LIBOBJ) |
53 | $(RANLIB) $(LIB) | 53 | $(RANLIB) $(LIB) || echo Never mind. |
54 | @touch lib | 54 | @touch lib |
55 | 55 | ||
56 | files: | 56 | files: |
@@ -82,7 +82,7 @@ lint: | |||
82 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 82 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
83 | 83 | ||
84 | depend: | 84 | depend: |
85 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 85 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
86 | 86 | ||
87 | dclean: | 87 | dclean: |
88 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 88 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -304,6 +304,27 @@ hw_atalla.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |||
304 | hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 304 | hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
305 | hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h | 305 | hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h |
306 | hw_atalla.o: vendor_defns/atalla.h | 306 | hw_atalla.o: vendor_defns/atalla.h |
307 | hw_cryptodev.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | ||
308 | hw_cryptodev.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | ||
309 | hw_cryptodev.o: ../../include/openssl/bn.h ../../include/openssl/cast.h | ||
310 | hw_cryptodev.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
311 | hw_cryptodev.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | ||
312 | hw_cryptodev.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
313 | hw_cryptodev.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
314 | hw_cryptodev.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | ||
315 | hw_cryptodev.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | ||
316 | hw_cryptodev.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | ||
317 | hw_cryptodev.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | ||
318 | hw_cryptodev.o: ../../include/openssl/objects.h | ||
319 | hw_cryptodev.o: ../../include/openssl/opensslconf.h | ||
320 | hw_cryptodev.o: ../../include/openssl/opensslv.h | ||
321 | hw_cryptodev.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
322 | hw_cryptodev.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | ||
323 | hw_cryptodev.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | ||
324 | hw_cryptodev.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
325 | hw_cryptodev.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
326 | hw_cryptodev.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
327 | hw_cryptodev.o: ../../include/openssl/ui_compat.h hw_cryptodev.c | ||
307 | hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h | 328 | hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h |
308 | hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 329 | hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
309 | hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 330 | hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
@@ -354,45 +375,6 @@ hw_nuron.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |||
354 | hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 375 | hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
355 | hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 376 | hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
356 | hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h | 377 | hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h |
357 | hw_openbsd_dev_crypto.o: ../../include/openssl/aes.h | ||
358 | hw_openbsd_dev_crypto.o: ../../include/openssl/asn1.h | ||
359 | hw_openbsd_dev_crypto.o: ../../include/openssl/bio.h | ||
360 | hw_openbsd_dev_crypto.o: ../../include/openssl/blowfish.h | ||
361 | hw_openbsd_dev_crypto.o: ../../include/openssl/bn.h | ||
362 | hw_openbsd_dev_crypto.o: ../../include/openssl/cast.h | ||
363 | hw_openbsd_dev_crypto.o: ../../include/openssl/conf.h | ||
364 | hw_openbsd_dev_crypto.o: ../../include/openssl/crypto.h | ||
365 | hw_openbsd_dev_crypto.o: ../../include/openssl/des.h | ||
366 | hw_openbsd_dev_crypto.o: ../../include/openssl/des_old.h | ||
367 | hw_openbsd_dev_crypto.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
368 | hw_openbsd_dev_crypto.o: ../../include/openssl/e_os2.h | ||
369 | hw_openbsd_dev_crypto.o: ../../include/openssl/engine.h | ||
370 | hw_openbsd_dev_crypto.o: ../../include/openssl/err.h | ||
371 | hw_openbsd_dev_crypto.o: ../../include/openssl/evp.h | ||
372 | hw_openbsd_dev_crypto.o: ../../include/openssl/idea.h | ||
373 | hw_openbsd_dev_crypto.o: ../../include/openssl/lhash.h | ||
374 | hw_openbsd_dev_crypto.o: ../../include/openssl/md2.h | ||
375 | hw_openbsd_dev_crypto.o: ../../include/openssl/md4.h | ||
376 | hw_openbsd_dev_crypto.o: ../../include/openssl/md5.h | ||
377 | hw_openbsd_dev_crypto.o: ../../include/openssl/mdc2.h | ||
378 | hw_openbsd_dev_crypto.o: ../../include/openssl/obj_mac.h | ||
379 | hw_openbsd_dev_crypto.o: ../../include/openssl/objects.h | ||
380 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslconf.h | ||
381 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslv.h | ||
382 | hw_openbsd_dev_crypto.o: ../../include/openssl/ossl_typ.h | ||
383 | hw_openbsd_dev_crypto.o: ../../include/openssl/rand.h | ||
384 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc2.h | ||
385 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc4.h | ||
386 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc5.h | ||
387 | hw_openbsd_dev_crypto.o: ../../include/openssl/ripemd.h | ||
388 | hw_openbsd_dev_crypto.o: ../../include/openssl/rsa.h | ||
389 | hw_openbsd_dev_crypto.o: ../../include/openssl/safestack.h | ||
390 | hw_openbsd_dev_crypto.o: ../../include/openssl/sha.h | ||
391 | hw_openbsd_dev_crypto.o: ../../include/openssl/stack.h | ||
392 | hw_openbsd_dev_crypto.o: ../../include/openssl/symhacks.h | ||
393 | hw_openbsd_dev_crypto.o: ../../include/openssl/ui.h | ||
394 | hw_openbsd_dev_crypto.o: ../../include/openssl/ui_compat.h ../evp/evp_locl.h | ||
395 | hw_openbsd_dev_crypto.o: eng_int.h hw_openbsd_dev_crypto.c | ||
396 | hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h | 378 | hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h |
397 | hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 379 | hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
398 | hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 380 | hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
diff --git a/src/lib/libcrypto/err/Makefile.ssl b/src/lib/libcrypto/err/Makefile.ssl index 22151dd40c..390bde1f16 100644 --- a/src/lib/libcrypto/err/Makefile.ssl +++ b/src/lib/libcrypto/err/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/evp/Makefile.ssl b/src/lib/libcrypto/evp/Makefile.ssl index ea90c44f88..3279be5bda 100644 --- a/src/lib/libcrypto/evp/Makefile.ssl +++ b/src/lib/libcrypto/evp/Makefile.ssl | |||
@@ -70,7 +70,7 @@ links: | |||
70 | @$(TOP)/util/point.sh Makefile.ssl Makefile | 70 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
71 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 71 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
72 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 72 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
73 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TESTDATA) | 73 | cp $(TESTDATA) ../../test |
74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
75 | 75 | ||
76 | install: | 76 | install: |
@@ -89,7 +89,7 @@ lint: | |||
89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
90 | 90 | ||
91 | depend: | 91 | depend: |
92 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 92 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
93 | 93 | ||
94 | dclean: | 94 | dclean: |
95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -496,21 +496,19 @@ evp_acnf.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
496 | evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 496 | evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
497 | evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 497 | evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
498 | evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 498 | evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
499 | evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 499 | evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
500 | evp_acnf.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 500 | evp_acnf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
501 | evp_acnf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | 501 | evp_acnf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
502 | evp_acnf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | 502 | evp_acnf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
503 | evp_acnf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 503 | evp_acnf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
504 | evp_acnf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | 504 | evp_acnf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
505 | evp_acnf.o: ../../include/openssl/opensslconf.h | ||
506 | evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 505 | evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
507 | evp_acnf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h | 506 | evp_acnf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
508 | evp_acnf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 507 | evp_acnf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
509 | evp_acnf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 508 | evp_acnf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
510 | evp_acnf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 509 | evp_acnf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
511 | evp_acnf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 510 | evp_acnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
512 | evp_acnf.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 511 | evp_acnf.o: ../../include/openssl/ui_compat.h ../cryptlib.h evp_acnf.c |
513 | evp_acnf.o: ../cryptlib.h evp_acnf.c | ||
514 | evp_enc.o: ../../e_os.h ../../include/openssl/aes.h | 512 | evp_enc.o: ../../e_os.h ../../include/openssl/aes.h |
515 | evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 513 | evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
516 | evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 514 | evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
diff --git a/src/lib/libcrypto/hmac/Makefile.ssl b/src/lib/libcrypto/hmac/Makefile.ssl index 33e90615d2..d48df0597e 100644 --- a/src/lib/libcrypto/hmac/Makefile.ssl +++ b/src/lib/libcrypto/hmac/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -79,21 +79,23 @@ clean: | |||
79 | 79 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
81 | 81 | ||
82 | hmac.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | 82 | hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h |
83 | hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 83 | hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
84 | hmac.o: ../../include/openssl/bn.h ../../include/openssl/cast.h | 84 | hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
85 | hmac.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 85 | hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h |
86 | hmac.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | 86 | hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
87 | hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 87 | hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
88 | hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
88 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h | 89 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h |
89 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 90 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
90 | hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | 91 | hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
91 | hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | 92 | hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
92 | hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 93 | hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
93 | hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 94 | hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
94 | hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 95 | hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h |
95 | hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 96 | hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
96 | hmac.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 97 | hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
97 | hmac.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 98 | hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
98 | hmac.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 99 | hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
99 | hmac.o: ../../include/openssl/ui_compat.h hmac.c | 100 | hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
101 | hmac.o: ../cryptlib.h hmac.c | ||
diff --git a/src/lib/libcrypto/idea/Makefile.ssl b/src/lib/libcrypto/idea/Makefile.ssl index c9ef2cb15b..ca4b76fc2f 100644 --- a/src/lib/libcrypto/idea/Makefile.ssl +++ b/src/lib/libcrypto/idea/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/krb5/Makefile.ssl b/src/lib/libcrypto/krb5/Makefile.ssl index 8daed59211..7136d7a402 100644 --- a/src/lib/libcrypto/krb5/Makefile.ssl +++ b/src/lib/libcrypto/krb5/Makefile.ssl | |||
@@ -41,7 +41,7 @@ all: lib | |||
41 | 41 | ||
42 | lib: $(LIBOBJ) | 42 | lib: $(LIBOBJ) |
43 | $(AR) $(LIB) $(LIBOBJ) | 43 | $(AR) $(LIB) $(LIBOBJ) |
44 | $(RANLIB) $(LIB) | 44 | $(RANLIB) $(LIB) || echo Never mind. |
45 | @touch lib | 45 | @touch lib |
46 | 46 | ||
47 | files: | 47 | files: |
@@ -69,7 +69,7 @@ lint: | |||
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
70 | 70 | ||
71 | depend: | 71 | depend: |
72 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
73 | 73 | ||
74 | dclean: | 74 | dclean: |
75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/lhash/Makefile.ssl b/src/lib/libcrypto/lhash/Makefile.ssl index 9f65ef9a5a..1902e4a899 100644 --- a/src/lib/libcrypto/lhash/Makefile.ssl +++ b/src/lib/libcrypto/lhash/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/md2/Makefile.ssl b/src/lib/libcrypto/md2/Makefile.ssl index 89a707d053..e5b3265a44 100644 --- a/src/lib/libcrypto/md2/Makefile.ssl +++ b/src/lib/libcrypto/md2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -79,8 +79,11 @@ clean: | |||
79 | 79 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
81 | 81 | ||
82 | md2_dgst.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
82 | md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h | 83 | md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h |
83 | md2_dgst.o: ../../include/openssl/opensslv.h md2_dgst.c | 84 | md2_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
85 | md2_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
86 | md2_dgst.o: md2_dgst.c | ||
84 | md2_one.o: ../../e_os.h ../../include/openssl/bio.h | 87 | md2_one.o: ../../e_os.h ../../include/openssl/bio.h |
85 | md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 88 | md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
86 | md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 89 | md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
diff --git a/src/lib/libcrypto/md4/Makefile.ssl b/src/lib/libcrypto/md4/Makefile.ssl index 9523994691..4d2d7369e6 100644 --- a/src/lib/libcrypto/md4/Makefile.ssl +++ b/src/lib/libcrypto/md4/Makefile.ssl | |||
@@ -69,7 +69,7 @@ lint: | |||
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
70 | 70 | ||
71 | depend: | 71 | depend: |
72 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
73 | 73 | ||
74 | dclean: | 74 | dclean: |
75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -84,5 +84,8 @@ md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | |||
84 | md4_dgst.o: ../../include/openssl/opensslconf.h | 84 | md4_dgst.o: ../../include/openssl/opensslconf.h |
85 | md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c | 85 | md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c |
86 | md4_dgst.o: md4_locl.h | 86 | md4_dgst.o: md4_locl.h |
87 | md4_one.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | 87 | md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
88 | md4_one.o: ../../include/openssl/opensslconf.h md4_one.c | 88 | md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h |
89 | md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
90 | md4_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
91 | md4_one.o: md4_one.c | ||
diff --git a/src/lib/libcrypto/md5/Makefile.ssl b/src/lib/libcrypto/md5/Makefile.ssl index 0eea0e5994..56cab5d882 100644 --- a/src/lib/libcrypto/md5/Makefile.ssl +++ b/src/lib/libcrypto/md5/Makefile.ssl | |||
@@ -21,14 +21,6 @@ MD5_ASM_OBJ= | |||
21 | 21 | ||
22 | CFLAGS= $(INCLUDES) $(CFLAG) | 22 | CFLAGS= $(INCLUDES) $(CFLAG) |
23 | 23 | ||
24 | # We let the C compiler driver to take care of .s files. This is done in | ||
25 | # order to be excused from maintaining a separate set of architecture | ||
26 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
27 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
28 | # and pass it down to assembler. | ||
29 | AS=$(CC) -c | ||
30 | ASFLAGS=$(CFLAGS) | ||
31 | |||
32 | GENERAL=Makefile | 24 | GENERAL=Makefile |
33 | TEST=md5test.c | 25 | TEST=md5test.c |
34 | APPS= | 26 | APPS= |
@@ -55,14 +47,8 @@ lib: $(LIBOBJ) | |||
55 | @touch lib | 47 | @touch lib |
56 | 48 | ||
57 | # elf | 49 | # elf |
58 | asm/mx86-elf.o: asm/mx86unix.cpp | 50 | asm/mx86-elf.s: asm/md5-586.pl ../perlasm/x86asm.pl |
59 | $(CPP) -DELF -x c asm/mx86unix.cpp | as -o asm/mx86-elf.o | 51 | (cd asm; $(PERL) md5-586.pl elf $(CFLAGS) > mx86-elf.s) |
60 | |||
61 | # solaris | ||
62 | asm/mx86-sol.o: asm/mx86unix.cpp | ||
63 | $(CC) -E -DSOL asm/mx86unix.cpp | sed 's/^#.*//' > asm/mx86-sol.s | ||
64 | as -o asm/mx86-sol.o asm/mx86-sol.s | ||
65 | rm -f asm/mx86-sol.s | ||
66 | 52 | ||
67 | # a.out | 53 | # a.out |
68 | asm/mx86-out.o: asm/mx86unix.cpp | 54 | asm/mx86-out.o: asm/mx86unix.cpp |
@@ -118,18 +104,23 @@ lint: | |||
118 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 104 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
119 | 105 | ||
120 | depend: | 106 | depend: |
121 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 107 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
122 | 108 | ||
123 | dclean: | 109 | dclean: |
124 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 110 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
125 | mv -f Makefile.new $(MAKEFILE) | 111 | mv -f Makefile.new $(MAKEFILE) |
126 | 112 | ||
127 | clean: | 113 | clean: |
128 | rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 114 | rm -f asm/mx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
129 | 115 | ||
130 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 116 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
131 | 117 | ||
132 | md5_dgst.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h | 118 | md5_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md5.h |
119 | md5_dgst.o: ../../include/openssl/opensslconf.h | ||
133 | md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c | 120 | md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c |
134 | md5_dgst.o: md5_locl.h | 121 | md5_dgst.o: md5_locl.h |
135 | md5_one.o: ../../include/openssl/md5.h md5_one.c | 122 | md5_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
123 | md5_one.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h | ||
124 | md5_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
125 | md5_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
126 | md5_one.o: md5_one.c | ||
diff --git a/src/lib/libcrypto/mdc2/Makefile.ssl b/src/lib/libcrypto/mdc2/Makefile.ssl index ea2b318378..387d7f8cd8 100644 --- a/src/lib/libcrypto/mdc2/Makefile.ssl +++ b/src/lib/libcrypto/mdc2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/objects/Makefile.ssl b/src/lib/libcrypto/objects/Makefile.ssl index dda444fad2..1f5d213495 100644 --- a/src/lib/libcrypto/objects/Makefile.ssl +++ b/src/lib/libcrypto/objects/Makefile.ssl | |||
@@ -76,7 +76,7 @@ lint: | |||
76 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 76 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
77 | 77 | ||
78 | depend: | 78 | depend: |
79 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 79 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
80 | 80 | ||
81 | dclean: | 81 | dclean: |
82 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 82 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/ocsp/Makefile.ssl b/src/lib/libcrypto/ocsp/Makefile.ssl index f5260abaed..8d5a85a55c 100644 --- a/src/lib/libcrypto/ocsp/Makefile.ssl +++ b/src/lib/libcrypto/ocsp/Makefile.ssl | |||
@@ -43,7 +43,7 @@ all: lib | |||
43 | 43 | ||
44 | lib: $(LIBOBJ) | 44 | lib: $(LIBOBJ) |
45 | $(AR) $(LIB) $(LIBOBJ) | 45 | $(AR) $(LIB) $(LIBOBJ) |
46 | $(RANLIB) $(LIB) | 46 | $(RANLIB) $(LIB) || echo Never mind. |
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | files: | 49 | files: |
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/pem/Makefile.ssl b/src/lib/libcrypto/pem/Makefile.ssl index 2cf868dffd..90eda931f7 100644 --- a/src/lib/libcrypto/pem/Makefile.ssl +++ b/src/lib/libcrypto/pem/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/pkcs12/Makefile.ssl b/src/lib/libcrypto/pkcs12/Makefile.ssl index 747693d7e1..b4c564262c 100644 --- a/src/lib/libcrypto/pkcs12/Makefile.ssl +++ b/src/lib/libcrypto/pkcs12/Makefile.ssl | |||
@@ -74,7 +74,7 @@ lint: | |||
74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
75 | 75 | ||
76 | depend: | 76 | depend: |
77 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 77 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
78 | 78 | ||
79 | dclean: | 79 | dclean: |
80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/pkcs7/Makefile.ssl b/src/lib/libcrypto/pkcs7/Makefile.ssl index f82fd72633..69cddb04b8 100644 --- a/src/lib/libcrypto/pkcs7/Makefile.ssl +++ b/src/lib/libcrypto/pkcs7/Makefile.ssl | |||
@@ -89,7 +89,7 @@ lint: | |||
89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
90 | 90 | ||
91 | depend: | 91 | depend: |
92 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 92 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
93 | 93 | ||
94 | dclean: | 94 | dclean: |
95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/rand/Makefile.ssl b/src/lib/libcrypto/rand/Makefile.ssl index befcee1cbb..b25421e3ab 100644 --- a/src/lib/libcrypto/rand/Makefile.ssl +++ b/src/lib/libcrypto/rand/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/rc2/Makefile.ssl b/src/lib/libcrypto/rc2/Makefile.ssl index 06090646fb..aa73dea5b6 100644 --- a/src/lib/libcrypto/rc2/Makefile.ssl +++ b/src/lib/libcrypto/rc2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/rc4/Makefile.ssl b/src/lib/libcrypto/rc4/Makefile.ssl index 05db5e11de..b210b42f8f 100644 --- a/src/lib/libcrypto/rc4/Makefile.ssl +++ b/src/lib/libcrypto/rc4/Makefile.ssl | |||
@@ -52,14 +52,8 @@ lib: $(LIBOBJ) | |||
52 | @touch lib | 52 | @touch lib |
53 | 53 | ||
54 | # elf | 54 | # elf |
55 | asm/rx86-elf.o: asm/rx86unix.cpp | 55 | asm/rx86-elf.s: asm/rc4-586.pl ../perlasm/x86asm.pl |
56 | $(CPP) -DELF -x c asm/rx86unix.cpp | as -o asm/rx86-elf.o | 56 | (cd asm; $(PERL) rc4-586.pl elf $(CFLAGS) > rx86-elf.s) |
57 | |||
58 | # solaris | ||
59 | asm/rx86-sol.o: asm/rx86unix.cpp | ||
60 | $(CC) -E -DSOL asm/rx86unix.cpp | sed 's/^#.*//' > asm/rx86-sol.s | ||
61 | as -o asm/rx86-sol.o asm/rx86-sol.s | ||
62 | rm -f asm/rx86-sol.s | ||
63 | 57 | ||
64 | # a.out | 58 | # a.out |
65 | asm/rx86-out.o: asm/rx86unix.cpp | 59 | asm/rx86-out.o: asm/rx86unix.cpp |
@@ -97,14 +91,14 @@ lint: | |||
97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
98 | 92 | ||
99 | depend: | 93 | depend: |
100 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
101 | 95 | ||
102 | dclean: | 96 | dclean: |
103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
104 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
105 | 99 | ||
106 | clean: | 100 | clean: |
107 | rm -f asm/rx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | 101 | rm -f asm/rx86unix.cpp asm/*-elf.* *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o |
108 | 102 | ||
109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
110 | 104 | ||
diff --git a/src/lib/libcrypto/rc5/Makefile.ssl b/src/lib/libcrypto/rc5/Makefile.ssl index 704976b60f..3ad6655946 100644 --- a/src/lib/libcrypto/rc5/Makefile.ssl +++ b/src/lib/libcrypto/rc5/Makefile.ssl | |||
@@ -49,14 +49,8 @@ lib: $(LIBOBJ) | |||
49 | @touch lib | 49 | @touch lib |
50 | 50 | ||
51 | # elf | 51 | # elf |
52 | asm/r586-elf.o: asm/r586unix.cpp | 52 | asm/r586-elf.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
53 | $(CPP) -DELF -x c asm/r586unix.cpp | as -o asm/r586-elf.o | 53 | (cd asm; $(PERL) rc5-586.pl elf $(CFLAGS) > r586-elf.s) |
54 | |||
55 | # solaris | ||
56 | asm/r586-sol.o: asm/r586unix.cpp | ||
57 | $(CC) -E -DSOL asm/r586unix.cpp | sed 's/^#.*//' > asm/r586-sol.s | ||
58 | as -o asm/r586-sol.o asm/r586-sol.s | ||
59 | rm -f asm/r586-sol.s | ||
60 | 54 | ||
61 | # a.out | 55 | # a.out |
62 | asm/r586-out.o: asm/r586unix.cpp | 56 | asm/r586-out.o: asm/r586unix.cpp |
@@ -94,14 +88,14 @@ lint: | |||
94 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 88 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
95 | 89 | ||
96 | depend: | 90 | depend: |
97 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 91 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
98 | 92 | ||
99 | dclean: | 93 | dclean: |
100 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 94 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
101 | mv -f Makefile.new $(MAKEFILE) | 95 | mv -f Makefile.new $(MAKEFILE) |
102 | 96 | ||
103 | clean: | 97 | clean: |
104 | rm -f asm/r586unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 98 | rm -f asm/r586unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
105 | 99 | ||
106 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 100 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
107 | 101 | ||
diff --git a/src/lib/libcrypto/ripemd/Makefile.ssl b/src/lib/libcrypto/ripemd/Makefile.ssl index c129ae141a..3583dfdcaf 100644 --- a/src/lib/libcrypto/ripemd/Makefile.ssl +++ b/src/lib/libcrypto/ripemd/Makefile.ssl | |||
@@ -47,14 +47,8 @@ lib: $(LIBOBJ) | |||
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | # elf | 49 | # elf |
50 | asm/rm86-elf.o: asm/rm86unix.cpp | 50 | asm/rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl |
51 | $(CPP) -DELF -x c asm/rm86unix.cpp | as -o asm/rm86-elf.o | 51 | (cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > rm86-elf.s) |
52 | |||
53 | # solaris | ||
54 | asm/rm86-sol.o: asm/rm86unix.cpp | ||
55 | $(CC) -E -DSOL asm/rm86unix.cpp | sed 's/^#.*//' > asm/rm86-sol.s | ||
56 | as -o asm/rm86-sol.o asm/rm86-sol.s | ||
57 | rm -f asm/rm86-sol.s | ||
58 | 52 | ||
59 | # a.out | 53 | # a.out |
60 | asm/rm86-out.o: asm/rm86unix.cpp | 54 | asm/rm86-out.o: asm/rm86unix.cpp |
@@ -92,19 +86,22 @@ lint: | |||
92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 86 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
93 | 87 | ||
94 | depend: | 88 | depend: |
95 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 89 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
96 | 90 | ||
97 | dclean: | 91 | dclean: |
98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 92 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
99 | mv -f Makefile.new $(MAKEFILE) | 93 | mv -f Makefile.new $(MAKEFILE) |
100 | 94 | ||
101 | clean: | 95 | clean: |
102 | rm -f asm/rm86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 96 | rm -f asm/rm86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
103 | 97 | ||
104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 98 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
105 | 99 | ||
106 | rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 100 | rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
107 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h | 101 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h |
108 | rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h | 102 | rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h |
109 | rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 103 | rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
110 | rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c | 104 | rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
105 | rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h | ||
106 | rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
107 | rmd_one.o: rmd_one.c | ||
diff --git a/src/lib/libcrypto/rsa/Makefile.ssl b/src/lib/libcrypto/rsa/Makefile.ssl index 34da0ef2c3..ce3f818e5b 100644 --- a/src/lib/libcrypto/rsa/Makefile.ssl +++ b/src/lib/libcrypto/rsa/Makefile.ssl | |||
@@ -72,7 +72,7 @@ lint: | |||
72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
73 | 73 | ||
74 | depend: | 74 | depend: |
75 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 75 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
76 | 76 | ||
77 | dclean: | 77 | dclean: |
78 | $(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 |
@@ -104,14 +104,12 @@ rsa_chk.o: rsa_chk.c | |||
104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h | 104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h |
105 | rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.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 | 106 | rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
107 | rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 107 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
108 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 108 | rsa_eay.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
109 | rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 109 | rsa_eay.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
110 | rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 110 | rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h |
111 | rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | 111 | rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
112 | rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 112 | rsa_eay.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_eay.c |
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 | 113 | rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
116 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | 114 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
117 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 115 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
@@ -217,21 +215,21 @@ rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
217 | rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 215 | rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
218 | rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | 216 | rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h |
219 | rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 217 | rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
220 | rsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 218 | rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
221 | rsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 219 | rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
222 | rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 220 | rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
223 | rsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | 221 | rsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
224 | rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | 222 | rsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
225 | rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 223 | rsa_sign.o: ../../include/openssl/opensslconf.h |
226 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 224 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
227 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | 225 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
228 | rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 226 | rsa_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
229 | rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 227 | rsa_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
230 | rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 228 | rsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
231 | rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 229 | rsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
232 | rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 230 | rsa_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
233 | rsa_sign.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | 231 | rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
234 | rsa_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_sign.c | 232 | rsa_sign.o: ../cryptlib.h rsa_sign.c |
235 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h | 233 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h |
236 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 234 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
237 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 235 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
diff --git a/src/lib/libcrypto/sha/Makefile.ssl b/src/lib/libcrypto/sha/Makefile.ssl index 39d11ff172..864645c8b5 100644 --- a/src/lib/libcrypto/sha/Makefile.ssl +++ b/src/lib/libcrypto/sha/Makefile.ssl | |||
@@ -47,14 +47,8 @@ lib: $(LIBOBJ) | |||
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | # elf | 49 | # elf |
50 | asm/sx86-elf.o: asm/sx86unix.cpp | 50 | asm/sx86-elf.s: asm/sha1-586.pl ../perlasm/x86asm.pl |
51 | $(CPP) -DELF -x c asm/sx86unix.cpp | as -o asm/sx86-elf.o | 51 | (cd asm; $(PERL) sha1-586.pl elf $(CFLAGS) $(PROCESSOR) > sx86-elf.s) |
52 | |||
53 | # solaris | ||
54 | asm/sx86-sol.o: asm/sx86unix.cpp | ||
55 | $(CC) -E -DSOL asm/sx86unix.cpp | sed 's/^#.*//' > asm/sx86-sol.s | ||
56 | as -o asm/sx86-sol.o asm/sx86-sol.s | ||
57 | rm -f asm/sx86-sol.s | ||
58 | 52 | ||
59 | # a.out | 53 | # a.out |
60 | asm/sx86-out.o: asm/sx86unix.cpp | 54 | asm/sx86-out.o: asm/sx86unix.cpp |
@@ -92,24 +86,30 @@ lint: | |||
92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 86 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
93 | 87 | ||
94 | depend: | 88 | depend: |
95 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 89 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
96 | 90 | ||
97 | dclean: | 91 | dclean: |
98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 92 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
99 | mv -f Makefile.new $(MAKEFILE) | 93 | mv -f Makefile.new $(MAKEFILE) |
100 | 94 | ||
101 | clean: | 95 | clean: |
102 | rm -f asm/sx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | 96 | rm -f asm/sx86unix.cpp asm/*-elf.* *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o |
103 | 97 | ||
104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 98 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
105 | 99 | ||
106 | sha1_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 100 | sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
107 | sha1_one.o: ../../include/openssl/sha.h sha1_one.c | 101 | sha1_one.o: ../../include/openssl/opensslconf.h |
102 | sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
103 | sha1_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
104 | sha1_one.o: ../../include/openssl/symhacks.h sha1_one.c | ||
108 | sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 105 | sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
109 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | 106 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h |
110 | sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h | 107 | sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h |
111 | sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 108 | sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
112 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | 109 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h |
113 | sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h | 110 | sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h |
114 | sha_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 111 | sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
115 | sha_one.o: ../../include/openssl/sha.h sha_one.c | 112 | sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
113 | sha_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
114 | sha_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
115 | sha_one.o: sha_one.c | ||
diff --git a/src/lib/libcrypto/stack/Makefile.ssl b/src/lib/libcrypto/stack/Makefile.ssl index 6652c3e273..e4acfe6aba 100644 --- a/src/lib/libcrypto/stack/Makefile.ssl +++ b/src/lib/libcrypto/stack/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/txt_db/Makefile.ssl b/src/lib/libcrypto/txt_db/Makefile.ssl index ca5e678f09..313f75313b 100644 --- a/src/lib/libcrypto/txt_db/Makefile.ssl +++ b/src/lib/libcrypto/txt_db/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/ui/Makefile.ssl b/src/lib/libcrypto/ui/Makefile.ssl index 202a32fd48..90ae7d4a4a 100644 --- a/src/lib/libcrypto/ui/Makefile.ssl +++ b/src/lib/libcrypto/ui/Makefile.ssl | |||
@@ -44,7 +44,7 @@ all: lib | |||
44 | 44 | ||
45 | lib: $(LIBOBJ) | 45 | lib: $(LIBOBJ) |
46 | $(AR) $(LIB) $(LIBOBJ) | 46 | $(AR) $(LIB) $(LIBOBJ) |
47 | $(RANLIB) $(LIB) | 47 | $(RANLIB) $(LIB) || echo Never mind. |
48 | @touch lib | 48 | @touch lib |
49 | 49 | ||
50 | files: | 50 | files: |
@@ -72,7 +72,7 @@ lint: | |||
72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
73 | 73 | ||
74 | depend: | 74 | depend: |
75 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 75 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
76 | 76 | ||
77 | dclean: | 77 | dclean: |
78 | $(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 |
@@ -95,13 +95,13 @@ ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |||
95 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 95 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
96 | ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 96 | ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
97 | ui_err.o: ../../include/openssl/ui.h ui_err.c | 97 | ui_err.o: ../../include/openssl/ui.h ui_err.c |
98 | ui_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | 98 | ui_lib.o: ../../e_os.h ../../include/openssl/bio.h |
99 | ui_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 99 | ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
100 | ui_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 100 | ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
101 | ui_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 101 | ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
102 | ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 102 | ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
103 | ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_lib.c | 103 | ui_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
104 | ui_lib.o: ui_locl.h | 104 | ui_lib.o: ../../include/openssl/ui.h ../cryptlib.h ui_lib.c ui_locl.h |
105 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h | 105 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h |
106 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 106 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
107 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 107 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
diff --git a/src/lib/libcrypto/x509/Makefile.ssl b/src/lib/libcrypto/x509/Makefile.ssl index 66727f81d3..6a5a879691 100644 --- a/src/lib/libcrypto/x509/Makefile.ssl +++ b/src/lib/libcrypto/x509/Makefile.ssl | |||
@@ -78,7 +78,7 @@ lint: | |||
78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
79 | 79 | ||
80 | depend: | 80 | depend: |
81 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 81 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
82 | 82 | ||
83 | dclean: | 83 | dclean: |
84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libcrypto/x509v3/Makefile.ssl b/src/lib/libcrypto/x509v3/Makefile.ssl index 3b4ee420fa..5ca169c37c 100644 --- a/src/lib/libcrypto/x509v3/Makefile.ssl +++ b/src/lib/libcrypto/x509v3/Makefile.ssl | |||
@@ -74,7 +74,7 @@ lint: | |||
74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
75 | 75 | ||
76 | depend: | 76 | depend: |
77 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 77 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
78 | 78 | ||
79 | dclean: | 79 | dclean: |
80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/Makefile.ssl b/src/lib/libssl/src/Makefile.ssl index 976eaf347c..0b1c2f659c 100644 --- a/src/lib/libssl/src/Makefile.ssl +++ b/src/lib/libssl/src/Makefile.ssl | |||
@@ -4,7 +4,7 @@ | |||
4 | ## Makefile for OpenSSL | 4 | ## Makefile for OpenSSL |
5 | ## | 5 | ## |
6 | 6 | ||
7 | VERSION=0.9.7-beta3 | 7 | VERSION=0.9.7b |
8 | MAJOR=0 | 8 | MAJOR=0 |
9 | MINOR=9.7 | 9 | MINOR=9.7 |
10 | SHLIB_VERSION_NUMBER=0.9.7 | 10 | SHLIB_VERSION_NUMBER=0.9.7 |
@@ -17,6 +17,11 @@ OPTIONS= no-krb5 | |||
17 | CONFIGURE_ARGS=dist | 17 | CONFIGURE_ARGS=dist |
18 | SHLIB_TARGET= | 18 | SHLIB_TARGET= |
19 | 19 | ||
20 | # HERE indicates where this Makefile lives. This can be used to indicate | ||
21 | # where sub-Makefiles are expected to be. Currently has very limited usage, | ||
22 | # and should probably not be bothered with at all. | ||
23 | HERE=. | ||
24 | |||
20 | # INSTALL_PREFIX is for package builders so that they can configure | 25 | # INSTALL_PREFIX is for package builders so that they can configure |
21 | # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/. | 26 | # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/. |
22 | # Normally it is left empty. | 27 | # Normally it is left empty. |
@@ -61,13 +66,22 @@ DEPFLAG= | |||
61 | PEX_LIBS= | 66 | PEX_LIBS= |
62 | EX_LIBS= | 67 | EX_LIBS= |
63 | EXE_EXT= | 68 | EXE_EXT= |
64 | AR=ar r | 69 | ARFLAGS= |
70 | AR=ar $(ARFLAGS) r | ||
65 | RANLIB= /usr/bin/ranlib | 71 | RANLIB= /usr/bin/ranlib |
66 | PERL= /usr/local/bin/perl5 | 72 | PERL= /usr/local/bin/perl |
67 | TAR= tar | 73 | TAR= tar |
68 | TARFLAGS= --no-recursion | 74 | TARFLAGS= --no-recursion |
69 | MAKEDEPPROG=makedepend | 75 | MAKEDEPPROG=makedepend |
70 | 76 | ||
77 | # We let the C compiler driver to take care of .s files. This is done in | ||
78 | # order to be excused from maintaining a separate set of architecture | ||
79 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
80 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
81 | # and pass it down to assembler. | ||
82 | AS=$(CC) -c | ||
83 | ASFLAGS=$(CFLAG) | ||
84 | |||
71 | # Set BN_ASM to bn_asm.o if you want to use the C version | 85 | # Set BN_ASM to bn_asm.o if you want to use the C version |
72 | BN_ASM= bn_asm.o | 86 | BN_ASM= bn_asm.o |
73 | #BN_ASM= bn_asm.o | 87 | #BN_ASM= bn_asm.o |
@@ -206,14 +220,14 @@ HEADER= e_os.h | |||
206 | # When we're prepared to use shared libraries in the programs we link here | 220 | # When we're prepared to use shared libraries in the programs we link here |
207 | # we might remove 'clean-shared' from the targets to perform at this stage | 221 | # we might remove 'clean-shared' from the targets to perform at this stage |
208 | 222 | ||
209 | all: Makefile.ssl sub_all | 223 | all: Makefile.ssl sub_all openssl.pc |
210 | 224 | ||
211 | sub_all: | 225 | sub_all: |
212 | @for i in $(DIRS); \ | 226 | @for i in $(DIRS); \ |
213 | do \ | 227 | do \ |
214 | if [ -d "$$i" ]; then \ | 228 | if [ -d "$$i" ]; then \ |
215 | (cd $$i && echo "making all in $$i..." && \ | 229 | (cd $$i && echo "making all in $$i..." && \ |
216 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' all ) || exit 1; \ | 230 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' AS='${AS}' ASFLAGS='${ASFLAGS}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' all ) || exit 1; \ |
217 | else \ | 231 | else \ |
218 | $(MAKE) $$i; \ | 232 | $(MAKE) $$i; \ |
219 | fi; \ | 233 | fi; \ |
@@ -243,7 +257,7 @@ clean-shared: | |||
243 | fi; \ | 257 | fi; \ |
244 | ( set -x; rm -f lib$$i$(SHLIB_EXT) ); \ | 258 | ( set -x; rm -f lib$$i$(SHLIB_EXT) ); \ |
245 | if [ "$(PLATFORM)" = "Cygwin" ]; then \ | 259 | if [ "$(PLATFORM)" = "Cygwin" ]; then \ |
246 | ( set -x; rm -f cyg$$i$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \ | 260 | ( set -x; rm -f cyg$$i-$(SHLIB_VERSION_NUMBER)$(SHLIB_EXT) lib$$i$(SHLIB_EXT).a ); \ |
247 | fi; \ | 261 | fi; \ |
248 | done | 262 | done |
249 | 263 | ||
@@ -253,7 +267,8 @@ link-shared: | |||
253 | for i in $(SHLIBDIRS); do \ | 267 | for i in $(SHLIBDIRS); do \ |
254 | prev=lib$$i$(SHLIB_EXT); \ | 268 | prev=lib$$i$(SHLIB_EXT); \ |
255 | for j in $${tmp:-x}; do \ | 269 | for j in $${tmp:-x}; do \ |
256 | ( set -x; ln -f -s $$prev lib$$i$$j ); \ | 270 | ( set -x; \ |
271 | rm -f lib$$i$$j; ln -s $$prev lib$$i$$j ); \ | ||
257 | prev=lib$$i$$j; \ | 272 | prev=lib$$i$$j; \ |
258 | done; \ | 273 | done; \ |
259 | done; \ | 274 | done; \ |
@@ -265,41 +280,45 @@ do_bsd-gcc-shared: do_gnu-shared | |||
265 | do_linux-shared: do_gnu-shared | 280 | do_linux-shared: do_gnu-shared |
266 | do_gnu-shared: | 281 | do_gnu-shared: |
267 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 282 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
283 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
284 | libs="$(LIBKRB5) $$libs"; \ | ||
285 | fi; \ | ||
268 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ | 286 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ |
269 | -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 287 | -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
270 | -Wl,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 288 | -Wl,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
271 | -Wl,-Bsymbolic \ | 289 | -Wl,-Bsymbolic \ |
272 | -Wl,--whole-archive lib$$i.a \ | 290 | -Wl,--whole-archive lib$$i.a \ |
273 | -Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \ | 291 | -Wl,--no-whole-archive $$libs ${EX_LIBS} -lc ) || exit 1; \ |
274 | libs="$$libs -l$$i"; \ | 292 | libs="-l$$i $$libs"; \ |
275 | done | 293 | done |
276 | 294 | ||
277 | DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ | 295 | DETECT_GNU_LD=(${CC} -Wl,-V /dev/null 2>&1 | grep '^GNU ld' )>/dev/null |
278 | collect2=`gcc -print-prog-name=collect2 2>&1` && \ | ||
279 | [ -n "$$collect2" ] && \ | ||
280 | my_ld=`$$collect2 --help 2>&1 | grep Usage: | sed 's/^Usage: *\([^ ][^ ]*\).*/\1/'` && \ | ||
281 | [ -n "$$my_ld" ] && \ | ||
282 | $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1 | ||
283 | 296 | ||
284 | # For Darwin AKA Mac OS/X (dyld) | 297 | # For Darwin AKA Mac OS/X (dyld) |
285 | do_darwin-shared: | 298 | do_darwin-shared: |
286 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 299 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
287 | ( set -x ; ${CC} --verbose -dynamiclib -o lib$$i${SHLIB_EXT} \ | 300 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ |
301 | libs="$(LIBKRB5) $$libs"; \ | ||
302 | fi; \ | ||
303 | ( set -x; ${CC} --verbose -dynamiclib -o lib$$i${SHLIB_EXT} \ | ||
288 | lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 304 | lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
289 | -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \ | 305 | -compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \ |
290 | -install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \ | 306 | -install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \ |
291 | libs="$$libs -l`basename $$i${SHLIB_EXT} .dylib`"; \ | 307 | libs="-l`basename $$i${SHLIB_EXT} .dylib` $$libs"; \ |
292 | echo "" ; \ | 308 | echo "" ; \ |
293 | done | 309 | done |
294 | 310 | ||
295 | do_cygwin-shared: | 311 | do_cygwin-shared: |
296 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 312 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
297 | ( set -x; ${CC} -shared -o cyg$$i.dll \ | 313 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ |
314 | libs="$(LIBKRB5) $$libs"; \ | ||
315 | fi; \ | ||
316 | ( set -x; ${CC} -shared -o cyg$$i-$(SHLIB_VERSION_NUMBER).dll \ | ||
298 | -Wl,-Bsymbolic \ | 317 | -Wl,-Bsymbolic \ |
299 | -Wl,--whole-archive lib$$i.a \ | 318 | -Wl,--whole-archive lib$$i.a \ |
300 | -Wl,--out-implib,lib$$i.dll.a \ | 319 | -Wl,--out-implib,lib$$i.dll.a \ |
301 | -Wl,--no-whole-archive $$libs ) || exit 1; \ | 320 | -Wl,--no-whole-archive $$libs ) || exit 1; \ |
302 | libs="$$libs -l$$i"; \ | 321 | libs="-l$$i $$libs"; \ |
303 | done | 322 | done |
304 | 323 | ||
305 | # This assumes that GNU utilities are *not* used | 324 | # This assumes that GNU utilities are *not* used |
@@ -308,11 +327,14 @@ do_alpha-osf1-shared: | |||
308 | $(MAKE) do_gnu-shared; \ | 327 | $(MAKE) do_gnu-shared; \ |
309 | else \ | 328 | else \ |
310 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 329 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
330 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
331 | libs="$(LIBKRB5) $$libs"; \ | ||
332 | fi; \ | ||
311 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ | 333 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ |
312 | -shared -o lib$$i.so \ | 334 | -shared -o lib$$i.so \ |
313 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ | 335 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ |
314 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ | 336 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ |
315 | libs="$$libs -l$$i"; \ | 337 | libs="-l$$i $$libs"; \ |
316 | done; \ | 338 | done; \ |
317 | fi | 339 | fi |
318 | 340 | ||
@@ -324,11 +346,14 @@ do_tru64-shared: | |||
324 | $(MAKE) do_gnu-shared; \ | 346 | $(MAKE) do_gnu-shared; \ |
325 | else \ | 347 | else \ |
326 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 348 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
349 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
350 | libs="$(LIBKRB5) $$libs"; \ | ||
351 | fi; \ | ||
327 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ | 352 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ |
328 | -shared -msym -o lib$$i.so \ | 353 | -shared -msym -o lib$$i.so \ |
329 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ | 354 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ |
330 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ | 355 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ |
331 | libs="$$libs -l$$i"; \ | 356 | libs="-l$$i $$libs"; \ |
332 | done; \ | 357 | done; \ |
333 | fi | 358 | fi |
334 | 359 | ||
@@ -340,12 +365,15 @@ do_tru64-shared-rpath: | |||
340 | $(MAKE) do_gnu-shared; \ | 365 | $(MAKE) do_gnu-shared; \ |
341 | else \ | 366 | else \ |
342 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 367 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
368 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
369 | libs="$(LIBKRB5) $$libs"; \ | ||
370 | fi; \ | ||
343 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ | 371 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ |
344 | -shared -msym -o lib$$i.so \ | 372 | -shared -msym -o lib$$i.so \ |
345 | -rpath ${INSTALLTOP}/lib \ | 373 | -rpath ${INSTALLTOP}/lib \ |
346 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ | 374 | -set_version "${SHLIB_VERSION_HISTORY}${SHLIB_VERSION_NUMBER}" \ |
347 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ | 375 | -all lib$$i.a -none $$libs ${EX_LIBS} -lc ) || exit 1; \ |
348 | libs="$$libs -l$$i"; \ | 376 | libs="-l$$i $$libs"; \ |
349 | done; \ | 377 | done; \ |
350 | fi | 378 | fi |
351 | 379 | ||
@@ -356,12 +384,18 @@ do_solaris-shared: | |||
356 | $(MAKE) do_gnu-shared; \ | 384 | $(MAKE) do_gnu-shared; \ |
357 | else \ | 385 | else \ |
358 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 386 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
387 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
388 | libs="$(LIBKRB5) $$libs"; \ | ||
389 | fi; \ | ||
359 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ | 390 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ |
360 | set -x; ${CC} ${SHARED_LDFLAGS} \ | 391 | MINUSZ='-z '; \ |
361 | -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 392 | (${CC} -v 2>&1 | grep gcc) > /dev/null && MINUSZ='-Wl,-z,'; \ |
393 | set -x; ${CC} ${SHARED_LDFLAGS} -G -dy -z text \ | ||
394 | -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | ||
362 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 395 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
363 | -z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \ | 396 | $${MINUSZ}allextract lib$$i.a $${MINUSZ}defaultextract \ |
364 | libs="$$libs -l$$i"; \ | 397 | $$libs ${EX_LIBS} -lc ) || exit 1; \ |
398 | libs="-l$$i $$libs"; \ | ||
365 | done; \ | 399 | done; \ |
366 | fi | 400 | fi |
367 | 401 | ||
@@ -371,16 +405,20 @@ do_svr3-shared: | |||
371 | $(MAKE) do_gnu-shared; \ | 405 | $(MAKE) do_gnu-shared; \ |
372 | else \ | 406 | else \ |
373 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 407 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
408 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
409 | libs="$(LIBKRB5) $$libs"; \ | ||
410 | fi; \ | ||
374 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ | 411 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ |
375 | find . -name "*.o" -print > allobjs ; \ | 412 | find . -name "*.o" -print > allobjs ; \ |
376 | OBJS= ; export OBJS ; \ | 413 | OBJS= ; export OBJS ; \ |
377 | for obj in `ar t lib$$i.a` ; do \ | 414 | for obj in `ar t lib$$i.a` ; do \ |
378 | OBJS="$${OBJS} `grep $$obj allobjs`" ; \ | 415 | OBJS="$${OBJS} `grep $$obj allobjs`" ; \ |
379 | done ; \ | 416 | done ; \ |
380 | set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 417 | set -x; ${CC} ${SHARED_LDFLAGS} \ |
418 | -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | ||
381 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 419 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
382 | $${OBJS} $$libs ${EX_LIBS} ) || exit 1; \ | 420 | $${OBJS} $$libs ${EX_LIBS} ) || exit 1; \ |
383 | libs="$$libs -l$$i"; \ | 421 | libs="-l$$i $$libs"; \ |
384 | done; \ | 422 | done; \ |
385 | fi | 423 | fi |
386 | 424 | ||
@@ -390,17 +428,23 @@ do_svr5-shared: | |||
390 | $(MAKE) do_gnu-shared; \ | 428 | $(MAKE) do_gnu-shared; \ |
391 | else \ | 429 | else \ |
392 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 430 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
431 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
432 | libs="$(LIBKRB5) $$libs"; \ | ||
433 | fi; \ | ||
393 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ | 434 | ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \ |
435 | SHARE_FLAG='-G'; \ | ||
436 | (${CC} -v 2>&1 | grep gcc) > /dev/null && SHARE_FLAG='-shared'; \ | ||
394 | find . -name "*.o" -print > allobjs ; \ | 437 | find . -name "*.o" -print > allobjs ; \ |
395 | OBJS= ; export OBJS ; \ | 438 | OBJS= ; export OBJS ; \ |
396 | for obj in `ar t lib$$i.a` ; do \ | 439 | for obj in `ar t lib$$i.a` ; do \ |
397 | OBJS="$${OBJS} `grep $$obj allobjs`" ; \ | 440 | OBJS="$${OBJS} `grep $$obj allobjs`" ; \ |
398 | done ; \ | 441 | done ; \ |
399 | set -x; ${CC} ${SHARED_LDFLAGS} \ | 442 | set -x; LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ |
400 | -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 443 | ${CC} ${SHARED_LDFLAGS} \ |
444 | $${SHARE_FLAG} -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | ||
401 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 445 | -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
402 | $${OBJS} $$libs ${EX_LIBS} ) || exit 1; \ | 446 | $${OBJS} $$libs ${EX_LIBS} ) || exit 1; \ |
403 | libs="$$libs -l$$i"; \ | 447 | libs="-l$$i $$libs"; \ |
404 | done; \ | 448 | done; \ |
405 | fi | 449 | fi |
406 | 450 | ||
@@ -410,11 +454,14 @@ do_irix-shared: | |||
410 | $(MAKE) do_gnu-shared; \ | 454 | $(MAKE) do_gnu-shared; \ |
411 | else \ | 455 | else \ |
412 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 456 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
457 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
458 | libs="$(LIBKRB5) $$libs"; \ | ||
459 | fi; \ | ||
413 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ | 460 | ( set -x; ${CC} ${SHARED_LDFLAGS} \ |
414 | -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 461 | -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
415 | -Wl,-soname,lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 462 | -Wl,-soname,lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
416 | -all lib$$i.a $$libs ${EX_LIBS} -lc) || exit 1; \ | 463 | -all lib$$i.a $$libs ${EX_LIBS} -lc) || exit 1; \ |
417 | libs="$$libs -l$$i"; \ | 464 | libs="-l$$i $$libs"; \ |
418 | done; \ | 465 | done; \ |
419 | fi | 466 | fi |
420 | 467 | ||
@@ -431,6 +478,9 @@ do_irix-shared: | |||
431 | # | 478 | # |
432 | do_hpux-shared: | 479 | do_hpux-shared: |
433 | for i in ${SHLIBDIRS}; do \ | 480 | for i in ${SHLIBDIRS}; do \ |
481 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
482 | libs="$(LIBKRB5) $$libs"; \ | ||
483 | fi; \ | ||
434 | ( set -x; /usr/ccs/bin/ld ${SHARED_LDFLAGS} \ | 484 | ( set -x; /usr/ccs/bin/ld ${SHARED_LDFLAGS} \ |
435 | +vnocompatwarnings \ | 485 | +vnocompatwarnings \ |
436 | -b -z +s \ | 486 | -b -z +s \ |
@@ -451,6 +501,9 @@ do_hpux-shared: | |||
451 | # | 501 | # |
452 | do_hpux64-shared: | 502 | do_hpux64-shared: |
453 | for i in ${SHLIBDIRS}; do \ | 503 | for i in ${SHLIBDIRS}; do \ |
504 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
505 | libs="$(LIBKRB5) $$libs"; \ | ||
506 | fi; \ | ||
454 | ( set -x; /usr/ccs/bin/ld ${SHARED_LDFLAGS} \ | 507 | ( set -x; /usr/ccs/bin/ld ${SHARED_LDFLAGS} \ |
455 | -b -z \ | 508 | -b -z \ |
456 | -o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \ | 509 | -o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \ |
@@ -493,17 +546,24 @@ SHAREDFLAGS=${SHARED_LDFLAGS} -G -bE:lib$$i.exp -bM:SRE | |||
493 | SHAREDCMD=$(CC) | 546 | SHAREDCMD=$(CC) |
494 | do_aix-shared: | 547 | do_aix-shared: |
495 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 548 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
549 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
550 | libs="$(LIBKRB5) $$libs"; \ | ||
551 | fi; \ | ||
496 | ( set -x; \ | 552 | ( set -x; \ |
497 | ld -r -o $$i.o $(ALLSYMSFLAG) lib$$i.a && \ | 553 | ld -r -o lib$$i.o $(ALLSYMSFLAG) lib$$i.a && \ |
498 | ( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' > lib$$i.exp; \ | 554 | ( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' > lib$$i.exp; \ |
499 | $(SHAREDCMD) $(SHAREDFLAG) -o lib$$i.so lib$$i.o \ | 555 | $(SHAREDCMD) $(SHAREDFLAGS) \ |
556 | -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib$$i.o \ | ||
500 | $$libs ${EX_LIBS} ) ) \ | 557 | $$libs ${EX_LIBS} ) ) \ |
501 | || exit 1; \ | 558 | || exit 1; \ |
502 | libs="$$libs -l$$i"; \ | 559 | libs="-l$$i $$libs"; \ |
503 | done | 560 | done |
504 | 561 | ||
505 | do_reliantunix-shared: | 562 | do_reliantunix-shared: |
506 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ | 563 | libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ |
564 | if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ | ||
565 | libs="$(LIBKRB5) $$libs"; \ | ||
566 | fi; \ | ||
507 | tmpdir=/tmp/openssl.$$$$ ; rm -rf $$tmpdir ; \ | 567 | tmpdir=/tmp/openssl.$$$$ ; rm -rf $$tmpdir ; \ |
508 | ( set -x; \ | 568 | ( set -x; \ |
509 | ( Opwd=`pwd` ; mkdir $$tmpdir || exit 1; \ | 569 | ( Opwd=`pwd` ; mkdir $$tmpdir || exit 1; \ |
@@ -513,19 +573,32 @@ do_reliantunix-shared: | |||
513 | cp $$tmpdir/lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} . ; \ | 573 | cp $$tmpdir/lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} . ; \ |
514 | ) || exit 1; \ | 574 | ) || exit 1; \ |
515 | rm -rf $$tmpdir ; \ | 575 | rm -rf $$tmpdir ; \ |
516 | libs="$$libs -l$$i"; \ | 576 | libs="-l$$i $$libs"; \ |
517 | done | 577 | done |
518 | 578 | ||
579 | openssl.pc: Makefile.ssl | ||
580 | @ ( echo 'prefix=$(INSTALLTOP)'; \ | ||
581 | echo 'exec_prefix=$${prefix}'; \ | ||
582 | echo 'libdir=$${exec_prefix}/lib'; \ | ||
583 | echo 'includedir=$${prefix}/include'; \ | ||
584 | echo ''; \ | ||
585 | echo 'Name: OpenSSL'; \ | ||
586 | echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \ | ||
587 | echo 'Version: '$(VERSION); \ | ||
588 | echo 'Requires: '; \ | ||
589 | echo 'Libs: -L$${libdir} -lssl -lcrypto $(LIBKRB5) $(EX_LIBS)'; \ | ||
590 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc | ||
591 | |||
519 | Makefile.ssl: Makefile.org | 592 | Makefile.ssl: Makefile.org |
520 | @echo "Makefile.ssl is older than Makefile.org." | 593 | @echo "Makefile.ssl is older than Makefile.org." |
521 | @echo "Reconfigure the source tree (via './config' or 'perl Configure'), please." | 594 | @echo "Reconfigure the source tree (via './config' or 'perl Configure'), please." |
522 | @false | 595 | @false |
523 | 596 | ||
524 | libclean: | 597 | libclean: |
525 | rm -f *.a */lib */*/lib | 598 | rm -f *.map *.so *.so.* engines/*.so *.a */lib */*/lib |
526 | 599 | ||
527 | clean: | 600 | clean: libclean |
528 | rm -f shlib/*.o *.o core a.out fluff *.map rehash.time testlog make.log cctest cctest.c | 601 | rm -f shlib/*.o *.o core a.out fluff rehash.time testlog make.log cctest cctest.c |
529 | @for i in $(DIRS) ;\ | 602 | @for i in $(DIRS) ;\ |
530 | do \ | 603 | do \ |
531 | if [ -d "$$i" ]; then \ | 604 | if [ -d "$$i" ]; then \ |
@@ -534,7 +607,8 @@ clean: | |||
534 | rm -f $(LIBS); \ | 607 | rm -f $(LIBS); \ |
535 | fi; \ | 608 | fi; \ |
536 | done; | 609 | done; |
537 | rm -f *.a *.o speed.* *.map *.so .pure core | 610 | rm -f openssl.pc |
611 | rm -f speed.* .pure | ||
538 | rm -f $(TARFILE) | 612 | rm -f $(TARFILE) |
539 | @for i in $(ONEDIRS) ;\ | 613 | @for i in $(ONEDIRS) ;\ |
540 | do \ | 614 | do \ |
@@ -584,8 +658,12 @@ rehash: rehash.time | |||
584 | rehash.time: certs | 658 | rehash.time: certs |
585 | @(OPENSSL="`pwd`/apps/openssl"; OPENSSL_DEBUG_MEMORY=on; \ | 659 | @(OPENSSL="`pwd`/apps/openssl"; OPENSSL_DEBUG_MEMORY=on; \ |
586 | export OPENSSL OPENSSL_DEBUG_MEMORY; \ | 660 | export OPENSSL OPENSSL_DEBUG_MEMORY; \ |
587 | LD_LIBRARY_PATH="`pwd`"; DYLD_LIBRARY_PATH="`pwd`"; SHLIB_PATH="`pwd`"; LIBPATH="`pwd`"; \ | 661 | LD_LIBRARY_PATH="`pwd`:$$LD_LIBRARY_PATH"; \ |
588 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 662 | DYLD_LIBRARY_PATH="`pwd`:$$DYLD_LIBRARY_PATH"; \ |
663 | SHLIB_PATH="`pwd`:$$SHLIB_PATH"; \ | ||
664 | LIBPATH="`pwd`:$$LIBPATH"; \ | ||
665 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="`pwd`:$$PATH"; fi; \ | ||
666 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH; \ | ||
589 | $(PERL) tools/c_rehash certs) | 667 | $(PERL) tools/c_rehash certs) |
590 | touch rehash.time | 668 | touch rehash.time |
591 | 669 | ||
@@ -594,9 +672,13 @@ test: tests | |||
594 | tests: rehash | 672 | tests: rehash |
595 | @(cd test && echo "testing..." && \ | 673 | @(cd test && echo "testing..." && \ |
596 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' TESTS='${TESTS}' OPENSSL_DEBUG_MEMORY=on tests ); | 674 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' TESTS='${TESTS}' OPENSSL_DEBUG_MEMORY=on tests ); |
597 | @LD_LIBRARY_PATH="`pwd`"; DYLD_LIBRARY_PATH="`pwd`"; SHLIB_PATH="`pwd`"; LIBPATH="`pwd`"; \ | 675 | @LD_LIBRARY_PATH="`pwd`:$$LD_LIBRARY_PATH"; \ |
598 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 676 | DYLD_LIBRARY_PATH="`pwd`:$$DYLD_LIBRARY_PATH"; \ |
599 | apps/openssl version -a | 677 | SHLIB_PATH="`pwd`:$$SHLIB_PATH"; \ |
678 | LIBPATH="`pwd`:$$LIBPATH"; \ | ||
679 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="`pwd`:$$PATH"; fi; \ | ||
680 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH; \ | ||
681 | apps/openssl version -a | ||
600 | 682 | ||
601 | report: | 683 | report: |
602 | @$(PERL) util/selftest.pl | 684 | @$(PERL) util/selftest.pl |
@@ -658,6 +740,9 @@ update: depend errors stacks util/libeay.num util/ssleay.num crypto/objects/obj_ | |||
658 | # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal | 740 | # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal |
659 | # tar does not support the --files-from option. | 741 | # tar does not support the --files-from option. |
660 | tar: | 742 | tar: |
743 | find . -type d -print | xargs chmod 755 | ||
744 | find . -type f -print | xargs chmod a+r | ||
745 | find . -type f -perm -0100 -print | xargs chmod a+x | ||
661 | find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | sort > ../$(TARFILE).list; \ | 746 | find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | sort > ../$(TARFILE).list; \ |
662 | $(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list -cvf - | \ | 747 | $(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list -cvf - | \ |
663 | tardy --user_number=0 --user_name=openssl \ | 748 | tardy --user_number=0 --user_name=openssl \ |
@@ -687,6 +772,7 @@ dist_pem_h: | |||
687 | install: all install_docs | 772 | install: all install_docs |
688 | @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ | 773 | @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ |
689 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib \ | 774 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib \ |
775 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig \ | ||
690 | $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \ | 776 | $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \ |
691 | $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ | 777 | $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ |
692 | $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \ | 778 | $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \ |
@@ -708,9 +794,10 @@ install: all install_docs | |||
708 | do \ | 794 | do \ |
709 | if [ -f "$$i" ]; then \ | 795 | if [ -f "$$i" ]; then \ |
710 | ( echo installing $$i; \ | 796 | ( echo installing $$i; \ |
711 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ | 797 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ |
712 | $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ | 798 | $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ |
713 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ | 799 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ |
800 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ | ||
714 | fi; \ | 801 | fi; \ |
715 | done; | 802 | done; |
716 | @if [ -n "$(SHARED_LIBS)" ]; then \ | 803 | @if [ -n "$(SHARED_LIBS)" ]; then \ |
@@ -720,21 +807,32 @@ install: all install_docs | |||
720 | if [ -f "$$i" -o -f "$$i.a" ]; then \ | 807 | if [ -f "$$i" -o -f "$$i.a" ]; then \ |
721 | ( echo installing $$i; \ | 808 | ( echo installing $$i; \ |
722 | if [ "$(PLATFORM)" != "Cygwin" ]; then \ | 809 | if [ "$(PLATFORM)" != "Cygwin" ]; then \ |
723 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ | 810 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ |
724 | chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ | 811 | chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ |
812 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ | ||
725 | else \ | 813 | else \ |
726 | c=`echo $$i | sed 's/^lib/cyg/'`; \ | 814 | c=`echo $$i | sed 's/^lib\(.*\)\.dll/cyg\1-$(SHLIB_VERSION_NUMBER).dll/'`; \ |
727 | cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c; \ | 815 | cp $$c $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \ |
728 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c; \ | 816 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new; \ |
729 | cp $$i.a $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a; \ | 817 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$c; \ |
730 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a; \ | 818 | cp $$i.a $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a.new; \ |
819 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a.new; \ | ||
820 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.a; \ | ||
731 | fi ); \ | 821 | fi ); \ |
732 | fi; \ | 822 | fi; \ |
733 | done; \ | 823 | done; \ |
734 | ( here="`pwd`"; \ | 824 | ( here="`pwd`"; \ |
735 | cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ | 825 | cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ |
736 | make -f $$here/Makefile link-shared ); \ | 826 | set $(MAKE); \ |
827 | $$1 -f $$here/Makefile link-shared ); \ | ||
828 | if [ "$(INSTALLTOP)" != "/usr" ]; then \ | ||
829 | echo 'OpenSSL shared libraries have been installed in:'; \ | ||
830 | echo ' $(INSTALLTOP)'; \ | ||
831 | echo ''; \ | ||
832 | sed -e '1,/^$$/d' doc/openssl-shared.txt; \ | ||
833 | fi; \ | ||
737 | fi | 834 | fi |
835 | cp openssl.pc $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig | ||
738 | 836 | ||
739 | install_docs: | 837 | install_docs: |
740 | @$(PERL) $(TOP)/util/mkdir-p.pl \ | 838 | @$(PERL) $(TOP)/util/mkdir-p.pl \ |
@@ -742,25 +840,43 @@ install_docs: | |||
742 | $(INSTALL_PREFIX)$(MANDIR)/man3 \ | 840 | $(INSTALL_PREFIX)$(MANDIR)/man3 \ |
743 | $(INSTALL_PREFIX)$(MANDIR)/man5 \ | 841 | $(INSTALL_PREFIX)$(MANDIR)/man5 \ |
744 | $(INSTALL_PREFIX)$(MANDIR)/man7 | 842 | $(INSTALL_PREFIX)$(MANDIR)/man7 |
745 | @for i in doc/apps/*.pod; do \ | 843 | @pod2man="`cd util; ./pod2mantest $(PERL)`"; \ |
844 | here="`pwd`"; \ | ||
845 | filecase=; \ | ||
846 | if [ "$(PLATFORM)" = "DJGPP" -o "$(PLATFORM)" = "Cygwin" ]; then \ | ||
847 | filecase=-i; \ | ||
848 | fi; \ | ||
849 | for i in doc/apps/*.pod; do \ | ||
746 | fn=`basename $$i .pod`; \ | 850 | fn=`basename $$i .pod`; \ |
747 | if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ | 851 | if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ |
748 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ | 852 | echo "installing man$$sec/$$fn.$$sec"; \ |
749 | (cd `$(PERL) util/dirname.pl $$i`; \ | 853 | (cd `$(PERL) util/dirname.pl $$i`; \ |
750 | sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ | 854 | sh -c "$$pod2man \ |
751 | --section=$$sec --center=OpenSSL \ | 855 | --section=$$sec --center=OpenSSL \ |
752 | --release=$(VERSION) `basename $$i`") \ | 856 | --release=$(VERSION) `basename $$i`") \ |
753 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ | 857 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \ |
754 | done | 858 | $(PERL) util/extract-names.pl < $$i | \ |
755 | @for i in doc/crypto/*.pod doc/ssl/*.pod; do \ | 859 | grep -v $$filecase "^$$fn\$$" | \ |
860 | (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ | ||
861 | while read n; do \ | ||
862 | $$here/util/point.sh $$fn.$$sec $$n.$$sec; \ | ||
863 | done); \ | ||
864 | done; \ | ||
865 | for i in doc/crypto/*.pod doc/ssl/*.pod; do \ | ||
756 | fn=`basename $$i .pod`; \ | 866 | fn=`basename $$i .pod`; \ |
757 | if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ | 867 | if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ |
758 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ | 868 | echo "installing man$$sec/$$fn.$$sec"; \ |
759 | (cd `$(PERL) util/dirname.pl $$i`; \ | 869 | (cd `$(PERL) util/dirname.pl $$i`; \ |
760 | sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ | 870 | sh -c "$$pod2man \ |
761 | --section=$$sec --center=OpenSSL \ | 871 | --section=$$sec --center=OpenSSL \ |
762 | --release=$(VERSION) `basename $$i`") \ | 872 | --release=$(VERSION) `basename $$i`") \ |
763 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ | 873 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$$sec; \ |
874 | $(PERL) util/extract-names.pl < $$i | \ | ||
875 | grep -v $$filecase "^$$fn\$$" | \ | ||
876 | (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ | ||
877 | while read n; do \ | ||
878 | $$here/util/point.sh $$fn.$$sec $$n.$$sec; \ | ||
879 | done); \ | ||
764 | done | 880 | done |
765 | 881 | ||
766 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 882 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
diff --git a/src/lib/libssl/src/apps/Makefile.ssl b/src/lib/libssl/src/apps/Makefile.ssl index c479264342..90e71dee76 100644 --- a/src/lib/libssl/src/apps/Makefile.ssl +++ b/src/lib/libssl/src/apps/Makefile.ssl | |||
@@ -87,6 +87,7 @@ all: exe | |||
87 | exe: $(PROGRAM) | 87 | exe: $(PROGRAM) |
88 | 88 | ||
89 | req: sreq.o $(A_OBJ) $(DLIBCRYPTO) | 89 | req: sreq.o $(A_OBJ) $(DLIBCRYPTO) |
90 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
90 | $(CC) -o req $(CFLAG) sreq.o $(A_OBJ) $(RAND_OBJ) $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 91 | $(CC) -o req $(CFLAG) sreq.o $(A_OBJ) $(RAND_OBJ) $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) |
91 | 92 | ||
92 | sreq.o: req.c | 93 | sreq.o: req.c |
@@ -99,17 +100,20 @@ install: | |||
99 | @for i in $(EXE); \ | 100 | @for i in $(EXE); \ |
100 | do \ | 101 | do \ |
101 | (echo installing $$i; \ | 102 | (echo installing $$i; \ |
102 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \ | 103 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \ |
103 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \ | 104 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \ |
105 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \ | ||
104 | done; | 106 | done; |
105 | @for i in $(SCRIPTS); \ | 107 | @for i in $(SCRIPTS); \ |
106 | do \ | 108 | do \ |
107 | (echo installing $$i; \ | 109 | (echo installing $$i; \ |
108 | cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \ | 110 | cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \ |
109 | chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \ | 111 | chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \ |
112 | mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \ | ||
110 | done | 113 | done |
111 | @cp openssl.cnf $(INSTALL_PREFIX)$(OPENSSLDIR); \ | 114 | @cp openssl.cnf $(INSTALL_PREFIX)$(OPENSSLDIR)/openssl.cnf.new; \ |
112 | chmod 644 $(INSTALL_PREFIX)$(OPENSSLDIR)/openssl.cnf | 115 | chmod 644 $(INSTALL_PREFIX)$(OPENSSLDIR)/openssl.cnf.new; \ |
116 | mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/openssl.cnf.new $(INSTALL_PREFIX)$(OPENSSLDIR)/openssl.cnf | ||
113 | 117 | ||
114 | tags: | 118 | tags: |
115 | ctags $(SRC) | 119 | ctags $(SRC) |
@@ -123,7 +127,7 @@ lint: | |||
123 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 127 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
124 | 128 | ||
125 | depend: | 129 | depend: |
126 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) | 130 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC) |
127 | 131 | ||
128 | dclean: | 132 | dclean: |
129 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 133 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -134,21 +138,26 @@ clean: | |||
134 | rm -f req | 138 | rm -f req |
135 | 139 | ||
136 | $(DLIBSSL): | 140 | $(DLIBSSL): |
137 | (cd ../ssl; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 141 | (cd ..; $(MAKE) DIRS=ssl all) |
138 | 142 | ||
139 | $(DLIBCRYPTO): | 143 | $(DLIBCRYPTO): |
140 | (cd ../crypto; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 144 | (cd ..; $(MAKE) DIRS=crypto all) |
141 | 145 | ||
142 | $(PROGRAM): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL) | 146 | $(PROGRAM): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL) |
143 | $(RM) $(PROGRAM) | 147 | $(RM) $(PROGRAM) |
144 | if [ "$(SHLIB_TARGET)" = "hpux-shared" ] ; then \ | 148 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
145 | $(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO) $(EX_LIBS) ; \ | 149 | $(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO) $(EX_LIBS) ; \ |
146 | else \ | 150 | else \ |
151 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
147 | $(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) ; \ | 152 | $(CC) -o $(PROGRAM) $(CFLAGS) $(PROGRAM).o $(E_OBJ) $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) ; \ |
148 | fi | 153 | fi |
149 | -(cd ..; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; \ | 154 | -(cd ..; OPENSSL="`pwd`/apps/openssl"; export OPENSSL; \ |
150 | LIBPATH="`pwd`"; LD_LIBRARY_PATH="`pwd`"; DYLD_LIBRARY_PATH="`pwd`"; SHLIB_PATH="`pwd`"; \ | 155 | LD_LIBRARY_PATH="`pwd`:$$LD_LIBRARY_PATH"; \ |
151 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 156 | DYLD_LIBRARY_PATH="`pwd`:$$DYLD_LIBRARY_PATH"; \ |
157 | SHLIB_PATH="`pwd`:$$SHLIB_PATH"; \ | ||
158 | LIBPATH="`pwd`:$$LIBPATH"; \ | ||
159 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="`pwd`:$$PATH"; fi; \ | ||
160 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH; \ | ||
152 | $(PERL) tools/c_rehash certs) | 161 | $(PERL) tools/c_rehash certs) |
153 | 162 | ||
154 | progs.h: progs.pl | 163 | progs.h: progs.pl |
@@ -762,30 +771,30 @@ rand.o: ../include/openssl/sha.h ../include/openssl/stack.h | |||
762 | rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 771 | rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
763 | rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | 772 | rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
764 | rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rand.c | 773 | rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rand.c |
765 | req.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 774 | req.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
766 | req.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 775 | req.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
767 | req.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 776 | req.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
768 | req.o: ../include/openssl/cast.h ../include/openssl/conf.h | 777 | req.o: ../include/openssl/buffer.h ../include/openssl/cast.h |
769 | req.o: ../include/openssl/crypto.h ../include/openssl/des.h | 778 | req.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
770 | req.o: ../include/openssl/des_old.h ../include/openssl/dh.h | 779 | req.o: ../include/openssl/des.h ../include/openssl/des_old.h |
771 | req.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 780 | req.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
772 | req.o: ../include/openssl/engine.h ../include/openssl/err.h | 781 | req.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
773 | req.o: ../include/openssl/evp.h ../include/openssl/idea.h | 782 | req.o: ../include/openssl/err.h ../include/openssl/evp.h |
774 | req.o: ../include/openssl/lhash.h ../include/openssl/md2.h | 783 | req.o: ../include/openssl/idea.h ../include/openssl/lhash.h |
775 | req.o: ../include/openssl/md4.h ../include/openssl/md5.h | 784 | req.o: ../include/openssl/md2.h ../include/openssl/md4.h |
776 | req.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | 785 | req.o: ../include/openssl/md5.h ../include/openssl/mdc2.h |
777 | req.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 786 | req.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
778 | req.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 787 | req.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
779 | req.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 788 | req.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
780 | req.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 789 | req.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
781 | req.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | 790 | req.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
782 | req.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | 791 | req.o: ../include/openssl/rc4.h ../include/openssl/rc5.h |
783 | req.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 792 | req.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h |
784 | req.o: ../include/openssl/sha.h ../include/openssl/stack.h | 793 | req.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
785 | req.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 794 | req.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
786 | req.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | 795 | req.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
787 | req.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 796 | req.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
788 | req.o: ../include/openssl/x509v3.h apps.h req.c | 797 | req.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h req.c |
789 | rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 798 | rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
790 | rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 799 | rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
791 | rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 800 | rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
diff --git a/src/lib/libssl/src/apps/der_chop b/src/lib/libssl/src/apps/der_chop index fbd2889842..9070b032fc 100644 --- a/src/lib/libssl/src/apps/der_chop +++ b/src/lib/libssl/src/apps/der_chop | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/local/bin/perl5 | 1 | #!/usr/local/bin/perl |
2 | # | 2 | # |
3 | # der_chop ... this is one total hack that Eric is really not proud of | 3 | # der_chop ... this is one total hack that Eric is really not proud of |
4 | # so don't look at it and don't ask for support | 4 | # so don't look at it and don't ask for support |
diff --git a/src/lib/libssl/src/crypto/Makefile.ssl b/src/lib/libssl/src/crypto/Makefile.ssl index 91e931a6ed..9def17ae60 100644 --- a/src/lib/libssl/src/crypto/Makefile.ssl +++ b/src/lib/libssl/src/crypto/Makefile.ssl | |||
@@ -36,8 +36,8 @@ GENERAL=Makefile README crypto-lib.com install.com | |||
36 | 36 | ||
37 | LIB= $(TOP)/libcrypto.a | 37 | LIB= $(TOP)/libcrypto.a |
38 | SHARED_LIB= libcrypto$(SHLIB_EXT) | 38 | SHARED_LIB= libcrypto$(SHLIB_EXT) |
39 | LIBSRC= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c | 39 | LIBSRC= cryptlib.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c |
40 | LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o | 40 | LIBOBJ= cryptlib.o mem.o mem_clr.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o |
41 | 41 | ||
42 | SRC= $(LIBSRC) | 42 | SRC= $(LIBSRC) |
43 | 43 | ||
@@ -136,12 +136,12 @@ lint: | |||
136 | 136 | ||
137 | depend: | 137 | depend: |
138 | if [ ! -f buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist | 138 | if [ ! -f buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist |
139 | $(MAKEDEPEND) $(CFLAG) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC) | 139 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDE) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
140 | if [ ! -s buildinf.h ]; then rm buildinf.h; fi | 140 | if [ ! -s buildinf.h ]; then rm buildinf.h; fi |
141 | @for i in $(SDIRS) ;\ | 141 | @for i in $(SDIRS) ;\ |
142 | do \ | 142 | do \ |
143 | (cd $$i && echo "making depend in crypto/$$i..." && \ | 143 | (cd $$i && echo "making depend in crypto/$$i..." && \ |
144 | $(MAKE) MAKEFILE='${MAKEFILE}' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' DEPFLAG='${DEPFLAG}' PERL='${PERL}' depend ); \ | 144 | $(MAKE) MAKEFILE='${MAKEFILE}' INCLUDES='${INCLUDES}' CFLAG='${CFLAG}' DEPFLAG='${DEPFLAG}' MAKEDEPPROG='${MAKEDEPPROG}' KRB5_INCLUDES='${KRB5_INCLUDES}' PERL='${PERL}' depend ); \ |
145 | done; | 145 | done; |
146 | 146 | ||
147 | clean: | 147 | clean: |
@@ -193,6 +193,10 @@ mem.o: ../include/openssl/err.h ../include/openssl/lhash.h | |||
193 | mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 193 | mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
194 | mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 194 | mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
195 | mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c | 195 | mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c |
196 | mem_clr.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
197 | mem_clr.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
198 | mem_clr.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
199 | mem_clr.o: ../include/openssl/symhacks.h mem_clr.c | ||
196 | mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h | 200 | mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h |
197 | mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 201 | mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
198 | mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h | 202 | mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h |
diff --git a/src/lib/libssl/src/crypto/aes/Makefile.ssl b/src/lib/libssl/src/crypto/aes/Makefile.ssl index 49dbeedf37..364d05bbfe 100644 --- a/src/lib/libssl/src/crypto/aes/Makefile.ssl +++ b/src/lib/libssl/src/crypto/aes/Makefile.ssl | |||
@@ -75,7 +75,7 @@ lint: | |||
75 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
76 | 76 | ||
77 | depend: | 77 | depend: |
78 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 78 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
79 | 79 | ||
80 | dclean: | 80 | dclean: |
81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/asn1/Makefile.ssl b/src/lib/libssl/src/crypto/asn1/Makefile.ssl index af4bd39619..944d8f164a 100644 --- a/src/lib/libssl/src/crypto/asn1/Makefile.ssl +++ b/src/lib/libssl/src/crypto/asn1/Makefile.ssl | |||
@@ -98,7 +98,7 @@ lint: | |||
98 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 98 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
99 | 99 | ||
100 | depend: | 100 | depend: |
101 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 101 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
102 | 102 | ||
103 | dclean: | 103 | dclean: |
104 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 104 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -286,13 +286,14 @@ a_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |||
286 | a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 286 | a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
287 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h | 287 | a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
288 | a_sign.o: ../cryptlib.h a_sign.c | 288 | a_sign.o: ../cryptlib.h a_sign.c |
289 | a_strex.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | 289 | a_strex.o: ../../e_os.h ../../include/openssl/aes.h |
290 | a_strex.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 290 | a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
291 | a_strex.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 291 | a_strex.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
292 | a_strex.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h | 292 | a_strex.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h |
293 | a_strex.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 293 | a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
294 | a_strex.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 294 | a_strex.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h |
295 | a_strex.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h | 295 | a_strex.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
296 | a_strex.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
296 | a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | 297 | a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
297 | a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | 298 | a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
298 | a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 299 | a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
@@ -305,7 +306,7 @@ a_strex.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | |||
305 | a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 306 | a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
306 | a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 307 | a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
307 | a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | 308 | a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h |
308 | a_strex.o: ../../include/openssl/x509_vfy.h a_strex.c charmap.h | 309 | a_strex.o: ../../include/openssl/x509_vfy.h ../cryptlib.h a_strex.c charmap.h |
309 | a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h | 310 | a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h |
310 | a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 311 | a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
311 | a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 312 | a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
diff --git a/src/lib/libssl/src/crypto/bf/Makefile.ssl b/src/lib/libssl/src/crypto/bf/Makefile.ssl index 983319264c..bb14a0ee82 100644 --- a/src/lib/libssl/src/crypto/bf/Makefile.ssl +++ b/src/lib/libssl/src/crypto/bf/Makefile.ssl | |||
@@ -49,14 +49,8 @@ lib: $(LIBOBJ) | |||
49 | @touch lib | 49 | @touch lib |
50 | 50 | ||
51 | # elf | 51 | # elf |
52 | asm/bx86-elf.o: asm/bx86unix.cpp | 52 | asm/bx86-elf.s: asm/bf-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
53 | $(CPP) -DELF -x c asm/bx86unix.cpp | as -o asm/bx86-elf.o | 53 | (cd asm; $(PERL) bf-586.pl elf $(CFLAGS) $(PROCESSOR) > bx86-elf.s) |
54 | |||
55 | # solaris | ||
56 | asm/bx86-sol.o: asm/bx86unix.cpp | ||
57 | $(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s | ||
58 | as -o asm/bx86-sol.o asm/bx86-sol.s | ||
59 | rm -f asm/bx86-sol.s | ||
60 | 54 | ||
61 | # a.out | 55 | # a.out |
62 | asm/bx86-out.o: asm/bx86unix.cpp | 56 | asm/bx86-out.o: asm/bx86unix.cpp |
@@ -96,14 +90,14 @@ lint: | |||
96 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 90 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
97 | 91 | ||
98 | depend: | 92 | depend: |
99 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 93 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
100 | 94 | ||
101 | dclean: | 95 | dclean: |
102 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 96 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
103 | mv -f Makefile.new $(MAKEFILE) | 97 | mv -f Makefile.new $(MAKEFILE) |
104 | 98 | ||
105 | clean: | 99 | clean: |
106 | rm -f asm/bx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 100 | rm -f asm/bx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
107 | 101 | ||
108 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 102 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
109 | 103 | ||
diff --git a/src/lib/libssl/src/crypto/bio/Makefile.ssl b/src/lib/libssl/src/crypto/bio/Makefile.ssl index d8beb6572c..141a03ae1d 100644 --- a/src/lib/libssl/src/crypto/bio/Makefile.ssl +++ b/src/lib/libssl/src/crypto/bio/Makefile.ssl | |||
@@ -78,7 +78,7 @@ lint: | |||
78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
79 | 79 | ||
80 | depend: | 80 | depend: |
81 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 81 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
82 | 82 | ||
83 | dclean: | 83 | dclean: |
84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/bn/Makefile.ssl b/src/lib/libssl/src/crypto/bn/Makefile.ssl index 46663d389c..c1547a8e6d 100644 --- a/src/lib/libssl/src/crypto/bn/Makefile.ssl +++ b/src/lib/libssl/src/crypto/bn/Makefile.ssl | |||
@@ -23,14 +23,6 @@ BN_ASM= bn_asm.o | |||
23 | 23 | ||
24 | CFLAGS= $(INCLUDES) $(CFLAG) | 24 | CFLAGS= $(INCLUDES) $(CFLAG) |
25 | 25 | ||
26 | # We let the C compiler driver to take care of .s files. This is done in | ||
27 | # order to be excused from maintaining a separate set of architecture | ||
28 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
29 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
30 | # and pass it down to assembler. | ||
31 | AS=$(CC) -c | ||
32 | ASFLAGS=$(CFLAGS) | ||
33 | |||
34 | GENERAL=Makefile | 26 | GENERAL=Makefile |
35 | TEST=bntest.c exptest.c | 27 | TEST=bntest.c exptest.c |
36 | APPS= | 28 | APPS= |
@@ -73,22 +65,11 @@ lib: $(LIBOBJ) | |||
73 | @touch lib | 65 | @touch lib |
74 | 66 | ||
75 | # elf | 67 | # elf |
76 | asm/bn86-elf.o: asm/bn86unix.cpp | 68 | asm/bn86-elf.s: asm/bn-586.pl ../perlasm/x86asm.pl |
77 | $(CPP) -DELF -x c asm/bn86unix.cpp | as -o asm/bn86-elf.o | 69 | (cd asm; $(PERL) bn-586.pl elf $(CFLAGS) > bn86-elf.s) |
78 | |||
79 | asm/co86-elf.o: asm/co86unix.cpp | ||
80 | $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o | ||
81 | 70 | ||
82 | # solaris | 71 | asm/co86-elf.s: asm/co-586.pl ../perlasm/x86asm.pl |
83 | asm/bn86-sol.o: asm/bn86unix.cpp | 72 | (cd asm; $(PERL) co-586.pl elf $(CFLAGS) > co86-elf.s) |
84 | $(CC) -E -DSOL asm/bn86unix.cpp | sed 's/^#.*//' > asm/bn86-sol.s | ||
85 | as -o asm/bn86-sol.o asm/bn86-sol.s | ||
86 | rm -f asm/bn86-sol.s | ||
87 | |||
88 | asm/co86-sol.o: asm/co86unix.cpp | ||
89 | $(CC) -E -DSOL asm/co86unix.cpp | sed 's/^#.*//' > asm/co86-sol.s | ||
90 | as -o asm/co86-sol.o asm/co86-sol.s | ||
91 | rm -f asm/co86-sol.s | ||
92 | 73 | ||
93 | # a.out | 74 | # a.out |
94 | asm/bn86-out.o: asm/bn86unix.cpp | 75 | asm/bn86-out.o: asm/bn86unix.cpp |
@@ -136,6 +117,8 @@ asm/ia64-cpp.o: asm/ia64.S | |||
136 | $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \ | 117 | $(CC) $(ASFLAGS) -c -o asm/ia64-cpp.o /tmp/ia64.$$$$.s; \ |
137 | rm -f /tmp/ia64.$$$$.s | 118 | rm -f /tmp/ia64.$$$$.s |
138 | 119 | ||
120 | asm/x86_64-gcc.o: asm/x86_64-gcc.c | ||
121 | |||
139 | files: | 122 | files: |
140 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 123 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
141 | 124 | ||
@@ -169,14 +152,14 @@ lint: | |||
169 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 152 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
170 | 153 | ||
171 | depend: | 154 | depend: |
172 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 155 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
173 | 156 | ||
174 | dclean: | 157 | dclean: |
175 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 158 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
176 | mv -f Makefile.new $(MAKEFILE) | 159 | mv -f Makefile.new $(MAKEFILE) |
177 | 160 | ||
178 | clean: | 161 | clean: |
179 | rm -f asm/co86unix.cpp asm/bn86unix.cpp *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s | 162 | rm -f asm/co86unix.cpp asm/bn86unix.cpp asm/*-elf.* *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff bn_asm.s |
180 | 163 | ||
181 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 164 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
182 | 165 | ||
diff --git a/src/lib/libssl/src/crypto/buffer/Makefile.ssl b/src/lib/libssl/src/crypto/buffer/Makefile.ssl index fd16e51243..e8b6c9693a 100644 --- a/src/lib/libssl/src/crypto/buffer/Makefile.ssl +++ b/src/lib/libssl/src/crypto/buffer/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/cast/Makefile.ssl b/src/lib/libssl/src/crypto/cast/Makefile.ssl index b04c1c0e9b..70c47bf8e6 100644 --- a/src/lib/libssl/src/crypto/cast/Makefile.ssl +++ b/src/lib/libssl/src/crypto/cast/Makefile.ssl | |||
@@ -52,14 +52,8 @@ lib: $(LIBOBJ) | |||
52 | @touch lib | 52 | @touch lib |
53 | 53 | ||
54 | # elf | 54 | # elf |
55 | asm/cx86-elf.o: asm/cx86unix.cpp | 55 | asm/cx86-elf.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
56 | $(CPP) -DELF -x c asm/cx86unix.cpp | as -o asm/cx86-elf.o | 56 | (cd asm; $(PERL) cast-586.pl elf $(CLAGS) $(PROCESSOR) > cx86-elf.s) |
57 | |||
58 | # solaris | ||
59 | asm/cx86-sol.o: asm/cx86unix.cpp | ||
60 | $(CC) -E -DSOL asm/cx86unix.cpp | sed 's/^#.*//' > asm/cx86-sol.s | ||
61 | as -o asm/cx86-sol.o asm/cx86-sol.s | ||
62 | rm -f asm/cx86-sol.s | ||
63 | 57 | ||
64 | # a.out | 58 | # a.out |
65 | asm/cx86-out.o: asm/cx86unix.cpp | 59 | asm/cx86-out.o: asm/cx86unix.cpp |
@@ -97,14 +91,14 @@ lint: | |||
97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
98 | 92 | ||
99 | depend: | 93 | depend: |
100 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
101 | 95 | ||
102 | dclean: | 96 | dclean: |
103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
104 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
105 | 99 | ||
106 | clean: | 100 | clean: |
107 | rm -f asm/cx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 101 | rm -f asm/cx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
108 | 102 | ||
109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
110 | 104 | ||
diff --git a/src/lib/libssl/src/crypto/comp/Makefile.ssl b/src/lib/libssl/src/crypto/comp/Makefile.ssl index fd192d35f8..f60c7a1afc 100644 --- a/src/lib/libssl/src/crypto/comp/Makefile.ssl +++ b/src/lib/libssl/src/crypto/comp/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/conf/Makefile.ssl b/src/lib/libssl/src/crypto/conf/Makefile.ssl index 92a796b0ec..28b3f9ac0b 100644 --- a/src/lib/libssl/src/crypto/conf/Makefile.ssl +++ b/src/lib/libssl/src/crypto/conf/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/des/Makefile.ssl b/src/lib/libssl/src/crypto/des/Makefile.ssl index 14baf7d0cc..548573f4b1 100644 --- a/src/lib/libssl/src/crypto/des/Makefile.ssl +++ b/src/lib/libssl/src/crypto/des/Makefile.ssl | |||
@@ -66,22 +66,11 @@ des: des.o cbc3_enc.o lib | |||
66 | $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) | 66 | $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) |
67 | 67 | ||
68 | # elf | 68 | # elf |
69 | asm/dx86-elf.o: asm/dx86unix.cpp | 69 | asm/dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
70 | $(CPP) -DELF -x c asm/dx86unix.cpp | as -o asm/dx86-elf.o | 70 | (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > dx86-elf.s) |
71 | 71 | ||
72 | asm/yx86-elf.o: asm/yx86unix.cpp | 72 | asm/yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
73 | $(CPP) -DELF -x c asm/yx86unix.cpp | as -o asm/yx86-elf.o | 73 | (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > yx86-elf.s) |
74 | |||
75 | # solaris | ||
76 | asm/dx86-sol.o: asm/dx86unix.cpp | ||
77 | $(CC) -E -DSOL asm/dx86unix.cpp | sed 's/^#.*//' > asm/dx86-sol.s | ||
78 | as -o asm/dx86-sol.o asm/dx86-sol.s | ||
79 | rm -f asm/dx86-sol.s | ||
80 | |||
81 | asm/yx86-sol.o: asm/yx86unix.cpp | ||
82 | $(CC) -E -DSOL asm/yx86unix.cpp | sed 's/^#.*//' > asm/yx86-sol.s | ||
83 | as -o asm/yx86-sol.o asm/yx86-sol.s | ||
84 | rm -f asm/yx86-sol.s | ||
85 | 74 | ||
86 | # a.out | 75 | # a.out |
87 | asm/dx86-out.o: asm/dx86unix.cpp | 76 | asm/dx86-out.o: asm/dx86unix.cpp |
@@ -130,14 +119,14 @@ lint: | |||
130 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 119 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
131 | 120 | ||
132 | depend: | 121 | depend: |
133 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 122 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
134 | 123 | ||
135 | dclean: | 124 | dclean: |
136 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 125 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
137 | mv -f Makefile.new $(MAKEFILE) | 126 | mv -f Makefile.new $(MAKEFILE) |
138 | 127 | ||
139 | clean: | 128 | clean: |
140 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff | 129 | rm -f asm/dx86unix.cpp asm/yx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff |
141 | 130 | ||
142 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 131 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
143 | 132 | ||
diff --git a/src/lib/libssl/src/crypto/dh/Makefile.ssl b/src/lib/libssl/src/crypto/dh/Makefile.ssl index caa048825d..1c447e971f 100644 --- a/src/lib/libssl/src/crypto/dh/Makefile.ssl +++ b/src/lib/libssl/src/crypto/dh/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -112,17 +112,14 @@ dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |||
112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | 112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
114 | dh_gen.o: ../cryptlib.h dh_gen.c | 114 | dh_gen.o: ../cryptlib.h dh_gen.c |
115 | dh_key.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | 115 | dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
116 | dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 116 | dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
117 | dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 117 | dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h |
118 | dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 118 | dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
119 | dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 119 | dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
120 | dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 120 | dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
121 | dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
122 | dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
123 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 121 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
124 | dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 122 | dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c |
125 | dh_key.o: ../cryptlib.h dh_key.c | ||
126 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | 123 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h |
127 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 124 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
128 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 125 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h |
diff --git a/src/lib/libssl/src/crypto/dsa/Makefile.ssl b/src/lib/libssl/src/crypto/dsa/Makefile.ssl index 3dbe0d309c..014d006347 100644 --- a/src/lib/libssl/src/crypto/dsa/Makefile.ssl +++ b/src/lib/libssl/src/crypto/dsa/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -143,35 +143,29 @@ dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h | |||
143 | dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 143 | dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
144 | dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 144 | dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
145 | dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 145 | dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
146 | dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 146 | dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
147 | dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 147 | dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
148 | dsa_ossl.o: ../../include/openssl/opensslconf.h | ||
149 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 148 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
150 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | 149 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
151 | dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 150 | dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
152 | dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
153 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c | 151 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c |
154 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h | 152 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h |
155 | dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 153 | dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
156 | dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 154 | dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
157 | dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 155 | dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
158 | dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 156 | dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
159 | dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 157 | dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
160 | dsa_sign.o: ../../include/openssl/opensslconf.h | ||
161 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 158 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
162 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | 159 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h |
163 | dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 160 | dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
164 | dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
165 | dsa_sign.o: ../cryptlib.h dsa_sign.c | 161 | dsa_sign.o: ../cryptlib.h dsa_sign.c |
166 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h | 162 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h |
167 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h | 163 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h |
168 | dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | 164 | dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
169 | dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | 165 | dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h |
170 | dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 166 | dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
171 | dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 167 | dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
172 | dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | 168 | dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
173 | dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 169 | dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
174 | dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
175 | dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 170 | dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
176 | dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 171 | dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c |
177 | dsa_vrf.o: ../cryptlib.h dsa_vrf.c | ||
diff --git a/src/lib/libssl/src/crypto/dso/Makefile.ssl b/src/lib/libssl/src/crypto/dso/Makefile.ssl index f4248aa60c..3d00363bb6 100644 --- a/src/lib/libssl/src/crypto/dso/Makefile.ssl +++ b/src/lib/libssl/src/crypto/dso/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/ec/Makefile.ssl b/src/lib/libssl/src/crypto/ec/Makefile.ssl index 71e4184800..c34a49c1b1 100644 --- a/src/lib/libssl/src/crypto/ec/Makefile.ssl +++ b/src/lib/libssl/src/crypto/ec/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/engine/Makefile.ssl b/src/lib/libssl/src/crypto/engine/Makefile.ssl index 7b73a68f80..847d672400 100644 --- a/src/lib/libssl/src/crypto/engine/Makefile.ssl +++ b/src/lib/libssl/src/crypto/engine/Makefile.ssl | |||
@@ -28,13 +28,13 @@ LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ | |||
28 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ | 28 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_cipher.c tb_digest.c \ |
29 | eng_openssl.c eng_dyn.c eng_cnf.c \ | 29 | eng_openssl.c eng_dyn.c eng_cnf.c \ |
30 | hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ | 30 | hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \ |
31 | hw_openbsd_dev_crypto.c hw_aep.c hw_sureware.c hw_4758_cca.c | 31 | hw_cryptodev.c hw_aep.c hw_sureware.c hw_4758_cca.c |
32 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ | 32 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ |
33 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ | 33 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ |
34 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ | 34 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_cipher.o tb_digest.o \ |
35 | eng_openssl.o eng_dyn.o eng_cnf.o \ | 35 | eng_openssl.o eng_dyn.o eng_cnf.o \ |
36 | hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ | 36 | hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \ |
37 | hw_openbsd_dev_crypto.o hw_aep.o hw_sureware.o hw_4758_cca.o | 37 | hw_cryptodev.o hw_aep.o hw_sureware.o hw_4758_cca.o |
38 | 38 | ||
39 | SRC= $(LIBSRC) | 39 | SRC= $(LIBSRC) |
40 | 40 | ||
@@ -50,7 +50,7 @@ all: lib | |||
50 | 50 | ||
51 | lib: $(LIBOBJ) | 51 | lib: $(LIBOBJ) |
52 | $(AR) $(LIB) $(LIBOBJ) | 52 | $(AR) $(LIB) $(LIBOBJ) |
53 | $(RANLIB) $(LIB) | 53 | $(RANLIB) $(LIB) || echo Never mind. |
54 | @touch lib | 54 | @touch lib |
55 | 55 | ||
56 | files: | 56 | files: |
@@ -82,7 +82,7 @@ lint: | |||
82 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 82 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
83 | 83 | ||
84 | depend: | 84 | depend: |
85 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 85 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
86 | 86 | ||
87 | dclean: | 87 | dclean: |
88 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 88 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -304,6 +304,27 @@ hw_atalla.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |||
304 | hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 304 | hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
305 | hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h | 305 | hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h |
306 | hw_atalla.o: vendor_defns/atalla.h | 306 | hw_atalla.o: vendor_defns/atalla.h |
307 | hw_cryptodev.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | ||
308 | hw_cryptodev.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | ||
309 | hw_cryptodev.o: ../../include/openssl/bn.h ../../include/openssl/cast.h | ||
310 | hw_cryptodev.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | ||
311 | hw_cryptodev.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | ||
312 | hw_cryptodev.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
313 | hw_cryptodev.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
314 | hw_cryptodev.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | ||
315 | hw_cryptodev.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | ||
316 | hw_cryptodev.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | ||
317 | hw_cryptodev.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | ||
318 | hw_cryptodev.o: ../../include/openssl/objects.h | ||
319 | hw_cryptodev.o: ../../include/openssl/opensslconf.h | ||
320 | hw_cryptodev.o: ../../include/openssl/opensslv.h | ||
321 | hw_cryptodev.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
322 | hw_cryptodev.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | ||
323 | hw_cryptodev.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | ||
324 | hw_cryptodev.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | ||
325 | hw_cryptodev.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
326 | hw_cryptodev.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
327 | hw_cryptodev.o: ../../include/openssl/ui_compat.h hw_cryptodev.c | ||
307 | hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h | 328 | hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h |
308 | hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 329 | hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
309 | hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 330 | hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
@@ -354,45 +375,6 @@ hw_nuron.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |||
354 | hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 375 | hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
355 | hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 376 | hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
356 | hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h | 377 | hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h |
357 | hw_openbsd_dev_crypto.o: ../../include/openssl/aes.h | ||
358 | hw_openbsd_dev_crypto.o: ../../include/openssl/asn1.h | ||
359 | hw_openbsd_dev_crypto.o: ../../include/openssl/bio.h | ||
360 | hw_openbsd_dev_crypto.o: ../../include/openssl/blowfish.h | ||
361 | hw_openbsd_dev_crypto.o: ../../include/openssl/bn.h | ||
362 | hw_openbsd_dev_crypto.o: ../../include/openssl/cast.h | ||
363 | hw_openbsd_dev_crypto.o: ../../include/openssl/conf.h | ||
364 | hw_openbsd_dev_crypto.o: ../../include/openssl/crypto.h | ||
365 | hw_openbsd_dev_crypto.o: ../../include/openssl/des.h | ||
366 | hw_openbsd_dev_crypto.o: ../../include/openssl/des_old.h | ||
367 | hw_openbsd_dev_crypto.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | ||
368 | hw_openbsd_dev_crypto.o: ../../include/openssl/e_os2.h | ||
369 | hw_openbsd_dev_crypto.o: ../../include/openssl/engine.h | ||
370 | hw_openbsd_dev_crypto.o: ../../include/openssl/err.h | ||
371 | hw_openbsd_dev_crypto.o: ../../include/openssl/evp.h | ||
372 | hw_openbsd_dev_crypto.o: ../../include/openssl/idea.h | ||
373 | hw_openbsd_dev_crypto.o: ../../include/openssl/lhash.h | ||
374 | hw_openbsd_dev_crypto.o: ../../include/openssl/md2.h | ||
375 | hw_openbsd_dev_crypto.o: ../../include/openssl/md4.h | ||
376 | hw_openbsd_dev_crypto.o: ../../include/openssl/md5.h | ||
377 | hw_openbsd_dev_crypto.o: ../../include/openssl/mdc2.h | ||
378 | hw_openbsd_dev_crypto.o: ../../include/openssl/obj_mac.h | ||
379 | hw_openbsd_dev_crypto.o: ../../include/openssl/objects.h | ||
380 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslconf.h | ||
381 | hw_openbsd_dev_crypto.o: ../../include/openssl/opensslv.h | ||
382 | hw_openbsd_dev_crypto.o: ../../include/openssl/ossl_typ.h | ||
383 | hw_openbsd_dev_crypto.o: ../../include/openssl/rand.h | ||
384 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc2.h | ||
385 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc4.h | ||
386 | hw_openbsd_dev_crypto.o: ../../include/openssl/rc5.h | ||
387 | hw_openbsd_dev_crypto.o: ../../include/openssl/ripemd.h | ||
388 | hw_openbsd_dev_crypto.o: ../../include/openssl/rsa.h | ||
389 | hw_openbsd_dev_crypto.o: ../../include/openssl/safestack.h | ||
390 | hw_openbsd_dev_crypto.o: ../../include/openssl/sha.h | ||
391 | hw_openbsd_dev_crypto.o: ../../include/openssl/stack.h | ||
392 | hw_openbsd_dev_crypto.o: ../../include/openssl/symhacks.h | ||
393 | hw_openbsd_dev_crypto.o: ../../include/openssl/ui.h | ||
394 | hw_openbsd_dev_crypto.o: ../../include/openssl/ui_compat.h ../evp/evp_locl.h | ||
395 | hw_openbsd_dev_crypto.o: eng_int.h hw_openbsd_dev_crypto.c | ||
396 | hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h | 378 | hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h |
397 | hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 379 | hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
398 | hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 380 | hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
diff --git a/src/lib/libssl/src/crypto/err/Makefile.ssl b/src/lib/libssl/src/crypto/err/Makefile.ssl index 22151dd40c..390bde1f16 100644 --- a/src/lib/libssl/src/crypto/err/Makefile.ssl +++ b/src/lib/libssl/src/crypto/err/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/evp/Makefile.ssl b/src/lib/libssl/src/crypto/evp/Makefile.ssl index ea90c44f88..3279be5bda 100644 --- a/src/lib/libssl/src/crypto/evp/Makefile.ssl +++ b/src/lib/libssl/src/crypto/evp/Makefile.ssl | |||
@@ -70,7 +70,7 @@ links: | |||
70 | @$(TOP)/util/point.sh Makefile.ssl Makefile | 70 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
71 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 71 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
72 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 72 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
73 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TESTDATA) | 73 | cp $(TESTDATA) ../../test |
74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
75 | 75 | ||
76 | install: | 76 | install: |
@@ -89,7 +89,7 @@ lint: | |||
89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
90 | 90 | ||
91 | depend: | 91 | depend: |
92 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 92 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
93 | 93 | ||
94 | dclean: | 94 | dclean: |
95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -496,21 +496,19 @@ evp_acnf.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
496 | evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h | 496 | evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h |
497 | evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 497 | evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
498 | evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 498 | evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
499 | evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 499 | evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
500 | evp_acnf.o: ../../include/openssl/err.h ../../include/openssl/evp.h | 500 | evp_acnf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h |
501 | evp_acnf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h | 501 | evp_acnf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h |
502 | evp_acnf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h | 502 | evp_acnf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
503 | evp_acnf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 503 | evp_acnf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h |
504 | evp_acnf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | 504 | evp_acnf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
505 | evp_acnf.o: ../../include/openssl/opensslconf.h | ||
506 | evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 505 | evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
507 | evp_acnf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h | 506 | evp_acnf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h |
508 | evp_acnf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 507 | evp_acnf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h |
509 | evp_acnf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 508 | evp_acnf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h |
510 | evp_acnf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 509 | evp_acnf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
511 | evp_acnf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 510 | evp_acnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
512 | evp_acnf.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 511 | evp_acnf.o: ../../include/openssl/ui_compat.h ../cryptlib.h evp_acnf.c |
513 | evp_acnf.o: ../cryptlib.h evp_acnf.c | ||
514 | evp_enc.o: ../../e_os.h ../../include/openssl/aes.h | 512 | evp_enc.o: ../../e_os.h ../../include/openssl/aes.h |
515 | evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | 513 | evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
516 | evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h | 514 | evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h |
diff --git a/src/lib/libssl/src/crypto/hmac/Makefile.ssl b/src/lib/libssl/src/crypto/hmac/Makefile.ssl index 33e90615d2..d48df0597e 100644 --- a/src/lib/libssl/src/crypto/hmac/Makefile.ssl +++ b/src/lib/libssl/src/crypto/hmac/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -79,21 +79,23 @@ clean: | |||
79 | 79 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
81 | 81 | ||
82 | hmac.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h | 82 | hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h |
83 | hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h | 83 | hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h |
84 | hmac.o: ../../include/openssl/bn.h ../../include/openssl/cast.h | 84 | hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
85 | hmac.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 85 | hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h |
86 | hmac.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | 86 | hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
87 | hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 87 | hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
88 | hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
88 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h | 89 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h |
89 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 90 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
90 | hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | 91 | hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
91 | hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | 92 | hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
92 | hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 93 | hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
93 | hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 94 | hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
94 | hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 95 | hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h |
95 | hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 96 | hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
96 | hmac.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 97 | hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
97 | hmac.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 98 | hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
98 | hmac.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 99 | hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
99 | hmac.o: ../../include/openssl/ui_compat.h hmac.c | 100 | hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
101 | hmac.o: ../cryptlib.h hmac.c | ||
diff --git a/src/lib/libssl/src/crypto/idea/Makefile.ssl b/src/lib/libssl/src/crypto/idea/Makefile.ssl index c9ef2cb15b..ca4b76fc2f 100644 --- a/src/lib/libssl/src/crypto/idea/Makefile.ssl +++ b/src/lib/libssl/src/crypto/idea/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/krb5/Makefile.ssl b/src/lib/libssl/src/crypto/krb5/Makefile.ssl index 8daed59211..7136d7a402 100644 --- a/src/lib/libssl/src/crypto/krb5/Makefile.ssl +++ b/src/lib/libssl/src/crypto/krb5/Makefile.ssl | |||
@@ -41,7 +41,7 @@ all: lib | |||
41 | 41 | ||
42 | lib: $(LIBOBJ) | 42 | lib: $(LIBOBJ) |
43 | $(AR) $(LIB) $(LIBOBJ) | 43 | $(AR) $(LIB) $(LIBOBJ) |
44 | $(RANLIB) $(LIB) | 44 | $(RANLIB) $(LIB) || echo Never mind. |
45 | @touch lib | 45 | @touch lib |
46 | 46 | ||
47 | files: | 47 | files: |
@@ -69,7 +69,7 @@ lint: | |||
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
70 | 70 | ||
71 | depend: | 71 | depend: |
72 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
73 | 73 | ||
74 | dclean: | 74 | dclean: |
75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/lhash/Makefile.ssl b/src/lib/libssl/src/crypto/lhash/Makefile.ssl index 9f65ef9a5a..1902e4a899 100644 --- a/src/lib/libssl/src/crypto/lhash/Makefile.ssl +++ b/src/lib/libssl/src/crypto/lhash/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/md2/Makefile.ssl b/src/lib/libssl/src/crypto/md2/Makefile.ssl index 89a707d053..e5b3265a44 100644 --- a/src/lib/libssl/src/crypto/md2/Makefile.ssl +++ b/src/lib/libssl/src/crypto/md2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -79,8 +79,11 @@ clean: | |||
79 | 79 | ||
80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
81 | 81 | ||
82 | md2_dgst.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
82 | md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h | 83 | md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h |
83 | md2_dgst.o: ../../include/openssl/opensslv.h md2_dgst.c | 84 | md2_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
85 | md2_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
86 | md2_dgst.o: md2_dgst.c | ||
84 | md2_one.o: ../../e_os.h ../../include/openssl/bio.h | 87 | md2_one.o: ../../e_os.h ../../include/openssl/bio.h |
85 | md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 88 | md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
86 | md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 89 | md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
diff --git a/src/lib/libssl/src/crypto/md4/Makefile.ssl b/src/lib/libssl/src/crypto/md4/Makefile.ssl index 9523994691..4d2d7369e6 100644 --- a/src/lib/libssl/src/crypto/md4/Makefile.ssl +++ b/src/lib/libssl/src/crypto/md4/Makefile.ssl | |||
@@ -69,7 +69,7 @@ lint: | |||
69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
70 | 70 | ||
71 | depend: | 71 | depend: |
72 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
73 | 73 | ||
74 | dclean: | 74 | dclean: |
75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -84,5 +84,8 @@ md4_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | |||
84 | md4_dgst.o: ../../include/openssl/opensslconf.h | 84 | md4_dgst.o: ../../include/openssl/opensslconf.h |
85 | md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c | 85 | md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c |
86 | md4_dgst.o: md4_locl.h | 86 | md4_dgst.o: md4_locl.h |
87 | md4_one.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h | 87 | md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
88 | md4_one.o: ../../include/openssl/opensslconf.h md4_one.c | 88 | md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h |
89 | md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
90 | md4_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
91 | md4_one.o: md4_one.c | ||
diff --git a/src/lib/libssl/src/crypto/md5/Makefile.ssl b/src/lib/libssl/src/crypto/md5/Makefile.ssl index 0eea0e5994..56cab5d882 100644 --- a/src/lib/libssl/src/crypto/md5/Makefile.ssl +++ b/src/lib/libssl/src/crypto/md5/Makefile.ssl | |||
@@ -21,14 +21,6 @@ MD5_ASM_OBJ= | |||
21 | 21 | ||
22 | CFLAGS= $(INCLUDES) $(CFLAG) | 22 | CFLAGS= $(INCLUDES) $(CFLAG) |
23 | 23 | ||
24 | # We let the C compiler driver to take care of .s files. This is done in | ||
25 | # order to be excused from maintaining a separate set of architecture | ||
26 | # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC | ||
27 | # gcc, then the driver will automatically translate it to -xarch=v8plus | ||
28 | # and pass it down to assembler. | ||
29 | AS=$(CC) -c | ||
30 | ASFLAGS=$(CFLAGS) | ||
31 | |||
32 | GENERAL=Makefile | 24 | GENERAL=Makefile |
33 | TEST=md5test.c | 25 | TEST=md5test.c |
34 | APPS= | 26 | APPS= |
@@ -55,14 +47,8 @@ lib: $(LIBOBJ) | |||
55 | @touch lib | 47 | @touch lib |
56 | 48 | ||
57 | # elf | 49 | # elf |
58 | asm/mx86-elf.o: asm/mx86unix.cpp | 50 | asm/mx86-elf.s: asm/md5-586.pl ../perlasm/x86asm.pl |
59 | $(CPP) -DELF -x c asm/mx86unix.cpp | as -o asm/mx86-elf.o | 51 | (cd asm; $(PERL) md5-586.pl elf $(CFLAGS) > mx86-elf.s) |
60 | |||
61 | # solaris | ||
62 | asm/mx86-sol.o: asm/mx86unix.cpp | ||
63 | $(CC) -E -DSOL asm/mx86unix.cpp | sed 's/^#.*//' > asm/mx86-sol.s | ||
64 | as -o asm/mx86-sol.o asm/mx86-sol.s | ||
65 | rm -f asm/mx86-sol.s | ||
66 | 52 | ||
67 | # a.out | 53 | # a.out |
68 | asm/mx86-out.o: asm/mx86unix.cpp | 54 | asm/mx86-out.o: asm/mx86unix.cpp |
@@ -118,18 +104,23 @@ lint: | |||
118 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 104 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
119 | 105 | ||
120 | depend: | 106 | depend: |
121 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 107 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
122 | 108 | ||
123 | dclean: | 109 | dclean: |
124 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 110 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
125 | mv -f Makefile.new $(MAKEFILE) | 111 | mv -f Makefile.new $(MAKEFILE) |
126 | 112 | ||
127 | clean: | 113 | clean: |
128 | rm -f asm/mx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 114 | rm -f asm/mx86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
129 | 115 | ||
130 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 116 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
131 | 117 | ||
132 | md5_dgst.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h | 118 | md5_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md5.h |
119 | md5_dgst.o: ../../include/openssl/opensslconf.h | ||
133 | md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c | 120 | md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c |
134 | md5_dgst.o: md5_locl.h | 121 | md5_dgst.o: md5_locl.h |
135 | md5_one.o: ../../include/openssl/md5.h md5_one.c | 122 | md5_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
123 | md5_one.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h | ||
124 | md5_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
125 | md5_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
126 | md5_one.o: md5_one.c | ||
diff --git a/src/lib/libssl/src/crypto/mdc2/Makefile.ssl b/src/lib/libssl/src/crypto/mdc2/Makefile.ssl index ea2b318378..387d7f8cd8 100644 --- a/src/lib/libssl/src/crypto/mdc2/Makefile.ssl +++ b/src/lib/libssl/src/crypto/mdc2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/objects/Makefile.ssl b/src/lib/libssl/src/crypto/objects/Makefile.ssl index dda444fad2..1f5d213495 100644 --- a/src/lib/libssl/src/crypto/objects/Makefile.ssl +++ b/src/lib/libssl/src/crypto/objects/Makefile.ssl | |||
@@ -76,7 +76,7 @@ lint: | |||
76 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 76 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
77 | 77 | ||
78 | depend: | 78 | depend: |
79 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 79 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
80 | 80 | ||
81 | dclean: | 81 | dclean: |
82 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 82 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/ocsp/Makefile.ssl b/src/lib/libssl/src/crypto/ocsp/Makefile.ssl index f5260abaed..8d5a85a55c 100644 --- a/src/lib/libssl/src/crypto/ocsp/Makefile.ssl +++ b/src/lib/libssl/src/crypto/ocsp/Makefile.ssl | |||
@@ -43,7 +43,7 @@ all: lib | |||
43 | 43 | ||
44 | lib: $(LIBOBJ) | 44 | lib: $(LIBOBJ) |
45 | $(AR) $(LIB) $(LIBOBJ) | 45 | $(AR) $(LIB) $(LIBOBJ) |
46 | $(RANLIB) $(LIB) | 46 | $(RANLIB) $(LIB) || echo Never mind. |
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | files: | 49 | files: |
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/pem/Makefile.ssl b/src/lib/libssl/src/crypto/pem/Makefile.ssl index 2cf868dffd..90eda931f7 100644 --- a/src/lib/libssl/src/crypto/pem/Makefile.ssl +++ b/src/lib/libssl/src/crypto/pem/Makefile.ssl | |||
@@ -71,7 +71,7 @@ lint: | |||
71 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 71 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
72 | 72 | ||
73 | depend: | 73 | depend: |
74 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) | 74 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) |
75 | 75 | ||
76 | dclean: | 76 | dclean: |
77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 77 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/pkcs12/Makefile.ssl b/src/lib/libssl/src/crypto/pkcs12/Makefile.ssl index 747693d7e1..b4c564262c 100644 --- a/src/lib/libssl/src/crypto/pkcs12/Makefile.ssl +++ b/src/lib/libssl/src/crypto/pkcs12/Makefile.ssl | |||
@@ -74,7 +74,7 @@ lint: | |||
74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
75 | 75 | ||
76 | depend: | 76 | depend: |
77 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 77 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
78 | 78 | ||
79 | dclean: | 79 | dclean: |
80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/pkcs7/Makefile.ssl b/src/lib/libssl/src/crypto/pkcs7/Makefile.ssl index f82fd72633..69cddb04b8 100644 --- a/src/lib/libssl/src/crypto/pkcs7/Makefile.ssl +++ b/src/lib/libssl/src/crypto/pkcs7/Makefile.ssl | |||
@@ -89,7 +89,7 @@ lint: | |||
89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
90 | 90 | ||
91 | depend: | 91 | depend: |
92 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 92 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
93 | 93 | ||
94 | dclean: | 94 | dclean: |
95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 95 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/rand/Makefile.ssl b/src/lib/libssl/src/crypto/rand/Makefile.ssl index befcee1cbb..b25421e3ab 100644 --- a/src/lib/libssl/src/crypto/rand/Makefile.ssl +++ b/src/lib/libssl/src/crypto/rand/Makefile.ssl | |||
@@ -70,7 +70,7 @@ lint: | |||
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 70 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
71 | 71 | ||
72 | depend: | 72 | depend: |
73 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 73 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
74 | 74 | ||
75 | dclean: | 75 | dclean: |
76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/rc2/Makefile.ssl b/src/lib/libssl/src/crypto/rc2/Makefile.ssl index 06090646fb..aa73dea5b6 100644 --- a/src/lib/libssl/src/crypto/rc2/Makefile.ssl +++ b/src/lib/libssl/src/crypto/rc2/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/rc4/Makefile.ssl b/src/lib/libssl/src/crypto/rc4/Makefile.ssl index 05db5e11de..b210b42f8f 100644 --- a/src/lib/libssl/src/crypto/rc4/Makefile.ssl +++ b/src/lib/libssl/src/crypto/rc4/Makefile.ssl | |||
@@ -52,14 +52,8 @@ lib: $(LIBOBJ) | |||
52 | @touch lib | 52 | @touch lib |
53 | 53 | ||
54 | # elf | 54 | # elf |
55 | asm/rx86-elf.o: asm/rx86unix.cpp | 55 | asm/rx86-elf.s: asm/rc4-586.pl ../perlasm/x86asm.pl |
56 | $(CPP) -DELF -x c asm/rx86unix.cpp | as -o asm/rx86-elf.o | 56 | (cd asm; $(PERL) rc4-586.pl elf $(CFLAGS) > rx86-elf.s) |
57 | |||
58 | # solaris | ||
59 | asm/rx86-sol.o: asm/rx86unix.cpp | ||
60 | $(CC) -E -DSOL asm/rx86unix.cpp | sed 's/^#.*//' > asm/rx86-sol.s | ||
61 | as -o asm/rx86-sol.o asm/rx86-sol.s | ||
62 | rm -f asm/rx86-sol.s | ||
63 | 57 | ||
64 | # a.out | 58 | # a.out |
65 | asm/rx86-out.o: asm/rx86unix.cpp | 59 | asm/rx86-out.o: asm/rx86unix.cpp |
@@ -97,14 +91,14 @@ lint: | |||
97 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 91 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
98 | 92 | ||
99 | depend: | 93 | depend: |
100 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
101 | 95 | ||
102 | dclean: | 96 | dclean: |
103 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
104 | mv -f Makefile.new $(MAKEFILE) | 98 | mv -f Makefile.new $(MAKEFILE) |
105 | 99 | ||
106 | clean: | 100 | clean: |
107 | rm -f asm/rx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | 101 | rm -f asm/rx86unix.cpp asm/*-elf.* *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o |
108 | 102 | ||
109 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
110 | 104 | ||
diff --git a/src/lib/libssl/src/crypto/rc5/Makefile.ssl b/src/lib/libssl/src/crypto/rc5/Makefile.ssl index 704976b60f..3ad6655946 100644 --- a/src/lib/libssl/src/crypto/rc5/Makefile.ssl +++ b/src/lib/libssl/src/crypto/rc5/Makefile.ssl | |||
@@ -49,14 +49,8 @@ lib: $(LIBOBJ) | |||
49 | @touch lib | 49 | @touch lib |
50 | 50 | ||
51 | # elf | 51 | # elf |
52 | asm/r586-elf.o: asm/r586unix.cpp | 52 | asm/r586-elf.s: asm/rc5-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
53 | $(CPP) -DELF -x c asm/r586unix.cpp | as -o asm/r586-elf.o | 53 | (cd asm; $(PERL) rc5-586.pl elf $(CFLAGS) > r586-elf.s) |
54 | |||
55 | # solaris | ||
56 | asm/r586-sol.o: asm/r586unix.cpp | ||
57 | $(CC) -E -DSOL asm/r586unix.cpp | sed 's/^#.*//' > asm/r586-sol.s | ||
58 | as -o asm/r586-sol.o asm/r586-sol.s | ||
59 | rm -f asm/r586-sol.s | ||
60 | 54 | ||
61 | # a.out | 55 | # a.out |
62 | asm/r586-out.o: asm/r586unix.cpp | 56 | asm/r586-out.o: asm/r586unix.cpp |
@@ -94,14 +88,14 @@ lint: | |||
94 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 88 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
95 | 89 | ||
96 | depend: | 90 | depend: |
97 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 91 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
98 | 92 | ||
99 | dclean: | 93 | dclean: |
100 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 94 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
101 | mv -f Makefile.new $(MAKEFILE) | 95 | mv -f Makefile.new $(MAKEFILE) |
102 | 96 | ||
103 | clean: | 97 | clean: |
104 | rm -f asm/r586unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 98 | rm -f asm/r586unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
105 | 99 | ||
106 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 100 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
107 | 101 | ||
diff --git a/src/lib/libssl/src/crypto/ripemd/Makefile.ssl b/src/lib/libssl/src/crypto/ripemd/Makefile.ssl index c129ae141a..3583dfdcaf 100644 --- a/src/lib/libssl/src/crypto/ripemd/Makefile.ssl +++ b/src/lib/libssl/src/crypto/ripemd/Makefile.ssl | |||
@@ -47,14 +47,8 @@ lib: $(LIBOBJ) | |||
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | # elf | 49 | # elf |
50 | asm/rm86-elf.o: asm/rm86unix.cpp | 50 | asm/rm86-elf.s: asm/rmd-586.pl ../perlasm/x86asm.pl |
51 | $(CPP) -DELF -x c asm/rm86unix.cpp | as -o asm/rm86-elf.o | 51 | (cd asm; $(PERL) rmd-586.pl elf $(CFLAGS) > rm86-elf.s) |
52 | |||
53 | # solaris | ||
54 | asm/rm86-sol.o: asm/rm86unix.cpp | ||
55 | $(CC) -E -DSOL asm/rm86unix.cpp | sed 's/^#.*//' > asm/rm86-sol.s | ||
56 | as -o asm/rm86-sol.o asm/rm86-sol.s | ||
57 | rm -f asm/rm86-sol.s | ||
58 | 52 | ||
59 | # a.out | 53 | # a.out |
60 | asm/rm86-out.o: asm/rm86unix.cpp | 54 | asm/rm86-out.o: asm/rm86unix.cpp |
@@ -92,19 +86,22 @@ lint: | |||
92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 86 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
93 | 87 | ||
94 | depend: | 88 | depend: |
95 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 89 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
96 | 90 | ||
97 | dclean: | 91 | dclean: |
98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 92 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
99 | mv -f Makefile.new $(MAKEFILE) | 93 | mv -f Makefile.new $(MAKEFILE) |
100 | 94 | ||
101 | clean: | 95 | clean: |
102 | rm -f asm/rm86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | 96 | rm -f asm/rm86unix.cpp asm/*-elf.* *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
103 | 97 | ||
104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 98 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
105 | 99 | ||
106 | rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 100 | rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
107 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h | 101 | rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h |
108 | rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h | 102 | rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h |
109 | rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 103 | rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
110 | rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c | 104 | rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
105 | rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h | ||
106 | rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
107 | rmd_one.o: rmd_one.c | ||
diff --git a/src/lib/libssl/src/crypto/rsa/Makefile.ssl b/src/lib/libssl/src/crypto/rsa/Makefile.ssl index 34da0ef2c3..ce3f818e5b 100644 --- a/src/lib/libssl/src/crypto/rsa/Makefile.ssl +++ b/src/lib/libssl/src/crypto/rsa/Makefile.ssl | |||
@@ -72,7 +72,7 @@ lint: | |||
72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
73 | 73 | ||
74 | depend: | 74 | depend: |
75 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 75 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
76 | 76 | ||
77 | dclean: | 77 | dclean: |
78 | $(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 |
@@ -104,14 +104,12 @@ rsa_chk.o: rsa_chk.c | |||
104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h | 104 | rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h |
105 | rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.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 | 106 | rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
107 | rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | 107 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
108 | rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h | 108 | rsa_eay.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
109 | rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 109 | rsa_eay.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
110 | rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 110 | rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h |
111 | rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | 111 | rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
112 | rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 112 | rsa_eay.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_eay.c |
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 | 113 | rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
116 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | 114 | rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h |
117 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 115 | rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
@@ -217,21 +215,21 @@ rsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h | |||
217 | rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 215 | rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
218 | rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h | 216 | rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h |
219 | rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 217 | rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
220 | rsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h | 218 | rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h |
221 | rsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h | 219 | rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h |
222 | rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h | 220 | rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h |
223 | rsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h | 221 | rsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h |
224 | rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | 222 | rsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
225 | rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 223 | rsa_sign.o: ../../include/openssl/opensslconf.h |
226 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | 224 | rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
227 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h | 225 | rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h |
228 | rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h | 226 | rsa_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
229 | rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h | 227 | rsa_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
230 | rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | 228 | rsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
231 | rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | 229 | rsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
232 | rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 230 | rsa_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
233 | rsa_sign.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h | 231 | rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
234 | rsa_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_sign.c | 232 | rsa_sign.o: ../cryptlib.h rsa_sign.c |
235 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h | 233 | rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h |
236 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | 234 | rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
237 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 235 | rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
diff --git a/src/lib/libssl/src/crypto/sha/Makefile.ssl b/src/lib/libssl/src/crypto/sha/Makefile.ssl index 39d11ff172..864645c8b5 100644 --- a/src/lib/libssl/src/crypto/sha/Makefile.ssl +++ b/src/lib/libssl/src/crypto/sha/Makefile.ssl | |||
@@ -47,14 +47,8 @@ lib: $(LIBOBJ) | |||
47 | @touch lib | 47 | @touch lib |
48 | 48 | ||
49 | # elf | 49 | # elf |
50 | asm/sx86-elf.o: asm/sx86unix.cpp | 50 | asm/sx86-elf.s: asm/sha1-586.pl ../perlasm/x86asm.pl |
51 | $(CPP) -DELF -x c asm/sx86unix.cpp | as -o asm/sx86-elf.o | 51 | (cd asm; $(PERL) sha1-586.pl elf $(CFLAGS) $(PROCESSOR) > sx86-elf.s) |
52 | |||
53 | # solaris | ||
54 | asm/sx86-sol.o: asm/sx86unix.cpp | ||
55 | $(CC) -E -DSOL asm/sx86unix.cpp | sed 's/^#.*//' > asm/sx86-sol.s | ||
56 | as -o asm/sx86-sol.o asm/sx86-sol.s | ||
57 | rm -f asm/sx86-sol.s | ||
58 | 52 | ||
59 | # a.out | 53 | # a.out |
60 | asm/sx86-out.o: asm/sx86unix.cpp | 54 | asm/sx86-out.o: asm/sx86unix.cpp |
@@ -92,24 +86,30 @@ lint: | |||
92 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 86 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
93 | 87 | ||
94 | depend: | 88 | depend: |
95 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 89 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
96 | 90 | ||
97 | dclean: | 91 | dclean: |
98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 92 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
99 | mv -f Makefile.new $(MAKEFILE) | 93 | mv -f Makefile.new $(MAKEFILE) |
100 | 94 | ||
101 | clean: | 95 | clean: |
102 | rm -f asm/sx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o | 96 | rm -f asm/sx86unix.cpp asm/*-elf.* *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o |
103 | 97 | ||
104 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 98 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
105 | 99 | ||
106 | sha1_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 100 | sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
107 | sha1_one.o: ../../include/openssl/sha.h sha1_one.c | 101 | sha1_one.o: ../../include/openssl/opensslconf.h |
102 | sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
103 | sha1_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
104 | sha1_one.o: ../../include/openssl/symhacks.h sha1_one.c | ||
108 | sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 105 | sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
109 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | 106 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h |
110 | sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h | 107 | sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h |
111 | sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 108 | sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
112 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | 109 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h |
113 | sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h | 110 | sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h |
114 | sha_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 111 | sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
115 | sha_one.o: ../../include/openssl/sha.h sha_one.c | 112 | sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
113 | sha_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | ||
114 | sha_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
115 | sha_one.o: sha_one.c | ||
diff --git a/src/lib/libssl/src/crypto/stack/Makefile.ssl b/src/lib/libssl/src/crypto/stack/Makefile.ssl index 6652c3e273..e4acfe6aba 100644 --- a/src/lib/libssl/src/crypto/stack/Makefile.ssl +++ b/src/lib/libssl/src/crypto/stack/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/txt_db/Makefile.ssl b/src/lib/libssl/src/crypto/txt_db/Makefile.ssl index ca5e678f09..313f75313b 100644 --- a/src/lib/libssl/src/crypto/txt_db/Makefile.ssl +++ b/src/lib/libssl/src/crypto/txt_db/Makefile.ssl | |||
@@ -68,7 +68,7 @@ lint: | |||
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 68 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
69 | 69 | ||
70 | depend: | 70 | depend: |
71 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 71 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
72 | 72 | ||
73 | dclean: | 73 | dclean: |
74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/ui/Makefile.ssl b/src/lib/libssl/src/crypto/ui/Makefile.ssl index 202a32fd48..90ae7d4a4a 100644 --- a/src/lib/libssl/src/crypto/ui/Makefile.ssl +++ b/src/lib/libssl/src/crypto/ui/Makefile.ssl | |||
@@ -44,7 +44,7 @@ all: lib | |||
44 | 44 | ||
45 | lib: $(LIBOBJ) | 45 | lib: $(LIBOBJ) |
46 | $(AR) $(LIB) $(LIBOBJ) | 46 | $(AR) $(LIB) $(LIBOBJ) |
47 | $(RANLIB) $(LIB) | 47 | $(RANLIB) $(LIB) || echo Never mind. |
48 | @touch lib | 48 | @touch lib |
49 | 49 | ||
50 | files: | 50 | files: |
@@ -72,7 +72,7 @@ lint: | |||
72 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 72 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
73 | 73 | ||
74 | depend: | 74 | depend: |
75 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 75 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
76 | 76 | ||
77 | dclean: | 77 | dclean: |
78 | $(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 |
@@ -95,13 +95,13 @@ ui_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |||
95 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | 95 | ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
96 | ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 96 | ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
97 | ui_err.o: ../../include/openssl/ui.h ui_err.c | 97 | ui_err.o: ../../include/openssl/ui.h ui_err.c |
98 | ui_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | 98 | ui_lib.o: ../../e_os.h ../../include/openssl/bio.h |
99 | ui_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 99 | ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
100 | ui_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 100 | ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
101 | ui_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 101 | ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
102 | ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 102 | ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h |
103 | ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_lib.c | 103 | ui_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
104 | ui_lib.o: ui_locl.h | 104 | ui_lib.o: ../../include/openssl/ui.h ../cryptlib.h ui_lib.c ui_locl.h |
105 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h | 105 | ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h |
106 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | 106 | ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
107 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | 107 | ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
diff --git a/src/lib/libssl/src/crypto/x509/Makefile.ssl b/src/lib/libssl/src/crypto/x509/Makefile.ssl index 66727f81d3..6a5a879691 100644 --- a/src/lib/libssl/src/crypto/x509/Makefile.ssl +++ b/src/lib/libssl/src/crypto/x509/Makefile.ssl | |||
@@ -78,7 +78,7 @@ lint: | |||
78 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 78 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
79 | 79 | ||
80 | depend: | 80 | depend: |
81 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 81 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
82 | 82 | ||
83 | dclean: | 83 | dclean: |
84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 84 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/crypto/x509v3/Makefile.ssl b/src/lib/libssl/src/crypto/x509v3/Makefile.ssl index 3b4ee420fa..5ca169c37c 100644 --- a/src/lib/libssl/src/crypto/x509v3/Makefile.ssl +++ b/src/lib/libssl/src/crypto/x509v3/Makefile.ssl | |||
@@ -74,7 +74,7 @@ lint: | |||
74 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 74 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
75 | 75 | ||
76 | depend: | 76 | depend: |
77 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 77 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
78 | 78 | ||
79 | dclean: | 79 | dclean: |
80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 80 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
diff --git a/src/lib/libssl/src/ssl/Makefile.ssl b/src/lib/libssl/src/ssl/Makefile.ssl index d151d533b6..e36a79b2d6 100644 --- a/src/lib/libssl/src/ssl/Makefile.ssl +++ b/src/lib/libssl/src/ssl/Makefile.ssl | |||
@@ -17,7 +17,6 @@ MAKEFILE= Makefile.ssl | |||
17 | AR= ar r | 17 | AR= ar r |
18 | # KRB5 stuff | 18 | # KRB5 stuff |
19 | KRB5_INCLUDES= | 19 | KRB5_INCLUDES= |
20 | LIBKRB5= | ||
21 | 20 | ||
22 | CFLAGS= $(INCLUDES) $(CFLAG) | 21 | CFLAGS= $(INCLUDES) $(CFLAG) |
23 | 22 | ||
@@ -93,7 +92,7 @@ lint: | |||
93 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 92 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
94 | 93 | ||
95 | depend: | 94 | depend: |
96 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) | 95 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
97 | 96 | ||
98 | dclean: | 97 | dclean: |
99 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 98 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -307,31 +306,32 @@ s2_clnt.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
307 | s2_clnt.o: ../include/openssl/tls1.h ../include/openssl/ui.h | 306 | s2_clnt.o: ../include/openssl/tls1.h ../include/openssl/ui.h |
308 | s2_clnt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 307 | s2_clnt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
309 | s2_clnt.o: ../include/openssl/x509_vfy.h s2_clnt.c ssl_locl.h | 308 | s2_clnt.o: ../include/openssl/x509_vfy.h s2_clnt.c ssl_locl.h |
310 | s2_enc.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 309 | s2_enc.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
311 | s2_enc.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 310 | s2_enc.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
312 | s2_enc.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 311 | s2_enc.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
313 | s2_enc.o: ../include/openssl/cast.h ../include/openssl/comp.h | 312 | s2_enc.o: ../include/openssl/buffer.h ../include/openssl/cast.h |
314 | s2_enc.o: ../include/openssl/crypto.h ../include/openssl/des.h | 313 | s2_enc.o: ../include/openssl/comp.h ../include/openssl/crypto.h |
315 | s2_enc.o: ../include/openssl/des_old.h ../include/openssl/dh.h | 314 | s2_enc.o: ../include/openssl/des.h ../include/openssl/des_old.h |
316 | s2_enc.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 315 | s2_enc.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
317 | s2_enc.o: ../include/openssl/err.h ../include/openssl/evp.h | 316 | s2_enc.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
318 | s2_enc.o: ../include/openssl/idea.h ../include/openssl/kssl.h | 317 | s2_enc.o: ../include/openssl/evp.h ../include/openssl/idea.h |
319 | s2_enc.o: ../include/openssl/lhash.h ../include/openssl/md2.h | 318 | s2_enc.o: ../include/openssl/kssl.h ../include/openssl/lhash.h |
320 | s2_enc.o: ../include/openssl/md4.h ../include/openssl/md5.h | 319 | s2_enc.o: ../include/openssl/md2.h ../include/openssl/md4.h |
321 | s2_enc.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | 320 | s2_enc.o: ../include/openssl/md5.h ../include/openssl/mdc2.h |
322 | s2_enc.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 321 | s2_enc.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
323 | s2_enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 322 | s2_enc.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
324 | s2_enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 323 | s2_enc.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
325 | s2_enc.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h | 324 | s2_enc.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
326 | s2_enc.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | 325 | s2_enc.o: ../include/openssl/rc2.h ../include/openssl/rc4.h |
327 | s2_enc.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | 326 | s2_enc.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h |
328 | s2_enc.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 327 | s2_enc.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
329 | s2_enc.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h | 328 | s2_enc.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
330 | s2_enc.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h | 329 | s2_enc.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
331 | s2_enc.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 330 | s2_enc.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
332 | s2_enc.o: ../include/openssl/tls1.h ../include/openssl/ui.h | 331 | s2_enc.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
333 | s2_enc.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 332 | s2_enc.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
334 | s2_enc.o: ../include/openssl/x509_vfy.h s2_enc.c ssl_locl.h | 333 | s2_enc.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h s2_enc.c |
334 | s2_enc.o: ssl_locl.h | ||
335 | s2_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h | 335 | s2_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
336 | s2_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 336 | s2_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
337 | s2_lib.o: ../include/openssl/blowfish.h ../include/openssl/bn.h | 337 | s2_lib.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
@@ -383,31 +383,32 @@ s2_meth.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
383 | s2_meth.o: ../include/openssl/tls1.h ../include/openssl/ui.h | 383 | s2_meth.o: ../include/openssl/tls1.h ../include/openssl/ui.h |
384 | s2_meth.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 384 | s2_meth.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
385 | s2_meth.o: ../include/openssl/x509_vfy.h s2_meth.c ssl_locl.h | 385 | s2_meth.o: ../include/openssl/x509_vfy.h s2_meth.c ssl_locl.h |
386 | s2_pkt.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 386 | s2_pkt.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
387 | s2_pkt.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 387 | s2_pkt.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
388 | s2_pkt.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 388 | s2_pkt.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
389 | s2_pkt.o: ../include/openssl/cast.h ../include/openssl/comp.h | 389 | s2_pkt.o: ../include/openssl/buffer.h ../include/openssl/cast.h |
390 | s2_pkt.o: ../include/openssl/crypto.h ../include/openssl/des.h | 390 | s2_pkt.o: ../include/openssl/comp.h ../include/openssl/crypto.h |
391 | s2_pkt.o: ../include/openssl/des_old.h ../include/openssl/dh.h | 391 | s2_pkt.o: ../include/openssl/des.h ../include/openssl/des_old.h |
392 | s2_pkt.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 392 | s2_pkt.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
393 | s2_pkt.o: ../include/openssl/err.h ../include/openssl/evp.h | 393 | s2_pkt.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
394 | s2_pkt.o: ../include/openssl/idea.h ../include/openssl/kssl.h | 394 | s2_pkt.o: ../include/openssl/evp.h ../include/openssl/idea.h |
395 | s2_pkt.o: ../include/openssl/lhash.h ../include/openssl/md2.h | 395 | s2_pkt.o: ../include/openssl/kssl.h ../include/openssl/lhash.h |
396 | s2_pkt.o: ../include/openssl/md4.h ../include/openssl/md5.h | 396 | s2_pkt.o: ../include/openssl/md2.h ../include/openssl/md4.h |
397 | s2_pkt.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | 397 | s2_pkt.o: ../include/openssl/md5.h ../include/openssl/mdc2.h |
398 | s2_pkt.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 398 | s2_pkt.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
399 | s2_pkt.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 399 | s2_pkt.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
400 | s2_pkt.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 400 | s2_pkt.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
401 | s2_pkt.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h | 401 | s2_pkt.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
402 | s2_pkt.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | 402 | s2_pkt.o: ../include/openssl/rc2.h ../include/openssl/rc4.h |
403 | s2_pkt.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | 403 | s2_pkt.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h |
404 | s2_pkt.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 404 | s2_pkt.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
405 | s2_pkt.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h | 405 | s2_pkt.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
406 | s2_pkt.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h | 406 | s2_pkt.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
407 | s2_pkt.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 407 | s2_pkt.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
408 | s2_pkt.o: ../include/openssl/tls1.h ../include/openssl/ui.h | 408 | s2_pkt.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
409 | s2_pkt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 409 | s2_pkt.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
410 | s2_pkt.o: ../include/openssl/x509_vfy.h s2_pkt.c ssl_locl.h | 410 | s2_pkt.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h s2_pkt.c |
411 | s2_pkt.o: ssl_locl.h | ||
411 | s2_srvr.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h | 412 | s2_srvr.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
412 | s2_srvr.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 413 | s2_srvr.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
413 | s2_srvr.o: ../include/openssl/blowfish.h ../include/openssl/bn.h | 414 | s2_srvr.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
@@ -765,32 +766,33 @@ ssl_err2.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
765 | ssl_err2.o: ../include/openssl/tls1.h ../include/openssl/ui.h | 766 | ssl_err2.o: ../include/openssl/tls1.h ../include/openssl/ui.h |
766 | ssl_err2.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 767 | ssl_err2.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
767 | ssl_err2.o: ../include/openssl/x509_vfy.h ssl_err2.c | 768 | ssl_err2.o: ../include/openssl/x509_vfy.h ssl_err2.c |
768 | ssl_lib.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 769 | ssl_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h |
769 | ssl_lib.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 770 | ssl_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
770 | ssl_lib.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 771 | ssl_lib.o: ../include/openssl/blowfish.h ../include/openssl/bn.h |
771 | ssl_lib.o: ../include/openssl/cast.h ../include/openssl/comp.h | 772 | ssl_lib.o: ../include/openssl/buffer.h ../include/openssl/cast.h |
772 | ssl_lib.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 773 | ssl_lib.o: ../include/openssl/comp.h ../include/openssl/conf.h |
773 | ssl_lib.o: ../include/openssl/des.h ../include/openssl/des_old.h | 774 | ssl_lib.o: ../include/openssl/crypto.h ../include/openssl/des.h |
774 | ssl_lib.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 775 | ssl_lib.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
775 | ssl_lib.o: ../include/openssl/e_os2.h ../include/openssl/err.h | 776 | ssl_lib.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
776 | ssl_lib.o: ../include/openssl/evp.h ../include/openssl/idea.h | 777 | ssl_lib.o: ../include/openssl/err.h ../include/openssl/evp.h |
777 | ssl_lib.o: ../include/openssl/kssl.h ../include/openssl/lhash.h | 778 | ssl_lib.o: ../include/openssl/idea.h ../include/openssl/kssl.h |
778 | ssl_lib.o: ../include/openssl/md2.h ../include/openssl/md4.h | 779 | ssl_lib.o: ../include/openssl/lhash.h ../include/openssl/md2.h |
779 | ssl_lib.o: ../include/openssl/md5.h ../include/openssl/mdc2.h | 780 | ssl_lib.o: ../include/openssl/md4.h ../include/openssl/md5.h |
780 | ssl_lib.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 781 | ssl_lib.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h |
781 | ssl_lib.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 782 | ssl_lib.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
782 | ssl_lib.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 783 | ssl_lib.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
783 | ssl_lib.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 784 | ssl_lib.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
784 | ssl_lib.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | 785 | ssl_lib.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h |
785 | ssl_lib.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | 786 | ssl_lib.o: ../include/openssl/rc4.h ../include/openssl/rc5.h |
786 | ssl_lib.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 787 | ssl_lib.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h |
787 | ssl_lib.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 788 | ssl_lib.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
788 | ssl_lib.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 789 | ssl_lib.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h |
789 | ssl_lib.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 790 | ssl_lib.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h |
790 | ssl_lib.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 791 | ssl_lib.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
791 | ssl_lib.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | 792 | ssl_lib.o: ../include/openssl/tls1.h ../include/openssl/ui.h |
792 | ssl_lib.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 793 | ssl_lib.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
793 | ssl_lib.o: ../include/openssl/x509v3.h kssl_lcl.h ssl_lib.c ssl_locl.h | 794 | ssl_lib.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h kssl_lcl.h |
795 | ssl_lib.o: ssl_lib.c ssl_locl.h | ||
794 | ssl_rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 796 | ssl_rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
795 | ssl_rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 797 | ssl_rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
796 | ssl_rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 798 | ssl_rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
diff --git a/src/lib/libssl/src/test/Makefile.ssl b/src/lib/libssl/src/test/Makefile.ssl index feac171bfe..a3339ca5d5 100644 --- a/src/lib/libssl/src/test/Makefile.ssl +++ b/src/lib/libssl/src/test/Makefile.ssl | |||
@@ -15,6 +15,9 @@ MAKE= make -f $(MAKEFILE) | |||
15 | MAKEDEPPROG= makedepend | 15 | MAKEDEPPROG= makedepend |
16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) |
17 | PERL= perl | 17 | PERL= perl |
18 | # KRB5 stuff | ||
19 | KRB5_INCLUDES= | ||
20 | LIBKRB5= | ||
18 | 21 | ||
19 | PEX_LIBS= | 22 | PEX_LIBS= |
20 | EX_LIBS= #-lnsl -lsocket | 23 | EX_LIBS= #-lnsl -lsocket |
@@ -116,158 +119,162 @@ tags: | |||
116 | tests: exe apps $(TESTS) | 119 | tests: exe apps $(TESTS) |
117 | 120 | ||
118 | apps: | 121 | apps: |
119 | @(cd ../apps; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' all) | 122 | @(cd ..; $(MAKE) DIRS=apps all) |
120 | 123 | ||
121 | alltests: | 124 | SET_SO_PATHS=OSSL_LIBPATH="`cd ..; pwd`"; \ |
122 | (LIBPATH="`cd ..; pwd`"; LD_LIBRARY_PATH=$$LIBPATH; DYLD_LIBRARY_PATH=$$LIBPATH; SHLIB_PATH=$$LIBPATH; \ | 125 | LD_LIBRARY_PATH="$$OSSL_LIBPATH:$$LD_LIBRARY_PATH"; \ |
123 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 126 | DYLD_LIBRARY_PATH="$$OSSL_LIBPATH:$$DYLD_LIBRARY_PATH"; \ |
124 | $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' alltests.chooser) | 127 | SHLIB_PATH="$$OSSL_LIBPATH:$$SHLIB_PATH"; \ |
125 | alltests.chooser: \ | 128 | LIBPATH="$$OSSL_LIBPATH:$$LIBPATH"; \ |
129 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="$${LIBPATH}:$$PATH"; fi; \ | ||
130 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH | ||
131 | |||
132 | alltests: \ | ||
126 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ | 133 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ |
127 | test_md2 test_mdc2 \ | 134 | test_md2 test_mdc2 \ |
128 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_rd \ | 135 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \ |
129 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ | 136 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ |
130 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ | 137 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ |
131 | test_ss test_ca test_engine test_evp test_ssl | 138 | test_ss test_ca test_engine test_evp test_ssl |
132 | 139 | ||
133 | test_evp: | 140 | test_evp: |
134 | ./$(EVPTEST) evptests.txt | 141 | $(SET_SO_PATHS); ./$(EVPTEST) evptests.txt |
135 | 142 | ||
136 | test_des: | 143 | test_des: |
137 | ./$(DESTEST) | 144 | $(SET_SO_PATHS); ./$(DESTEST) |
138 | 145 | ||
139 | test_idea: | 146 | test_idea: |
140 | ./$(IDEATEST) | 147 | $(SET_SO_PATHS); ./$(IDEATEST) |
141 | 148 | ||
142 | test_sha: | 149 | test_sha: |
143 | ./$(SHATEST) | 150 | $(SET_SO_PATHS); ./$(SHATEST) |
144 | ./$(SHA1TEST) | 151 | $(SET_SO_PATHS); ./$(SHA1TEST) |
145 | 152 | ||
146 | test_mdc2: | 153 | test_mdc2: |
147 | ./$(MDC2TEST) | 154 | $(SET_SO_PATHS); ./$(MDC2TEST) |
148 | 155 | ||
149 | test_md5: | 156 | test_md5: |
150 | ./$(MD5TEST) | 157 | $(SET_SO_PATHS); ./$(MD5TEST) |
151 | 158 | ||
152 | test_md4: | 159 | test_md4: |
153 | ./$(MD4TEST) | 160 | $(SET_SO_PATHS); ./$(MD4TEST) |
154 | 161 | ||
155 | test_hmac: | 162 | test_hmac: |
156 | ./$(HMACTEST) | 163 | $(SET_SO_PATHS); ./$(HMACTEST) |
157 | 164 | ||
158 | test_md2: | 165 | test_md2: |
159 | ./$(MD2TEST) | 166 | $(SET_SO_PATHS); ./$(MD2TEST) |
160 | 167 | ||
161 | test_rmd: | 168 | test_rmd: |
162 | ./$(RMDTEST) | 169 | $(SET_SO_PATHS); ./$(RMDTEST) |
163 | 170 | ||
164 | test_bf: | 171 | test_bf: |
165 | ./$(BFTEST) | 172 | $(SET_SO_PATHS); ./$(BFTEST) |
166 | 173 | ||
167 | test_cast: | 174 | test_cast: |
168 | ./$(CASTTEST) | 175 | $(SET_SO_PATHS); ./$(CASTTEST) |
169 | 176 | ||
170 | test_rc2: | 177 | test_rc2: |
171 | ./$(RC2TEST) | 178 | $(SET_SO_PATHS); ./$(RC2TEST) |
172 | 179 | ||
173 | test_rc4: | 180 | test_rc4: |
174 | ./$(RC4TEST) | 181 | $(SET_SO_PATHS); ./$(RC4TEST) |
175 | 182 | ||
176 | test_rc5: | 183 | test_rc5: |
177 | ./$(RC5TEST) | 184 | $(SET_SO_PATHS); ./$(RC5TEST) |
178 | 185 | ||
179 | test_rand: | 186 | test_rand: |
180 | ./$(RANDTEST) | 187 | $(SET_SO_PATHS); ./$(RANDTEST) |
181 | 188 | ||
182 | test_enc: | 189 | test_enc: |
183 | @sh ./testenc | 190 | @$(SET_SO_PATHS); sh ./testenc |
184 | 191 | ||
185 | test_x509: | 192 | test_x509: |
186 | echo test normal x509v1 certificate | 193 | echo test normal x509v1 certificate |
187 | sh ./tx509 2>/dev/null | 194 | $(SET_SO_PATHS); sh ./tx509 2>/dev/null |
188 | echo test first x509v3 certificate | 195 | echo test first x509v3 certificate |
189 | sh ./tx509 v3-cert1.pem 2>/dev/null | 196 | $(SET_SO_PATHS); sh ./tx509 v3-cert1.pem 2>/dev/null |
190 | echo test second x509v3 certificate | 197 | echo test second x509v3 certificate |
191 | sh ./tx509 v3-cert2.pem 2>/dev/null | 198 | $(SET_SO_PATHS); sh ./tx509 v3-cert2.pem 2>/dev/null |
192 | 199 | ||
193 | test_rsa: | 200 | test_rsa: |
194 | @sh ./trsa 2>/dev/null | 201 | @$(SET_SO_PATHS); sh ./trsa 2>/dev/null |
195 | ./$(RSATEST) | 202 | $(SET_SO_PATHS); ./$(RSATEST) |
196 | 203 | ||
197 | test_crl: | 204 | test_crl: |
198 | @sh ./tcrl 2>/dev/null | 205 | @$(SET_SO_PATHS); sh ./tcrl 2>/dev/null |
199 | 206 | ||
200 | test_sid: | 207 | test_sid: |
201 | @sh ./tsid 2>/dev/null | 208 | @$(SET_SO_PATHS); sh ./tsid 2>/dev/null |
202 | 209 | ||
203 | test_req: | 210 | test_req: |
204 | @sh ./treq 2>/dev/null | 211 | @$(SET_SO_PATHS); sh ./treq 2>/dev/null |
205 | @sh ./treq testreq2.pem 2>/dev/null | 212 | @$(SET_SO_PATHS); sh ./treq testreq2.pem 2>/dev/null |
206 | 213 | ||
207 | test_pkcs7: | 214 | test_pkcs7: |
208 | @sh ./tpkcs7 2>/dev/null | 215 | @$(SET_SO_PATHS); sh ./tpkcs7 2>/dev/null |
209 | @sh ./tpkcs7d 2>/dev/null | 216 | @$(SET_SO_PATHS); sh ./tpkcs7d 2>/dev/null |
210 | 217 | ||
211 | test_bn: | 218 | test_bn: |
212 | @echo starting big number library test, could take a while... | 219 | @echo starting big number library test, could take a while... |
213 | @./$(BNTEST) >tmp.bntest | 220 | @$(SET_SO_PATHS); ./$(BNTEST) >tmp.bntest |
214 | @echo quit >>tmp.bntest | 221 | @echo quit >>tmp.bntest |
215 | @echo "running bc" | 222 | @echo "running bc" |
216 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' | 223 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' |
217 | @echo 'test a^b%c implementations' | 224 | @echo 'test a^b%c implementations' |
218 | ./$(EXPTEST) | 225 | $(SET_SO_PATHS); ./$(EXPTEST) |
219 | 226 | ||
220 | test_ec: | 227 | test_ec: |
221 | @echo 'test elliptic curves' | 228 | @echo 'test elliptic curves' |
222 | ./$(ECTEST) | 229 | $(SET_SO_PATHS); ./$(ECTEST) |
223 | 230 | ||
224 | test_verify: | 231 | test_verify: |
225 | @echo "The following command should have some OK's and some failures" | 232 | @echo "The following command should have some OK's and some failures" |
226 | @echo "There are definitly a few expired certificates" | 233 | @echo "There are definitly a few expired certificates" |
227 | -../apps/openssl verify -CApath ../certs ../certs/*.pem | 234 | -$(SET_SO_PATHS); ../apps/openssl verify -CApath ../certs ../certs/*.pem |
228 | 235 | ||
229 | test_dh: | 236 | test_dh: |
230 | @echo "Generate a set of DH parameters" | 237 | @echo "Generate a set of DH parameters" |
231 | ./$(DHTEST) | 238 | $(SET_SO_PATHS); ./$(DHTEST) |
232 | 239 | ||
233 | test_dsa: | 240 | test_dsa: |
234 | @echo "Generate a set of DSA parameters" | 241 | @echo "Generate a set of DSA parameters" |
235 | ./$(DSATEST) | 242 | $(SET_SO_PATHS); ./$(DSATEST) |
236 | ./$(DSATEST) -app2_1 | 243 | $(SET_SO_PATHS); ./$(DSATEST) -app2_1 |
237 | 244 | ||
238 | test_gen: | 245 | test_gen: |
239 | @echo "Generate and verify a certificate request" | 246 | @echo "Generate and verify a certificate request" |
240 | @sh ./testgen | 247 | @$(SET_SO_PATHS); sh ./testgen |
241 | 248 | ||
242 | test_ss keyU.ss certU.ss certCA.ss: testss | 249 | test_ss keyU.ss certU.ss certCA.ss: testss |
243 | @echo "Generate and certify a test certificate" | 250 | @echo "Generate and certify a test certificate" |
244 | @sh ./testss | 251 | @$(SET_SO_PATHS); sh ./testss |
245 | 252 | ||
246 | test_engine: | 253 | test_engine: |
247 | @echo "Manipulate the ENGINE structures" | 254 | @echo "Manipulate the ENGINE structures" |
248 | ./$(ENGINETEST) | 255 | $(SET_SO_PATHS); ./$(ENGINETEST) |
249 | 256 | ||
250 | test_ssl: keyU.ss certU.ss certCA.ss | 257 | test_ssl: keyU.ss certU.ss certCA.ss |
251 | @echo "test SSL protocol" | 258 | @echo "test SSL protocol" |
252 | @sh ./testssl keyU.ss certU.ss certCA.ss | 259 | @$(SET_SO_PATHS); sh ./testssl keyU.ss certU.ss certCA.ss |
253 | 260 | ||
254 | test_ca: | 261 | test_ca: |
255 | @if ../apps/openssl no-rsa; then \ | 262 | @$(SET_SO_PATHS); if ../apps/openssl no-rsa; then \ |
256 | echo "skipping CA.sh test -- requires RSA"; \ | 263 | echo "skipping CA.sh test -- requires RSA"; \ |
257 | else \ | 264 | else \ |
258 | echo "Generate and certify a test certificate via the 'ca' program"; \ | 265 | echo "Generate and certify a test certificate via the 'ca' program"; \ |
259 | sh ./testca; \ | 266 | sh ./testca; \ |
260 | fi | 267 | fi |
261 | 268 | ||
262 | test_rd: #$(RDTEST) | 269 | test_aes: #$(AESTEST) |
263 | # @echo "test Rijndael" | 270 | # @echo "test Rijndael" |
264 | # ./$(RDTEST) | 271 | # $(SET_SO_PATHS); ./$(AESTEST) |
265 | 272 | ||
266 | lint: | 273 | lint: |
267 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 274 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
268 | 275 | ||
269 | depend: | 276 | depend: |
270 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) | 277 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC) |
271 | 278 | ||
272 | dclean: | 279 | dclean: |
273 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 280 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -277,101 +284,241 @@ clean: | |||
277 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log | 284 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log |
278 | 285 | ||
279 | $(DLIBSSL): | 286 | $(DLIBSSL): |
280 | (cd ../ssl; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 287 | (cd ..; $(MAKE) DIRS=ssl all) |
281 | 288 | ||
282 | $(DLIBCRYPTO): | 289 | $(DLIBCRYPTO): |
283 | (cd ../crypto; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 290 | (cd ..; $(MAKE) DIRS=crypto all) |
284 | 291 | ||
285 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) | 292 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) |
286 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 293 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
294 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
295 | else \ | ||
296 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
297 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
298 | fi | ||
287 | 299 | ||
288 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) | 300 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) |
289 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 301 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
302 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
303 | else \ | ||
304 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
305 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
306 | fi | ||
290 | 307 | ||
291 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) | 308 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) |
292 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 309 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
310 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
311 | else \ | ||
312 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
313 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
314 | fi | ||
293 | 315 | ||
294 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) | 316 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) |
295 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 317 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
318 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
319 | else \ | ||
320 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
321 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
322 | fi | ||
296 | 323 | ||
297 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) | 324 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) |
298 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 325 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
326 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
327 | else \ | ||
328 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
329 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
330 | fi | ||
299 | 331 | ||
300 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) | 332 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) |
301 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 333 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
334 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
335 | else \ | ||
336 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
337 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
338 | fi | ||
302 | 339 | ||
303 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) | 340 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) |
304 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 341 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
342 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
343 | else \ | ||
344 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
345 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
346 | fi | ||
305 | 347 | ||
306 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) | 348 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) |
307 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 349 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
350 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
351 | else \ | ||
352 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
353 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
354 | fi | ||
308 | 355 | ||
309 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) | 356 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) |
310 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 357 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
358 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
359 | else \ | ||
360 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
361 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
362 | fi | ||
311 | 363 | ||
312 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) | 364 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) |
313 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 365 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
366 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
367 | else \ | ||
368 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
369 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
370 | fi | ||
314 | 371 | ||
315 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) | 372 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) |
316 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 373 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
374 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
375 | else \ | ||
376 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
377 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
378 | fi | ||
317 | 379 | ||
318 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) | 380 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) |
319 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 381 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
382 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
383 | else \ | ||
384 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
385 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
386 | fi | ||
320 | 387 | ||
321 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) | 388 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) |
322 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 389 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
390 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
391 | else \ | ||
392 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
393 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
394 | fi | ||
323 | 395 | ||
324 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) | 396 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) |
325 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 397 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
398 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
399 | else \ | ||
400 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
401 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
402 | fi | ||
326 | 403 | ||
327 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) | 404 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) |
328 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 405 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
406 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
407 | else \ | ||
408 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
409 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
410 | fi | ||
329 | 411 | ||
330 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) | 412 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) |
331 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 413 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
414 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
415 | else \ | ||
416 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
417 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
418 | fi | ||
332 | 419 | ||
333 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) | 420 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) |
334 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 421 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
422 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
423 | else \ | ||
424 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
425 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
426 | fi | ||
335 | 427 | ||
336 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) | 428 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) |
337 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 429 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
430 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
431 | else \ | ||
432 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
433 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
434 | fi | ||
338 | 435 | ||
339 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) | 436 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) |
340 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 437 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
438 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
439 | else \ | ||
440 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
441 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
442 | fi | ||
341 | 443 | ||
342 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) | 444 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) |
343 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 445 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
446 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
447 | else \ | ||
448 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
449 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
450 | fi | ||
344 | 451 | ||
345 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) | 452 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) |
346 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 453 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
454 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
455 | else \ | ||
456 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
457 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
458 | fi | ||
347 | 459 | ||
348 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) | 460 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) |
349 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 461 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
462 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
463 | else \ | ||
464 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
465 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
466 | fi | ||
350 | 467 | ||
351 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) | 468 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) |
352 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 469 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
470 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
471 | else \ | ||
472 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
473 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
474 | fi | ||
353 | 475 | ||
354 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) | 476 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) |
355 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) | 477 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
478 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
479 | else \ | ||
480 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
481 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
482 | fi | ||
356 | 483 | ||
357 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) | 484 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) |
358 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 485 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
486 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
487 | else \ | ||
488 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
489 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
490 | fi | ||
359 | 491 | ||
360 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) | 492 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) |
361 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 493 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
494 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
495 | else \ | ||
496 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
497 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
498 | fi | ||
362 | 499 | ||
363 | #$(RDTEST).o: $(RDTEST).c | 500 | #$(AESTEST).o: $(AESTEST).c |
364 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(RDTEST).c | 501 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c |
365 | 502 | ||
366 | #$(RDTEST): $(RDTEST).o $(DLIBCRYPTO) | 503 | #$(AESTEST): $(AESTEST).o $(DLIBCRYPTO) |
367 | # $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 504 | # if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
505 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
506 | # else \ | ||
507 | # LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
508 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
509 | # fi | ||
368 | 510 | ||
369 | dummytest: dummytest.o $(DLIBCRYPTO) | 511 | dummytest: dummytest.o $(DLIBCRYPTO) |
370 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 512 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
513 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
514 | else \ | ||
515 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
516 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
517 | fi | ||
371 | 518 | ||
372 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 519 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
373 | 520 | ||
374 | bftest.o: ../include/openssl/blowfish.h ../include/openssl/e_os2.h | 521 | bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h |
375 | bftest.o: ../include/openssl/opensslconf.h bftest.c | 522 | bftest.o: ../include/openssl/opensslconf.h bftest.c |
376 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 523 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
377 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 524 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
@@ -394,31 +541,30 @@ bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h | |||
394 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 541 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
395 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 542 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
396 | bntest.o: ../include/openssl/x509_vfy.h bntest.c | 543 | bntest.o: ../include/openssl/x509_vfy.h bntest.c |
397 | casttest.o: ../include/openssl/cast.h casttest.c | 544 | casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h |
545 | casttest.o: ../include/openssl/opensslconf.h casttest.c | ||
398 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 546 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
399 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h | 547 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h |
400 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 548 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
401 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 549 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
402 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 550 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
403 | destest.o: ../include/openssl/ui_compat.h destest.c | 551 | destest.o: ../include/openssl/ui_compat.h destest.c |
404 | dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 552 | dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
405 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 553 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
406 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h | 554 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
407 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h | 555 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
408 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 556 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
409 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 557 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h |
410 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c | 558 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c |
411 | dsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 559 | dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
412 | dsatest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 560 | dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
413 | dsatest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 561 | dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
414 | dsatest.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | ||
415 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 562 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
416 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 563 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
417 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 564 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
418 | dsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 565 | dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
419 | dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 566 | dsatest.o: ../include/openssl/symhacks.h dsatest.c |
420 | dsatest.o: ../include/openssl/ui.h dsatest.c | 567 | ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
421 | ectest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | ||
422 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 568 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
423 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 569 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
424 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 570 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
@@ -439,7 +585,7 @@ enginetest.o: ../include/openssl/rand.h ../include/openssl/rsa.h | |||
439 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 585 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
440 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 586 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
441 | enginetest.o: enginetest.c | 587 | enginetest.o: enginetest.c |
442 | evp_test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 588 | evp_test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
443 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 589 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
444 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 590 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
445 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 591 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
@@ -459,14 +605,14 @@ evp_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
459 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h | 605 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h |
460 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 606 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
461 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c | 607 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c |
462 | exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 608 | exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
463 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 609 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
464 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 610 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
465 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 611 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
466 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 612 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
467 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 613 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
468 | exptest.o: ../include/openssl/symhacks.h exptest.c | 614 | exptest.o: ../include/openssl/symhacks.h exptest.c |
469 | hmactest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 615 | hmactest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
470 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 616 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
471 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 617 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
472 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 618 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -484,9 +630,9 @@ hmactest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
484 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 630 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h |
485 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 631 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
486 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c | 632 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c |
487 | ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h | 633 | ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h |
488 | ideatest.o: ideatest.c | 634 | ideatest.o: ../include/openssl/opensslconf.h ideatest.c |
489 | md2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 635 | md2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
490 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 636 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
491 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 637 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
492 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 638 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -503,7 +649,7 @@ md2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
503 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 649 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
504 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 650 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
505 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c | 651 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c |
506 | md4test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 652 | md4test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
507 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 653 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
508 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 654 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
509 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 655 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -520,7 +666,7 @@ md4test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
520 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 666 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
521 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 667 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
522 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c | 668 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c |
523 | md5test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 669 | md5test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
524 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 670 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
525 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 671 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
526 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 672 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -537,7 +683,7 @@ md5test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
537 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 683 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
538 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 684 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
539 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c | 685 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c |
540 | mdc2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 686 | mdc2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
541 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 687 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
542 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 688 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
543 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 689 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -554,12 +700,16 @@ mdc2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
554 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 700 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
555 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 701 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
556 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c | 702 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c |
557 | randtest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h | 703 | randtest.o: ../e_os.h ../include/openssl/e_os2.h |
558 | randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h randtest.c | 704 | randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h |
705 | randtest.o: ../include/openssl/rand.h randtest.c | ||
706 | rc2test.o: ../e_os.h ../include/openssl/e_os2.h | ||
559 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c | 707 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c |
708 | rc4test.o: ../e_os.h ../include/openssl/e_os2.h | ||
560 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c | 709 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c |
561 | rc5test.o: ../include/openssl/rc5.h rc5test.c | 710 | rc5test.o: ../e_os.h ../include/openssl/e_os2.h |
562 | rmdtest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 711 | rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c |
712 | rmdtest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
563 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 713 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
564 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 714 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
565 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 715 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -578,15 +728,13 @@ rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
578 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c | 728 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c |
579 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 729 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
580 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 730 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
581 | rsa_test.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 731 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
582 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 732 | rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
583 | rsa_test.o: ../include/openssl/err.h ../include/openssl/lhash.h | 733 | rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
584 | rsa_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 734 | rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h |
585 | rsa_test.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 735 | rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
586 | rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 736 | rsa_test.o: ../include/openssl/symhacks.h rsa_test.c |
587 | rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 737 | sha1test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
588 | rsa_test.o: ../include/openssl/ui.h rsa_test.c | ||
589 | sha1test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | ||
590 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 738 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
591 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 739 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
592 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 740 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -603,7 +751,7 @@ sha1test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
603 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 751 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
604 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 752 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
605 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c | 753 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c |
606 | shatest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 754 | shatest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
607 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 755 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
608 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 756 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
609 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 757 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
diff --git a/src/lib/libssl/src/tools/Makefile.ssl b/src/lib/libssl/src/tools/Makefile.ssl index b46ea44f6a..bf0cd29c77 100644 --- a/src/lib/libssl/src/tools/Makefile.ssl +++ b/src/lib/libssl/src/tools/Makefile.ssl | |||
@@ -27,13 +27,15 @@ all: | |||
27 | install: | 27 | install: |
28 | @for i in $(APPS) ; \ | 28 | @for i in $(APPS) ; \ |
29 | do \ | 29 | do \ |
30 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \ | 30 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \ |
31 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \ | 31 | chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \ |
32 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \ | ||
32 | done; | 33 | done; |
33 | @for i in $(MISC_APPS) ; \ | 34 | @for i in $(MISC_APPS) ; \ |
34 | do \ | 35 | do \ |
35 | (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \ | 36 | (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \ |
36 | chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \ | 37 | chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \ |
38 | mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \ | ||
37 | done; | 39 | done; |
38 | 40 | ||
39 | files: | 41 | files: |
diff --git a/src/lib/libssl/test/Makefile.ssl b/src/lib/libssl/test/Makefile.ssl index feac171bfe..a3339ca5d5 100644 --- a/src/lib/libssl/test/Makefile.ssl +++ b/src/lib/libssl/test/Makefile.ssl | |||
@@ -15,6 +15,9 @@ MAKE= make -f $(MAKEFILE) | |||
15 | MAKEDEPPROG= makedepend | 15 | MAKEDEPPROG= makedepend |
16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | 16 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) |
17 | PERL= perl | 17 | PERL= perl |
18 | # KRB5 stuff | ||
19 | KRB5_INCLUDES= | ||
20 | LIBKRB5= | ||
18 | 21 | ||
19 | PEX_LIBS= | 22 | PEX_LIBS= |
20 | EX_LIBS= #-lnsl -lsocket | 23 | EX_LIBS= #-lnsl -lsocket |
@@ -116,158 +119,162 @@ tags: | |||
116 | tests: exe apps $(TESTS) | 119 | tests: exe apps $(TESTS) |
117 | 120 | ||
118 | apps: | 121 | apps: |
119 | @(cd ../apps; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' all) | 122 | @(cd ..; $(MAKE) DIRS=apps all) |
120 | 123 | ||
121 | alltests: | 124 | SET_SO_PATHS=OSSL_LIBPATH="`cd ..; pwd`"; \ |
122 | (LIBPATH="`cd ..; pwd`"; LD_LIBRARY_PATH=$$LIBPATH; DYLD_LIBRARY_PATH=$$LIBPATH; SHLIB_PATH=$$LIBPATH; \ | 125 | LD_LIBRARY_PATH="$$OSSL_LIBPATH:$$LD_LIBRARY_PATH"; \ |
123 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH; \ | 126 | DYLD_LIBRARY_PATH="$$OSSL_LIBPATH:$$DYLD_LIBRARY_PATH"; \ |
124 | $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' alltests.chooser) | 127 | SHLIB_PATH="$$OSSL_LIBPATH:$$SHLIB_PATH"; \ |
125 | alltests.chooser: \ | 128 | LIBPATH="$$OSSL_LIBPATH:$$LIBPATH"; \ |
129 | if [ "$(PLATFORM)" = "Cygwin" ]; then PATH="$${LIBPATH}:$$PATH"; fi; \ | ||
130 | export LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH | ||
131 | |||
132 | alltests: \ | ||
126 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ | 133 | test_des test_idea test_sha test_md4 test_md5 test_hmac \ |
127 | test_md2 test_mdc2 \ | 134 | test_md2 test_mdc2 \ |
128 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_rd \ | 135 | test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \ |
129 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ | 136 | test_rand test_bn test_ec test_enc test_x509 test_rsa test_crl test_sid \ |
130 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ | 137 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ |
131 | test_ss test_ca test_engine test_evp test_ssl | 138 | test_ss test_ca test_engine test_evp test_ssl |
132 | 139 | ||
133 | test_evp: | 140 | test_evp: |
134 | ./$(EVPTEST) evptests.txt | 141 | $(SET_SO_PATHS); ./$(EVPTEST) evptests.txt |
135 | 142 | ||
136 | test_des: | 143 | test_des: |
137 | ./$(DESTEST) | 144 | $(SET_SO_PATHS); ./$(DESTEST) |
138 | 145 | ||
139 | test_idea: | 146 | test_idea: |
140 | ./$(IDEATEST) | 147 | $(SET_SO_PATHS); ./$(IDEATEST) |
141 | 148 | ||
142 | test_sha: | 149 | test_sha: |
143 | ./$(SHATEST) | 150 | $(SET_SO_PATHS); ./$(SHATEST) |
144 | ./$(SHA1TEST) | 151 | $(SET_SO_PATHS); ./$(SHA1TEST) |
145 | 152 | ||
146 | test_mdc2: | 153 | test_mdc2: |
147 | ./$(MDC2TEST) | 154 | $(SET_SO_PATHS); ./$(MDC2TEST) |
148 | 155 | ||
149 | test_md5: | 156 | test_md5: |
150 | ./$(MD5TEST) | 157 | $(SET_SO_PATHS); ./$(MD5TEST) |
151 | 158 | ||
152 | test_md4: | 159 | test_md4: |
153 | ./$(MD4TEST) | 160 | $(SET_SO_PATHS); ./$(MD4TEST) |
154 | 161 | ||
155 | test_hmac: | 162 | test_hmac: |
156 | ./$(HMACTEST) | 163 | $(SET_SO_PATHS); ./$(HMACTEST) |
157 | 164 | ||
158 | test_md2: | 165 | test_md2: |
159 | ./$(MD2TEST) | 166 | $(SET_SO_PATHS); ./$(MD2TEST) |
160 | 167 | ||
161 | test_rmd: | 168 | test_rmd: |
162 | ./$(RMDTEST) | 169 | $(SET_SO_PATHS); ./$(RMDTEST) |
163 | 170 | ||
164 | test_bf: | 171 | test_bf: |
165 | ./$(BFTEST) | 172 | $(SET_SO_PATHS); ./$(BFTEST) |
166 | 173 | ||
167 | test_cast: | 174 | test_cast: |
168 | ./$(CASTTEST) | 175 | $(SET_SO_PATHS); ./$(CASTTEST) |
169 | 176 | ||
170 | test_rc2: | 177 | test_rc2: |
171 | ./$(RC2TEST) | 178 | $(SET_SO_PATHS); ./$(RC2TEST) |
172 | 179 | ||
173 | test_rc4: | 180 | test_rc4: |
174 | ./$(RC4TEST) | 181 | $(SET_SO_PATHS); ./$(RC4TEST) |
175 | 182 | ||
176 | test_rc5: | 183 | test_rc5: |
177 | ./$(RC5TEST) | 184 | $(SET_SO_PATHS); ./$(RC5TEST) |
178 | 185 | ||
179 | test_rand: | 186 | test_rand: |
180 | ./$(RANDTEST) | 187 | $(SET_SO_PATHS); ./$(RANDTEST) |
181 | 188 | ||
182 | test_enc: | 189 | test_enc: |
183 | @sh ./testenc | 190 | @$(SET_SO_PATHS); sh ./testenc |
184 | 191 | ||
185 | test_x509: | 192 | test_x509: |
186 | echo test normal x509v1 certificate | 193 | echo test normal x509v1 certificate |
187 | sh ./tx509 2>/dev/null | 194 | $(SET_SO_PATHS); sh ./tx509 2>/dev/null |
188 | echo test first x509v3 certificate | 195 | echo test first x509v3 certificate |
189 | sh ./tx509 v3-cert1.pem 2>/dev/null | 196 | $(SET_SO_PATHS); sh ./tx509 v3-cert1.pem 2>/dev/null |
190 | echo test second x509v3 certificate | 197 | echo test second x509v3 certificate |
191 | sh ./tx509 v3-cert2.pem 2>/dev/null | 198 | $(SET_SO_PATHS); sh ./tx509 v3-cert2.pem 2>/dev/null |
192 | 199 | ||
193 | test_rsa: | 200 | test_rsa: |
194 | @sh ./trsa 2>/dev/null | 201 | @$(SET_SO_PATHS); sh ./trsa 2>/dev/null |
195 | ./$(RSATEST) | 202 | $(SET_SO_PATHS); ./$(RSATEST) |
196 | 203 | ||
197 | test_crl: | 204 | test_crl: |
198 | @sh ./tcrl 2>/dev/null | 205 | @$(SET_SO_PATHS); sh ./tcrl 2>/dev/null |
199 | 206 | ||
200 | test_sid: | 207 | test_sid: |
201 | @sh ./tsid 2>/dev/null | 208 | @$(SET_SO_PATHS); sh ./tsid 2>/dev/null |
202 | 209 | ||
203 | test_req: | 210 | test_req: |
204 | @sh ./treq 2>/dev/null | 211 | @$(SET_SO_PATHS); sh ./treq 2>/dev/null |
205 | @sh ./treq testreq2.pem 2>/dev/null | 212 | @$(SET_SO_PATHS); sh ./treq testreq2.pem 2>/dev/null |
206 | 213 | ||
207 | test_pkcs7: | 214 | test_pkcs7: |
208 | @sh ./tpkcs7 2>/dev/null | 215 | @$(SET_SO_PATHS); sh ./tpkcs7 2>/dev/null |
209 | @sh ./tpkcs7d 2>/dev/null | 216 | @$(SET_SO_PATHS); sh ./tpkcs7d 2>/dev/null |
210 | 217 | ||
211 | test_bn: | 218 | test_bn: |
212 | @echo starting big number library test, could take a while... | 219 | @echo starting big number library test, could take a while... |
213 | @./$(BNTEST) >tmp.bntest | 220 | @$(SET_SO_PATHS); ./$(BNTEST) >tmp.bntest |
214 | @echo quit >>tmp.bntest | 221 | @echo quit >>tmp.bntest |
215 | @echo "running bc" | 222 | @echo "running bc" |
216 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' | 223 | @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"' |
217 | @echo 'test a^b%c implementations' | 224 | @echo 'test a^b%c implementations' |
218 | ./$(EXPTEST) | 225 | $(SET_SO_PATHS); ./$(EXPTEST) |
219 | 226 | ||
220 | test_ec: | 227 | test_ec: |
221 | @echo 'test elliptic curves' | 228 | @echo 'test elliptic curves' |
222 | ./$(ECTEST) | 229 | $(SET_SO_PATHS); ./$(ECTEST) |
223 | 230 | ||
224 | test_verify: | 231 | test_verify: |
225 | @echo "The following command should have some OK's and some failures" | 232 | @echo "The following command should have some OK's and some failures" |
226 | @echo "There are definitly a few expired certificates" | 233 | @echo "There are definitly a few expired certificates" |
227 | -../apps/openssl verify -CApath ../certs ../certs/*.pem | 234 | -$(SET_SO_PATHS); ../apps/openssl verify -CApath ../certs ../certs/*.pem |
228 | 235 | ||
229 | test_dh: | 236 | test_dh: |
230 | @echo "Generate a set of DH parameters" | 237 | @echo "Generate a set of DH parameters" |
231 | ./$(DHTEST) | 238 | $(SET_SO_PATHS); ./$(DHTEST) |
232 | 239 | ||
233 | test_dsa: | 240 | test_dsa: |
234 | @echo "Generate a set of DSA parameters" | 241 | @echo "Generate a set of DSA parameters" |
235 | ./$(DSATEST) | 242 | $(SET_SO_PATHS); ./$(DSATEST) |
236 | ./$(DSATEST) -app2_1 | 243 | $(SET_SO_PATHS); ./$(DSATEST) -app2_1 |
237 | 244 | ||
238 | test_gen: | 245 | test_gen: |
239 | @echo "Generate and verify a certificate request" | 246 | @echo "Generate and verify a certificate request" |
240 | @sh ./testgen | 247 | @$(SET_SO_PATHS); sh ./testgen |
241 | 248 | ||
242 | test_ss keyU.ss certU.ss certCA.ss: testss | 249 | test_ss keyU.ss certU.ss certCA.ss: testss |
243 | @echo "Generate and certify a test certificate" | 250 | @echo "Generate and certify a test certificate" |
244 | @sh ./testss | 251 | @$(SET_SO_PATHS); sh ./testss |
245 | 252 | ||
246 | test_engine: | 253 | test_engine: |
247 | @echo "Manipulate the ENGINE structures" | 254 | @echo "Manipulate the ENGINE structures" |
248 | ./$(ENGINETEST) | 255 | $(SET_SO_PATHS); ./$(ENGINETEST) |
249 | 256 | ||
250 | test_ssl: keyU.ss certU.ss certCA.ss | 257 | test_ssl: keyU.ss certU.ss certCA.ss |
251 | @echo "test SSL protocol" | 258 | @echo "test SSL protocol" |
252 | @sh ./testssl keyU.ss certU.ss certCA.ss | 259 | @$(SET_SO_PATHS); sh ./testssl keyU.ss certU.ss certCA.ss |
253 | 260 | ||
254 | test_ca: | 261 | test_ca: |
255 | @if ../apps/openssl no-rsa; then \ | 262 | @$(SET_SO_PATHS); if ../apps/openssl no-rsa; then \ |
256 | echo "skipping CA.sh test -- requires RSA"; \ | 263 | echo "skipping CA.sh test -- requires RSA"; \ |
257 | else \ | 264 | else \ |
258 | echo "Generate and certify a test certificate via the 'ca' program"; \ | 265 | echo "Generate and certify a test certificate via the 'ca' program"; \ |
259 | sh ./testca; \ | 266 | sh ./testca; \ |
260 | fi | 267 | fi |
261 | 268 | ||
262 | test_rd: #$(RDTEST) | 269 | test_aes: #$(AESTEST) |
263 | # @echo "test Rijndael" | 270 | # @echo "test Rijndael" |
264 | # ./$(RDTEST) | 271 | # $(SET_SO_PATHS); ./$(AESTEST) |
265 | 272 | ||
266 | lint: | 273 | lint: |
267 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 274 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
268 | 275 | ||
269 | depend: | 276 | depend: |
270 | $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) | 277 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC) |
271 | 278 | ||
272 | dclean: | 279 | dclean: |
273 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | 280 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
@@ -277,101 +284,241 @@ clean: | |||
277 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log | 284 | rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log |
278 | 285 | ||
279 | $(DLIBSSL): | 286 | $(DLIBSSL): |
280 | (cd ../ssl; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 287 | (cd ..; $(MAKE) DIRS=ssl all) |
281 | 288 | ||
282 | $(DLIBCRYPTO): | 289 | $(DLIBCRYPTO): |
283 | (cd ../crypto; $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' TESTS='${TESTS}' KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}') | 290 | (cd ..; $(MAKE) DIRS=crypto all) |
284 | 291 | ||
285 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) | 292 | $(RSATEST): $(RSATEST).o $(DLIBCRYPTO) |
286 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 293 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
294 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
295 | else \ | ||
296 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
297 | $(CC) -o $(RSATEST) $(CFLAGS) $(RSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
298 | fi | ||
287 | 299 | ||
288 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) | 300 | $(BNTEST): $(BNTEST).o $(DLIBCRYPTO) |
289 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 301 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
302 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
303 | else \ | ||
304 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
305 | $(CC) -o $(BNTEST) $(CFLAGS) $(BNTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
306 | fi | ||
290 | 307 | ||
291 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) | 308 | $(ECTEST): $(ECTEST).o $(DLIBCRYPTO) |
292 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 309 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
310 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
311 | else \ | ||
312 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
313 | $(CC) -o $(ECTEST) $(CFLAGS) $(ECTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
314 | fi | ||
293 | 315 | ||
294 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) | 316 | $(EXPTEST): $(EXPTEST).o $(DLIBCRYPTO) |
295 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 317 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
318 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
319 | else \ | ||
320 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
321 | $(CC) -o $(EXPTEST) $(CFLAGS) $(EXPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
322 | fi | ||
296 | 323 | ||
297 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) | 324 | $(IDEATEST): $(IDEATEST).o $(DLIBCRYPTO) |
298 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 325 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
326 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
327 | else \ | ||
328 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
329 | $(CC) -o $(IDEATEST) $(CFLAGS) $(IDEATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
330 | fi | ||
299 | 331 | ||
300 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) | 332 | $(MD2TEST): $(MD2TEST).o $(DLIBCRYPTO) |
301 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 333 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
334 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
335 | else \ | ||
336 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
337 | $(CC) -o $(MD2TEST) $(CFLAGS) $(MD2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
338 | fi | ||
302 | 339 | ||
303 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) | 340 | $(SHATEST): $(SHATEST).o $(DLIBCRYPTO) |
304 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 341 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
342 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
343 | else \ | ||
344 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
345 | $(CC) -o $(SHATEST) $(CFLAGS) $(SHATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
346 | fi | ||
305 | 347 | ||
306 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) | 348 | $(SHA1TEST): $(SHA1TEST).o $(DLIBCRYPTO) |
307 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 349 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
350 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
351 | else \ | ||
352 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
353 | $(CC) -o $(SHA1TEST) $(CFLAGS) $(SHA1TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
354 | fi | ||
308 | 355 | ||
309 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) | 356 | $(RMDTEST): $(RMDTEST).o $(DLIBCRYPTO) |
310 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 357 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
358 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
359 | else \ | ||
360 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
361 | $(CC) -o $(RMDTEST) $(CFLAGS) $(RMDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
362 | fi | ||
311 | 363 | ||
312 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) | 364 | $(MDC2TEST): $(MDC2TEST).o $(DLIBCRYPTO) |
313 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 365 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
366 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
367 | else \ | ||
368 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
369 | $(CC) -o $(MDC2TEST) $(CFLAGS) $(MDC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
370 | fi | ||
314 | 371 | ||
315 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) | 372 | $(MD4TEST): $(MD4TEST).o $(DLIBCRYPTO) |
316 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 373 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
374 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
375 | else \ | ||
376 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
377 | $(CC) -o $(MD4TEST) $(CFLAGS) $(MD4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
378 | fi | ||
317 | 379 | ||
318 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) | 380 | $(MD5TEST): $(MD5TEST).o $(DLIBCRYPTO) |
319 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 381 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
382 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
383 | else \ | ||
384 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
385 | $(CC) -o $(MD5TEST) $(CFLAGS) $(MD5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
386 | fi | ||
320 | 387 | ||
321 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) | 388 | $(HMACTEST): $(HMACTEST).o $(DLIBCRYPTO) |
322 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 389 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
390 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
391 | else \ | ||
392 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
393 | $(CC) -o $(HMACTEST) $(CFLAGS) $(HMACTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
394 | fi | ||
323 | 395 | ||
324 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) | 396 | $(RC2TEST): $(RC2TEST).o $(DLIBCRYPTO) |
325 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 397 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
398 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
399 | else \ | ||
400 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
401 | $(CC) -o $(RC2TEST) $(CFLAGS) $(RC2TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
402 | fi | ||
326 | 403 | ||
327 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) | 404 | $(BFTEST): $(BFTEST).o $(DLIBCRYPTO) |
328 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 405 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
406 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
407 | else \ | ||
408 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
409 | $(CC) -o $(BFTEST) $(CFLAGS) $(BFTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
410 | fi | ||
329 | 411 | ||
330 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) | 412 | $(CASTTEST): $(CASTTEST).o $(DLIBCRYPTO) |
331 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 413 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
414 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
415 | else \ | ||
416 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
417 | $(CC) -o $(CASTTEST) $(CFLAGS) $(CASTTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
418 | fi | ||
332 | 419 | ||
333 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) | 420 | $(RC4TEST): $(RC4TEST).o $(DLIBCRYPTO) |
334 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 421 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
422 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
423 | else \ | ||
424 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
425 | $(CC) -o $(RC4TEST) $(CFLAGS) $(RC4TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
426 | fi | ||
335 | 427 | ||
336 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) | 428 | $(RC5TEST): $(RC5TEST).o $(DLIBCRYPTO) |
337 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 429 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
430 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
431 | else \ | ||
432 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
433 | $(CC) -o $(RC5TEST) $(CFLAGS) $(RC5TEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
434 | fi | ||
338 | 435 | ||
339 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) | 436 | $(DESTEST): $(DESTEST).o $(DLIBCRYPTO) |
340 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 437 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
438 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
439 | else \ | ||
440 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
441 | $(CC) -o $(DESTEST) $(CFLAGS) $(DESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
442 | fi | ||
341 | 443 | ||
342 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) | 444 | $(RANDTEST): $(RANDTEST).o $(DLIBCRYPTO) |
343 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 445 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
446 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
447 | else \ | ||
448 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
449 | $(CC) -o $(RANDTEST) $(CFLAGS) $(RANDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
450 | fi | ||
344 | 451 | ||
345 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) | 452 | $(DHTEST): $(DHTEST).o $(DLIBCRYPTO) |
346 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 453 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
454 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
455 | else \ | ||
456 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
457 | $(CC) -o $(DHTEST) $(CFLAGS) $(DHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
458 | fi | ||
347 | 459 | ||
348 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) | 460 | $(DSATEST): $(DSATEST).o $(DLIBCRYPTO) |
349 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 461 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
462 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
463 | else \ | ||
464 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
465 | $(CC) -o $(DSATEST) $(CFLAGS) $(DSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
466 | fi | ||
350 | 467 | ||
351 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) | 468 | $(METHTEST): $(METHTEST).o $(DLIBCRYPTO) |
352 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 469 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
470 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
471 | else \ | ||
472 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
473 | $(CC) -o $(METHTEST) $(CFLAGS) $(METHTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
474 | fi | ||
353 | 475 | ||
354 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) | 476 | $(SSLTEST): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) |
355 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) | 477 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
478 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
479 | else \ | ||
480 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
481 | $(CC) -o $(SSLTEST) $(CFLAGS) $(SSLTEST).o $(PEX_LIBS) $(LIBSSL) $(LIBKRB5) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
482 | fi | ||
356 | 483 | ||
357 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) | 484 | $(ENGINETEST): $(ENGINETEST).o $(DLIBCRYPTO) |
358 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 485 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
486 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
487 | else \ | ||
488 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
489 | $(CC) -o $(ENGINETEST) $(CFLAGS) $(ENGINETEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
490 | fi | ||
359 | 491 | ||
360 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) | 492 | $(EVPTEST): $(EVPTEST).o $(DLIBCRYPTO) |
361 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 493 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
494 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
495 | else \ | ||
496 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
497 | $(CC) -o $(EVPTEST) $(CFLAGS) $(EVPTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
498 | fi | ||
362 | 499 | ||
363 | #$(RDTEST).o: $(RDTEST).c | 500 | #$(AESTEST).o: $(AESTEST).c |
364 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(RDTEST).c | 501 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c |
365 | 502 | ||
366 | #$(RDTEST): $(RDTEST).o $(DLIBCRYPTO) | 503 | #$(AESTEST): $(AESTEST).o $(DLIBCRYPTO) |
367 | # $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 504 | # if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
505 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
506 | # else \ | ||
507 | # LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
508 | # $(CC) -o $(AESTEST) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
509 | # fi | ||
368 | 510 | ||
369 | dummytest: dummytest.o $(DLIBCRYPTO) | 511 | dummytest: dummytest.o $(DLIBCRYPTO) |
370 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) | 512 | if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ |
513 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ | ||
514 | else \ | ||
515 | LD_LIBRARY_PATH=..:$$LD_LIBRARY_PATH \ | ||
516 | $(CC) -o dummytest $(CFLAGS) dummytest.o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ | ||
517 | fi | ||
371 | 518 | ||
372 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 519 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
373 | 520 | ||
374 | bftest.o: ../include/openssl/blowfish.h ../include/openssl/e_os2.h | 521 | bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h |
375 | bftest.o: ../include/openssl/opensslconf.h bftest.c | 522 | bftest.o: ../include/openssl/opensslconf.h bftest.c |
376 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 523 | bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
377 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 524 | bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
@@ -394,31 +541,30 @@ bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h | |||
394 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 541 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
395 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 542 | bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
396 | bntest.o: ../include/openssl/x509_vfy.h bntest.c | 543 | bntest.o: ../include/openssl/x509_vfy.h bntest.c |
397 | casttest.o: ../include/openssl/cast.h casttest.c | 544 | casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h |
545 | casttest.o: ../include/openssl/opensslconf.h casttest.c | ||
398 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 546 | destest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
399 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h | 547 | destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h |
400 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 548 | destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
401 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 549 | destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
402 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 550 | destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
403 | destest.o: ../include/openssl/ui_compat.h destest.c | 551 | destest.o: ../include/openssl/ui_compat.h destest.c |
404 | dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 552 | dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
405 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 553 | dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
406 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h | 554 | dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
407 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h | 555 | dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
408 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 556 | dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
409 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 557 | dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h |
410 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c | 558 | dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c |
411 | dsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 559 | dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
412 | dsatest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 560 | dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h |
413 | dsatest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 561 | dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
414 | dsatest.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | ||
415 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 562 | dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
416 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 563 | dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
417 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 564 | dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
418 | dsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 565 | dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
419 | dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 566 | dsatest.o: ../include/openssl/symhacks.h dsatest.c |
420 | dsatest.o: ../include/openssl/ui.h dsatest.c | 567 | ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
421 | ectest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | ||
422 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 568 | ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
423 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 569 | ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
424 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 570 | ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
@@ -439,7 +585,7 @@ enginetest.o: ../include/openssl/rand.h ../include/openssl/rsa.h | |||
439 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 585 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
440 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 586 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
441 | enginetest.o: enginetest.c | 587 | enginetest.o: enginetest.c |
442 | evp_test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 588 | evp_test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
443 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 589 | evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
444 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 590 | evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
445 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 591 | evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
@@ -459,14 +605,14 @@ evp_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
459 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h | 605 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h |
460 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 606 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
461 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c | 607 | evp_test.o: ../include/openssl/ui_compat.h evp_test.c |
462 | exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h | 608 | exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
463 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 609 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
464 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 610 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
465 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 611 | exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
466 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 612 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
467 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 613 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
468 | exptest.o: ../include/openssl/symhacks.h exptest.c | 614 | exptest.o: ../include/openssl/symhacks.h exptest.c |
469 | hmactest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 615 | hmactest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
470 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 616 | hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
471 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 617 | hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
472 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 618 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -484,9 +630,9 @@ hmactest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | |||
484 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 630 | hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h |
485 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | 631 | hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h |
486 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c | 632 | hmactest.o: ../include/openssl/ui_compat.h hmactest.c |
487 | ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h | 633 | ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h |
488 | ideatest.o: ideatest.c | 634 | ideatest.o: ../include/openssl/opensslconf.h ideatest.c |
489 | md2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 635 | md2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
490 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 636 | md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
491 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 637 | md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
492 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 638 | md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -503,7 +649,7 @@ md2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
503 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 649 | md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
504 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 650 | md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
505 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c | 651 | md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c |
506 | md4test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 652 | md4test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
507 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 653 | md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
508 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 654 | md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
509 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 655 | md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -520,7 +666,7 @@ md4test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
520 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 666 | md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
521 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 667 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
522 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c | 668 | md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c |
523 | md5test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 669 | md5test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
524 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 670 | md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
525 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 671 | md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
526 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 672 | md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -537,7 +683,7 @@ md5test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
537 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 683 | md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
538 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 684 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
539 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c | 685 | md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c |
540 | mdc2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 686 | mdc2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
541 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 687 | mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
542 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 688 | mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
543 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 689 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -554,12 +700,16 @@ mdc2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
554 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 700 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
555 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 701 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
556 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c | 702 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c |
557 | randtest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h | 703 | randtest.o: ../e_os.h ../include/openssl/e_os2.h |
558 | randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h randtest.c | 704 | randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h |
705 | randtest.o: ../include/openssl/rand.h randtest.c | ||
706 | rc2test.o: ../e_os.h ../include/openssl/e_os2.h | ||
559 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c | 707 | rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c |
708 | rc4test.o: ../e_os.h ../include/openssl/e_os2.h | ||
560 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c | 709 | rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c |
561 | rc5test.o: ../include/openssl/rc5.h rc5test.c | 710 | rc5test.o: ../e_os.h ../include/openssl/e_os2.h |
562 | rmdtest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 711 | rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c |
712 | rmdtest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
563 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 713 | rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
564 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 714 | rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
565 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 715 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -578,15 +728,13 @@ rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
578 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c | 728 | rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c |
579 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 729 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
580 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 730 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
581 | rsa_test.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 731 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h |
582 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 732 | rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h |
583 | rsa_test.o: ../include/openssl/err.h ../include/openssl/lhash.h | 733 | rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
584 | rsa_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 734 | rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h |
585 | rsa_test.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 735 | rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
586 | rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 736 | rsa_test.o: ../include/openssl/symhacks.h rsa_test.c |
587 | rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 737 | sha1test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
588 | rsa_test.o: ../include/openssl/ui.h rsa_test.c | ||
589 | sha1test.o: ../include/openssl/aes.h ../include/openssl/asn1.h | ||
590 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 738 | sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
591 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h | 739 | sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h |
592 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h | 740 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
@@ -603,7 +751,7 @@ sha1test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | |||
603 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 751 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
604 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 752 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
605 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c | 753 | sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c |
606 | shatest.o: ../include/openssl/aes.h ../include/openssl/asn1.h | 754 | shatest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
607 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 755 | shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
608 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h | 756 | shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h |
609 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h | 757 | shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h |