aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-13 19:04:00 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-13 19:04:00 +0000
commit30d77f4b561efa82d87b1767281a687c72f78dc4 (patch)
tree49493696039b285aa751a5bc884fc70c9c85e878 /shell
parent12f32660d14e442e42ed667c106fec3a9db79856 (diff)
downloadbusybox-w32-30d77f4b561efa82d87b1767281a687c72f78dc4.tar.gz
busybox-w32-30d77f4b561efa82d87b1767281a687c72f78dc4.tar.bz2
busybox-w32-30d77f4b561efa82d87b1767281a687c72f78dc4.zip
- revert back to r14406
git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/Makefile.in32
1 files changed, 19 insertions, 13 deletions
diff --git a/shell/Makefile.in b/shell/Makefile.in
index 94cf729a7..fcd93f345 100644
--- a/shell/Makefile.in
+++ b/shell/Makefile.in
@@ -4,24 +4,30 @@
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)/shell 7SHELL_AR:=shell.a
8objdir:=$(top_builddir)/shell 8ifndef $(SHELL_DIR)
9SHELL_DIR:=$(top_builddir)/shell/
10endif
11srcdir=$(top_srcdir)/shell
9 12
10SHELL-$(CONFIG_ASH) += ash.o 13SHELLT-y:=
11SHELL-$(CONFIG_HUSH) += hush.o 14SHELLT-$(CONFIG_ASH) += ash.o
12SHELL-$(CONFIG_LASH) += lash.o 15SHELLT-$(CONFIG_HUSH) += hush.o
13SHELL-$(CONFIG_MSH) += msh.o 16SHELLT-$(CONFIG_LASH) += lash.o
14SHELL-$(CONFIG_FEATURE_COMMAND_EDITING) += cmdedit.o 17SHELLT-$(CONFIG_MSH) += msh.o
18SHELLT-$(CONFIG_FEATURE_COMMAND_EDITING) += cmdedit.o
15 19
20ifneq ($(strip $(SHELLT-y)),)
21libraries-y+=$(SHELL_DIR)$(SHELL_AR)
22endif
16 23
17SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELL-y)) 24SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELLT-y))
18SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c) 25SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c)
19APPLET_SRC-y+=$(SHELLT_SRC-y) 26APPLET_SRC-y+=$(SHELLT_SRC-y)
20APPLET_SRC-a+=$(SHELLT_SRC-a) 27APPLET_SRC-a+=$(SHELLT_SRC-a)
21 28
22shell_OBJ:= $(patsubst %,$(objdir)/%,$(SHELL-y)) 29$(SHELL_DIR)$(SHELL_AR): $(patsubst %,$(SHELL_DIR)%, $(SHELLT-y))
23 30 $(do_ar)
24$(shell_OBJ): $(objdir)/%.o: $(srcdir)/%.c
25$(objdir)/shell.a: $(shell_OBJ)
26libraries-y:=$(libraries-y) $(objdir)/shell.a
27 31
32$(SHELL_DIR)%.o: $(srcdir)/%.c
33 $(compile.c)