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 --- libnsl/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libnsl') diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in index f3221f481..fe2fb1b24 100644 --- a/libnsl/Makefile.in +++ b/libnsl/Makefile.in @@ -28,7 +28,7 @@ lib-a-y += $(top_builddir)lib/libnsl.a lib-so-y += $(top_builddir)lib/libnsl.so objclean-y += libnsl_clean -$(top_builddir)lib/libnsl.so: $(libnsl_OUT)/libnsl_so.a libc-y +$(top_builddir)lib/libnsl.so: $(libnsl_OUT)/libnsl_so.a $(libc-so-dep) $(call link.so,$(libnsl_FULL_NAME),$(MAJOR_VERSION)) $(libnsl_OUT)/libnsl_so.a: $(libnsl-so-y) @@ -39,11 +39,13 @@ $(libnsl_OUT)/libnsl_so.a: $(libnsl-so-y) ifeq ($(DOPIC),y) $(top_builddir)lib/libnsl.a: $(libnsl-a-y:.o=.os) else -$(top_builddir)lib/libnsl.a: $(libnsl-a-y) +$(top_builddir)lib/libnsl.a: $(libnsl-a-y) $(libnsl_OUT)/libnsl_so.a endif $(Q)$(INSTALL) -d $(dir $@) $(Q)$(RM) $@ +ifneq ($(DOPIC),y) $(do_strip) +endif $(do_ar) libnsl_clean: -- cgit v1.2.3