* Makefile.in (t_cksum): Do not depend on libkrb5.a, use
authorEzra Peisach <epeisach@mit.edu>
Tue, 3 Mar 1998 13:43:29 +0000 (13:43 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 3 Mar 1998 13:43:29 +0000 (13:43 +0000)
KRB5_BASE_DEPLIBS.

This allows configuration --enable-shared --disable-static to work.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10493 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/md4/ChangeLog
src/lib/crypto/md4/Makefile.in
src/lib/crypto/md5/ChangeLog
src/lib/crypto/md5/Makefile.in

index e492c46172b767e01d861cb51d7210fb7ea75966..3ca8c0872864f10f8626bc7ab74262d27f05b803 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar  3 08:39:47 1998  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * Makefile.in (t_cksum): Do not depend on libkrb5.a, use 
+       KRB5_BASE_DEPLIBS.
+
 Wed Feb 18 16:06:57 1998  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
index 6d44ed25d6c2c4b1fc060810ec044aafcfe81b1c..739b34b84c1316a29f765d6abe1d55ea716bc985 100644 (file)
@@ -8,6 +8,9 @@ CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/../des -I"$(srcdir)"
 ##DOS##OBJFILE=..\md4.lst
 ##WIN16##LIBNAME=..\crypto.lib
 
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
+
 RUN_SETUP=@KRB5_RUN_ENV@
 
 STLIBOBJS=md4.o md4glue.o md4crypto.o
@@ -38,8 +41,8 @@ t_cksum.c: $(srcdir)/../md5/t_cksum.c
 t_cksum.o: t_cksum.c
        $(CC) -DMD=4 $(CFLAGS) -c  t_cksum.c
 
-t_cksum: t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a 
-       $(CC) $(CFLAGS) -o t_cksum t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(LIBS)
+t_cksum: t_cksum.o $(KRB5_BASE_DEPLIBS)
+       $(CC_LINK) -o t_cksum t_cksum.o $(KRB5_BASE_LIBS)
 
 check-unix:: t_mddriver t_cksum
        $(RUN_SETUP) $(C)t_mddriver -x
index 3e8e78b7c588e03b12fe4457c2346f8a2c383f4a..1c0026add4739642de98d209d30284003d1f36a0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar  3 08:42:10 1998  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * Makefile.in (t_cksum): Do not depend on libkrb5.a, use 
+       KRB5_BASE_DEPLIBS.
+
 Wed Feb 18 16:07:46 1998  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
index 560778ed5bbd462077b07d1a3197d962cfb1853f..3707f897b82e231225b153b84c500a66678b57f5 100644 (file)
@@ -7,6 +7,9 @@ CFLAGS = $(CCOPTS) $(DEFS) -I$(srcdir)/../des
 ##DOS##OBJFILE=..\md5.lst
 ##WIN16##LIBNAME=..\crypto.lib
 
+PROG_LIBPATH=-L$(TOPLIBD)
+PROG_RPATH=$(KRB5_LIBDIR)
+
 RUN_SETUP = @KRB5_RUN_ENV@
 
 STLIBOBJS=md5.o md5glue.o md5crypto.o
@@ -24,8 +27,8 @@ t_mddriver: t_mddriver.o md5.o
 t_mddriver.exe:
        $(CC) $(CFLAGS2) -o t_mddriver.exe t_mddriver.c md5.c
 
-t_cksum: t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a
-       $(CC) $(CFLAGS) -o t_cksum t_cksum.o $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(LIBS)
+t_cksum: t_cksum.o $(KRB5_BASE_DEPLIBS)
+       $(CC_LINK) -o t_cksum t_cksum.o $(KRB5_BASE_LIBS)
 
 check-unix:: t_mddriver t_cksum
        $(RUN_SETUP) $(C)t_mddriver -x