Makefile.in 649 B

12345678910111213141516171819202122232425
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. subdirs += libc/misc/error
  8. CSRC-y :=
  9. CSRC-$(UCLIBC_HAS_BSD_ERR) += err.c
  10. CSRC-$(UCLIBC_HAS_GNU_ERROR) += error.c
  11. MISC_ERROR_DIR := $(top_srcdir)libc/misc/error
  12. MISC_ERROR_OUT := $(top_builddir)libc/misc/error
  13. MISC_ERROR_SRC := $(patsubst %.c,$(MISC_ERROR_DIR)/%.c,$(CSRC-y))
  14. MISC_ERROR_OBJ := $(patsubst %.c,$(MISC_ERROR_OUT)/%.o,$(CSRC-y))
  15. libc-y += $(MISC_ERROR_OBJ)
  16. objclean-y += CLEAN_libc/misc/error
  17. CLEAN_libc/misc/error:
  18. $(do_rm) $(addprefix $(MISC_ERROR_OUT)/*., o os)