summaryrefslogtreecommitdiff
path: root/libc/misc/fts/Makefile.in
blob: a1d0efa3279f5b272d4f314195d3e127b4cf466a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)