summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md2
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/md2
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/md2')
-rw-r--r--src/lib/libcrypto/md2/Makefile.ssl80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/lib/libcrypto/md2/Makefile.ssl b/src/lib/libcrypto/md2/Makefile.ssl
new file mode 100644
index 0000000000..d8e7200c83
--- /dev/null
+++ b/src/lib/libcrypto/md2/Makefile.ssl
@@ -0,0 +1,80 @@
1#
2# SSLeay/crypto/md/Makefile
3#
4
5DIR= md
6TOP= ../..
7CC= cc
8INCLUDES=
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
18GENERAL=Makefile
19TEST=md2test.c
20APPS=
21
22LIB=$(TOP)/libcrypto.a
23LIBSRC=md2_dgst.c md5_one.c
24LIBOBJ=md2_dgst.o md2_one.o
25
26SRC= $(LIBSRC)
27
28EXHEADER= md2.h
29HEADER= $(EXHEADER)
30
31ALL= $(GENERAL) $(SRC) $(HEADER)
32
33top:
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36all: lib
37
38lib: $(LIBOBJ)
39 $(AR) $(LIB) $(LIBOBJ)
40 sh $(TOP)/util/ranlib.sh $(LIB)
41 @touch lib
42
43files:
44 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45
46links:
47 /bin/rm -f Makefile
48 $(TOP)/util/point.sh Makefile.ssl Makefile ;
49 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
50 $(TOP)/util/mklink.sh ../../test $(TEST)
51 $(TOP)/util/mklink.sh ../../apps $(APPS)
52
53install:
54 @for i in $(EXHEADER) ; \
55 do \
56 (cp $$i $(INSTALLTOP)/include/$$i; \
57 chmod 644 $(INSTALLTOP)/include/$$i ); \
58 done;
59
60tags:
61 ctags $(SRC)
62
63tests:
64
65lint:
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68depend:
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
70
71dclean:
72 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
74
75clean:
76 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78errors:
79
80# DO NOT DELETE THIS LINE -- make depend depends on it.