aboutsummaryrefslogtreecommitdiff
path: root/editors/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Makefile.in')
-rw-r--r--editors/Makefile.in40
1 files changed, 0 insertions, 40 deletions
diff --git a/editors/Makefile.in b/editors/Makefile.in
deleted file mode 100644
index 9a46e32c2..000000000
--- a/editors/Makefile.in
+++ /dev/null
@@ -1,40 +0,0 @@
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
7EDITOR_AR:=editors.a
8ifndef $(EDITOR_DIR)
9EDITOR_DIR:=$(top_builddir)/editors/
10endif
11srcdir=$(top_srcdir)/editors
12
13EDITOR-y:=
14EDITOR-$(CONFIG_AWK) += awk.o
15EDITOR-$(CONFIG_ED) += ed.o
16EDITOR-$(CONFIG_PATCH) += patch.o
17EDITOR-$(CONFIG_SED) += sed.o
18EDITOR-$(CONFIG_VI) += vi.o
19
20ifneq ($(strip $(EDITOR-y)),)
21libraries-y+=$(EDITOR_DIR)$(EDITOR_AR)
22endif
23
24EDITOR_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(EDITOR-y))
25EDITOR_SRC-a:=$(wildcard $(srcdir)/*.c)
26APPLET_SRC-y+=$(EDITOR_SRC-y)
27APPLET_SRC-a+=$(EDITOR_SRC-a)
28
29needlibm-y:=
30needlibm-$(CONFIG_FEATURE_AWK_MATH) := y
31
32ifeq ($(needlibm-y),y)
33 LIBRARIES := -lm $(filter-out -lm,$(LIBRARIES))
34endif
35
36$(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y))
37 $(do_ar)
38
39$(EDITOR_DIR)%.o: $(srcdir)/%.c
40 $(compile.c)