From 625d50e90b61aa7a459be7f26cbdee6fe7295b0a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 18 Jan 2006 21:05:37 +0000 Subject: Add IMA build rules --- libutil/Makefile.in | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'libutil') diff --git a/libutil/Makefile.in b/libutil/Makefile.in index bc6943aeb..6569e87ae 100644 --- a/libutil/Makefile.in +++ b/libutil/Makefile.in @@ -1,6 +1,6 @@ # Makefile for uClibc # -# Copyright (C) 2000-2005 Erik Andersen +# Copyright (C) 2000-2006 Erik Andersen # # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # @@ -35,18 +35,28 @@ lib-a-y += $(top_builddir)lib/libutil.a lib-so-y += $(top_builddir)lib/libutil.so objclean-y += libutil_clean +ifeq ($(DOMULTI),n) ifeq ($(DOPIC),y) $(top_builddir)lib/libutil.so: $(top_builddir)lib/libutil.a $(libc) else $(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a $(libc) endif $(call link.so,$(libutil_FULL_NAME),$(MAJOR_VERSION)) +else +$(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil.oS $(libc) + $(call linkm.so,$(libutil_FULL_NAME),$(MAJOR_VERSION)) +endif $(libutil_OUT)/libutil_so.a: $(libutil-so-y) $(Q)$(RM) $@ $(do_strip) $(do_ar) +$(libutil_OUT)/libutil.oS: $(libutil_SRC) + $(Q)$(RM) $@ + $(compile-m) + $(Q)$(STRIPTOOL) $(STRIP_FLAGS) $@ + $(top_builddir)lib/libutil.a: $(libutil-a-y) $(Q)$(INSTALL) -d $(dir $@) $(Q)$(RM) $@ @@ -54,4 +64,4 @@ $(top_builddir)lib/libutil.a: $(libutil-a-y) $(do_ar) libutil_clean: - $(RM) $(libutil_OUT)/*.{o,os,a} + $(RM) $(libutil_OUT)/*.{o,os,oS,a} -- cgit v1.2.3