Linux-2.6.12-rc2
[linux-flexiantxendom0-natty.git] / drivers / video / console / Makefile
1 # Makefile for the Linux graphics to console drivers.
2 # 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
3 # Rewritten to use lists instead of if-statements.
4
5 # Font handling
6 font-objs := fonts.o
7
8 font-objs-$(CONFIG_FONT_SUN8x16)   += font_sun8x16.o
9 font-objs-$(CONFIG_FONT_SUN12x22)  += font_sun12x22.o
10 font-objs-$(CONFIG_FONT_8x8)       += font_8x8.o
11 font-objs-$(CONFIG_FONT_8x16)      += font_8x16.o
12 font-objs-$(CONFIG_FONT_6x11)      += font_6x11.o
13 font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
14 font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
15 font-objs-$(CONFIG_FONT_MINI_4x6)  += font_mini_4x6.o
16
17 font-objs += $(font-objs-y)
18
19 # Each configuration option enables a list of files.
20
21 obj-$(CONFIG_DUMMY_CONSOLE)       += dummycon.o
22 obj-$(CONFIG_SGI_NEWPORT_CONSOLE) += newport_con.o font.o
23 obj-$(CONFIG_PROM_CONSOLE)        += promcon.o promcon_tbl.o
24 obj-$(CONFIG_STI_CONSOLE)         += sticon.o sticore.o font.o
25 obj-$(CONFIG_VGA_CONSOLE)         += vgacon.o
26 obj-$(CONFIG_MDA_CONSOLE)         += mdacon.o
27 obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o
28 ifeq ($(CONFIG_FB_TILEBLITTING),y)
29 obj-$(CONFIG_FRAMEBUFFER_CONSOLE)     += tileblit.o
30 endif
31
32 obj-$(CONFIG_FB_STI)              += sticore.o font.o
33
34 # Targets that kbuild needs to know about
35 targets := promcon_tbl.c
36
37 quiet_cmd_conmakehash = CNMKHSH $@
38       cmd_conmakehash = scripts/conmakehash $< | \
39                 sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \
40                 -e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
41
42 $(obj)/promcon_tbl.c: $(src)/prom.uni
43         $(call cmd,conmakehash)