summaryrefslogtreecommitdiff
path: root/librt/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-22 21:45:24 (GMT)
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-22 21:45:24 (GMT)
commit72c0f6a2d644754439d57acd2a90108d2ec2c9fe (patch)
treee3775d451c00797b522da9292247a97067ecc7a4 /librt/Makefile.in
parent5073e39d0a59b88dfadbe41b53ffd7cc3689e032 (diff)
Depedencies corrected (less make oldconfig/headers), rerunning make remakes only headers
Diffstat (limited to 'librt/Makefile.in')
-rw-r--r--librt/Makefile.in18
1 files changed, 10 insertions, 8 deletions
diff --git a/librt/Makefile.in b/librt/Makefile.in
index 55d006d..ec405e5 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -19,7 +19,11 @@ librt_OUT := $(top_builddir)librt
librt_SRC := $(wildcard $(librt_DIR)/*.c)
librt_OBJ := $(patsubst $(librt_DIR)/%.c,$(librt_OUT)/%.o,$(librt_SRC))
+ifeq ($(DOPIC),y)
+librt-a-y := $(librt_OBJ:.o=.os)
+else
librt-a-y := $(librt_OBJ)
+endif
librt-so-y := $(librt_OBJ:.o=.os)
librt-multi-y += $(librt_SRC)
@@ -28,7 +32,11 @@ lib-a-y += $(top_builddir)lib/librt.a
lib-so-y += $(top_builddir)lib/librt.so
objclean-y += librt_clean
-$(top_builddir)lib/librt.so: $(librt_OUT)/librt_so.a $(libc-so-dep)
+ifeq ($(DOPIC),y)
+$(top_builddir)lib/librt.so: $(top_builddir)lib/librt.a $(libc)
+else
+$(top_builddir)lib/librt.so: $(librt_OUT)/librt_so.a $(libc)
+endif
$(call link.so,$(librt_FULL_NAME),$(MAJOR_VERSION))
$(librt_OUT)/librt_so.a: $(librt-so-y)
@@ -36,16 +44,10 @@ $(librt_OUT)/librt_so.a: $(librt-so-y)
$(do_strip)
$(do_ar)
-ifeq ($(DOPIC),y)
-$(top_builddir)lib/librt.a: $(librt-a-y:.o=.os)
-else
-$(top_builddir)lib/librt.a: $(librt-a-y) $(librt_OUT)/librt_so.a
-endif
+$(top_builddir)lib/librt.a: $(librt-a-y)
$(Q)$(INSTALL) -d $(dir $@)
$(Q)$(RM) $@
-ifneq ($(DOPIC),y)
$(do_strip)
-endif
$(do_ar)
librt_clean: