summaryrefslogtreecommitdiff
path: root/libutil
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-22 01:44:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-22 01:44:51 +0000
commitb20ee706efe1c40b016efe41e1486ef6e10d6880 (patch)
tree50ac361f0276a2b51593471b7a392287211d582f /libutil
parent28cfdb86441668581d1d8efd11137bb8da9f65a4 (diff)
rework depends and stripping so that libraries arent rebuilt all the time in a loop
Diffstat (limited to 'libutil')
-rw-r--r--libutil/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libutil/Makefile.in b/libutil/Makefile.in
index f6396a627..4267ce594 100644
--- a/libutil/Makefile.in
+++ b/libutil/Makefile.in
@@ -31,7 +31,7 @@ lib-a-y += $(top_builddir)lib/libutil.a
lib-so-y += $(top_builddir)lib/libutil.so
objclean-y += libutil_clean
-$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a libc-y
+$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a $(libc-so-dep)
$(call link.so,$(libutil_FULL_NAME),$(MAJOR_VERSION))
$(libutil_OUT)/libutil_so.a: $(libutil-so-y)
@@ -42,11 +42,13 @@ $(libutil_OUT)/libutil_so.a: $(libutil-so-y)
ifeq ($(DOPIC),y)
$(top_builddir)lib/libutil.a: $(libutil-a-y:.o=.os)
else
-$(top_builddir)lib/libutil.a: $(libutil-a-y)
+$(top_builddir)lib/libutil.a: $(libutil-a-y) $(libutil_OUT)/libutil_so.a
endif
$(Q)$(INSTALL) -d $(dir $@)
$(Q)$(RM) $@
+ifneq ($(DOPIC),y)
$(do_strip)
+endif
$(do_ar)
libutil_clean: