diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2000-03-19 11:13:50 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2000-03-19 11:13:50 +0000 |
commit | 3fcaa7468f9b0354a53219db5fef7803a96ef49e (patch) | |
tree | 7ec373d9ee95160dd38b446f46137233b0b4916b /lib/libcrypto/threads | |
parent | 06df77034e508167928b33ece1359f8ab47b6a70 (diff) |
import openssl-0.9.7-beta1
Diffstat (limited to 'lib/libcrypto/threads')
-rw-r--r-- | lib/libcrypto/threads/README | 14 | ||||
-rw-r--r-- | lib/libcrypto/threads/profile.sh | 4 | ||||
-rw-r--r-- | lib/libcrypto/threads/ptest.bat | 4 | ||||
-rw-r--r-- | lib/libcrypto/threads/pthread.sh | 9 | ||||
-rw-r--r-- | lib/libcrypto/threads/pthread2.sh | 7 | ||||
-rw-r--r-- | lib/libcrypto/threads/pthreads-vms.com | 9 | ||||
-rw-r--r-- | lib/libcrypto/threads/purify.sh | 4 | ||||
-rw-r--r-- | lib/libcrypto/threads/solaris.sh | 4 | ||||
-rw-r--r-- | lib/libcrypto/threads/win32.bat | 4 |
9 files changed, 59 insertions, 0 deletions
diff --git a/lib/libcrypto/threads/README b/lib/libcrypto/threads/README new file mode 100644 index 00000000000..df6b26e146f --- /dev/null +++ b/lib/libcrypto/threads/README @@ -0,0 +1,14 @@ +Mutithreading testing area. + +Since this stuff is very very platorm specific, this is not part of the +normal build. Have a read of doc/threads.doc. + +mttest will do some testing and will currently build under Windows NT/95, +Solaris and Linux. The IRIX stuff is not finished. + +I have tested this program on a 12 CPU ultra sparc box (solaris 2.5.1) +and things seem to work ok. + +The Linux pthreads package can be retrieved from +http://www.mit.edu:8001/people/proven/pthreads.html + diff --git a/lib/libcrypto/threads/profile.sh b/lib/libcrypto/threads/profile.sh new file mode 100644 index 00000000000..6e3e342fc0b --- /dev/null +++ b/lib/libcrypto/threads/profile.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/lib/libcrypto/threads/ptest.bat b/lib/libcrypto/threads/ptest.bat new file mode 100644 index 00000000000..4071b5ffeac --- /dev/null +++ b/lib/libcrypto/threads/ptest.bat @@ -0,0 +1,4 @@ +del mttest.exe + +purify cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssl32.lib ..\..\out\crypt32.lib + diff --git a/lib/libcrypto/threads/pthread.sh b/lib/libcrypto/threads/pthread.sh new file mode 100644 index 00000000000..f1c49821d2f --- /dev/null +++ b/lib/libcrypto/threads/pthread.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# build using pthreads +# +# http://www.mit.edu:8001/people/proven/pthreads.html +# +/bin/rm -f mttest +pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto + diff --git a/lib/libcrypto/threads/pthread2.sh b/lib/libcrypto/threads/pthread2.sh new file mode 100644 index 00000000000..41264c6a504 --- /dev/null +++ b/lib/libcrypto/threads/pthread2.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# +# build using pthreads where it's already built into the system +# +/bin/rm -f mttest +gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread + diff --git a/lib/libcrypto/threads/pthreads-vms.com b/lib/libcrypto/threads/pthreads-vms.com new file mode 100644 index 00000000000..63f5b8cc2e9 --- /dev/null +++ b/lib/libcrypto/threads/pthreads-vms.com @@ -0,0 +1,9 @@ +$! To compile mttest on VMS. +$! +$! WARNING: only tested with DEC C so far. +$ +$ arch := vax +$ if f$getsyi("CPU") .ge. 128 then arch := axp +$ define/user openssl [--.include.openssl] +$ cc/def=PTHREADS mttest.c +$ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib diff --git a/lib/libcrypto/threads/purify.sh b/lib/libcrypto/threads/purify.sh new file mode 100644 index 00000000000..6d44fe26b76 --- /dev/null +++ b/lib/libcrypto/threads/purify.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/lib/libcrypto/threads/solaris.sh b/lib/libcrypto/threads/solaris.sh new file mode 100644 index 00000000000..bc93094a274 --- /dev/null +++ b/lib/libcrypto/threads/solaris.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/lib/libcrypto/threads/win32.bat b/lib/libcrypto/threads/win32.bat new file mode 100644 index 00000000000..ee6da80a07d --- /dev/null +++ b/lib/libcrypto/threads/win32.bat @@ -0,0 +1,4 @@ +del mttest.exe + +cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssleay32.lib ..\..\out\libeay32.lib + |