1234567891011121314151617181920212223 |
- # FTS Makefile for uClibc
- #
- # Copyright (C) 2009 STMicroelectronics Ltd.
- # Author: Salvatore Cro <salvatore.cro at st.com>
- #
- # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- #
- subdirs += libc/misc/fts
- CSRC := fts.c
- MISC_FTS_DIR := $(top_srcdir)libc/misc/fts
- MISC_FTS_OUT := $(top_builddir)libc/misc/fts
- MISC_FTS_SRC := $(patsubst %.c,$(MISC_FTS_DIR)/%.c,$(CSRC))
- MISC_FTS_OBJ := $(patsubst %.c,$(MISC_FTS_OUT)/%.o,$(CSRC))
- libc-$(UCLIBC_HAS_FTS) += $(MISC_FTS_OBJ)
- objclean-y += CLEAN_libc/misc/fts
- CLEAN_libc/misc/fts:
- $(do_rm) $(addprefix $(MISC_FTS_OUT)/*., o os)
|