summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-06-01 16:49:23 (GMT)
committerBernd Schmidt <bernds_cb1@t-online.de>2008-06-01 16:49:23 (GMT)
commit68d02d6473eeaa349e4ee5dceef0fcd1ac32aae2 (patch)
tree5a4522a5a004f64cd1709bf7506c071cd12186a9 /libm
parent809dbec58fd772bfa9f7d75f8afdc13b3c4542af (diff)
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.
Diffstat (limited to 'libm')
-rw-r--r--libm/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index 1a8f827..0e76408 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -152,13 +152,13 @@ objclean-y += libm_clean
ifeq ($(DOMULTI),n)
ifeq ($(DOPIC),y)
-$(top_builddir)lib/libm.so: $(top_builddir)lib/libm.a $(libc)
+$(top_builddir)lib/libm.so: $(top_builddir)lib/libm.a $(libc.depend)
else
-$(top_builddir)lib/libm.so: $(libm_OUT)/libm_so.a $(libc)
+$(top_builddir)lib/libm.so: $(libm_OUT)/libm_so.a $(libc.depend)
endif
$(call link.so,$(libm_FULL_NAME),$(MAJOR_VERSION))
else
-$(top_builddir)lib/libm.so: $(libm_OUT)/libm.oS | $(libc)
+$(top_builddir)lib/libm.so: $(libm_OUT)/libm.oS | $(libc.depend)
$(call linkm.so,$(libm_FULL_NAME),$(MAJOR_VERSION))
endif