summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
diff options
context:
space:
mode:
authorryker <>1998-10-05 20:13:11 +0000
committerryker <>1998-10-05 20:13:11 +0000
commit92aea9da31e1e5746c15202285d820cc2da65f0f (patch)
tree1a18c88b030b0d24fa65368b9ddcacfa8e1843ea /src/lib/libcrypto/bio
downloadopenbsd-92aea9da31e1e5746c15202285d820cc2da65f0f.tar.gz
openbsd-92aea9da31e1e5746c15202285d820cc2da65f0f.tar.bz2
openbsd-92aea9da31e1e5746c15202285d820cc2da65f0f.zip
Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r--src/lib/libcrypto/bio/Makefile.ssl92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/lib/libcrypto/bio/Makefile.ssl b/src/lib/libcrypto/bio/Makefile.ssl
new file mode 100644
index 0000000000..42e11e1c94
--- /dev/null
+++ b/src/lib/libcrypto/bio/Makefile.ssl
@@ -0,0 +1,92 @@
1#
2# SSLeay/crypto/bio/Makefile
3#
4
5DIR= bio
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I../../include
9CFLAG=-g
10INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl
12MAKEDEPEND= makedepend -f Makefile.ssl
13MAKEFILE= Makefile.ssl
14AR= ar r
15
16CFLAGS= $(INCLUDES) $(CFLAG)
17
18ERR=bio
19ERRC=bio_err
20GENERAL=Makefile
21TEST=
22APPS=
23
24LIB=$(TOP)/libcrypto.a
25LIBSRC= bio_lib.c bio_cb.c $(ERRC).c \
26 bss_mem.c bss_null.c bss_fd.c \
27 bss_file.c bss_sock.c bss_conn.c \
28 bf_null.c bf_buff.c b_print.c b_dump.c \
29 b_sock.c bss_acpt.c bf_nbio.c
30LIBOBJ= bio_lib.o bio_cb.o $(ERRC).o \
31 bss_mem.o bss_null.o bss_fd.o \
32 bss_file.o bss_sock.o bss_conn.o \
33 bf_null.o bf_buff.o b_print.o b_dump.o \
34 b_sock.o bss_acpt.o bf_nbio.o
35
36SRC= $(LIBSRC)
37
38EXHEADER= bio.h bss_file.c
39HEADER= $(EXHEADER)
40
41ALL= $(GENERAL) $(SRC) $(HEADER)
42
43top:
44 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
45
46all: lib
47
48lib: $(LIBOBJ)
49 $(AR) $(LIB) $(LIBOBJ)
50 sh $(TOP)/util/ranlib.sh $(LIB)
51 @touch lib
52
53files:
54 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
55
56links:
57 /bin/rm -f Makefile
58 $(TOP)/util/point.sh Makefile.ssl Makefile;
59 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
60 $(TOP)/util/mklink.sh ../../test $(TEST)
61 $(TOP)/util/mklink.sh ../../apps $(APPS)
62
63install:
64 @for i in $(EXHEADER) bss_file.c ; \
65 do \
66 (cp $$i $(INSTALLTOP)/include/$$i; \
67 chmod 644 $(INSTALLTOP)/include/$$i ); \
68 done;
69
70tags:
71 ctags $(SRC)
72
73tests:
74
75lint:
76 lint -DLINT $(INCLUDES) $(SRC)>fluff
77
78depend:
79 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
80
81dclean:
82 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
83 mv -f Makefile.new $(MAKEFILE)
84
85clean:
86 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
87
88errors:
89 perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
90 perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
91
92# DO NOT DELETE THIS LINE -- make depend depends on it.