From c659e778f4e062d06ba17d9c471b382ac9e34ad5 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 23 Sep 1994 02:48:49 +0000 Subject: [PATCH] Add dependencies for the libraries (so the executables are automatically relinked when the libraries change) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4341 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kdestroy/Makefile.in | 6 +++--- src/clients/kinit/Makefile.in | 6 +++--- src/clients/ksu/Makefile.in | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/clients/kdestroy/Makefile.in b/src/clients/kdestroy/Makefile.in index ad78c15a6..15bc2c08d 100644 --- a/src/clients/kdestroy/Makefile.in +++ b/src/clients/kdestroy/Makefile.in @@ -3,13 +3,13 @@ LDFLAGS = -g ISODELIB=@ISODELIB@ COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a -DBMLIB= all:: -KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) +DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) -kdestroy: kdestroy.o +kdestroy: kdestroy.o $(DEPKLIB) $(CC) $(CFLAGS) -o kdestroy kdestroy.o $(KLIB) kdestroy.o: $(srcdir)/kdestroy.c diff --git a/src/clients/kinit/Makefile.in b/src/clients/kinit/Makefile.in index 9cd844702..3e652b6c5 100644 --- a/src/clients/kinit/Makefile.in +++ b/src/clients/kinit/Makefile.in @@ -3,13 +3,13 @@ LDFLAGS = -g ISODELIB=@ISODELIB@ COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a -DBMLIB= all:: -KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) +DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) -kinit: kinit.o +kinit: kinit.o $(DEPKLIB) $(CC) $(CFLAGS) -o kinit kinit.o $(KLIB) $(LIBS) kinit.o: $(srcdir)/kinit.c diff --git a/src/clients/ksu/Makefile.in b/src/clients/ksu/Makefile.in index a454ff0d2..d99346f13 100644 --- a/src/clients/ksu/Makefile.in +++ b/src/clients/ksu/Makefile.in @@ -4,7 +4,6 @@ LDFLAGS = -g ISODELIB=@ISODELIB@ COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a -DBMLIB= SRCS = \ $(srcdir)/krb_auth_su.c \ @@ -21,9 +20,10 @@ OBJS = \ all:: ksu -KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) +DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) -ksu: $(OBJS) +ksu: $(OBJS) $(DEPKLIB) $(CC) $(CFLAGS) -o ksu $(OBJS) $(KLIB) $(LIBS) clean:: -- 2.26.2