Makefile.in 605 B

1234567891011121314151617181920212223
  1. # FTS Makefile for uClibc
  2. #
  3. # Copyright (C) 2009 STMicroelectronics Ltd.
  4. # Author: Salvatore Cro <salvatore.cro at st.com>
  5. #
  6. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. #
  8. subdirs += libc/misc/fts
  9. CSRC-y := fts.c
  10. MISC_FTS_DIR := $(top_srcdir)libc/misc/fts
  11. MISC_FTS_OUT := $(top_builddir)libc/misc/fts
  12. MISC_FTS_SRC := $(patsubst %.c,$(MISC_FTS_DIR)/%.c,$(CSRC-y))
  13. MISC_FTS_OBJ := $(patsubst %.c,$(MISC_FTS_OUT)/%.o,$(CSRC-y))
  14. libc-$(UCLIBC_HAS_FTS) += $(MISC_FTS_OBJ)
  15. objclean-y += CLEAN_libc/misc/fts
  16. CLEAN_libc/misc/fts:
  17. $(do_rm) $(addprefix $(MISC_FTS_OUT)/*., o os)