Makefile 5.26 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1
# Makefile for the Linux video drivers.
James Simmons's avatar
James Simmons committed
2
# 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
Linus Torvalds's avatar
Linus Torvalds committed
3 4 5 6
# Rewritten to use lists instead of if-statements.

# Each configuration option enables a list of files.

James Simmons's avatar
James Simmons committed
7
obj-$(CONFIG_VT)		  += console/
Linus Torvalds's avatar
Linus Torvalds committed
8

James Simmons's avatar
James Simmons committed
9
obj-$(CONFIG_FB)                  += fbmem.o fbmon.o fbcmap.o modedb.o softcursor.o
Linus Torvalds's avatar
Linus Torvalds committed
10 11 12 13 14
# Only include macmodes.o if we have FB support and are PPC
ifeq ($(CONFIG_FB),y)
obj-$(CONFIG_PPC)                 += macmodes.o
endif

15
obj-$(CONFIG_FB_ACORN)            += acornfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
16
obj-$(CONFIG_FB_AMIGA)            += amifb.o
17
obj-$(CONFIG_FB_PM2)              += pm2fb.o
18
obj-$(CONFIG_FB_PM3)		  += pm3fb.o
19
obj-$(CONFIG_FB_APOLLO)           += dnfb.o cfbfillrect.o cfbimgblt.o
James Simmons's avatar
James Simmons committed
20
obj-$(CONFIG_FB_Q40)              += q40fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
21
obj-$(CONFIG_FB_ATARI)            += atafb.o
22
obj-$(CONFIG_FB_68328)            += 68328fb.o
23
obj-$(CONFIG_FB_ATY128)           += aty128fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
24
obj-$(CONFIG_FB_RADEON)		  += radeonfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
25
obj-$(CONFIG_FB_NEOMAGIC)         += neofb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
26
obj-$(CONFIG_FB_IGA)              += igafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
27 28 29
obj-$(CONFIG_FB_CONTROL)          += controlfb.o
obj-$(CONFIG_FB_PLATINUM)         += platinumfb.o
obj-$(CONFIG_FB_VALKYRIE)         += valkyriefb.o
30
obj-$(CONFIG_FB_CT65550)          += chipsfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
31
obj-$(CONFIG_FB_ANAKIN)           += anakinfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
32
obj-$(CONFIG_FB_CLPS711X)         += clps711xfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
33 34
obj-$(CONFIG_FB_CYBER)            += cyberfb.o
obj-$(CONFIG_FB_CYBER2000)        += cyber2000fb.o
35
obj-$(CONFIG_FB_SGIVW)            += sgivwfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
James Simmons's avatar
James Simmons committed
36
obj-$(CONFIG_FB_3DFX)             += tdfxfb.o cfbimgblt.o
37
obj-$(CONFIG_FB_MAC)              += macfb.o macmodes.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
38
obj-$(CONFIG_FB_HP300)            += hpfb.o cfbfillrect.o cfbimgblt.o
James Simmons's avatar
James Simmons committed
39
obj-$(CONFIG_FB_OF)               += offb.o cfbfillrect.o cfbimgblt.o cfbcopyarea.o
Linus Torvalds's avatar
Linus Torvalds committed
40 41
obj-$(CONFIG_FB_IMSTT)            += imsttfb.o
obj-$(CONFIG_FB_RETINAZ3)         += retz3fb.o
42
obj-$(CONFIG_FB_CLGEN)            += clgenfb.o
43
obj-$(CONFIG_FB_TRIDENT)	  += tridentfb.o cfbfillrect.o cfbimgblt.o cfbcopyarea.o
Linus Torvalds's avatar
Linus Torvalds committed
44
obj-$(CONFIG_FB_S3TRIO)           += S3triofb.o
45
obj-$(CONFIG_FB_TGA)              += tgafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
46
obj-$(CONFIG_FB_VESA)             += vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
47 48
obj-$(CONFIG_FB_VGA16)            += vga16fb.o cfbfillrect.o cfbcopyarea.o \
	                             cfbimgblt.o vgastate.o 
Linus Torvalds's avatar
Linus Torvalds committed
49
obj-$(CONFIG_FB_VIRGE)            += virgefb.o
50
obj-$(CONFIG_FB_G364)             += g364fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
James Simmons's avatar
James Simmons committed
51
obj-$(CONFIG_FB_FM2)              += fm2fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
52
obj-$(CONFIG_FB_STI)              += stifb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
53 54
obj-$(CONFIG_FB_PMAG_BA)          += pmag-ba-fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_PMAGB_B)          += pmagb-b-fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
55
obj-$(CONFIG_FB_MAXINE)           += maxinefb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
56
obj-$(CONFIG_FB_TX3912)           += tx3912fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
57

58
obj-$(CONFIG_FB_MATROX)		  += matrox/
59
obj-$(CONFIG_FB_RIVA)		  += riva/ cfbimgblt.o vgastate.o 
60
obj-$(CONFIG_FB_SIS)		  += sis/
61
obj-$(CONFIG_FB_ATY)		  += aty/ cfbimgblt.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
James Simmons's avatar
James Simmons committed
62 63
obj-$(CONFIG_FB_I810)             += i810/ cfbfillrect.o cfbcopyarea.o \
	                             cfbimgblt.o vgastate.o
Linus Torvalds's avatar
Linus Torvalds committed
64

Linus Torvalds's avatar
Linus Torvalds committed
65
obj-$(CONFIG_FB_SUN3)             += sun3fb.o
66
obj-$(CONFIG_FB_HGA)              += hgafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
Russell King's avatar
Russell King committed
67
obj-$(CONFIG_FB_SA1100)           += sa1100fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
68
obj-$(CONFIG_FB_VIRTUAL)          += vfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o 
James Simmons's avatar
James Simmons committed
69
obj-$(CONFIG_FB_HIT)              += hitfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
70
obj-$(CONFIG_FB_E1355)            += epson1355fb.o
Linus Torvalds's avatar
Linus Torvalds committed
71
obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
72
obj-$(CONFIG_FB_VOODOO1)          += sstfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
Linus Torvalds's avatar
Linus Torvalds committed
73

74
obj-$(CONFIG_FB_FFB)               += ffb.o sbuslib.o cfbimgblt.o cfbcopyarea.o
75 76 77 78 79
obj-$(CONFIG_FB_CG6)               += cg6.o sbuslib.o cfbimgblt.o cfbcopyarea.o
obj-$(CONFIG_FB_CG3)               += cg3.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
obj-$(CONFIG_FB_BW2)               += bw2.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
80 81
obj-$(CONFIG_FB_CG14)              += cg14.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
82 83
obj-$(CONFIG_FB_P9100)             += p9100.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
84 85
obj-$(CONFIG_FB_TCX)               += tcx.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
86 87
obj-$(CONFIG_FB_LEO)               += leo.o sbuslib.o cfbimgblt.o cfbcopyarea.o \
				      cfbfillrect.o
88

89 90 91
# Files generated that shall be removed upon make clean
clean-files := promcon_tbl.c

92 93
$(obj)/promcon_tbl.c: $(src)/prom.uni
	$(objtree)/scripts/conmakehash $< | \
Linus Torvalds's avatar
Linus Torvalds committed
94
	sed -e '/#include <[^>]*>/p' -e 's/types/init/' \
95
	    -e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
Linus Torvalds's avatar
Linus Torvalds committed
96