From 358043ffb9380926813eb8200f0a45140acdb77a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 28 Oct 2005 09:57:22 +0000 Subject: Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles --- libm/Makefile.in | 2 +- libm/powerpc/Makefile.arch | 24 ++++++++++++++++++++++++ libm/powerpc/Makefile.in | 24 ------------------------ 3 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 libm/powerpc/Makefile.arch delete mode 100644 libm/powerpc/Makefile.in (limited to 'libm') diff --git a/libm/Makefile.in b/libm/Makefile.in index b54b27f73..fb547465c 100644 --- a/libm/Makefile.in +++ b/libm/Makefile.in @@ -29,7 +29,7 @@ CFLAGS-s_lib_version.c=-D_POSIX_MODE LIB_NAME:=libm ifeq ($(HAS_FPU),y) --include $(top_srcdir)libm/$(TARGET_ARCH)/Makefile.in +-include $(top_srcdir)libm/$(TARGET_ARCH)/Makefile.arch endif FL_MSRC:=float_wrappers.c diff --git a/libm/powerpc/Makefile.arch b/libm/powerpc/Makefile.arch new file mode 100644 index 000000000..c6d39676a --- /dev/null +++ b/libm/powerpc/Makefile.arch @@ -0,0 +1,24 @@ +# Makefile for uClibc +# +# Copyright (C) 2000-2005 Erik Andersen +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# + +libm_ARCH_DIR:=$(top_srcdir)libm/powerpc +libm_ARCH_OUT:=$(top_builddir)libm/powerpc + +libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c) +libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC)) + +libm_ARCH_OBJS:=$(libm_ARCH_OBJ) + +libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS) +libm-so-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os) + +libm-multi-$(DO_C99_MATH)+=$(libm_ARCH_SRC) + +objclean-y+=libm_arch_objclean + +libm_arch_objclean: + $(RM) $(libm_ARCH_OUT)/*.{o,os} diff --git a/libm/powerpc/Makefile.in b/libm/powerpc/Makefile.in deleted file mode 100644 index c6d39676a..000000000 --- a/libm/powerpc/Makefile.in +++ /dev/null @@ -1,24 +0,0 @@ -# Makefile for uClibc -# -# Copyright (C) 2000-2005 Erik Andersen -# -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -# - -libm_ARCH_DIR:=$(top_srcdir)libm/powerpc -libm_ARCH_OUT:=$(top_builddir)libm/powerpc - -libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c) -libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC)) - -libm_ARCH_OBJS:=$(libm_ARCH_OBJ) - -libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS) -libm-so-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os) - -libm-multi-$(DO_C99_MATH)+=$(libm_ARCH_SRC) - -objclean-y+=libm_arch_objclean - -libm_arch_objclean: - $(RM) $(libm_ARCH_OUT)/*.{o,os} -- cgit v1.2.3