From b20ee706efe1c40b016efe41e1486ef6e10d6880 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Nov 2005 01:44:51 +0000 Subject: rework depends and stripping so that libraries arent rebuilt all the time in a loop --- libcrypt/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in index 9aa0d014e..ed65f0f81 100644 --- a/libcrypt/Makefile.in +++ b/libcrypt/Makefile.in @@ -29,7 +29,7 @@ lib-a-y += $(top_builddir)lib/libcrypt.a lib-so-y += $(top_builddir)lib/libcrypt.so objclean-y += libcrypt_clean -$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a libc-y +$(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a $(libc-so-dep) $(call link.so,$(libcrypt_FULL_NAME),$(MAJOR_VERSION)) $(libcrypt_OUT)/libcrypt_so.a: $(libcrypt-so-y) @@ -40,11 +40,13 @@ $(libcrypt_OUT)/libcrypt_so.a: $(libcrypt-so-y) ifeq ($(DOPIC),y) $(top_builddir)lib/libcrypt.a: $(libcrypt-a-y:.o=.os) else -$(top_builddir)lib/libcrypt.a: $(libcrypt-a-y) +$(top_builddir)lib/libcrypt.a: $(libcrypt-a-y) $(libcrypt_OUT)/libcrypt_so.a endif $(Q)$(INSTALL) -d $(dir $@) $(Q)$(RM) $@ +ifneq ($(DOPIC),y) $(do_strip) +endif $(do_ar) libcrypt_clean: -- cgit v1.2.3