Makefile.arch 640 B

123456789101112131415161718192021222324
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 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_DIR:=$(top_srcdir)libm/powerpc
  8. libm_ARCH_OUT:=$(top_builddir)libm/powerpc
  9. libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
  10. libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
  11. libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
  12. libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS)
  13. libm-so-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os)
  14. libm-multi-$(DO_C99_MATH)+=$(libm_ARCH_SRC)
  15. objclean-y+=libm_arch_objclean
  16. libm_arch_objclean:
  17. $(RM) $(libm_ARCH_OUT)/*.{o,os}