Makefile.in 596 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. $(warning XXX: add UCLIBC_HAS_OBSTACK)
  9. CSRC-y := obstack.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)