source: MondoRescue/branches/stable/mindi-busybox/console-tools/Makefile.in @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 1.2 KB
Line 
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
7CONSOLETOOLS_AR:=console-tools.a
8ifndef $(CONSOLETOOLS_DIR)
9CONSOLETOOLS_DIR:=$(top_builddir)/console-tools/
10endif
11srcdir=$(top_srcdir)/console-tools
12
13CONSOLETOOLS-y:=
14CONSOLETOOLS-$(CONFIG_CHVT)     += chvt.o
15CONSOLETOOLS-$(CONFIG_CLEAR)    += clear.o
16CONSOLETOOLS-$(CONFIG_DEALLOCVT)    += deallocvt.o
17CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
18CONSOLETOOLS-$(CONFIG_SETCONSOLE)   += setconsole.o
19CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
20CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
21CONSOLETOOLS-$(CONFIG_OPENVT)   += openvt.o
22CONSOLETOOLS-$(CONFIG_RESET)    += reset.o
23CONSOLETOOLS-$(CONFIG_SETKEYCODES)  += setkeycodes.o
24CONSOLETOOLS-$(CONFIG_SETLOGCONS)   += setlogcons.o
25
26ifneq ($(strip $(CONSOLETOOLS-y)),)
27libraries-y+=$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR)
28endif
29CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y))
30CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c)
31APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y)
32APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a)
33
34$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR): $(patsubst %,$(CONSOLETOOLS_DIR)%, $(CONSOLETOOLS-y))
35    $(do_ar)
36
37$(CONSOLETOOLS_DIR)%.o: $(srcdir)/%.c
38    $(compile.c)
Note: See TracBrowser for help on using the repository browser.