+Thu Sep 29 23:01:58 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executabes when libraries change
+
Wed Sep 28 16:12:08 1994 Mark Eichin (eichin@cygnus.com)
* ktest_equal.c: #include stdio.h to get NULL under sunos.
CC = cc
CCFLAGS = -g -I../../include
-LIBS = -L../../lib -lkrb5 -lcom_err
+
+COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
+DBMLIB=
+
+KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
all: krb5_encode_test krb5_decode_test
ENCOBJS = krb5_encode_test.o ktest.o ktest_equal.o utility.o asn1buf.o
-krb5_encode_test: $(ENCOBJS)
- $(CC) $(CCFLAGS) -o krb5_encode_test $(ENCOBJS) $(LIBS)
+
+krb5_encode_test: $(ENCOBJS) $(DEPKLIB)
+ $(CC) $(CCFLAGS) -o krb5_encode_test $(ENCOBJS) $(KLIB)
DECOBJS = krb5_decode_test.o ktest.o ktest_equal.o
-krb5_decode_test: $(DECOBJS)
- $(CC) $(CCFLAGS) -o krb5_decode_test $(DECOBJS) $(LIBS)
+
+krb5_decode_test: $(DECOBJS) $(DEPKLIB)
+ $(CC) $(CCFLAGS) -o krb5_decode_test $(DECOBJS) $(KLIB)
clean:
rm -f *~ *.o krb5_encode_test krb5_decode_test
all:: krb5_encode_test krb5_decode_test
KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
LOCALINCLUDES = -I$(srcdir)/../../lib/krb5/asn.1
ENCOBJS = krb5_encode_test.o ktest.o ktest_equal.o utility.o
-krb5_encode_test: $(ENCOBJS)
+
+krb5_encode_test: $(ENCOBJS) $(DEPKLIB)
$(CC) $(CFLAGS) -o krb5_encode_test $(ENCOBJS) $(LIBS) $(KLIB)
DECOBJS = krb5_decode_test.o ktest.o ktest_equal.o utility.o
-krb5_decode_test: $(DECOBJS)
+
+krb5_decode_test: $(DECOBJS) $(DEPKLIB)
$(CC) $(CFLAGS) -o krb5_decode_test $(DECOBJS) $(LIBS) $(KLIB)
install::
+Thu Sep 29 22:58:05 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executable when libraries change
+
Thu Sep 15 17:16:46 1994 Theodore Y. Ts'o (tytso@dcl)
* kdb5_mkdums.c (add_princ): Initialize key version number to be 1.
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a
+DEPKDBLIB=$(TOPLIBD)/libkdb5.a
all:: kdb5_mkdums
KLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
-kdb5_mkdums: kdb5_mkdums.o
+DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
+
+kdb5_mkdums: kdb5_mkdums.o $(DEPLIBS)
$(CC) $(CFLAGS) -o kdb5_mkdums kdb5_mkdums.o $(KLIB) $(LIBS)
kdb5_mkdums.o: $(srcdir)/kdb5_mkdums.c
+Thu Sep 29 22:59:09 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executable when libraries change
+
+
Thu Sep 15 17:38:51 1994 Theodore Y. Ts'o (tytso@dcl)
* kdc_hammer.c (get_server_key): index() -> strchr()
all:: kdc5_hammer
KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
-kdc5_hammer: kdc5_hammer.o
+kdc5_hammer: kdc5_hammer.o $(DEPKLIB)
$(CC) $(CFLAGS) -o kdc5_hammer kdc5_hammer.o $(KLIB) $(LIBS)
kdc5_hammer.o: $(srcdir)/kdc5_hammer.c
--- /dev/null
+Thu Sep 29 23:00:05 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executable when libraries change
+
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a
+DEPKDBLIB=$(TOPLIBD)/libkdb5.a
all:: kdb5_verify
KLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+DEPKLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
-kdb5_verify: kdb5_verify.o
+DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
+
+kdb5_verify: kdb5_verify.o $(DEPLIBS)
$(CC) $(CFLAGS) -o kdb5_verify kdb5_verify.o $(KLIB) $(LIBS)
kdb5_verify.o: $(srcdir)/kdb5_verify.c