aboutsummaryrefslogtreecommitdiff
path: root/editors/Makefile.in
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 06:21:00 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 06:21:00 +0000
commit545106f8db3e9e40d454a8713e713b0741739b23 (patch)
treec5a1aa31cac00d7bd5bcfa466374ff746764f3f2 /editors/Makefile.in
parent8f0722a53b9a88c0b4e60b79e4362d0f31c32c54 (diff)
downloadbusybox-w32-545106f8db3e9e40d454a8713e713b0741739b23.tar.gz
busybox-w32-545106f8db3e9e40d454a8713e713b0741739b23.tar.bz2
busybox-w32-545106f8db3e9e40d454a8713e713b0741739b23.zip
Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown.
Diffstat (limited to 'editors/Makefile.in')
-rw-r--r--editors/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/Makefile.in b/editors/Makefile.in
index 88c75890f..f4f604e6a 100644
--- a/editors/Makefile.in
+++ b/editors/Makefile.in
@@ -23,6 +23,7 @@ EDITOR_DIR:=$(TOPDIR)editors/
23endif 23endif
24 24
25EDITOR-y:= 25EDITOR-y:=
26EDITOR-$(CONFIG_AWK) += awk.o
26EDITOR-$(CONFIG_SED) += sed.o 27EDITOR-$(CONFIG_SED) += sed.o
27EDITOR-$(CONFIG_VI) += vi.o 28EDITOR-$(CONFIG_VI) += vi.o
28EDITOR_SRC:= $(EDITOR-y) 29EDITOR_SRC:= $(EDITOR-y)
@@ -30,6 +31,13 @@ EDITOR_OBJ:= $(patsubst %.c,$(EDITOR_DIR)%.o, $(EDITOR_SRC))
30 31
31libraries-y+=$(EDITOR_DIR)$(EDITOR_AR) 32libraries-y+=$(EDITOR_DIR)$(EDITOR_AR)
32 33
34needlibm-y:=
35needlibm-$(CONFIG_FEATURE_AWK_MATH) := y
36
37ifeq ($(needlibm-y),y)
38 LIBRARIES += -lm
39endif
40
33$(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) 41$(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y))
34 $(AR) -ro $@ $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) 42 $(AR) -ro $@ $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y))
35 43