aboutsummaryrefslogtreecommitdiff
path: root/shell/Makefile.in
blob: 43e2acd09b52f875dd17e9bede2091212ffe24e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Makefile for busybox
#
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.

srcdir=$(top_srcdir)/shell
objdir=$(top_builddir)/shell

SHELL-$(CONFIG_ASH)				+= ash.o
SHELL-$(CONFIG_HUSH)				+= hush.o
SHELL-$(CONFIG_LASH)				+= lash.o
SHELL-$(CONFIG_MSH)				+= msh.o
SHELL-$(CONFIG_FEATURE_COMMAND_EDITING)		+= cmdedit.o


SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELL-y))
SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c)
APPLET_SRC-y+=$(SHELLT_SRC-y)
APPLET_SRC-a+=$(SHELLT_SRC-a)

shell_OBJ:=  $(patsubst %,$(objdir)/%,$(SHELL-y))