source: MondoRescue/branches/stable/mindi-busybox/shell/Makefile.in @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 13 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 823 bytes
Line 
1# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7SHELL_AR:=shell.a
8ifndef $(SHELL_DIR)
9SHELL_DIR:=$(top_builddir)/shell/
10endif
11srcdir=$(top_srcdir)/shell
12
13SHELLT-y:=
14SHELLT-$(CONFIG_ASH)                += ash.o
15SHELLT-$(CONFIG_HUSH)               += hush.o
16SHELLT-$(CONFIG_LASH)               += lash.o
17SHELLT-$(CONFIG_MSH)                += msh.o
18SHELLT-$(CONFIG_FEATURE_COMMAND_EDITING)    += cmdedit.o
19
20ifneq ($(strip $(SHELLT-y)),)
21libraries-y+=$(SHELL_DIR)$(SHELL_AR)
22endif
23
24SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELLT-y))
25SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c)
26APPLET_SRC-y+=$(SHELLT_SRC-y)
27APPLET_SRC-a+=$(SHELLT_SRC-a)
28
29$(SHELL_DIR)$(SHELL_AR): $(patsubst %,$(SHELL_DIR)%, $(SHELLT-y))
30    $(do_ar)
31
32$(SHELL_DIR)%.o: $(srcdir)/%.c
33    $(compile.c)
Note: See TracBrowser for help on using the repository browser.