summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/md4
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-07-07 21:02:21 +0000
committerPaul Park <pjpark@mit.edu>1995-07-07 21:02:21 +0000
commit157189e79079deab6a7f31533391a915670425d5 (patch)
treeb39567753dfb8320852d22df50d7e1aba346fc12 /src/lib/crypto/md4
parent905c12fc9307fd443f2bb00f20e4d61be2447419 (diff)
downloadkrb5-157189e79079deab6a7f31533391a915670425d5.tar.gz
krb5-157189e79079deab6a7f31533391a915670425d5.tar.xz
krb5-157189e79079deab6a7f31533391a915670425d5.zip
Add t_cksum under unix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6256 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/md4')
-rw-r--r--src/lib/crypto/md4/Makefile.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/lib/crypto/md4/Makefile.in b/src/lib/crypto/md4/Makefile.in
index 3fbe486908..faecdffc48 100644
--- a/src/lib/crypto/md4/Makefile.in
+++ b/src/lib/crypto/md4/Makefile.in
@@ -36,11 +36,27 @@ t_mddriver.exe:
$(CC) -DMD=4 $(CFLAGS2) -o t_mddriver t_mddriver.c md4.c
$(RM) md4.obj
-check:: t_mddriver$(EXEEXT)
+t_cksum.c: $(srcdir)/../md5/t_cksum.c
+ $(CP) $(srcdir)/../md5/t_cksum.c t_cksum.c
+
+t_cksum.o: t_cksum.c
+ $(CC) -DMD=4 $(CFLAGS) -c t_cksum.c
+
+t_cksum: t_cksum.o $(TOPLIBD)/libcrypto.a
+ $(CC) $(CFLAGS) -o t_cksum t_cksum.o $(TOPLIBD)/libcrypto.a $(LIBS)
+
+check-unix:: t_mddriver t_cksum
+ $(C)t_mddriver -x
+ $(C)t_cksum "this is a test"
+
+check-windows:: t_mddriver$(EXEEXT)
$(C)t_mddriver$(EXEEXT) -x
+check:: check-$(WHAT)
+
clean:: clean-$(WHAT)
$(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT) t_mddriver.c
+ $(RM) t_cksum$(EXEEXT) t_cksum.$(OBJEXT) t_cksum.c
clean-unix::
$(RM) shared/*