summaryrefslogtreecommitdiff
path: root/libc/misc/fts/Makefile.in
blob: aa87d993a83a0ac3a861f3748651785ecf1b87d4 (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-y := 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-y))
MISC_FTS_OBJ := $(patsubst %.c,$(MISC_FTS_OUT)/%.o,$(CSRC-y))

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)