Makefile.arch 578 B

1234567891011121314151617181920212223
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. ifeq ($(UCLIBC_HAS_FENV),y)
  8. libm_ARCH_SRC:=$(wildcard $(libm_ARCH_fpu_DIR)/*.c)
  9. libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_fpu_DIR)/%.c,$(libm_ARCH_fpu_OUT)/%.o,$(libm_ARCH_SRC))
  10. endif
  11. CFLAGS-libm/$(TARGET_ARCH)/$(TARGET_SUBARCH)/fpu/ := $(CFLAGS-libm)
  12. libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
  13. ifeq ($(DOPIC),y)
  14. libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
  15. else
  16. libm-a-y+=$(libm_ARCH_OBJS)
  17. endif
  18. libm-so-y+=$(libm_ARCH_OBJS:.o=.os)