summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkus <>2003-05-11 21:36:53 +0000
committermarkus <>2003-05-11 21:36:53 +0000
commitd8796e3ff9f4d4ef299e84e2d0d2391314ecd811 (patch)
treed2abfc4050973efdee94c9fdeb16c1be18fbad67
parentcb7ad8e6800971ee3f2b6cd03d0231f7808b1082 (diff)
downloadopenbsd-d8796e3ff9f4d4ef299e84e2d0d2391314ecd811.tar.gz
openbsd-d8796e3ff9f4d4ef299e84e2d0d2391314ecd811.tar.bz2
openbsd-d8796e3ff9f4d4ef299e84e2d0d2391314ecd811.zip
import 0.9.7b (without idea and rc5)
-rw-r--r--src/lib/libcrypto/Makefile.ssl12
-rw-r--r--src/lib/libcrypto/aes/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/asn1/Makefile.ssl19
-rw-r--r--src/lib/libcrypto/bf/Makefile.ssl14
-rw-r--r--src/lib/libcrypto/bio/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/bn/Makefile.ssl33
-rw-r--r--src/lib/libcrypto/buffer/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/cast/Makefile.ssl14
-rw-r--r--src/lib/libcrypto/comp/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/conf/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/des/Makefile.ssl23
-rw-r--r--src/lib/libcrypto/dh/Makefile.ssl19
-rw-r--r--src/lib/libcrypto/dsa/Makefile.ssl32
-rw-r--r--src/lib/libcrypto/dso/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/ec/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/engine/Makefile.ssl68
-rw-r--r--src/lib/libcrypto/err/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/evp/Makefile.ssl30
-rw-r--r--src/lib/libcrypto/hmac/Makefile.ssl36
-rw-r--r--src/lib/libcrypto/idea/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/krb5/Makefile.ssl4
-rw-r--r--src/lib/libcrypto/lhash/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/md2/Makefile.ssl7
-rw-r--r--src/lib/libcrypto/md4/Makefile.ssl9
-rw-r--r--src/lib/libcrypto/md5/Makefile.ssl31
-rw-r--r--src/lib/libcrypto/mdc2/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/objects/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/ocsp/Makefile.ssl4
-rw-r--r--src/lib/libcrypto/pem/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/pkcs12/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/pkcs7/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/rand/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/rc2/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/rc4/Makefile.ssl14
-rw-r--r--src/lib/libcrypto/rc5/Makefile.ssl14
-rw-r--r--src/lib/libcrypto/ripemd/Makefile.ssl21
-rw-r--r--src/lib/libcrypto/rsa/Makefile.ssl44
-rw-r--r--src/lib/libcrypto/sha/Makefile.ssl28
-rw-r--r--src/lib/libcrypto/stack/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/txt_db/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/ui/Makefile.ssl18
-rw-r--r--src/lib/libcrypto/x509/Makefile.ssl2
-rw-r--r--src/lib/libcrypto/x509v3/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/Makefile.ssl244
-rw-r--r--src/lib/libssl/src/apps/Makefile.ssl81
-rw-r--r--src/lib/libssl/src/apps/der_chop2
-rw-r--r--src/lib/libssl/src/crypto/Makefile.ssl12
-rw-r--r--src/lib/libssl/src/crypto/aes/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/asn1/Makefile.ssl19
-rw-r--r--src/lib/libssl/src/crypto/bf/Makefile.ssl14
-rw-r--r--src/lib/libssl/src/crypto/bio/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/bn/Makefile.ssl33
-rw-r--r--src/lib/libssl/src/crypto/buffer/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/cast/Makefile.ssl14
-rw-r--r--src/lib/libssl/src/crypto/comp/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/conf/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/des/Makefile.ssl23
-rw-r--r--src/lib/libssl/src/crypto/dh/Makefile.ssl19
-rw-r--r--src/lib/libssl/src/crypto/dsa/Makefile.ssl32
-rw-r--r--src/lib/libssl/src/crypto/dso/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/ec/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/engine/Makefile.ssl68
-rw-r--r--src/lib/libssl/src/crypto/err/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/evp/Makefile.ssl30
-rw-r--r--src/lib/libssl/src/crypto/hmac/Makefile.ssl36
-rw-r--r--src/lib/libssl/src/crypto/idea/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/krb5/Makefile.ssl4
-rw-r--r--src/lib/libssl/src/crypto/lhash/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/md2/Makefile.ssl7
-rw-r--r--src/lib/libssl/src/crypto/md4/Makefile.ssl9
-rw-r--r--src/lib/libssl/src/crypto/md5/Makefile.ssl31
-rw-r--r--src/lib/libssl/src/crypto/mdc2/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/objects/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/ocsp/Makefile.ssl4
-rw-r--r--src/lib/libssl/src/crypto/pem/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/pkcs12/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/pkcs7/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/rand/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/rc2/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/rc4/Makefile.ssl14
-rw-r--r--src/lib/libssl/src/crypto/rc5/Makefile.ssl14
-rw-r--r--src/lib/libssl/src/crypto/ripemd/Makefile.ssl21
-rw-r--r--src/lib/libssl/src/crypto/rsa/Makefile.ssl44
-rw-r--r--src/lib/libssl/src/crypto/sha/Makefile.ssl28
-rw-r--r--src/lib/libssl/src/crypto/stack/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/txt_db/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/ui/Makefile.ssl18
-rw-r--r--src/lib/libssl/src/crypto/x509/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/crypto/x509v3/Makefile.ssl2
-rw-r--r--src/lib/libssl/src/ssl/Makefile.ssl158
-rw-r--r--src/lib/libssl/src/test/Makefile.ssl384
-rw-r--r--src/lib/libssl/src/tools/Makefile.ssl10
-rw-r--r--src/lib/libssl/test/Makefile.ssl384
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
37LIB= $(TOP)/libcrypto.a 37LIB= $(TOP)/libcrypto.a
38SHARED_LIB= libcrypto$(SHLIB_EXT) 38SHARED_LIB= libcrypto$(SHLIB_EXT)
39LIBSRC= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c 39LIBSRC= 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
40LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o 40LIBOBJ= 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
42SRC= $(LIBSRC) 42SRC= $(LIBSRC)
43 43
@@ -136,12 +136,12 @@ lint:
136 136
137depend: 137depend:
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
147clean: 147clean:
@@ -193,6 +193,10 @@ mem.o: ../include/openssl/err.h ../include/openssl/lhash.h
193mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 193mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
194mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h 194mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h
195mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c 195mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c
196mem_clr.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
197mem_clr.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
198mem_clr.o: ../include/openssl/safestack.h ../include/openssl/stack.h
199mem_clr.o: ../include/openssl/symhacks.h mem_clr.c
196mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h 200mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h
197mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 201mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
198mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h 202mem_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
77depend: 77depend:
78 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 78 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 79
80dclean: 80dclean:
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
100depend: 100depend:
101 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 101 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
102 102
103dclean: 103dclean:
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
286a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 286a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
287a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 287a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
288a_sign.o: ../cryptlib.h a_sign.c 288a_sign.o: ../cryptlib.h a_sign.c
289a_strex.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h 289a_strex.o: ../../e_os.h ../../include/openssl/aes.h
290a_strex.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h 290a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
291a_strex.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 291a_strex.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
292a_strex.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h 292a_strex.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
293a_strex.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 293a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
294a_strex.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 294a_strex.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
295a_strex.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h 295a_strex.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
296a_strex.o: ../../include/openssl/err.h ../../include/openssl/evp.h
296a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h 297a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
297a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h 298a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
298a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h 299a_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
305a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 306a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
306a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 307a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
307a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h 308a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
308a_strex.o: ../../include/openssl/x509_vfy.h a_strex.c charmap.h 309a_strex.o: ../../include/openssl/x509_vfy.h ../cryptlib.h a_strex.c charmap.h
309a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h 310a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h
310a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 311a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
311a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 312a_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
52asm/bx86-elf.o: asm/bx86unix.cpp 52asm/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
56asm/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
62asm/bx86-out.o: asm/bx86unix.cpp 56asm/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
98depend: 92depend:
99 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 93 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
100 94
101dclean: 95dclean:
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
105clean: 99clean:
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
80depend: 80depend:
81 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82 82
83dclean: 83dclean:
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
24CFLAGS= $(INCLUDES) $(CFLAG) 24CFLAGS= $(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.
31AS=$(CC) -c
32ASFLAGS=$(CFLAGS)
33
34GENERAL=Makefile 26GENERAL=Makefile
35TEST=bntest.c exptest.c 27TEST=bntest.c exptest.c
36APPS= 28APPS=
@@ -73,22 +65,11 @@ lib: $(LIBOBJ)
73 @touch lib 65 @touch lib
74 66
75# elf 67# elf
76asm/bn86-elf.o: asm/bn86unix.cpp 68asm/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
79asm/co86-elf.o: asm/co86unix.cpp
80 $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o
81 70
82# solaris 71asm/co86-elf.s: asm/co-586.pl ../perlasm/x86asm.pl
83asm/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
88asm/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
94asm/bn86-out.o: asm/bn86unix.cpp 75asm/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
120asm/x86_64-gcc.o: asm/x86_64-gcc.c
121
139files: 122files:
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
171depend: 154depend:
172 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 155 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
173 156
174dclean: 157dclean:
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
178clean: 161clean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
55asm/cx86-elf.o: asm/cx86unix.cpp 55asm/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
59asm/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
65asm/cx86-out.o: asm/cx86unix.cpp 59asm/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
99depend: 93depend:
100 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 94 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
101 95
102dclean: 96dclean:
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
106clean: 100clean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
69asm/dx86-elf.o: asm/dx86unix.cpp 69asm/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
72asm/yx86-elf.o: asm/yx86unix.cpp 72asm/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
76asm/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
81asm/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
87asm/dx86-out.o: asm/dx86unix.cpp 76asm/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
132depend: 121depend:
133 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 122 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
134 123
135dclean: 124dclean:
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
139clean: 128clean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
112dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 112dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
113dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 113dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114dh_gen.o: ../cryptlib.h dh_gen.c 114dh_gen.o: ../cryptlib.h dh_gen.c
115dh_key.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 115dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
116dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 116dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
117dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 117dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
118dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 118dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
119dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h 119dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
120dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 120dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
121dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
122dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
123dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 121dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
124dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 122dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c
125dh_key.o: ../cryptlib.h dh_key.c
126dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 123dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
127dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 124dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
128dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 125dh_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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
143dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 143dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
144dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 144dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
145dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 145dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
146dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 146dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
147dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 147dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
148dsa_ossl.o: ../../include/openssl/opensslconf.h
149dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 148dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
150dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h 149dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
151dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 150dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
152dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
153dsa_ossl.o: ../cryptlib.h dsa_ossl.c 151dsa_ossl.o: ../cryptlib.h dsa_ossl.c
154dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h 152dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
155dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 153dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
156dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 154dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
157dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 155dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
158dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 156dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
159dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 157dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
160dsa_sign.o: ../../include/openssl/opensslconf.h
161dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 158dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
162dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h 159dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
163dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 160dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
164dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
165dsa_sign.o: ../cryptlib.h dsa_sign.c 161dsa_sign.o: ../cryptlib.h dsa_sign.c
166dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h 162dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
167dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h 163dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
168dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 164dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
169dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 165dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
170dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 166dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
171dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h 167dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
172dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 168dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
173dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 169dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
174dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
175dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 170dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
176dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 171dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c
177dsa_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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
75 75
76dclean: 76dclean:
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
32LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ 32LIBOBJ= 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
39SRC= $(LIBSRC) 39SRC= $(LIBSRC)
40 40
@@ -50,7 +50,7 @@ all: lib
50 50
51lib: $(LIBOBJ) 51lib: $(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
56files: 56files:
@@ -82,7 +82,7 @@ lint:
82 lint -DLINT $(INCLUDES) $(SRC)>fluff 82 lint -DLINT $(INCLUDES) $(SRC)>fluff
83 83
84depend: 84depend:
85 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 85 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
86 86
87dclean: 87dclean:
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
304hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 304hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
305hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h 305hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h
306hw_atalla.o: vendor_defns/atalla.h 306hw_atalla.o: vendor_defns/atalla.h
307hw_cryptodev.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
308hw_cryptodev.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
309hw_cryptodev.o: ../../include/openssl/bn.h ../../include/openssl/cast.h
310hw_cryptodev.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
311hw_cryptodev.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
312hw_cryptodev.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
313hw_cryptodev.o: ../../include/openssl/engine.h ../../include/openssl/err.h
314hw_cryptodev.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
315hw_cryptodev.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
316hw_cryptodev.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
317hw_cryptodev.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
318hw_cryptodev.o: ../../include/openssl/objects.h
319hw_cryptodev.o: ../../include/openssl/opensslconf.h
320hw_cryptodev.o: ../../include/openssl/opensslv.h
321hw_cryptodev.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
322hw_cryptodev.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
323hw_cryptodev.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
324hw_cryptodev.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
325hw_cryptodev.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
326hw_cryptodev.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
327hw_cryptodev.o: ../../include/openssl/ui_compat.h hw_cryptodev.c
307hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h 328hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
308hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 329hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
309hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 330hw_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
354hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 375hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
355hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 376hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
356hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h 377hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h
357hw_openbsd_dev_crypto.o: ../../include/openssl/aes.h
358hw_openbsd_dev_crypto.o: ../../include/openssl/asn1.h
359hw_openbsd_dev_crypto.o: ../../include/openssl/bio.h
360hw_openbsd_dev_crypto.o: ../../include/openssl/blowfish.h
361hw_openbsd_dev_crypto.o: ../../include/openssl/bn.h
362hw_openbsd_dev_crypto.o: ../../include/openssl/cast.h
363hw_openbsd_dev_crypto.o: ../../include/openssl/conf.h
364hw_openbsd_dev_crypto.o: ../../include/openssl/crypto.h
365hw_openbsd_dev_crypto.o: ../../include/openssl/des.h
366hw_openbsd_dev_crypto.o: ../../include/openssl/des_old.h
367hw_openbsd_dev_crypto.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
368hw_openbsd_dev_crypto.o: ../../include/openssl/e_os2.h
369hw_openbsd_dev_crypto.o: ../../include/openssl/engine.h
370hw_openbsd_dev_crypto.o: ../../include/openssl/err.h
371hw_openbsd_dev_crypto.o: ../../include/openssl/evp.h
372hw_openbsd_dev_crypto.o: ../../include/openssl/idea.h
373hw_openbsd_dev_crypto.o: ../../include/openssl/lhash.h
374hw_openbsd_dev_crypto.o: ../../include/openssl/md2.h
375hw_openbsd_dev_crypto.o: ../../include/openssl/md4.h
376hw_openbsd_dev_crypto.o: ../../include/openssl/md5.h
377hw_openbsd_dev_crypto.o: ../../include/openssl/mdc2.h
378hw_openbsd_dev_crypto.o: ../../include/openssl/obj_mac.h
379hw_openbsd_dev_crypto.o: ../../include/openssl/objects.h
380hw_openbsd_dev_crypto.o: ../../include/openssl/opensslconf.h
381hw_openbsd_dev_crypto.o: ../../include/openssl/opensslv.h
382hw_openbsd_dev_crypto.o: ../../include/openssl/ossl_typ.h
383hw_openbsd_dev_crypto.o: ../../include/openssl/rand.h
384hw_openbsd_dev_crypto.o: ../../include/openssl/rc2.h
385hw_openbsd_dev_crypto.o: ../../include/openssl/rc4.h
386hw_openbsd_dev_crypto.o: ../../include/openssl/rc5.h
387hw_openbsd_dev_crypto.o: ../../include/openssl/ripemd.h
388hw_openbsd_dev_crypto.o: ../../include/openssl/rsa.h
389hw_openbsd_dev_crypto.o: ../../include/openssl/safestack.h
390hw_openbsd_dev_crypto.o: ../../include/openssl/sha.h
391hw_openbsd_dev_crypto.o: ../../include/openssl/stack.h
392hw_openbsd_dev_crypto.o: ../../include/openssl/symhacks.h
393hw_openbsd_dev_crypto.o: ../../include/openssl/ui.h
394hw_openbsd_dev_crypto.o: ../../include/openssl/ui_compat.h ../evp/evp_locl.h
395hw_openbsd_dev_crypto.o: eng_int.h hw_openbsd_dev_crypto.c
396hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h 378hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h
397hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 379hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
398hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h 380hw_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
76install: 76install:
@@ -89,7 +89,7 @@ lint:
89 lint -DLINT $(INCLUDES) $(SRC)>fluff 89 lint -DLINT $(INCLUDES) $(SRC)>fluff
90 90
91depend: 91depend:
92 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 92 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
93 93
94dclean: 94dclean:
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
496evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 496evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
497evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 497evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
498evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 498evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
499evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 499evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
500evp_acnf.o: ../../include/openssl/err.h ../../include/openssl/evp.h 500evp_acnf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
501evp_acnf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h 501evp_acnf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
502evp_acnf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h 502evp_acnf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
503evp_acnf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h 503evp_acnf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
504evp_acnf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 504evp_acnf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
505evp_acnf.o: ../../include/openssl/opensslconf.h
506evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 505evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
507evp_acnf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h 506evp_acnf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
508evp_acnf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h 507evp_acnf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
509evp_acnf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h 508evp_acnf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
510evp_acnf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 509evp_acnf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
511evp_acnf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 510evp_acnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
512evp_acnf.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 511evp_acnf.o: ../../include/openssl/ui_compat.h ../cryptlib.h evp_acnf.c
513evp_acnf.o: ../cryptlib.h evp_acnf.c
514evp_enc.o: ../../e_os.h ../../include/openssl/aes.h 512evp_enc.o: ../../e_os.h ../../include/openssl/aes.h
515evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 513evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
516evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h 514evp_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
82hmac.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h 82hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
83hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h 83hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
84hmac.o: ../../include/openssl/bn.h ../../include/openssl/cast.h 84hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
85hmac.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 85hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
86hmac.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h 86hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
87hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 87hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
88hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
88hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h 89hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
89hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h 90hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
90hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h 91hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
91hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h 92hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
92hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 93hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
93hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 94hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
94hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h 95hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h
95hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h 96hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
96hmac.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 97hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
97hmac.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 98hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
98hmac.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 99hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99hmac.o: ../../include/openssl/ui_compat.h hmac.c 100hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
101hmac.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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
42lib: $(LIBOBJ) 42lib: $(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
47files: 47files:
@@ -69,7 +69,7 @@ lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff 69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70 70
71depend: 71depend:
72 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 72 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
73 73
74dclean: 74dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
82md2_dgst.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
82md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h 83md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h
83md2_dgst.o: ../../include/openssl/opensslv.h md2_dgst.c 84md2_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
85md2_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
86md2_dgst.o: md2_dgst.c
84md2_one.o: ../../e_os.h ../../include/openssl/bio.h 87md2_one.o: ../../e_os.h ../../include/openssl/bio.h
85md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 88md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
86md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 89md2_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
71depend: 71depend:
72 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 72 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
73 73
74dclean: 74dclean:
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
84md4_dgst.o: ../../include/openssl/opensslconf.h 84md4_dgst.o: ../../include/openssl/opensslconf.h
85md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c 85md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c
86md4_dgst.o: md4_locl.h 86md4_dgst.o: md4_locl.h
87md4_one.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h 87md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
88md4_one.o: ../../include/openssl/opensslconf.h md4_one.c 88md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
89md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
90md4_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
91md4_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
22CFLAGS= $(INCLUDES) $(CFLAG) 22CFLAGS= $(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.
29AS=$(CC) -c
30ASFLAGS=$(CFLAGS)
31
32GENERAL=Makefile 24GENERAL=Makefile
33TEST=md5test.c 25TEST=md5test.c
34APPS= 26APPS=
@@ -55,14 +47,8 @@ lib: $(LIBOBJ)
55 @touch lib 47 @touch lib
56 48
57# elf 49# elf
58asm/mx86-elf.o: asm/mx86unix.cpp 50asm/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
62asm/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
68asm/mx86-out.o: asm/mx86unix.cpp 54asm/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
120depend: 106depend:
121 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 107 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
122 108
123dclean: 109dclean:
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
127clean: 113clean:
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
132md5_dgst.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h 118md5_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md5.h
119md5_dgst.o: ../../include/openssl/opensslconf.h
133md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c 120md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c
134md5_dgst.o: md5_locl.h 121md5_dgst.o: md5_locl.h
135md5_one.o: ../../include/openssl/md5.h md5_one.c 122md5_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
123md5_one.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h
124md5_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
125md5_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
126md5_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
78depend: 78depend:
79 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 79 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
80 80
81dclean: 81dclean:
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
44lib: $(LIBOBJ) 44lib: $(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
49files: 49files:
@@ -71,7 +71,7 @@ lint:
71 lint -DLINT $(INCLUDES) $(SRC)>fluff 71 lint -DLINT $(INCLUDES) $(SRC)>fluff
72 72
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
76depend: 76depend:
77 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
78 78
79dclean: 79dclean:
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
91depend: 91depend:
92 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 92 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
93 93
94dclean: 94dclean:
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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
55asm/rx86-elf.o: asm/rx86unix.cpp 55asm/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
59asm/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
65asm/rx86-out.o: asm/rx86unix.cpp 59asm/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
99depend: 93depend:
100 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 94 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
101 95
102dclean: 96dclean:
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
106clean: 100clean:
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
52asm/r586-elf.o: asm/r586unix.cpp 52asm/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
56asm/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
62asm/r586-out.o: asm/r586unix.cpp 56asm/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
96depend: 90depend:
97 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 91 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
98 92
99dclean: 93dclean:
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
103clean: 97clean:
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
50asm/rm86-elf.o: asm/rm86unix.cpp 50asm/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
54asm/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
60asm/rm86-out.o: asm/rm86unix.cpp 54asm/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
94depend: 88depend:
95 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 89 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
96 90
97dclean: 91dclean:
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
101clean: 95clean:
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
106rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 100rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
107rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h 101rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
108rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h 102rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
109rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 103rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
110rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c 104rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
105rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h
106rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
107rmd_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
74depend: 74depend:
75 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 76
77dclean: 77dclean:
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
104rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h 104rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h
105rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 105rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 106rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 107rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 108rsa_eay.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
109rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 109rsa_eay.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 110rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
111rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 111rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 112rsa_eay.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_eay.c
113rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114rsa_eay.o: ../../include/openssl/ui.h ../cryptlib.h rsa_eay.c
115rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 113rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
116rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 114rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
117rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 115rsa_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
217rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 215rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
218rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h 216rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
219rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 217rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
220rsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h 218rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
221rsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h 219rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
222rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h 220rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
223rsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h 221rsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
224rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h 222rsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
225rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 223rsa_sign.o: ../../include/openssl/opensslconf.h
226rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 224rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
227rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h 225rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
228rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h 226rsa_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
229rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h 227rsa_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
230rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 228rsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
231rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 229rsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
232rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 230rsa_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
233rsa_sign.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h 231rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
234rsa_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_sign.c 232rsa_sign.o: ../cryptlib.h rsa_sign.c
235rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h 233rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h
236rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 234rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
237rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 235rsa_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
50asm/sx86-elf.o: asm/sx86unix.cpp 50asm/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
54asm/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
60asm/sx86-out.o: asm/sx86unix.cpp 54asm/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
94depend: 88depend:
95 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 89 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
96 90
97dclean: 91dclean:
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
101clean: 95clean:
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
106sha1_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 100sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
107sha1_one.o: ../../include/openssl/sha.h sha1_one.c 101sha1_one.o: ../../include/openssl/opensslconf.h
102sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103sha1_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
104sha1_one.o: ../../include/openssl/symhacks.h sha1_one.c
108sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 105sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
109sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h 106sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
110sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h 107sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h
111sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 108sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
112sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h 109sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
113sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h 110sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h
114sha_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 111sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
115sha_one.o: ../../include/openssl/sha.h sha_one.c 112sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
113sha_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
114sha_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
115sha_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
45lib: $(LIBOBJ) 45lib: $(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
50files: 50files:
@@ -72,7 +72,7 @@ lint:
72 lint -DLINT $(INCLUDES) $(SRC)>fluff 72 lint -DLINT $(INCLUDES) $(SRC)>fluff
73 73
74depend: 74depend:
75 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 76
77dclean: 77dclean:
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
95ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h 95ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
96ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 96ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97ui_err.o: ../../include/openssl/ui.h ui_err.c 97ui_err.o: ../../include/openssl/ui.h ui_err.c
98ui_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 98ui_lib.o: ../../e_os.h ../../include/openssl/bio.h
99ui_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 99ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100ui_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 100ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101ui_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 101ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
102ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 102ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_lib.c 103ui_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104ui_lib.o: ui_locl.h 104ui_lib.o: ../../include/openssl/ui.h ../cryptlib.h ui_lib.c ui_locl.h
105ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h 105ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h
106ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 106ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 107ui_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
80depend: 80depend:
81 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82 82
83dclean: 83dclean:
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
76depend: 76depend:
77 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
78 78
79dclean: 79dclean:
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
7VERSION=0.9.7-beta3 7VERSION=0.9.7b
8MAJOR=0 8MAJOR=0
9MINOR=9.7 9MINOR=9.7
10SHLIB_VERSION_NUMBER=0.9.7 10SHLIB_VERSION_NUMBER=0.9.7
@@ -17,6 +17,11 @@ OPTIONS= no-krb5
17CONFIGURE_ARGS=dist 17CONFIGURE_ARGS=dist
18SHLIB_TARGET= 18SHLIB_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.
23HERE=.
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=
61PEX_LIBS= 66PEX_LIBS=
62EX_LIBS= 67EX_LIBS=
63EXE_EXT= 68EXE_EXT=
64AR=ar r 69ARFLAGS=
70AR=ar $(ARFLAGS) r
65RANLIB= /usr/bin/ranlib 71RANLIB= /usr/bin/ranlib
66PERL= /usr/local/bin/perl5 72PERL= /usr/local/bin/perl
67TAR= tar 73TAR= tar
68TARFLAGS= --no-recursion 74TARFLAGS= --no-recursion
69MAKEDEPPROG=makedepend 75MAKEDEPPROG=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.
82AS=$(CC) -c
83ASFLAGS=$(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
72BN_ASM= bn_asm.o 86BN_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
209all: Makefile.ssl sub_all 223all: Makefile.ssl sub_all openssl.pc
210 224
211sub_all: 225sub_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
265do_linux-shared: do_gnu-shared 280do_linux-shared: do_gnu-shared
266do_gnu-shared: 281do_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
277DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ 295DETECT_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)
285do_darwin-shared: 298do_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
295do_cygwin-shared: 311do_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#
432do_hpux-shared: 479do_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#
452do_hpux64-shared: 502do_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
493SHAREDCMD=$(CC) 546SHAREDCMD=$(CC)
494do_aix-shared: 547do_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
505do_reliantunix-shared: 562do_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
579openssl.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
519Makefile.ssl: Makefile.org 592Makefile.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
524libclean: 597libclean:
525 rm -f *.a */lib */*/lib 598 rm -f *.map *.so *.so.* engines/*.so *.a */lib */*/lib
526 599
527clean: 600clean: 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
584rehash.time: certs 658rehash.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
594tests: rehash 672tests: 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
601report: 683report:
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.
660tar: 742tar:
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:
687install: all install_docs 772install: 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
739install_docs: 837install_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
87exe: $(PROGRAM) 87exe: $(PROGRAM)
88 88
89req: sreq.o $(A_OBJ) $(DLIBCRYPTO) 89req: 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
92sreq.o: req.c 93sreq.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
114tags: 118tags:
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
125depend: 129depend:
126 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) 130 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC)
127 131
128dclean: 132dclean:
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
154progs.h: progs.pl 163progs.h: progs.pl
@@ -762,30 +771,30 @@ rand.o: ../include/openssl/sha.h ../include/openssl/stack.h
762rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h 771rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h
763rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h 772rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
764rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rand.c 773rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rand.c
765req.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 774req.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
766req.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 775req.o: ../include/openssl/asn1.h ../include/openssl/bio.h
767req.o: ../include/openssl/bn.h ../include/openssl/buffer.h 776req.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
768req.o: ../include/openssl/cast.h ../include/openssl/conf.h 777req.o: ../include/openssl/buffer.h ../include/openssl/cast.h
769req.o: ../include/openssl/crypto.h ../include/openssl/des.h 778req.o: ../include/openssl/conf.h ../include/openssl/crypto.h
770req.o: ../include/openssl/des_old.h ../include/openssl/dh.h 779req.o: ../include/openssl/des.h ../include/openssl/des_old.h
771req.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h 780req.o: ../include/openssl/dh.h ../include/openssl/dsa.h
772req.o: ../include/openssl/engine.h ../include/openssl/err.h 781req.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
773req.o: ../include/openssl/evp.h ../include/openssl/idea.h 782req.o: ../include/openssl/err.h ../include/openssl/evp.h
774req.o: ../include/openssl/lhash.h ../include/openssl/md2.h 783req.o: ../include/openssl/idea.h ../include/openssl/lhash.h
775req.o: ../include/openssl/md4.h ../include/openssl/md5.h 784req.o: ../include/openssl/md2.h ../include/openssl/md4.h
776req.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h 785req.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
777req.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 786req.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
778req.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 787req.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
779req.o: ../include/openssl/pem.h ../include/openssl/pem2.h 788req.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
780req.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h 789req.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
781req.o: ../include/openssl/rc2.h ../include/openssl/rc4.h 790req.o: ../include/openssl/rand.h ../include/openssl/rc2.h
782req.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h 791req.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
783req.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 792req.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
784req.o: ../include/openssl/sha.h ../include/openssl/stack.h 793req.o: ../include/openssl/safestack.h ../include/openssl/sha.h
785req.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h 794req.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
786req.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h 795req.o: ../include/openssl/txt_db.h ../include/openssl/ui.h
787req.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h 796req.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
788req.o: ../include/openssl/x509v3.h apps.h req.c 797req.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h req.c
789rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 798rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
790rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 799rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
791rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h 800rsa.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
37LIB= $(TOP)/libcrypto.a 37LIB= $(TOP)/libcrypto.a
38SHARED_LIB= libcrypto$(SHLIB_EXT) 38SHARED_LIB= libcrypto$(SHLIB_EXT)
39LIBSRC= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c 39LIBSRC= 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
40LIBOBJ= cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o 40LIBOBJ= 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
42SRC= $(LIBSRC) 42SRC= $(LIBSRC)
43 43
@@ -136,12 +136,12 @@ lint:
136 136
137depend: 137depend:
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
147clean: 147clean:
@@ -193,6 +193,10 @@ mem.o: ../include/openssl/err.h ../include/openssl/lhash.h
193mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 193mem.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
194mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h 194mem.o: ../include/openssl/safestack.h ../include/openssl/stack.h
195mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c 195mem.o: ../include/openssl/symhacks.h cryptlib.h mem.c
196mem_clr.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
197mem_clr.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
198mem_clr.o: ../include/openssl/safestack.h ../include/openssl/stack.h
199mem_clr.o: ../include/openssl/symhacks.h mem_clr.c
196mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h 200mem_dbg.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/buffer.h
197mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 201mem_dbg.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
198mem_dbg.o: ../include/openssl/err.h ../include/openssl/lhash.h 202mem_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
77depend: 77depend:
78 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 78 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 79
80dclean: 80dclean:
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
100depend: 100depend:
101 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 101 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
102 102
103dclean: 103dclean:
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
286a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 286a_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
287a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 287a_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
288a_sign.o: ../cryptlib.h a_sign.c 288a_sign.o: ../cryptlib.h a_sign.c
289a_strex.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h 289a_strex.o: ../../e_os.h ../../include/openssl/aes.h
290a_strex.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h 290a_strex.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
291a_strex.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 291a_strex.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
292a_strex.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h 292a_strex.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
293a_strex.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 293a_strex.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
294a_strex.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 294a_strex.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
295a_strex.o: ../../include/openssl/e_os2.h ../../include/openssl/evp.h 295a_strex.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
296a_strex.o: ../../include/openssl/err.h ../../include/openssl/evp.h
296a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h 297a_strex.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
297a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h 298a_strex.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
298a_strex.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h 299a_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
305a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 306a_strex.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
306a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 307a_strex.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
307a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h 308a_strex.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
308a_strex.o: ../../include/openssl/x509_vfy.h a_strex.c charmap.h 309a_strex.o: ../../include/openssl/x509_vfy.h ../cryptlib.h a_strex.c charmap.h
309a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h 310a_strnid.o: ../../e_os.h ../../include/openssl/asn1.h
310a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 311a_strnid.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
311a_strnid.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 312a_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
52asm/bx86-elf.o: asm/bx86unix.cpp 52asm/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
56asm/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
62asm/bx86-out.o: asm/bx86unix.cpp 56asm/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
98depend: 92depend:
99 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 93 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
100 94
101dclean: 95dclean:
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
105clean: 99clean:
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
80depend: 80depend:
81 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82 82
83dclean: 83dclean:
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
24CFLAGS= $(INCLUDES) $(CFLAG) 24CFLAGS= $(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.
31AS=$(CC) -c
32ASFLAGS=$(CFLAGS)
33
34GENERAL=Makefile 26GENERAL=Makefile
35TEST=bntest.c exptest.c 27TEST=bntest.c exptest.c
36APPS= 28APPS=
@@ -73,22 +65,11 @@ lib: $(LIBOBJ)
73 @touch lib 65 @touch lib
74 66
75# elf 67# elf
76asm/bn86-elf.o: asm/bn86unix.cpp 68asm/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
79asm/co86-elf.o: asm/co86unix.cpp
80 $(CPP) -DELF -x c asm/co86unix.cpp | as -o asm/co86-elf.o
81 70
82# solaris 71asm/co86-elf.s: asm/co-586.pl ../perlasm/x86asm.pl
83asm/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
88asm/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
94asm/bn86-out.o: asm/bn86unix.cpp 75asm/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
120asm/x86_64-gcc.o: asm/x86_64-gcc.c
121
139files: 122files:
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
171depend: 154depend:
172 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 155 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
173 156
174dclean: 157dclean:
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
178clean: 161clean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
55asm/cx86-elf.o: asm/cx86unix.cpp 55asm/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
59asm/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
65asm/cx86-out.o: asm/cx86unix.cpp 59asm/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
99depend: 93depend:
100 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 94 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
101 95
102dclean: 96dclean:
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
106clean: 100clean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
69asm/dx86-elf.o: asm/dx86unix.cpp 69asm/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
72asm/yx86-elf.o: asm/yx86unix.cpp 72asm/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
76asm/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
81asm/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
87asm/dx86-out.o: asm/dx86unix.cpp 76asm/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
132depend: 121depend:
133 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 122 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
134 123
135dclean: 124dclean:
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
139clean: 128clean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
112dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 112dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
113dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 113dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114dh_gen.o: ../cryptlib.h dh_gen.c 114dh_gen.o: ../cryptlib.h dh_gen.c
115dh_key.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 115dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
116dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 116dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
117dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 117dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
118dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 118dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
119dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h 119dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
120dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 120dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
121dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
122dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
123dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 121dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
124dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 122dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c
125dh_key.o: ../cryptlib.h dh_key.c
126dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 123dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
127dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 124dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
128dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 125dh_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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
143dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 143dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
144dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 144dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
145dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 145dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
146dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 146dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
147dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 147dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
148dsa_ossl.o: ../../include/openssl/opensslconf.h
149dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 148dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
150dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h 149dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
151dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 150dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
152dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
153dsa_ossl.o: ../cryptlib.h dsa_ossl.c 151dsa_ossl.o: ../cryptlib.h dsa_ossl.c
154dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h 152dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
155dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 153dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
156dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 154dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
157dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 155dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
158dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 156dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
159dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 157dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
160dsa_sign.o: ../../include/openssl/opensslconf.h
161dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 158dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
162dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h 159dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
163dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 160dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
164dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
165dsa_sign.o: ../cryptlib.h dsa_sign.c 161dsa_sign.o: ../cryptlib.h dsa_sign.c
166dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h 162dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
167dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h 163dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
168dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 164dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
169dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 165dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
170dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 166dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
171dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h 167dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
172dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 168dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
173dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 169dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
174dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
175dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 170dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
176dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 171dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c
177dsa_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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
75 75
76dclean: 76dclean:
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
32LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ 32LIBOBJ= 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
39SRC= $(LIBSRC) 39SRC= $(LIBSRC)
40 40
@@ -50,7 +50,7 @@ all: lib
50 50
51lib: $(LIBOBJ) 51lib: $(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
56files: 56files:
@@ -82,7 +82,7 @@ lint:
82 lint -DLINT $(INCLUDES) $(SRC)>fluff 82 lint -DLINT $(INCLUDES) $(SRC)>fluff
83 83
84depend: 84depend:
85 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 85 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
86 86
87dclean: 87dclean:
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
304hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 304hw_atalla.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
305hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h 305hw_atalla.o: ../cryptlib.h hw_atalla.c hw_atalla_err.c hw_atalla_err.h
306hw_atalla.o: vendor_defns/atalla.h 306hw_atalla.o: vendor_defns/atalla.h
307hw_cryptodev.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
308hw_cryptodev.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
309hw_cryptodev.o: ../../include/openssl/bn.h ../../include/openssl/cast.h
310hw_cryptodev.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
311hw_cryptodev.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
312hw_cryptodev.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
313hw_cryptodev.o: ../../include/openssl/engine.h ../../include/openssl/err.h
314hw_cryptodev.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
315hw_cryptodev.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
316hw_cryptodev.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
317hw_cryptodev.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
318hw_cryptodev.o: ../../include/openssl/objects.h
319hw_cryptodev.o: ../../include/openssl/opensslconf.h
320hw_cryptodev.o: ../../include/openssl/opensslv.h
321hw_cryptodev.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
322hw_cryptodev.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
323hw_cryptodev.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
324hw_cryptodev.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
325hw_cryptodev.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
326hw_cryptodev.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
327hw_cryptodev.o: ../../include/openssl/ui_compat.h hw_cryptodev.c
307hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h 328hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
308hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 329hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
309hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 330hw_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
354hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 375hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
355hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 376hw_nuron.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
356hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h 377hw_nuron.o: ../cryptlib.h hw_nuron.c hw_nuron_err.c hw_nuron_err.h
357hw_openbsd_dev_crypto.o: ../../include/openssl/aes.h
358hw_openbsd_dev_crypto.o: ../../include/openssl/asn1.h
359hw_openbsd_dev_crypto.o: ../../include/openssl/bio.h
360hw_openbsd_dev_crypto.o: ../../include/openssl/blowfish.h
361hw_openbsd_dev_crypto.o: ../../include/openssl/bn.h
362hw_openbsd_dev_crypto.o: ../../include/openssl/cast.h
363hw_openbsd_dev_crypto.o: ../../include/openssl/conf.h
364hw_openbsd_dev_crypto.o: ../../include/openssl/crypto.h
365hw_openbsd_dev_crypto.o: ../../include/openssl/des.h
366hw_openbsd_dev_crypto.o: ../../include/openssl/des_old.h
367hw_openbsd_dev_crypto.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
368hw_openbsd_dev_crypto.o: ../../include/openssl/e_os2.h
369hw_openbsd_dev_crypto.o: ../../include/openssl/engine.h
370hw_openbsd_dev_crypto.o: ../../include/openssl/err.h
371hw_openbsd_dev_crypto.o: ../../include/openssl/evp.h
372hw_openbsd_dev_crypto.o: ../../include/openssl/idea.h
373hw_openbsd_dev_crypto.o: ../../include/openssl/lhash.h
374hw_openbsd_dev_crypto.o: ../../include/openssl/md2.h
375hw_openbsd_dev_crypto.o: ../../include/openssl/md4.h
376hw_openbsd_dev_crypto.o: ../../include/openssl/md5.h
377hw_openbsd_dev_crypto.o: ../../include/openssl/mdc2.h
378hw_openbsd_dev_crypto.o: ../../include/openssl/obj_mac.h
379hw_openbsd_dev_crypto.o: ../../include/openssl/objects.h
380hw_openbsd_dev_crypto.o: ../../include/openssl/opensslconf.h
381hw_openbsd_dev_crypto.o: ../../include/openssl/opensslv.h
382hw_openbsd_dev_crypto.o: ../../include/openssl/ossl_typ.h
383hw_openbsd_dev_crypto.o: ../../include/openssl/rand.h
384hw_openbsd_dev_crypto.o: ../../include/openssl/rc2.h
385hw_openbsd_dev_crypto.o: ../../include/openssl/rc4.h
386hw_openbsd_dev_crypto.o: ../../include/openssl/rc5.h
387hw_openbsd_dev_crypto.o: ../../include/openssl/ripemd.h
388hw_openbsd_dev_crypto.o: ../../include/openssl/rsa.h
389hw_openbsd_dev_crypto.o: ../../include/openssl/safestack.h
390hw_openbsd_dev_crypto.o: ../../include/openssl/sha.h
391hw_openbsd_dev_crypto.o: ../../include/openssl/stack.h
392hw_openbsd_dev_crypto.o: ../../include/openssl/symhacks.h
393hw_openbsd_dev_crypto.o: ../../include/openssl/ui.h
394hw_openbsd_dev_crypto.o: ../../include/openssl/ui_compat.h ../evp/evp_locl.h
395hw_openbsd_dev_crypto.o: eng_int.h hw_openbsd_dev_crypto.c
396hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h 378hw_sureware.o: ../../e_os.h ../../include/openssl/aes.h
397hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 379hw_sureware.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
398hw_sureware.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h 380hw_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
76install: 76install:
@@ -89,7 +89,7 @@ lint:
89 lint -DLINT $(INCLUDES) $(SRC)>fluff 89 lint -DLINT $(INCLUDES) $(SRC)>fluff
90 90
91depend: 91depend:
92 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 92 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
93 93
94dclean: 94dclean:
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
496evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 496evp_acnf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
497evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 497evp_acnf.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
498evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 498evp_acnf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
499evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 499evp_acnf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
500evp_acnf.o: ../../include/openssl/err.h ../../include/openssl/evp.h 500evp_acnf.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
501evp_acnf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h 501evp_acnf.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
502evp_acnf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h 502evp_acnf.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
503evp_acnf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h 503evp_acnf.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
504evp_acnf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 504evp_acnf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
505evp_acnf.o: ../../include/openssl/opensslconf.h
506evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 505evp_acnf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
507evp_acnf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h 506evp_acnf.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
508evp_acnf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h 507evp_acnf.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
509evp_acnf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h 508evp_acnf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
510evp_acnf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 509evp_acnf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
511evp_acnf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 510evp_acnf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
512evp_acnf.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 511evp_acnf.o: ../../include/openssl/ui_compat.h ../cryptlib.h evp_acnf.c
513evp_acnf.o: ../cryptlib.h evp_acnf.c
514evp_enc.o: ../../e_os.h ../../include/openssl/aes.h 512evp_enc.o: ../../e_os.h ../../include/openssl/aes.h
515evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 513evp_enc.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
516evp_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h 514evp_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
82hmac.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h 82hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
83hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h 83hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
84hmac.o: ../../include/openssl/bn.h ../../include/openssl/cast.h 84hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
85hmac.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 85hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
86hmac.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h 86hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
87hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 87hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
88hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
88hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h 89hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
89hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h 90hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
90hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h 91hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
91hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h 92hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
92hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 93hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
93hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 94hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
94hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h 95hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h
95hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h 96hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
96hmac.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 97hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
97hmac.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 98hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
98hmac.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 99hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99hmac.o: ../../include/openssl/ui_compat.h hmac.c 100hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
101hmac.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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
42lib: $(LIBOBJ) 42lib: $(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
47files: 47files:
@@ -69,7 +69,7 @@ lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff 69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70 70
71depend: 71depend:
72 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 72 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
73 73
74dclean: 74dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
82md2_dgst.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
82md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h 83md2_dgst.o: ../../include/openssl/md2.h ../../include/openssl/opensslconf.h
83md2_dgst.o: ../../include/openssl/opensslv.h md2_dgst.c 84md2_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
85md2_dgst.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
86md2_dgst.o: md2_dgst.c
84md2_one.o: ../../e_os.h ../../include/openssl/bio.h 87md2_one.o: ../../e_os.h ../../include/openssl/bio.h
85md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 88md2_one.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
86md2_one.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 89md2_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
71depend: 71depend:
72 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 72 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
73 73
74dclean: 74dclean:
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
84md4_dgst.o: ../../include/openssl/opensslconf.h 84md4_dgst.o: ../../include/openssl/opensslconf.h
85md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c 85md4_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md4_dgst.c
86md4_dgst.o: md4_locl.h 86md4_dgst.o: md4_locl.h
87md4_one.o: ../../include/openssl/e_os2.h ../../include/openssl/md4.h 87md4_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
88md4_one.o: ../../include/openssl/opensslconf.h md4_one.c 88md4_one.o: ../../include/openssl/md4.h ../../include/openssl/opensslconf.h
89md4_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
90md4_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
91md4_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
22CFLAGS= $(INCLUDES) $(CFLAG) 22CFLAGS= $(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.
29AS=$(CC) -c
30ASFLAGS=$(CFLAGS)
31
32GENERAL=Makefile 24GENERAL=Makefile
33TEST=md5test.c 25TEST=md5test.c
34APPS= 26APPS=
@@ -55,14 +47,8 @@ lib: $(LIBOBJ)
55 @touch lib 47 @touch lib
56 48
57# elf 49# elf
58asm/mx86-elf.o: asm/mx86unix.cpp 50asm/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
62asm/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
68asm/mx86-out.o: asm/mx86unix.cpp 54asm/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
120depend: 106depend:
121 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 107 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
122 108
123dclean: 109dclean:
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
127clean: 113clean:
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
132md5_dgst.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h 118md5_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/md5.h
119md5_dgst.o: ../../include/openssl/opensslconf.h
133md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c 120md5_dgst.o: ../../include/openssl/opensslv.h ../md32_common.h md5_dgst.c
134md5_dgst.o: md5_locl.h 121md5_dgst.o: md5_locl.h
135md5_one.o: ../../include/openssl/md5.h md5_one.c 122md5_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
123md5_one.o: ../../include/openssl/md5.h ../../include/openssl/opensslconf.h
124md5_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
125md5_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
126md5_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
78depend: 78depend:
79 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 79 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
80 80
81dclean: 81dclean:
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
44lib: $(LIBOBJ) 44lib: $(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
49files: 49files:
@@ -71,7 +71,7 @@ lint:
71 lint -DLINT $(INCLUDES) $(SRC)>fluff 71 lint -DLINT $(INCLUDES) $(SRC)>fluff
72 72
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
73depend: 73depend:
74 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC) 74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 75
76dclean: 76dclean:
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
76depend: 76depend:
77 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
78 78
79dclean: 79dclean:
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
91depend: 91depend:
92 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 92 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
93 93
94dclean: 94dclean:
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
72depend: 72depend:
73 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74 74
75dclean: 75dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
55asm/rx86-elf.o: asm/rx86unix.cpp 55asm/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
59asm/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
65asm/rx86-out.o: asm/rx86unix.cpp 59asm/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
99depend: 93depend:
100 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 94 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
101 95
102dclean: 96dclean:
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
106clean: 100clean:
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
52asm/r586-elf.o: asm/r586unix.cpp 52asm/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
56asm/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
62asm/r586-out.o: asm/r586unix.cpp 56asm/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
96depend: 90depend:
97 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 91 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
98 92
99dclean: 93dclean:
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
103clean: 97clean:
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
50asm/rm86-elf.o: asm/rm86unix.cpp 50asm/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
54asm/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
60asm/rm86-out.o: asm/rm86unix.cpp 54asm/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
94depend: 88depend:
95 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 89 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
96 90
97dclean: 91dclean:
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
101clean: 95clean:
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
106rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 100rmd_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
107rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h 101rmd_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/ripemd.h
108rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h 102rmd_dgst.o: ../md32_common.h rmd_dgst.c rmd_locl.h rmdconst.h
109rmd_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 103rmd_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
110rmd_one.o: ../../include/openssl/ripemd.h rmd_one.c 104rmd_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
105rmd_one.o: ../../include/openssl/ripemd.h ../../include/openssl/safestack.h
106rmd_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
107rmd_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
74depend: 74depend:
75 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 76
77dclean: 77dclean:
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
104rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h 104rsa_eay.o: ../../e_os.h ../../include/openssl/asn1.h
105rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 105rsa_eay.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 106rsa_eay.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107rsa_eay.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 107rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108rsa_eay.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h 108rsa_eay.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
109rsa_eay.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 109rsa_eay.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110rsa_eay.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 110rsa_eay.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
111rsa_eay.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h 111rsa_eay.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112rsa_eay.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 112rsa_eay.o: ../../include/openssl/symhacks.h ../cryptlib.h rsa_eay.c
113rsa_eay.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114rsa_eay.o: ../../include/openssl/ui.h ../cryptlib.h rsa_eay.c
115rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 113rsa_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
116rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 114rsa_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
117rsa_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 115rsa_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
217rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h 215rsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
218rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h 216rsa_sign.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
219rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 217rsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
220rsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h 218rsa_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
221rsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h 219rsa_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
222rsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h 220rsa_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
223rsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h 221rsa_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
224rsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h 222rsa_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
225rsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 223rsa_sign.o: ../../include/openssl/opensslconf.h
226rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 224rsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
227rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h 225rsa_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
228rsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h 226rsa_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
229rsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h 227rsa_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
230rsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 228rsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
231rsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 229rsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
232rsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 230rsa_sign.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
233rsa_sign.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h 231rsa_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
234rsa_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h rsa_sign.c 232rsa_sign.o: ../cryptlib.h rsa_sign.c
235rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h 233rsa_ssl.o: ../../e_os.h ../../include/openssl/asn1.h
236rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 234rsa_ssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
237rsa_ssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 235rsa_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
50asm/sx86-elf.o: asm/sx86unix.cpp 50asm/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
54asm/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
60asm/sx86-out.o: asm/sx86unix.cpp 54asm/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
94depend: 88depend:
95 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 89 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
96 90
97dclean: 91dclean:
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
101clean: 95clean:
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
106sha1_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 100sha1_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
107sha1_one.o: ../../include/openssl/sha.h sha1_one.c 101sha1_one.o: ../../include/openssl/opensslconf.h
102sha1_one.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103sha1_one.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
104sha1_one.o: ../../include/openssl/symhacks.h sha1_one.c
108sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 105sha1dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
109sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h 106sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
110sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h 107sha1dgst.o: ../md32_common.h sha1dgst.c sha_locl.h
111sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 108sha_dgst.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
112sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h 109sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
113sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h 110sha_dgst.o: ../md32_common.h sha_dgst.c sha_locl.h
114sha_one.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 111sha_one.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
115sha_one.o: ../../include/openssl/sha.h sha_one.c 112sha_one.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
113sha_one.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
114sha_one.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
115sha_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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
70depend: 70depend:
71 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 72
73dclean: 73dclean:
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
45lib: $(LIBOBJ) 45lib: $(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
50files: 50files:
@@ -72,7 +72,7 @@ lint:
72 lint -DLINT $(INCLUDES) $(SRC)>fluff 72 lint -DLINT $(INCLUDES) $(SRC)>fluff
73 73
74depend: 74depend:
75 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 75 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
76 76
77dclean: 77dclean:
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
95ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h 95ui_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
96ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 96ui_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97ui_err.o: ../../include/openssl/ui.h ui_err.c 97ui_err.o: ../../include/openssl/ui.h ui_err.c
98ui_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 98ui_lib.o: ../../e_os.h ../../include/openssl/bio.h
99ui_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 99ui_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100ui_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 100ui_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101ui_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 101ui_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
102ui_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 102ui_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_lib.c 103ui_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104ui_lib.o: ui_locl.h 104ui_lib.o: ../../include/openssl/ui.h ../cryptlib.h ui_lib.c ui_locl.h
105ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h 105ui_openssl.o: ../../e_os.h ../../include/openssl/bio.h
106ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 106ui_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107ui_openssl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 107ui_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
80depend: 80depend:
81 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 81 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
82 82
83dclean: 83dclean:
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
76depend: 76depend:
77 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 77 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
78 78
79dclean: 79dclean:
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
17AR= ar r 17AR= ar r
18# KRB5 stuff 18# KRB5 stuff
19KRB5_INCLUDES= 19KRB5_INCLUDES=
20LIBKRB5=
21 20
22CFLAGS= $(INCLUDES) $(CFLAG) 21CFLAGS= $(INCLUDES) $(CFLAG)
23 22
@@ -93,7 +92,7 @@ lint:
93 lint -DLINT $(INCLUDES) $(SRC)>fluff 92 lint -DLINT $(INCLUDES) $(SRC)>fluff
94 93
95depend: 94depend:
96 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) 95 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
97 96
98dclean: 97dclean:
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
307s2_clnt.o: ../include/openssl/tls1.h ../include/openssl/ui.h 306s2_clnt.o: ../include/openssl/tls1.h ../include/openssl/ui.h
308s2_clnt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 307s2_clnt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
309s2_clnt.o: ../include/openssl/x509_vfy.h s2_clnt.c ssl_locl.h 308s2_clnt.o: ../include/openssl/x509_vfy.h s2_clnt.c ssl_locl.h
310s2_enc.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 309s2_enc.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
311s2_enc.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 310s2_enc.o: ../include/openssl/asn1.h ../include/openssl/bio.h
312s2_enc.o: ../include/openssl/bn.h ../include/openssl/buffer.h 311s2_enc.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
313s2_enc.o: ../include/openssl/cast.h ../include/openssl/comp.h 312s2_enc.o: ../include/openssl/buffer.h ../include/openssl/cast.h
314s2_enc.o: ../include/openssl/crypto.h ../include/openssl/des.h 313s2_enc.o: ../include/openssl/comp.h ../include/openssl/crypto.h
315s2_enc.o: ../include/openssl/des_old.h ../include/openssl/dh.h 314s2_enc.o: ../include/openssl/des.h ../include/openssl/des_old.h
316s2_enc.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h 315s2_enc.o: ../include/openssl/dh.h ../include/openssl/dsa.h
317s2_enc.o: ../include/openssl/err.h ../include/openssl/evp.h 316s2_enc.o: ../include/openssl/e_os2.h ../include/openssl/err.h
318s2_enc.o: ../include/openssl/idea.h ../include/openssl/kssl.h 317s2_enc.o: ../include/openssl/evp.h ../include/openssl/idea.h
319s2_enc.o: ../include/openssl/lhash.h ../include/openssl/md2.h 318s2_enc.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
320s2_enc.o: ../include/openssl/md4.h ../include/openssl/md5.h 319s2_enc.o: ../include/openssl/md2.h ../include/openssl/md4.h
321s2_enc.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h 320s2_enc.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
322s2_enc.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 321s2_enc.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
323s2_enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 322s2_enc.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
324s2_enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h 323s2_enc.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
325s2_enc.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h 324s2_enc.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
326s2_enc.o: ../include/openssl/rc4.h ../include/openssl/rc5.h 325s2_enc.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
327s2_enc.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h 326s2_enc.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h
328s2_enc.o: ../include/openssl/safestack.h ../include/openssl/sha.h 327s2_enc.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
329s2_enc.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h 328s2_enc.o: ../include/openssl/sha.h ../include/openssl/ssl.h
330s2_enc.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h 329s2_enc.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
331s2_enc.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 330s2_enc.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
332s2_enc.o: ../include/openssl/tls1.h ../include/openssl/ui.h 331s2_enc.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
333s2_enc.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 332s2_enc.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
334s2_enc.o: ../include/openssl/x509_vfy.h s2_enc.c ssl_locl.h 333s2_enc.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h s2_enc.c
334s2_enc.o: ssl_locl.h
335s2_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h 335s2_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
336s2_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h 336s2_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h
337s2_lib.o: ../include/openssl/blowfish.h ../include/openssl/bn.h 337s2_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
383s2_meth.o: ../include/openssl/tls1.h ../include/openssl/ui.h 383s2_meth.o: ../include/openssl/tls1.h ../include/openssl/ui.h
384s2_meth.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 384s2_meth.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
385s2_meth.o: ../include/openssl/x509_vfy.h s2_meth.c ssl_locl.h 385s2_meth.o: ../include/openssl/x509_vfy.h s2_meth.c ssl_locl.h
386s2_pkt.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 386s2_pkt.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
387s2_pkt.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 387s2_pkt.o: ../include/openssl/asn1.h ../include/openssl/bio.h
388s2_pkt.o: ../include/openssl/bn.h ../include/openssl/buffer.h 388s2_pkt.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
389s2_pkt.o: ../include/openssl/cast.h ../include/openssl/comp.h 389s2_pkt.o: ../include/openssl/buffer.h ../include/openssl/cast.h
390s2_pkt.o: ../include/openssl/crypto.h ../include/openssl/des.h 390s2_pkt.o: ../include/openssl/comp.h ../include/openssl/crypto.h
391s2_pkt.o: ../include/openssl/des_old.h ../include/openssl/dh.h 391s2_pkt.o: ../include/openssl/des.h ../include/openssl/des_old.h
392s2_pkt.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h 392s2_pkt.o: ../include/openssl/dh.h ../include/openssl/dsa.h
393s2_pkt.o: ../include/openssl/err.h ../include/openssl/evp.h 393s2_pkt.o: ../include/openssl/e_os2.h ../include/openssl/err.h
394s2_pkt.o: ../include/openssl/idea.h ../include/openssl/kssl.h 394s2_pkt.o: ../include/openssl/evp.h ../include/openssl/idea.h
395s2_pkt.o: ../include/openssl/lhash.h ../include/openssl/md2.h 395s2_pkt.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
396s2_pkt.o: ../include/openssl/md4.h ../include/openssl/md5.h 396s2_pkt.o: ../include/openssl/md2.h ../include/openssl/md4.h
397s2_pkt.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h 397s2_pkt.o: ../include/openssl/md5.h ../include/openssl/mdc2.h
398s2_pkt.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 398s2_pkt.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
399s2_pkt.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 399s2_pkt.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
400s2_pkt.o: ../include/openssl/pem.h ../include/openssl/pem2.h 400s2_pkt.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
401s2_pkt.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h 401s2_pkt.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
402s2_pkt.o: ../include/openssl/rc4.h ../include/openssl/rc5.h 402s2_pkt.o: ../include/openssl/rc2.h ../include/openssl/rc4.h
403s2_pkt.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h 403s2_pkt.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h
404s2_pkt.o: ../include/openssl/safestack.h ../include/openssl/sha.h 404s2_pkt.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
405s2_pkt.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h 405s2_pkt.o: ../include/openssl/sha.h ../include/openssl/ssl.h
406s2_pkt.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h 406s2_pkt.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
407s2_pkt.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 407s2_pkt.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
408s2_pkt.o: ../include/openssl/tls1.h ../include/openssl/ui.h 408s2_pkt.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
409s2_pkt.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 409s2_pkt.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
410s2_pkt.o: ../include/openssl/x509_vfy.h s2_pkt.c ssl_locl.h 410s2_pkt.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h s2_pkt.c
411s2_pkt.o: ssl_locl.h
411s2_srvr.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h 412s2_srvr.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
412s2_srvr.o: ../include/openssl/asn1.h ../include/openssl/bio.h 413s2_srvr.o: ../include/openssl/asn1.h ../include/openssl/bio.h
413s2_srvr.o: ../include/openssl/blowfish.h ../include/openssl/bn.h 414s2_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
765ssl_err2.o: ../include/openssl/tls1.h ../include/openssl/ui.h 766ssl_err2.o: ../include/openssl/tls1.h ../include/openssl/ui.h
766ssl_err2.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 767ssl_err2.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
767ssl_err2.o: ../include/openssl/x509_vfy.h ssl_err2.c 768ssl_err2.o: ../include/openssl/x509_vfy.h ssl_err2.c
768ssl_lib.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 769ssl_lib.o: ../crypto/cryptlib.h ../e_os.h ../include/openssl/aes.h
769ssl_lib.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 770ssl_lib.o: ../include/openssl/asn1.h ../include/openssl/bio.h
770ssl_lib.o: ../include/openssl/bn.h ../include/openssl/buffer.h 771ssl_lib.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
771ssl_lib.o: ../include/openssl/cast.h ../include/openssl/comp.h 772ssl_lib.o: ../include/openssl/buffer.h ../include/openssl/cast.h
772ssl_lib.o: ../include/openssl/conf.h ../include/openssl/crypto.h 773ssl_lib.o: ../include/openssl/comp.h ../include/openssl/conf.h
773ssl_lib.o: ../include/openssl/des.h ../include/openssl/des_old.h 774ssl_lib.o: ../include/openssl/crypto.h ../include/openssl/des.h
774ssl_lib.o: ../include/openssl/dh.h ../include/openssl/dsa.h 775ssl_lib.o: ../include/openssl/des_old.h ../include/openssl/dh.h
775ssl_lib.o: ../include/openssl/e_os2.h ../include/openssl/err.h 776ssl_lib.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
776ssl_lib.o: ../include/openssl/evp.h ../include/openssl/idea.h 777ssl_lib.o: ../include/openssl/err.h ../include/openssl/evp.h
777ssl_lib.o: ../include/openssl/kssl.h ../include/openssl/lhash.h 778ssl_lib.o: ../include/openssl/idea.h ../include/openssl/kssl.h
778ssl_lib.o: ../include/openssl/md2.h ../include/openssl/md4.h 779ssl_lib.o: ../include/openssl/lhash.h ../include/openssl/md2.h
779ssl_lib.o: ../include/openssl/md5.h ../include/openssl/mdc2.h 780ssl_lib.o: ../include/openssl/md4.h ../include/openssl/md5.h
780ssl_lib.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 781ssl_lib.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h
781ssl_lib.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 782ssl_lib.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
782ssl_lib.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h 783ssl_lib.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
783ssl_lib.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h 784ssl_lib.o: ../include/openssl/pem.h ../include/openssl/pem2.h
784ssl_lib.o: ../include/openssl/rc2.h ../include/openssl/rc4.h 785ssl_lib.o: ../include/openssl/pkcs7.h ../include/openssl/rc2.h
785ssl_lib.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h 786ssl_lib.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
786ssl_lib.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 787ssl_lib.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
787ssl_lib.o: ../include/openssl/sha.h ../include/openssl/ssl.h 788ssl_lib.o: ../include/openssl/safestack.h ../include/openssl/sha.h
788ssl_lib.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h 789ssl_lib.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
789ssl_lib.o: ../include/openssl/ssl3.h ../include/openssl/stack.h 790ssl_lib.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
790ssl_lib.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h 791ssl_lib.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
791ssl_lib.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h 792ssl_lib.o: ../include/openssl/tls1.h ../include/openssl/ui.h
792ssl_lib.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h 793ssl_lib.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
793ssl_lib.o: ../include/openssl/x509v3.h kssl_lcl.h ssl_lib.c ssl_locl.h 794ssl_lib.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h kssl_lcl.h
795ssl_lib.o: ssl_lib.c ssl_locl.h
794ssl_rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 796ssl_rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
795ssl_rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 797ssl_rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
796ssl_rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h 798ssl_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)
15MAKEDEPPROG= makedepend 15MAKEDEPPROG= makedepend
16MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 16MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17PERL= perl 17PERL= perl
18# KRB5 stuff
19KRB5_INCLUDES=
20LIBKRB5=
18 21
19PEX_LIBS= 22PEX_LIBS=
20EX_LIBS= #-lnsl -lsocket 23EX_LIBS= #-lnsl -lsocket
@@ -116,158 +119,162 @@ tags:
116tests: exe apps $(TESTS) 119tests: exe apps $(TESTS)
117 120
118apps: 121apps:
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
121alltests: 124SET_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"; \
125alltests.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
132alltests: \
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
133test_evp: 140test_evp:
134 ./$(EVPTEST) evptests.txt 141 $(SET_SO_PATHS); ./$(EVPTEST) evptests.txt
135 142
136test_des: 143test_des:
137 ./$(DESTEST) 144 $(SET_SO_PATHS); ./$(DESTEST)
138 145
139test_idea: 146test_idea:
140 ./$(IDEATEST) 147 $(SET_SO_PATHS); ./$(IDEATEST)
141 148
142test_sha: 149test_sha:
143 ./$(SHATEST) 150 $(SET_SO_PATHS); ./$(SHATEST)
144 ./$(SHA1TEST) 151 $(SET_SO_PATHS); ./$(SHA1TEST)
145 152
146test_mdc2: 153test_mdc2:
147 ./$(MDC2TEST) 154 $(SET_SO_PATHS); ./$(MDC2TEST)
148 155
149test_md5: 156test_md5:
150 ./$(MD5TEST) 157 $(SET_SO_PATHS); ./$(MD5TEST)
151 158
152test_md4: 159test_md4:
153 ./$(MD4TEST) 160 $(SET_SO_PATHS); ./$(MD4TEST)
154 161
155test_hmac: 162test_hmac:
156 ./$(HMACTEST) 163 $(SET_SO_PATHS); ./$(HMACTEST)
157 164
158test_md2: 165test_md2:
159 ./$(MD2TEST) 166 $(SET_SO_PATHS); ./$(MD2TEST)
160 167
161test_rmd: 168test_rmd:
162 ./$(RMDTEST) 169 $(SET_SO_PATHS); ./$(RMDTEST)
163 170
164test_bf: 171test_bf:
165 ./$(BFTEST) 172 $(SET_SO_PATHS); ./$(BFTEST)
166 173
167test_cast: 174test_cast:
168 ./$(CASTTEST) 175 $(SET_SO_PATHS); ./$(CASTTEST)
169 176
170test_rc2: 177test_rc2:
171 ./$(RC2TEST) 178 $(SET_SO_PATHS); ./$(RC2TEST)
172 179
173test_rc4: 180test_rc4:
174 ./$(RC4TEST) 181 $(SET_SO_PATHS); ./$(RC4TEST)
175 182
176test_rc5: 183test_rc5:
177 ./$(RC5TEST) 184 $(SET_SO_PATHS); ./$(RC5TEST)
178 185
179test_rand: 186test_rand:
180 ./$(RANDTEST) 187 $(SET_SO_PATHS); ./$(RANDTEST)
181 188
182test_enc: 189test_enc:
183 @sh ./testenc 190 @$(SET_SO_PATHS); sh ./testenc
184 191
185test_x509: 192test_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
193test_rsa: 200test_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
197test_crl: 204test_crl:
198 @sh ./tcrl 2>/dev/null 205 @$(SET_SO_PATHS); sh ./tcrl 2>/dev/null
199 206
200test_sid: 207test_sid:
201 @sh ./tsid 2>/dev/null 208 @$(SET_SO_PATHS); sh ./tsid 2>/dev/null
202 209
203test_req: 210test_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
207test_pkcs7: 214test_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
211test_bn: 218test_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
220test_ec: 227test_ec:
221 @echo 'test elliptic curves' 228 @echo 'test elliptic curves'
222 ./$(ECTEST) 229 $(SET_SO_PATHS); ./$(ECTEST)
223 230
224test_verify: 231test_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
229test_dh: 236test_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
233test_dsa: 240test_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
238test_gen: 245test_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
242test_ss keyU.ss certU.ss certCA.ss: testss 249test_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
246test_engine: 253test_engine:
247 @echo "Manipulate the ENGINE structures" 254 @echo "Manipulate the ENGINE structures"
248 ./$(ENGINETEST) 255 $(SET_SO_PATHS); ./$(ENGINETEST)
249 256
250test_ssl: keyU.ss certU.ss certCA.ss 257test_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
254test_ca: 261test_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
262test_rd: #$(RDTEST) 269test_aes: #$(AESTEST)
263# @echo "test Rijndael" 270# @echo "test Rijndael"
264# ./$(RDTEST) 271# $(SET_SO_PATHS); ./$(AESTEST)
265 272
266lint: 273lint:
267 lint -DLINT $(INCLUDES) $(SRC)>fluff 274 lint -DLINT $(INCLUDES) $(SRC)>fluff
268 275
269depend: 276depend:
270 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) 277 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC)
271 278
272dclean: 279dclean:
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
369dummytest: dummytest.o $(DLIBCRYPTO) 511dummytest: 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
374bftest.o: ../include/openssl/blowfish.h ../include/openssl/e_os2.h 521bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
375bftest.o: ../include/openssl/opensslconf.h bftest.c 522bftest.o: ../include/openssl/opensslconf.h bftest.c
376bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 523bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
377bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 524bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
@@ -394,31 +541,30 @@ bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h
394bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 541bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
395bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 542bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
396bntest.o: ../include/openssl/x509_vfy.h bntest.c 543bntest.o: ../include/openssl/x509_vfy.h bntest.c
397casttest.o: ../include/openssl/cast.h casttest.c 544casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
545casttest.o: ../include/openssl/opensslconf.h casttest.c
398destest.o: ../include/openssl/crypto.h ../include/openssl/des.h 546destest.o: ../include/openssl/crypto.h ../include/openssl/des.h
399destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h 547destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
400destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 548destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
401destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 549destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
402destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 550destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
403destest.o: ../include/openssl/ui_compat.h destest.c 551destest.o: ../include/openssl/ui_compat.h destest.c
404dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h 552dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
405dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h 553dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
406dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h 554dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
407dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h 555dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
408dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 556dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
409dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h 557dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
410dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c 558dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
411dsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h 559dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
412dsatest.o: ../include/openssl/bn.h ../include/openssl/crypto.h 560dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
413dsatest.o: ../include/openssl/dh.h ../include/openssl/dsa.h 561dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
414dsatest.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
415dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h 562dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h
416dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 563dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
417dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 564dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
418dsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 565dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
419dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 566dsatest.o: ../include/openssl/symhacks.h dsatest.c
420dsatest.o: ../include/openssl/ui.h dsatest.c 567ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
421ectest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
422ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h 568ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
423ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h 569ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h
424ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h 570ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
@@ -439,7 +585,7 @@ enginetest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
439enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 585enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
440enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 586enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
441enginetest.o: enginetest.c 587enginetest.o: enginetest.c
442evp_test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 588evp_test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
443evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 589evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
444evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h 590evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h
445evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h 591evp_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
459evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h 605evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
460evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 606evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
461evp_test.o: ../include/openssl/ui_compat.h evp_test.c 607evp_test.o: ../include/openssl/ui_compat.h evp_test.c
462exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h 608exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
463exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 609exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
464exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h 610exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
465exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 611exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
466exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 612exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
467exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 613exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
468exptest.o: ../include/openssl/symhacks.h exptest.c 614exptest.o: ../include/openssl/symhacks.h exptest.c
469hmactest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 615hmactest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
470hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 616hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
471hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h 617hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h
472hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h 618hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -484,9 +630,9 @@ hmactest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
484hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h 630hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h
485hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 631hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
486hmactest.o: ../include/openssl/ui_compat.h hmactest.c 632hmactest.o: ../include/openssl/ui_compat.h hmactest.c
487ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h 633ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
488ideatest.o: ideatest.c 634ideatest.o: ../include/openssl/opensslconf.h ideatest.c
489md2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 635md2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
490md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 636md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
491md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h 637md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h
492md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h 638md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -503,7 +649,7 @@ md2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
503md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 649md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
504md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 650md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
505md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c 651md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c
506md4test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 652md4test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
507md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 653md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
508md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h 654md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h
509md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h 655md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -520,7 +666,7 @@ md4test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
520md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 666md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
521md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 667md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
522md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c 668md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c
523md5test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 669md5test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
524md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 670md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
525md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h 671md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h
526md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h 672md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -537,7 +683,7 @@ md5test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
537md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 683md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
538md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 684md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
539md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c 685md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c
540mdc2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 686mdc2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
541mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 687mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
542mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h 688mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h
543mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h 689mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -554,12 +700,16 @@ mdc2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
554mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 700mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
555mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 701mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
556mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c 702mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
557randtest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h 703randtest.o: ../e_os.h ../include/openssl/e_os2.h
558randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h randtest.c 704randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
705randtest.o: ../include/openssl/rand.h randtest.c
706rc2test.o: ../e_os.h ../include/openssl/e_os2.h
559rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c 707rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
708rc4test.o: ../e_os.h ../include/openssl/e_os2.h
560rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c 709rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c
561rc5test.o: ../include/openssl/rc5.h rc5test.c 710rc5test.o: ../e_os.h ../include/openssl/e_os2.h
562rmdtest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 711rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c
712rmdtest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
563rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 713rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
564rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h 714rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h
565rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h 715rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -578,15 +728,13 @@ rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
578rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c 728rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c
579rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 729rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
580rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h 730rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
581rsa_test.o: ../include/openssl/dh.h ../include/openssl/dsa.h 731rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
582rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h 732rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
583rsa_test.o: ../include/openssl/err.h ../include/openssl/lhash.h 733rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
584rsa_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 734rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
585rsa_test.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 735rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
586rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 736rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
587rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 737sha1test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
588rsa_test.o: ../include/openssl/ui.h rsa_test.c
589sha1test.o: ../include/openssl/aes.h ../include/openssl/asn1.h
590sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 738sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
591sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h 739sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h
592sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h 740sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -603,7 +751,7 @@ sha1test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
603sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 751sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
604sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 752sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
605sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c 753sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c
606shatest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 754shatest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
607shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 755shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
608shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h 756shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h
609shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h 757shatest.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:
27install: 27install:
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
39files: 41files:
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)
15MAKEDEPPROG= makedepend 15MAKEDEPPROG= makedepend
16MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 16MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17PERL= perl 17PERL= perl
18# KRB5 stuff
19KRB5_INCLUDES=
20LIBKRB5=
18 21
19PEX_LIBS= 22PEX_LIBS=
20EX_LIBS= #-lnsl -lsocket 23EX_LIBS= #-lnsl -lsocket
@@ -116,158 +119,162 @@ tags:
116tests: exe apps $(TESTS) 119tests: exe apps $(TESTS)
117 120
118apps: 121apps:
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
121alltests: 124SET_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"; \
125alltests.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
132alltests: \
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
133test_evp: 140test_evp:
134 ./$(EVPTEST) evptests.txt 141 $(SET_SO_PATHS); ./$(EVPTEST) evptests.txt
135 142
136test_des: 143test_des:
137 ./$(DESTEST) 144 $(SET_SO_PATHS); ./$(DESTEST)
138 145
139test_idea: 146test_idea:
140 ./$(IDEATEST) 147 $(SET_SO_PATHS); ./$(IDEATEST)
141 148
142test_sha: 149test_sha:
143 ./$(SHATEST) 150 $(SET_SO_PATHS); ./$(SHATEST)
144 ./$(SHA1TEST) 151 $(SET_SO_PATHS); ./$(SHA1TEST)
145 152
146test_mdc2: 153test_mdc2:
147 ./$(MDC2TEST) 154 $(SET_SO_PATHS); ./$(MDC2TEST)
148 155
149test_md5: 156test_md5:
150 ./$(MD5TEST) 157 $(SET_SO_PATHS); ./$(MD5TEST)
151 158
152test_md4: 159test_md4:
153 ./$(MD4TEST) 160 $(SET_SO_PATHS); ./$(MD4TEST)
154 161
155test_hmac: 162test_hmac:
156 ./$(HMACTEST) 163 $(SET_SO_PATHS); ./$(HMACTEST)
157 164
158test_md2: 165test_md2:
159 ./$(MD2TEST) 166 $(SET_SO_PATHS); ./$(MD2TEST)
160 167
161test_rmd: 168test_rmd:
162 ./$(RMDTEST) 169 $(SET_SO_PATHS); ./$(RMDTEST)
163 170
164test_bf: 171test_bf:
165 ./$(BFTEST) 172 $(SET_SO_PATHS); ./$(BFTEST)
166 173
167test_cast: 174test_cast:
168 ./$(CASTTEST) 175 $(SET_SO_PATHS); ./$(CASTTEST)
169 176
170test_rc2: 177test_rc2:
171 ./$(RC2TEST) 178 $(SET_SO_PATHS); ./$(RC2TEST)
172 179
173test_rc4: 180test_rc4:
174 ./$(RC4TEST) 181 $(SET_SO_PATHS); ./$(RC4TEST)
175 182
176test_rc5: 183test_rc5:
177 ./$(RC5TEST) 184 $(SET_SO_PATHS); ./$(RC5TEST)
178 185
179test_rand: 186test_rand:
180 ./$(RANDTEST) 187 $(SET_SO_PATHS); ./$(RANDTEST)
181 188
182test_enc: 189test_enc:
183 @sh ./testenc 190 @$(SET_SO_PATHS); sh ./testenc
184 191
185test_x509: 192test_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
193test_rsa: 200test_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
197test_crl: 204test_crl:
198 @sh ./tcrl 2>/dev/null 205 @$(SET_SO_PATHS); sh ./tcrl 2>/dev/null
199 206
200test_sid: 207test_sid:
201 @sh ./tsid 2>/dev/null 208 @$(SET_SO_PATHS); sh ./tsid 2>/dev/null
202 209
203test_req: 210test_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
207test_pkcs7: 214test_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
211test_bn: 218test_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
220test_ec: 227test_ec:
221 @echo 'test elliptic curves' 228 @echo 'test elliptic curves'
222 ./$(ECTEST) 229 $(SET_SO_PATHS); ./$(ECTEST)
223 230
224test_verify: 231test_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
229test_dh: 236test_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
233test_dsa: 240test_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
238test_gen: 245test_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
242test_ss keyU.ss certU.ss certCA.ss: testss 249test_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
246test_engine: 253test_engine:
247 @echo "Manipulate the ENGINE structures" 254 @echo "Manipulate the ENGINE structures"
248 ./$(ENGINETEST) 255 $(SET_SO_PATHS); ./$(ENGINETEST)
249 256
250test_ssl: keyU.ss certU.ss certCA.ss 257test_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
254test_ca: 261test_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
262test_rd: #$(RDTEST) 269test_aes: #$(AESTEST)
263# @echo "test Rijndael" 270# @echo "test Rijndael"
264# ./$(RDTEST) 271# $(SET_SO_PATHS); ./$(AESTEST)
265 272
266lint: 273lint:
267 lint -DLINT $(INCLUDES) $(SRC)>fluff 274 lint -DLINT $(INCLUDES) $(SRC)>fluff
268 275
269depend: 276depend:
270 $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(PROGS) $(SRC) 277 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC)
271 278
272dclean: 279dclean:
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
369dummytest: dummytest.o $(DLIBCRYPTO) 511dummytest: 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
374bftest.o: ../include/openssl/blowfish.h ../include/openssl/e_os2.h 521bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
375bftest.o: ../include/openssl/opensslconf.h bftest.c 522bftest.o: ../include/openssl/opensslconf.h bftest.c
376bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h 523bntest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
377bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 524bntest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
@@ -394,31 +541,30 @@ bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h
394bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 541bntest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
395bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h 542bntest.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h
396bntest.o: ../include/openssl/x509_vfy.h bntest.c 543bntest.o: ../include/openssl/x509_vfy.h bntest.c
397casttest.o: ../include/openssl/cast.h casttest.c 544casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
545casttest.o: ../include/openssl/opensslconf.h casttest.c
398destest.o: ../include/openssl/crypto.h ../include/openssl/des.h 546destest.o: ../include/openssl/crypto.h ../include/openssl/des.h
399destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h 547destest.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
400destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 548destest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
401destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 549destest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
402destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 550destest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
403destest.o: ../include/openssl/ui_compat.h destest.c 551destest.o: ../include/openssl/ui_compat.h destest.c
404dhtest.o: ../include/openssl/bio.h ../include/openssl/bn.h 552dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
405dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h 553dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
406dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h 554dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
407dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h 555dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
408dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 556dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
409dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h 557dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
410dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c 558dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
411dsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h 559dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
412dsatest.o: ../include/openssl/bn.h ../include/openssl/crypto.h 560dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
413dsatest.o: ../include/openssl/dh.h ../include/openssl/dsa.h 561dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
414dsatest.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
415dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h 562dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h
416dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 563dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
417dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 564dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
418dsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 565dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
419dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 566dsatest.o: ../include/openssl/symhacks.h dsatest.c
420dsatest.o: ../include/openssl/ui.h dsatest.c 567ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
421ectest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
422ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h 568ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
423ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h 569ectest.o: ../include/openssl/dh.h ../include/openssl/dsa.h
424ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h 570ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
@@ -439,7 +585,7 @@ enginetest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
439enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 585enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
440enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 586enginetest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
441enginetest.o: enginetest.c 587enginetest.o: enginetest.c
442evp_test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 588evp_test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
443evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 589evp_test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
444evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h 590evp_test.o: ../include/openssl/bn.h ../include/openssl/cast.h
445evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h 591evp_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
459evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h 605evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
460evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 606evp_test.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
461evp_test.o: ../include/openssl/ui_compat.h evp_test.c 607evp_test.o: ../include/openssl/ui_compat.h evp_test.c
462exptest.o: ../include/openssl/bio.h ../include/openssl/bn.h 608exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
463exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 609exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
464exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h 610exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
465exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 611exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
466exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 612exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
467exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 613exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
468exptest.o: ../include/openssl/symhacks.h exptest.c 614exptest.o: ../include/openssl/symhacks.h exptest.c
469hmactest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 615hmactest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
470hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 616hmactest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
471hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h 617hmactest.o: ../include/openssl/bn.h ../include/openssl/cast.h
472hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h 618hmactest.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -484,9 +630,9 @@ hmactest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
484hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h 630hmactest.o: ../include/openssl/sha.h ../include/openssl/stack.h
485hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h 631hmactest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
486hmactest.o: ../include/openssl/ui_compat.h hmactest.c 632hmactest.o: ../include/openssl/ui_compat.h hmactest.c
487ideatest.o: ../include/openssl/idea.h ../include/openssl/opensslconf.h 633ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
488ideatest.o: ideatest.c 634ideatest.o: ../include/openssl/opensslconf.h ideatest.c
489md2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 635md2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
490md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 636md2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
491md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h 637md2test.o: ../include/openssl/bn.h ../include/openssl/cast.h
492md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h 638md2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -503,7 +649,7 @@ md2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
503md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 649md2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
504md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 650md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
505md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c 651md2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md2test.c
506md4test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 652md4test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
507md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 653md4test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
508md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h 654md4test.o: ../include/openssl/bn.h ../include/openssl/cast.h
509md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h 655md4test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -520,7 +666,7 @@ md4test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
520md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 666md4test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
521md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 667md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
522md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c 668md4test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md4test.c
523md5test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 669md5test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
524md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 670md5test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
525md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h 671md5test.o: ../include/openssl/bn.h ../include/openssl/cast.h
526md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h 672md5test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -537,7 +683,7 @@ md5test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
537md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 683md5test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
538md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 684md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
539md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c 685md5test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h md5test.c
540mdc2test.o: ../include/openssl/aes.h ../include/openssl/asn1.h 686mdc2test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
541mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 687mdc2test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
542mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h 688mdc2test.o: ../include/openssl/bn.h ../include/openssl/cast.h
543mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h 689mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -554,12 +700,16 @@ mdc2test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
554mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 700mdc2test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
555mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 701mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
556mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c 702mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
557randtest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h 703randtest.o: ../e_os.h ../include/openssl/e_os2.h
558randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h randtest.c 704randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
705randtest.o: ../include/openssl/rand.h randtest.c
706rc2test.o: ../e_os.h ../include/openssl/e_os2.h
559rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c 707rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
708rc4test.o: ../e_os.h ../include/openssl/e_os2.h
560rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c 709rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h rc4test.c
561rc5test.o: ../include/openssl/rc5.h rc5test.c 710rc5test.o: ../e_os.h ../include/openssl/e_os2.h
562rmdtest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 711rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c
712rmdtest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
563rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 713rmdtest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
564rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h 714rmdtest.o: ../include/openssl/bn.h ../include/openssl/cast.h
565rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h 715rmdtest.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -578,15 +728,13 @@ rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
578rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c 728rmdtest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h rmdtest.c
579rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 729rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
580rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h 730rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
581rsa_test.o: ../include/openssl/dh.h ../include/openssl/dsa.h 731rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
582rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h 732rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
583rsa_test.o: ../include/openssl/err.h ../include/openssl/lhash.h 733rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
584rsa_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 734rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
585rsa_test.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 735rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
586rsa_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 736rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
587rsa_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 737sha1test.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
588rsa_test.o: ../include/openssl/ui.h rsa_test.c
589sha1test.o: ../include/openssl/aes.h ../include/openssl/asn1.h
590sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 738sha1test.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
591sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h 739sha1test.o: ../include/openssl/bn.h ../include/openssl/cast.h
592sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h 740sha1test.o: ../include/openssl/crypto.h ../include/openssl/des.h
@@ -603,7 +751,7 @@ sha1test.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
603sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 751sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
604sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 752sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
605sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c 753sha1test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h sha1test.c
606shatest.o: ../include/openssl/aes.h ../include/openssl/asn1.h 754shatest.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h
607shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h 755shatest.o: ../include/openssl/bio.h ../include/openssl/blowfish.h
608shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h 756shatest.o: ../include/openssl/bn.h ../include/openssl/cast.h
609shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h 757shatest.o: ../include/openssl/crypto.h ../include/openssl/des.h