summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/Makefile.ssl
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/sha/Makefile.ssl
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/sha/Makefile.ssl')
-rw-r--r--src/lib/libcrypto/sha/Makefile.ssl42
1 files changed, 25 insertions, 17 deletions
diff --git a/src/lib/libcrypto/sha/Makefile.ssl b/src/lib/libcrypto/sha/Makefile.ssl
index eeb545d140..d01245ce37 100644
--- a/src/lib/libcrypto/sha/Makefile.ssl
+++ b/src/lib/libcrypto/sha/Makefile.ssl
@@ -7,9 +7,11 @@ TOP= ../..
7CC= cc 7CC= cc
8INCLUDES= 8INCLUDES=
9CFLAG=-g 9CFLAG=-g
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
10INSTALLTOP=/usr/local/ssl 12INSTALLTOP=/usr/local/ssl
11MAKE= make -f Makefile.ssl 13MAKE= make -f Makefile.ssl
12MAKEDEPEND= makedepend -f Makefile.ssl 14MAKEDEPEND= $(TOP)/util/domd $(TOP)
13MAKEFILE= Makefile.ssl 15MAKEFILE= Makefile.ssl
14AR= ar r 16AR= ar r
15 17
@@ -39,7 +41,7 @@ all: lib
39 41
40lib: $(LIBOBJ) 42lib: $(LIBOBJ)
41 $(AR) $(LIB) $(LIBOBJ) 43 $(AR) $(LIB) $(LIBOBJ)
42 sh $(TOP)/util/ranlib.sh $(LIB) 44 $(RANLIB) $(LIB)
43 @touch lib 45 @touch lib
44 46
45# elf 47# elf
@@ -58,26 +60,25 @@ asm/sx86-out.o: asm/sx86unix.cpp
58 60
59# bsdi 61# bsdi
60asm/sx86bsdi.o: asm/sx86unix.cpp 62asm/sx86bsdi.o: asm/sx86unix.cpp
61 $(CPP) -DBSDI asm/sx86unix.cpp | as -o asm/sx86bsdi.o 63 $(CPP) -DBSDI asm/sx86unix.cpp | sed 's/ :/:/' | as -o asm/sx86bsdi.o
62 64
63asm/sx86unix.cpp: 65asm/sx86unix.cpp:
64 (cd asm; perl sha1-586.pl cpp >sx86unix.cpp) 66 (cd asm; $(PERL) sha1-586.pl cpp $(PROCESSOR) >sx86unix.cpp)
65 67
66files: 68files:
67 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO 69 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
68 70
69links: 71links:
70 /bin/rm -f Makefile 72 @$(TOP)/util/point.sh Makefile.ssl Makefile
71 $(TOP)/util/point.sh Makefile.ssl Makefile ; 73 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
72 $(TOP)/util/mklink.sh ../../include $(EXHEADER) 74 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
73 $(TOP)/util/mklink.sh ../../test $(TEST) 75 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
74 $(TOP)/util/mklink.sh ../../apps $(APPS)
75 76
76install: 77install:
77 @for i in $(EXHEADER) ; \ 78 @for i in $(EXHEADER) ; \
78 do \ 79 do \
79 (cp $$i $(INSTALLTOP)/include/$$i; \ 80 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
80 chmod 644 $(INSTALLTOP)/include/$$i ); \ 81 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
81 done; 82 done;
82 83
83tags: 84tags:
@@ -89,15 +90,22 @@ lint:
89 lint -DLINT $(INCLUDES) $(SRC)>fluff 90 lint -DLINT $(INCLUDES) $(SRC)>fluff
90 91
91depend: 92depend:
92 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) 93 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
93 94
94dclean: 95dclean:
95 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
96 mv -f Makefile.new $(MAKEFILE) 97 mv -f Makefile.new $(MAKEFILE)
97 98
98clean: 99clean:
99 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o 100 rm -f asm/sx86unix.cpp *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff asm/*.o
100
101errors:
102 101
103# DO NOT DELETE THIS LINE -- make depend depends on it. 102# DO NOT DELETE THIS LINE -- make depend depends on it.
103
104sha1_one.o: ../../include/openssl/sha.h
105sha1dgst.o: ../../include/openssl/opensslconf.h
106sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
107sha1dgst.o: sha_locl.h
108sha_dgst.o: ../../include/openssl/opensslconf.h
109sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h
110sha_dgst.o: sha_locl.h
111sha_one.o: ../../include/openssl/sha.h