Makefile.in 629 B

12345678910111213141516171819202122232425
  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. CSRC:=error.c err.c
  8. MISC_ERROR_DIR:=$(top_srcdir)libc/misc/error
  9. MISC_ERROR_OUT:=$(top_builddir)libc/misc/error
  10. MISC_ERROR_SRC:=$(patsubst %.c,$(MISC_ERROR_DIR)/%.c,$(CSRC))
  11. MISC_ERROR_OBJ:=$(patsubst %.c,$(MISC_ERROR_OUT)/%.o,$(CSRC))
  12. libc-a-y+=$(MISC_ERROR_OBJ)
  13. libc-a-pic-y+=$(MISC_ERROR_OBJ:.o=.os)
  14. libc-so-y+=$(MISC_ERROR_OBJ:.o=.os)
  15. libc-multi-y+=$(MISC_ERROR_SRC)
  16. objclean-y+=misc_error_objclean
  17. misc_error_objclean:
  18. $(RM) $(MISC_ERROR_OUT)/*.{o,os}