Rev 132 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
54 | pj | 1 | # The Frame Buffer Device |
2 | |||
3 | ifndef BASE |
||
4 | BASE=../.. |
||
5 | endif |
||
6 | |||
7 | include $(BASE)/config/config.mk |
||
8 | include makefile.cfg |
||
9 | |||
10 | LIBRARY = svga |
||
11 | |||
12 | OBJS_PATH = $(BASE)/drivers/svga |
||
13 | |||
110 | giacomo | 14 | OTHERINCL += -I./include/ |
15 | |||
54 | pj | 16 | MODULES = timing.o vgaregs.o interface.o accel.o modetab.o interrupt.o\ |
162 | giacomo | 17 | vgapci.o vga_helper.o nv3.o vga.o vgadrv.o vgaio.o vgapal.o vgapix.o\ |
18 | vgaclear.o vgadraw.o vgaaccel.o vgaline.o icd2061a.o vesa.o lrmi.o\ |
||
19 | glib.o vgammvgaio.o vgarelvgaio.o savage.o r128.o neo.o |
||
54 | pj | 20 | RAMDAC = ramdac.o normal.o attdacs.o sierra.o vgamisc.o\ |
21 | icw.o s3dacs.o IBMRGB52x.o ics_gendac.o |
||
22 | |||
23 | OBJS = $(MODULES) $(RAMDAC) |
||
24 | |||
25 | # defines for ramdac.c, ramdac.h (and files including it) only. |
||
26 | ifdef INCLUDE_NORMAL_DAC |
||
27 | RAMDAC_DEFINES += -DINCLUDE_NORMAL_DAC |
||
28 | ifdef INCLUDE_NORMAL_DAC_TEST |
||
29 | RAMDAC_DEFINES += -DINCLUDE_NORMAL_DAC_TEST |
||
30 | endif |
||
31 | endif |
||
32 | ifdef INCLUDE_S3_SDAC_DAC |
||
33 | RAMDAC_DEFINES += -DINCLUDE_S3_SDAC_DAC |
||
34 | ifdef INCLUDE_S3_SDAC_DAC_TEST |
||
35 | RAMDAC_DEFINES += -DINCLUDE_S3_SDAC_DAC_TEST |
||
36 | endif |
||
37 | endif |
||
38 | ifdef INCLUDE_S3_GENDAC_DAC |
||
39 | RAMDAC_DEFINES += -DINCLUDE_S3_GENDAC_DAC |
||
40 | ifdef INCLUDE_S3_GENDAC_DAC_TEST |
||
41 | RAMDAC_DEFINES += -DINCLUDE_S3_GENDAC_DAC_TEST |
||
42 | endif |
||
43 | endif |
||
44 | ifdef INCLUDE_S3_TRIO64_DAC |
||
45 | RAMDAC_DEFINES += -DINCLUDE_S3_TRIO64_DAC |
||
46 | ifdef INCLUDE_S3_TRIO64_DAC_TEST |
||
47 | RAMDAC_DEFINES += -DINCLUDE_S3_TRIO64_DAC_TEST |
||
48 | endif |
||
49 | endif |
||
50 | ifdef INCLUDE_SIERRA_DAC |
||
51 | RAMDAC_DEFINES += -DINCLUDE_SIERRA_DAC |
||
52 | ifdef INCLUDE_SIERRA_DAC_TEST |
||
53 | RAMDAC_DEFINES += -DINCLUDE_SIERRA_DAC_TEST |
||
54 | endif |
||
55 | endif |
||
56 | ifdef INCLUDE_SC15025_DAC |
||
57 | RAMDAC_DEFINES += -DINCLUDE_SC15025_DAC |
||
58 | ifdef INCLUDE_SC15025_DAC_TEST |
||
59 | RAMDAC_DEFINES += -DINCLUDE_SC15025_DAC_TEST |
||
60 | endif |
||
61 | endif |
||
62 | ifdef INCLUDE_ATT20C490_DAC |
||
63 | RAMDAC_DEFINES += -DINCLUDE_ATT20C490_DAC |
||
64 | ifdef INCLUDE_ATT20C490_DAC_TEST |
||
65 | RAMDAC_DEFINES += -DINCLUDE_ATT20C490_DAC_TEST |
||
66 | endif |
||
67 | endif |
||
68 | ifdef INCLUDE_ATT20C498_DAC |
||
69 | RAMDAC_DEFINES += -DINCLUDE_ATT20C498_DAC |
||
70 | ifdef INCLUDE_ATT20C498_DAC_TEST |
||
71 | RAMDAC_DEFINES += -DINCLUDE_ATT20C498_DAC_TEST |
||
72 | endif |
||
73 | endif |
||
74 | ifdef INCLUDE_ICW_DAC |
||
75 | RAMDAC_DEFINES += -DINCLUDE_ICW_DAC |
||
76 | ifdef INCLUDE_ICW_DAC_TEST |
||
77 | RAMDAC_DEFINES += -DINCLUDE_ICW_DAC_TEST |
||
78 | endif |
||
79 | endif |
||
80 | ifdef INCLUDE_IBMRGB52x_DAC |
||
81 | RAMDAC_DEFINES += -DINCLUDE_IBMRGB52x_DAC |
||
82 | ifdef INCLUDE_IBMRGB52x_DAC_TEST |
||
83 | RAMDAC_DEFINES += -DINCLUDE_IBMRGB52x_DAC_TEST |
||
84 | endif |
||
85 | endif |
||
86 | ifdef INCLUDE_SC1148X_DAC |
||
87 | RAMDAC_DEFINES += -DINCLUDE_SC1148X_DAC |
||
88 | ifdef INCLUDE_SC1148X_DAC_TEST |
||
89 | RAMDAC_DEFINES += -DINCLUDE_SC1148X_DAC_TEST |
||
90 | endif |
||
91 | endif |
||
92 | ifdef INCLUDE_ICS_GENDAC_DAC |
||
93 | RAMDAC_DEFINES += -DINCLUDE_ICS_GENDAC_DAC |
||
94 | ifdef INCLUDE_ICS_GENDAC_DAC_TEST |
||
95 | RAMDAC_DEFINES += -DINCLUDE_ICS_GENDAC_DAC_TEST |
||
96 | endif |
||
97 | endif |
||
98 | |||
99 | C_OPT += -I../linuxc24/include -D__KERNEL__ $(RAMDAC_DEFINES) $(VGA_DEFINES) $(DEFINES) |
||
100 | |||
101 | include $(BASE)/config/lib.mk |
||
102 |