Subversion Repositories shark

Rev

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