Makefile.arch 529 B

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