diff options
| author | beck <> | 1999-09-29 04:37:45 +0000 |
|---|---|---|
| committer | beck <> | 1999-09-29 04:37:45 +0000 |
| commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
| tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/sha/Makefile.ssl | |
| parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
| download | openbsd-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.ssl | 42 |
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= ../.. | |||
| 7 | CC= cc | 7 | CC= cc |
| 8 | INCLUDES= | 8 | INCLUDES= |
| 9 | CFLAG=-g | 9 | CFLAG=-g |
| 10 | INSTALL_PREFIX= | ||
| 11 | OPENSSLDIR= /usr/local/ssl | ||
| 10 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
| 11 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
| 12 | MAKEDEPEND= makedepend -f Makefile.ssl | 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) |
| 13 | MAKEFILE= Makefile.ssl | 15 | MAKEFILE= Makefile.ssl |
| 14 | AR= ar r | 16 | AR= ar r |
| 15 | 17 | ||
| @@ -39,7 +41,7 @@ all: lib | |||
| 39 | 41 | ||
| 40 | lib: $(LIBOBJ) | 42 | lib: $(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 |
| 60 | asm/sx86bsdi.o: asm/sx86unix.cpp | 62 | asm/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 | ||
| 63 | asm/sx86unix.cpp: | 65 | asm/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 | ||
| 66 | files: | 68 | files: |
| 67 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 69 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 68 | 70 | ||
| 69 | links: | 71 | links: |
| 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 | ||
| 76 | install: | 77 | install: |
| 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 | ||
| 83 | tags: | 84 | tags: |
| @@ -89,15 +90,22 @@ lint: | |||
| 89 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 90 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
| 90 | 91 | ||
| 91 | depend: | 92 | depend: |
| 92 | $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC) | 93 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
| 93 | 94 | ||
| 94 | dclean: | 95 | dclean: |
| 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 | ||
| 98 | clean: | 99 | clean: |
| 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 | |||
| 101 | errors: | ||
| 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 | |||
| 104 | sha1_one.o: ../../include/openssl/sha.h | ||
| 105 | sha1dgst.o: ../../include/openssl/opensslconf.h | ||
| 106 | sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | ||
| 107 | sha1dgst.o: sha_locl.h | ||
| 108 | sha_dgst.o: ../../include/openssl/opensslconf.h | ||
| 109 | sha_dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h | ||
| 110 | sha_dgst.o: sha_locl.h | ||
| 111 | sha_one.o: ../../include/openssl/sha.h | ||
