Makefile.in 598 B

123456789101112131415161718192021222324
  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/gnu
  8. CSRC-y :=
  9. CSRC-$(UCLIBC_HAS_OBSTACK) := obstack.c obprintf.c
  10. MISC_GNU_DIR := $(top_srcdir)libc/misc/gnu
  11. MISC_GNU_OUT := $(top_builddir)libc/misc/gnu
  12. MISC_GNU_SRC := $(patsubst %.c,$(MISC_GNU_DIR)/%.c,$(CSRC-y))
  13. MISC_GNU_OBJ := $(patsubst %.c,$(MISC_GNU_OUT)/%.o,$(CSRC-y))
  14. libc-y += $(MISC_GNU_OBJ)
  15. objclean-y += CLEAN_libc/misc/gnu
  16. CLEAN_libc/misc/gnu:
  17. $(do_rm) $(addprefix $(MISC_GNU_OUT)/*., o os)