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. --- libcrypt/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in index 7364d3e71..40bb55cd0 100644 --- a/libcrypt/Makefile.in +++ b/libcrypt/Makefile.in @@ -32,13 +32,13 @@ objclean-y += libcrypt_clean ifeq ($(DOMULTI),n) ifeq ($(DOPIC),y) -$(top_builddir)lib/libcrypt.so: $(top_builddir)lib/libcrypt.a $(libc) +$(top_builddir)lib/libcrypt.so: $(top_builddir)lib/libcrypt.a $(libc.depend) else -$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a $(libc) +$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a $(libc.depend) endif $(call link.so,$(libcrypt_FULL_NAME),$(MAJOR_VERSION)) else -$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt.oS | $(libc) +$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt.oS | $(libc.depend) $(call linkm.so,$(libcrypt_FULL_NAME),$(MAJOR_VERSION)) endif -- cgit v1.2.3