blob: e10bc4f78f89b8a998235f6e3f656a131c8f4540 [file] [log] [blame]
Eric Andersen85208e22002-04-12 12:05:57 +00001# Makefile for busybox
2#
Mike Frysinger0d4ee682005-09-24 06:01:57 +00003# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
Eric Andersen85208e22002-04-12 12:05:57 +00004#
Mike Frysinger0d4ee682005-09-24 06:01:57 +00005# Licensed under the GPL v2, see the file LICENSE in this tarball.
Eric Andersen85208e22002-04-12 12:05:57 +00006
Eric Andersen7daa0762004-10-08 07:46:08 +00007srcdir=$(top_srcdir)/console-tools
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +00008objdir=$(top_builddir)/console-tools
Eric Andersen85208e22002-04-12 12:05:57 +00009
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000010CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000011CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000012CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000013CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000014CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000015CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
16CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
17CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o
18CONSOLETOOLS-$(CONFIG_RESET) += reset.o
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000019CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o
Eric Andersen85208e22002-04-12 12:05:57 +000020
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000021
Bernhard Reutner-Fischer7ca61b62006-01-15 14:04:57 +000022CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y))
23CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c)
24APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y)
25APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a)
Eric Andersen85208e22002-04-12 12:05:57 +000026
Bernhard Reutner-Fischer5d261262006-03-01 22:54:48 +000027console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y))
Eric Andersen85208e22002-04-12 12:05:57 +000028