summaryrefslogtreecommitdiffstats
path: root/src/appl/sample
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-09-29 04:04:56 +0000
committerTheodore Tso <tytso@mit.edu>1994-09-29 04:04:56 +0000
commit45bff501fdd072094e95cfc7cc56d554c0ccb1cf (patch)
tree68038c4f73656d6d9469d6575a88eb0f155050d1 /src/appl/sample
parentf9bba7c1f72dc3348f16d1037935e11d4b3f66ef (diff)
downloadkrb5-45bff501fdd072094e95cfc7cc56d554c0ccb1cf.tar.gz
krb5-45bff501fdd072094e95cfc7cc56d554c0ccb1cf.tar.xz
krb5-45bff501fdd072094e95cfc7cc56d554c0ccb1cf.zip
Relink executable when library changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4373 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/sample')
-rw-r--r--src/appl/sample/sclient/ChangeLog5
-rw-r--r--src/appl/sample/sclient/Makefile.in6
-rw-r--r--src/appl/sample/sserver/ChangeLog4
-rw-r--r--src/appl/sample/sserver/Makefile.in6
4 files changed, 15 insertions, 6 deletions
diff --git a/src/appl/sample/sclient/ChangeLog b/src/appl/sample/sclient/ChangeLog
new file mode 100644
index 000000000..2b5888299
--- /dev/null
+++ b/src/appl/sample/sclient/ChangeLog
@@ -0,0 +1,5 @@
+Wed Sep 28 23:09:00 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executable when library chages.
+
+
diff --git a/src/appl/sample/sclient/Makefile.in b/src/appl/sample/sclient/Makefile.in
index 01c07429f..02cc684f2 100644
--- a/src/appl/sample/sclient/Makefile.in
+++ b/src/appl/sample/sclient/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 $(COMERRLIB)
-sclient: sclient.o
+sclient: sclient.o $(DEPKLIB)
$(CC) $(CFLAGS) -o sclient sclient.o $(KLIB) $(LIBS)
sclient.o: $(srcdir)/sclient.c
diff --git a/src/appl/sample/sserver/ChangeLog b/src/appl/sample/sserver/ChangeLog
new file mode 100644
index 000000000..3ade1b340
--- /dev/null
+++ b/src/appl/sample/sserver/ChangeLog
@@ -0,0 +1,4 @@
+Wed Sep 28 23:49:10 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * Makefile.in: Relink executable when library changes.
+
diff --git a/src/appl/sample/sserver/Makefile.in b/src/appl/sample/sserver/Makefile.in
index 57976bc6f..84f0ff780 100644
--- a/src/appl/sample/sserver/Makefile.in
+++ b/src/appl/sample/sserver/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 $(COMERRLIB)
-sserver: sserver.o
+sserver: sserver.o $(DEPKLIB)
$(CC) $(CFLAGS) -o sserver sserver.o $(KLIB) $(LIBS)
sserver.o: $(srcdir)/sserver.c