From 6d5c1873b5d62539f355e361d8c0eb0377375b44 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 29 Jul 2010 17:02:38 -0500 Subject: [PATCH] Fix util test dependencies The test programs in tests/util did not depend on libutil.a or libtap.a. So, if libutil.a changed, they were not relinked. Add the dependencies so correcting a part of libutil will cause the tests to actually reflect the change. Change-Id: Iad9d15ef6affd8178d7ef7cb919f66dcce8c61da Reviewed-on: http://gerrit.openafs.org/2484 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- tests/util/Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/util/Makefile.in b/tests/util/Makefile.in index 89ea518d67..df129e53ed 100644 --- a/tests/util/Makefile.in +++ b/tests/util/Makefile.in @@ -7,17 +7,17 @@ include @TOP_OBJDIR@/src/config/Makefile.lwp MODULE_CFLAGS = -I$(srcdir)/.. +LIBS = ../tap/libtap.a $(abs_top_builddir)/lib/util.a + tests = ktime-t exec-alt-t all check test tests: $(tests) -ktime-t: ktime-t.o - $(AFS_LDRULE) ktime-t.o ../tap/libtap.a \ - $(abs_top_builddir)/lib/util.a $(XLIBS) +ktime-t: ktime-t.o $(LIBS) + $(AFS_LDRULE) ktime-t.o $(LIBS) $(XLIBS) -exec-alt-t: exec-alt-t.o - $(AFS_LDRULE) exec-alt-t.o ../tap/libtap.a \ - $(abs_top_builddir)/lib/util.a $(XLIBS) +exec-alt-t: exec-alt-t.o $(LIBS) + $(AFS_LDRULE) exec-alt-t.o $(LIBS) $(XLIBS) install: