Makefile.arch 577 B

123456789101112131415161718192021222324
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. # The routines included in this math library are derived from
  8. # glibc's libm.
  9. #
  10. ifeq ($(UCLIBC_HAS_FENV),y)
  11. libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
  12. libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
  13. endif
  14. libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
  15. ifeq ($(DOPIC),y)
  16. libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
  17. else
  18. libm-a-y+=$(libm_ARCH_OBJS)
  19. endif
  20. libm-so-y+=$(libm_ARCH_OBJS:.o=.os)