diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-01 21:50:15 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-01 21:50:15 +0000 |
commit | 8b9c2bd0462a1185eaa4d320472106e9aa0c7646 (patch) | |
tree | f9850e6f29191eddc3e82745b0dc39425a1c5716 | |
parent | a37cc0c3d41ad4b7f387ed8dd74c083dcd00c6c5 (diff) |
Split up the .o and .os rules, so all the sources are created if DOPIC is disabled.
-rw-r--r-- | Makerules | 10 | ||||
-rw-r--r-- | libintl/Makefile.in | 5 | ||||
-rw-r--r-- | libm/Makefile.in | 5 |
3 files changed, 16 insertions, 4 deletions
@@ -25,13 +25,19 @@ compile-m=$(CC) $^ -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suff CFLAGS-.os+=$(PICFLAG) CFLAGS-.oS+=$(PICFLAG) -DSHARED -%.o %.os: %.c +%.o: %.c + $(compile.c) + +%.os: %.c $(compile.c) %.oS: %.c $(compile.c) -%.o %.os: %.S +%.o: %.S + $(compile.S) + +%.os: %.S $(compile.S) #ifeq ($(HAVE_ELF),y) diff --git a/libintl/Makefile.in b/libintl/Makefile.in index 5b309fc39..8c77262a0 100644 --- a/libintl/Makefile.in +++ b/libintl/Makefile.in @@ -22,7 +22,10 @@ libintl_MOBJ:=$(patsubst %.o,$(libintl_OUT)/%.o,$(MOBJ)) libintl_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(libintl_MOBJ)))) -$(libintl_MOBJ) $(libintl_MOBJ:.o=.os): $(libintl_MSRC) +$(libintl_MOBJ): $(libintl_MSRC) + $(compile.m) + +$(libintl_MOBJ:.o=.os): $(libintl_MSRC) $(compile.m) libintl-a-$(UCLIBC_HAS_GETTEXT_AWARENESS):=$(libintl_MOBJ) diff --git a/libm/Makefile.in b/libm/Makefile.in index 541b6fb91..b026644b0 100644 --- a/libm/Makefile.in +++ b/libm/Makefile.in @@ -116,7 +116,10 @@ libm_OBJS+=$(patsubst %.c,$(libm_OUT)/%.o,$(LIBM_NO_MULTI)) endif endif -$(libm_MOBJ) $(libm_MOBJ:.o=.os): $(libm_MSRC) +$(libm_MOBJ): $(libm_MSRC) + $(compile.m) + +$(libm_MOBJ:.o=.os): $(libm_MSRC) $(compile.m) libm-a-$(UCLIBC_HAS_FLOATS)+=$(libm_OBJS) |