Makefile.in 590 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. 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-so-y+=$(MISC_ERROR_OBJ:.o=.os)
  14. libc-multi-y+=$(MISC_ERROR_SRC)
  15. objclean-y+=misc_error_objclean
  16. misc_error_objclean:
  17. $(RM) $(MISC_ERROR_OUT)/*.{o,os}