diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
commit | df10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch) | |
tree | 49493696039b285aa751a5bc884fc70c9c85e878 /console-tools | |
parent | c5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff) | |
download | busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.bz2 busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip |
- revert back to r14406
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/Makefile.in | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/console-tools/Makefile.in b/console-tools/Makefile.in index 7994e0f08..f14e338e1 100644 --- a/console-tools/Makefile.in +++ b/console-tools/Makefile.in | |||
@@ -4,29 +4,34 @@ | |||
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 | ||
7 | srcdir:=$(top_srcdir)/console-tools | 7 | CONSOLETOOLS_AR:=console-tools.a |
8 | objdir:=$(top_builddir)/console-tools | 8 | ifndef $(CONSOLETOOLS_DIR) |
9 | CONSOLETOOLS_DIR:=$(top_builddir)/console-tools/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/console-tools | ||
9 | 12 | ||
13 | CONSOLETOOLS-y:= | ||
10 | CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o | 14 | CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o |
11 | CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o | 15 | CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o |
12 | CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o | 16 | CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o |
13 | CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o | 17 | CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o |
14 | CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o | 18 | CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o |
15 | CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o | 19 | CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o |
16 | CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o | 20 | CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o |
17 | CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o | 21 | CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o |
18 | CONSOLETOOLS-$(CONFIG_RESET) += reset.o | 22 | CONSOLETOOLS-$(CONFIG_RESET) += reset.o |
19 | CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o | 23 | CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o |
20 | 24 | ||
21 | 25 | ifneq ($(strip $(CONSOLETOOLS-y)),) | |
26 | libraries-y+=$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR) | ||
27 | endif | ||
22 | CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) | 28 | CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) |
23 | CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) | 29 | CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) |
24 | APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) | 30 | APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) |
25 | APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) | 31 | APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) |
26 | 32 | ||
27 | console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y)) | 33 | $(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR): $(patsubst %,$(CONSOLETOOLS_DIR)%, $(CONSOLETOOLS-y)) |
28 | 34 | $(do_ar) | |
29 | $(console-tools_OBJ): $(objdir)/%.o: $(srcdir)/%.c | ||
30 | $(objdir)/console-tools.a: $(console-tools_OBJ) | ||
31 | libraries-y:=$(libraries-y) $(objdir)/console-tools.a | ||
32 | 35 | ||
36 | $(CONSOLETOOLS_DIR)%.o: $(srcdir)/%.c | ||
37 | $(compile.c) | ||