From 68d02d6473eeaa349e4ee5dceef0fcd1ac32aae2 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Sun, 1 Jun 2008 16:49:23 +0000 Subject: A slight improvement over my previous commit which ensured we always rebuild libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule. --- libutil/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libutil') diff --git a/libutil/Makefile.in b/libutil/Makefile.in index c9f94c1f6..a1c0beefc 100644 --- a/libutil/Makefile.in +++ b/libutil/Makefile.in @@ -35,13 +35,13 @@ objclean-y += libutil_clean ifeq ($(DOMULTI),n) ifeq ($(DOPIC),y) -$(top_builddir)lib/libutil.so: $(top_builddir)lib/libutil.a $(libc) +$(top_builddir)lib/libutil.so: $(top_builddir)lib/libutil.a $(libc.depend) else -$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a $(libc) +$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a $(libc.depend) endif $(call link.so,$(libutil_FULL_NAME),$(MAJOR_VERSION)) else -$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil.oS | $(libc) +$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil.oS | $(libc.depend) $(call linkm.so,$(libutil_FULL_NAME),$(MAJOR_VERSION)) endif -- cgit v1.2.3