aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-13 19:04:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-13 19:04:00 +0000
commitdf10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch)
tree49493696039b285aa751a5bc884fc70c9c85e878 /findutils
parentc5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff)
downloadbusybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz
busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.bz2
busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip
- revert back to r14406
Diffstat (limited to 'findutils')
-rw-r--r--findutils/Makefile.in21
1 files changed, 14 insertions, 7 deletions
diff --git a/findutils/Makefile.in b/findutils/Makefile.in
index 7fbf8d4b9..25a2d38d3 100644
--- a/findutils/Makefile.in
+++ b/findutils/Makefile.in
@@ -4,21 +4,28 @@
4# 4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball. 5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6 6
7srcdir:=$(top_srcdir)/findutils 7FINDUTILS_AR:=findutils.a
8objdir:=$(top_builddir)/findutils 8ifndef $(FINDUTILS_DIR)
9FINDUTILS_DIR:=$(top_builddir)/findutils/
10endif
11srcdir=$(top_srcdir)/findutils
9 12
13FINDUTILS-y:=
10FINDUTILS-$(CONFIG_FIND) += find.o 14FINDUTILS-$(CONFIG_FIND) += find.o
11FINDUTILS-$(CONFIG_GREP) += grep.o 15FINDUTILS-$(CONFIG_GREP) += grep.o
12FINDUTILS-$(CONFIG_XARGS) += xargs.o 16FINDUTILS-$(CONFIG_XARGS) += xargs.o
13 17
18ifneq ($(strip $(FINDUTILS-y)),)
19libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
20endif
21
14FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y)) 22FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y))
15FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) 23FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
16APPLET_SRC-y+=$(FINDUTILS_SRC-y) 24APPLET_SRC-y+=$(FINDUTILS_SRC-y)
17APPLET_SRC-a+=$(FINDUTILS_SRC-a) 25APPLET_SRC-a+=$(FINDUTILS_SRC-a)
18 26
19findutils_OBJ:= $(patsubst %,$(objdir)/%,$(FINDUTILS-y)) 27$(FINDUTILS_DIR)$(FINDUTILS_AR): $(patsubst %,$(FINDUTILS_DIR)%, $(FINDUTILS-y))
20 28 $(do_ar)
21$(findutils_OBJ): $(objdir)/%.o: $(srcdir)/%.c
22$(objdir)/findutils.a: $(findutils_OBJ)
23libraries-y:=$(libraries-y) $(objdir)/findutils.a
24 29
30$(FINDUTILS_DIR)%.o: $(srcdir)/%.c
31 $(compile.c)