Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
Mike Frysinger | 0d4ee68 | 2005-09-24 06:01:57 +0000 | [diff] [blame] | 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 4 | # |
Mike Frysinger | 0d4ee68 | 2005-09-24 06:01:57 +0000 | [diff] [blame] | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 6 | |
Eric Andersen | 7daa076 | 2004-10-08 07:46:08 +0000 | [diff] [blame] | 7 | srcdir=$(top_srcdir)/console-tools |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 8 | objdir=$(top_builddir)/console-tools |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 9 | |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 10 | CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 11 | CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 12 | CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 13 | CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 14 | CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 15 | CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o |
| 16 | CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o |
| 17 | CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o |
| 18 | CONSOLETOOLS-$(CONFIG_RESET) += reset.o |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 19 | CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 20 | |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 21 | |
Bernhard Reutner-Fischer | 7ca61b6 | 2006-01-15 14:04:57 +0000 | [diff] [blame] | 22 | CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) |
| 23 | CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) |
| 24 | APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) |
| 25 | APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 26 | |
Bernhard Reutner-Fischer | 5d26126 | 2006-03-01 22:54:48 +0000 | [diff] [blame] | 27 | console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y)) |
Eric Andersen | 85208e2 | 2002-04-12 12:05:57 +0000 | [diff] [blame] | 28 | |