Makefile.arch 475 B

12345678910111213141516171819
  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. libm_ARCH_SRC:=$(wildcard $(libm_ARCH_fpu_DIR)/*.c)
  8. libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_fpu_DIR)/%.c,$(libm_ARCH_fpu_OUT)/%.o,$(libm_ARCH_SRC))
  9. libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
  10. ifeq ($(DOPIC),y)
  11. libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
  12. else
  13. libm-a-y+=$(libm_ARCH_OBJS)
  14. endif
  15. libm-so-y+=$(libm_ARCH_OBJS:.o=.os)