summaryrefslogtreecommitdiff
path: root/libc/misc/fts/Makefile.in
diff options
context:
space:
mode:
authorSalvatore Cro <salvatore.cro at st.com>2011-04-20 12:49:25 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-04-20 12:50:38 +0200
commita4aa01c128b04c7174d57a28f61656f966d2bd6c (patch)
tree2783135b8c0322cbce4d502c7394bedcecfcbbbf /libc/misc/fts/Makefile.in
parent3a411b5d8a6c6311778e22280706047cd1a8c8d4 (diff)
Added fts support for traversing UNIX file hierarchies.
It is required by libdwfl in elfutils package. Signed-off-by: Salvatore Cro <salvatore.cro at st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/fts/Makefile.in')
-rw-r--r--libc/misc/fts/Makefile.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/libc/misc/fts/Makefile.in b/libc/misc/fts/Makefile.in
new file mode 100644
index 000000000..a1d0efa32
--- /dev/null
+++ b/libc/misc/fts/Makefile.in
@@ -0,0 +1,23 @@
+# 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)