Makefile.arch 624 B

1234567891011121314151617
  1. # Makefile for uClibc (libubacktrace)
  2. #
  3. # Author: Khem Raj <raj.khem@gmail.com>
  4. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. #
  6. libubacktrace_ARCH_SRC-$(UCLIBC_HAS_BACKTRACE) := backtrace.c
  7. libubacktrace_ARCH_SRCS := $(addprefix $(libubacktrace_ARCH_DIR)/,$(libubacktrace_ARCH_SRC-y))
  8. libubacktrace_ARCH_OBJS := $(patsubst $(libubacktrace_ARCH_DIR)/%.c,$(libubacktrace_ARCH_OUT)/%.o,$(libubacktrace_ARCH_SRCS))
  9. ifeq ($(DOPIC),y)
  10. libubacktrace-a-y+=$(libubacktrace_ARCH_OBJS:.o=.os)
  11. else
  12. libubacktrace-a-y+=$(libubacktrace_ARCH_OBJS)
  13. endif
  14. libubacktrace-so-y+=$(libubacktrace_ARCH_OBJS:.o=.oS)