From: Eric Cooper <ecc@cmu.edu>
Date: Wed, 2 Mar 2011 19:19:40 -0500
Subject: add all-byte and install-byte targets

closes: #616176
Signed-off-by: Eric Cooper <ecc@cmu.edu>
---
 Makefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 82bd445..c72417c 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,8 @@ allshaopts  = $(foreach n, 1 256 512, sha$(n).lib.$(OBJ) sha$(n)_stubs.$(OBJ) sh
 
 all: sha1.cmi sha1.cma sha1.cmxa sha256.cma sha256.cmxa sha512.cma sha512.cmxa sha.cma sha.cmxa
 
+all-byte: sha1.cma sha256.cma sha512.cma sha.cma
+
 bins: $(PROGRAMS)
 
 sha1sum$(EXE): sha1.cmxa sha256.cmxa sha512.cmxa shasum.cmx
@@ -107,5 +109,8 @@ clean:
 install: sha1.cma sha1.cmxa sha256.cma sha256.cmxa sha512.cma sha512.cmxa sha.cma sha.cmxa META
 	ocamlfind install sha META *.mli sha1.cmi sha1.cma sha1.cmxa sha256.cmi sha256.cma sha256.cmxa sha512.cmi sha512.cma sha512.cmxa sha.cma sha.cmxa *.$(A) *.$(SO)
 
+install-byte: sha1.cma sha256.cma sha512.cma sha.cma
+	ocamlfind install sha META *.mli sha1.cmi sha1.cma sha256.cmi sha256.cma sha512.cmi sha512.cma sha.cma *.$(A) *.$(SO)
+
 uninstall:
 	ocamlfind remove sha
-- 
