Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
54 | pj | 1 | #---------------------------------------------------------------------- |
2 | # SVGAlib Compile-time configuration file |
||
3 | #---------------------------------------------------------------------- |
||
4 | # If you change ANYTHING in here you MUST 'make clean' and remake what |
||
5 | # you need. |
||
6 | # |
||
7 | # BEWARE! The toggle settings (INCLUDE_*_DRIVER and such) are set when |
||
8 | # the symbols are set. The value is pointless. Even setting a variable |
||
9 | # to n means yes! |
||
10 | |||
11 | #MAJOR_VER = 1 |
||
12 | #MINOR_VER = 9.17 |
||
13 | #VERSION = $(MAJOR_VER).$(MINOR_VER) |
||
14 | |||
15 | #---------------------------------------------------------------------- |
||
16 | # Kernel module Configuration Section |
||
17 | #---------------------------------------------------------------------- |
||
18 | # Char major device used by module |
||
19 | #SVGALIB_HELPER_MAJOR = 209 |
||
20 | |||
21 | # Linux kernel includes |
||
22 | #ifeq ($(KERNELRELEASE),) |
||
23 | #KERNELRELEASE = $(shell uname -r) |
||
24 | #endif |
||
25 | |||
26 | #INCLUDEDIR = /lib/modules/$(KERNELRELEASE)/build/include |
||
27 | |||
28 | #DIREXIST = $(shell if [ -e $(INCLUDEDIR) ] ; then echo OK ; fi) |
||
29 | #ifneq ($(DIREXIST), OK) |
||
30 | #INCLUDEDIR = /usr/src/linux/include |
||
31 | #endif |
||
32 | |||
33 | #ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) |
||
34 | |||
35 | #---------------------------------------------------------------------- |
||
36 | # Configuration Section |
||
37 | #---------------------------------------------------------------------- |
||
38 | # Source directory. |
||
39 | #srcdir = /usr/local/src/svgalib-$(VERSION) |
||
40 | #srcdir = $(shell sh -c pwd) |
||
41 | |||
42 | #confdir = $(srcdir)/src/config |
||
43 | |||
44 | # Common prefix for installation directories. |
||
45 | # NOTE: This directory must exist when you start the install. |
||
46 | #TOPDIR= |
||
47 | #prefix = $(TOPDIR)/usr/local |
||
48 | #exec_prefix = $(prefix) |
||
49 | |||
50 | # Directory where the shared stubs and static library will be installed. |
||
51 | #libdir = $(exec_prefix)/lib |
||
52 | |||
53 | # Directory where the shared library will be installed. |
||
54 | #sharedlibdir = $(exec_prefix)/lib |
||
55 | |||
56 | # Directory where the font and textmode utilities will be installed. |
||
57 | #bindir = $(exec_prefix)/bin |
||
58 | |||
59 | # Directory where the run-time configuration files will be installed. |
||
60 | #datadir = $(TOPDIR)/etc/vga |
||
61 | |||
62 | # Directory where the header files will be installed. |
||
63 | #includedir = $(prefix)/include |
||
64 | |||
65 | # Directory where the man files will be installed. |
||
66 | #mandir = $(prefix)/man |
||
67 | |||
68 | # Target binary format. |
||
69 | #TARGET_FORMAT = elf |
||
70 | |||
71 | # uncomment any of the following line to print some debug messages |
||
72 | # DEBUG = yes |
||
73 | # DEBUG_CONFIG = yes |
||
74 | # DEBUG_ACCEL = yes |
||
75 | # DEBUG_KEYBOARD = yes |
||
76 | |||
77 | # uncomment this if your compiler fails on compiling the assembler in |
||
78 | # src/vgaconvplanar.c, gl/inlstring.h, gl/line.c or gl/scale.c |
||
79 | # NO_ASM = y |
||
80 | |||
81 | # uncomment if you want to set attribute controller and dac without delay |
||
82 | # This breaks original VGA, but seems to work on new cards. |
||
83 | NO_DELAY = y |
||
84 | |||
85 | # Uncomment this if you want root processes to be able to always get a new |
||
86 | # VC. Alas, some games misuse suid root privs and become root, svgalib cannot |
||
87 | # detect this and will allow Joe blow user to open a new virtual VC. If this |
||
88 | # annoys you, comment out the next line (which is the default already) |
||
89 | ROOT_VC_SHORTCUT = y |
||
90 | |||
91 | # Uncomment thit to use libc's memcpy, instead of simple while loop. |
||
92 | # Use demos/linearspeed to see which is faster to video memory. |
||
93 | # LIBC_MEMCPY = y |
||
94 | |||
95 | # Uncomment this if you want to compile and install the static libs. |
||
96 | # INSTALLSTATICLIB = installstaticlib |
||
97 | |||
98 | # Comment this out if you don't want to install the shared libs. |
||
99 | # If you do not install the shared nor the static libs, 'make static' |
||
100 | # first to enforce just building the static lib, then the demos will |
||
101 | # use this local static library! |
||
102 | #INSTALLSHAREDLIB = installsharedlib |
||
103 | |||
104 | # Comment this out if you want to keep old shared images. Old header files, |
||
105 | # library stubs and static libraries CANNOT be kept in public locations |
||
106 | # except when you rename them yourself. |
||
107 | # KEEPSHAREDLIBS = keep |
||
108 | |||
109 | # Comment this out if you don't want to compile and install the utilities. |
||
110 | #INSTALLUTILS = installutils |
||
111 | |||
112 | # Comment this out if you don't want to install the man pages by default |
||
113 | #INSTALLMAN = installman |
||
114 | |||
115 | # Remove the '# ' from one of the next two lines if you want to install the |
||
116 | # man pages compressed (with gzip) or not. If you comment out both lines, |
||
117 | # the Makefiles will try to figure out if your system supports gzipped man |
||
118 | # pages and install them when possible. |
||
119 | |||
120 | # MANFORMAT = compressed |
||
121 | # MANFORMAT = uncompressed |
||
122 | |||
123 | # This is the command to update the man pages whatis database. |
||
124 | # This is a slow command. If you are not very patient, simple |
||
125 | # comment out this line |
||
126 | # MAKEWHATIS = makewhatis # Beware, this will really need a few minutes! |
||
127 | |||
128 | # Comment this out if you use devfs only and don't want to make svga nodes |
||
129 | #INSTALLDEV = installdev |
||
130 | |||
131 | # |
||
132 | # Comment out any driver that you don't want included in the library. |
||
133 | # |
||
134 | #INCLUDE_ET4000_DRIVER = y |
||
135 | #INCLUDE_OAK_DRIVER = y |
||
136 | #INCLUDE_EGA_DRIVER = y |
||
137 | #INCLUDE_MACH32_DRIVER = y |
||
138 | #INCLUDE_ET3000_DRIVER = y |
||
139 | #INCLUDE_GVGA6400_DRIVER = y |
||
140 | #INCLUDE_ATI_DRIVER = y |
||
141 | INCLUDE_CHIPS_DRIVER = y |
||
142 | |||
143 | INCLUDE_APM_DRIVER = y |
||
144 | INCLUDE_NV3_DRIVER = y |
||
145 | INCLUDE_G400_DRIVER = y |
||
146 | INCLUDE_R128_DRIVER = y |
||
147 | INCLUDE_VESA_DRIVER = y |
||
148 | INCLUDE_MX_DRIVER = y |
||
149 | INCLUDE_RENDITION_DRIVER = y |
||
150 | INCLUDE_RAGE_DRIVER = y |
||
151 | INCLUDE_BANSHEE_DRIVER = y |
||
152 | INCLUDE_SIS_DRIVER = y |
||
153 | INCLUDE_I740_DRIVER = y |
||
154 | INCLUDE_I810_DRIVER = y |
||
155 | INCLUDE_LAGUNA_DRIVER = y |
||
156 | INCLUDE_TRIDENT_DRIVER = y |
||
157 | INCLUDE_SAVAGE_DRIVER = y |
||
158 | INCLUDE_MILLENNIUM_DRIVER = y |
||
159 | #INCLUDE_G450C2_DRIVER = y |
||
160 | INCLUDE_PM2_DRIVER = y |
||
161 | |||
162 | INCLUDE_NEO_DRIVER = y |
||
163 | INCLUDE_ET6000_DRIVER = y |
||
164 | INCLUDE_FBDEV_DRIVER = y |
||
165 | |||
166 | INCLUDE_PARADISE_DRIVER = y |
||
167 | INCLUDE_ARK_DRIVER = y |
||
168 | INCLUDE_S3_DRIVER = y |
||
169 | INCLUDE_CIRRUS_DRIVER = y |
||
170 | INCLUDE_TVGA_DRIVER = y |
||
171 | INCLUDE_ALI_DRIVER = y |
||
172 | |||
173 | |||
174 | # |
||
175 | # Comment out any adapter you don't want to autodetect. |
||
176 | # |
||
177 | #INCLUDE_ET4000_DRIVER_TEST = y |
||
178 | INCLUDE_CIRRUS_DRIVER_TEST = y |
||
179 | INCLUDE_TVGA_DRIVER_TEST = y |
||
180 | INCLUDE_OAK_DRIVER_TEST = y |
||
181 | INCLUDE_EGA_DRIVER_TEST = y |
||
182 | INCLUDE_MACH32_DRIVER_TEST = y |
||
183 | INCLUDE_GVGA6400_DRIVER_TEST = y |
||
184 | INCLUDE_S3_DRIVER_TEST = y |
||
185 | INCLUDE_ET3000_DRIVER_TEST = y |
||
186 | INCLUDE_ARK_DRIVER_TEST = y |
||
187 | INCLUDE_ATI_DRIVER_TEST = y |
||
188 | INCLUDE_ALI_DRIVER_TEST = y |
||
189 | INCLUDE_CHIPS_DRIVER_TEST = y |
||
190 | INCLUDE_APM_DRIVER_TEST = y |
||
191 | INCLUDE_NV3_DRIVER_TEST = y |
||
192 | INCLUDE_G400_DRIVER_TEST = y |
||
193 | INCLUDE_R128_DRIVER_TEST = y |
||
194 | INCLUDE_ET6000_DRIVER_TEST = y |
||
195 | INCLUDE_MX_DRIVER_TEST = y |
||
196 | INCLUDE_TRIDENT_DRIVER_TEST = y |
||
197 | INCLUDE_PARADISE_DRIVER_TEST = y |
||
198 | INCLUDE_RAGE_DRIVER_TEST = y |
||
199 | INCLUDE_BANSHEE_DRIVER_TEST = y |
||
200 | INCLUDE_SIS_DRIVER_TEST = y |
||
201 | INCLUDE_I740_DRIVER_TEST = y |
||
202 | INCLUDE_I810_DRIVER_TEST = y |
||
203 | INCLUDE_LAGUNA_DRIVER_TEST = y |
||
204 | INCLUDE_NEO_DRIVER_TEST = y |
||
205 | INCLUDE_SAVAGE_DRIVER_TEST = y |
||
206 | INCLUDE_MILLENNIUM_DRIVER_TEST = y |
||
207 | INCLUDE_RENDITION_DRIVER_TEST = y |
||
208 | INCLUDE_PM2_DRIVER_TEST = y |
||
209 | |||
210 | #INCLUDE_FBDEV_DRIVER_TEST = y |
||
211 | |||
212 | #Might be too dangerous: |
||
213 | #INCLUDE_VESA_DRIVER_TEST = y |
||
214 | |||
215 | # |
||
216 | # Comment out any dac support that you don't want included in the library. |
||
217 | # |
||
218 | # you must include SIERRA_DAC, if you include any of SCxxxx DACs. |
||
219 | |||
220 | |||
221 | INCLUDE_NORMAL_DAC = y |
||
222 | INCLUDE_S3_SDAC_DAC = y |
||
223 | INCLUDE_S3_GENDAC_DAC = y |
||
224 | INCLUDE_S3_TRIO64_DAC = y |
||
225 | INCLUDE_SIERRA_DAC = y |
||
226 | INCLUDE_SC15025_DAC = y |
||
227 | INCLUDE_ATT20C490_DAC = y |
||
228 | INCLUDE_ATT20C498_DAC = y |
||
229 | INCLUDE_ICW_DAC = y |
||
230 | INCLUDE_IBMRGB52x_DAC = y |
||
231 | INCLUDE_SC1148X_DAC = y |
||
232 | INCLUDE_ICS_GENDAC_DAC = y |
||
233 | |||
234 | # |
||
235 | # Comment out any dac you don't want to autodetect. |
||
236 | # (not all dacs can be autodetected, at this time) |
||
237 | # |
||
238 | INCLUDE_S3_SDAC_DAC_TEST = y |
||
239 | INCLUDE_S3_GENDAC_DAC_TEST = y |
||
240 | INCLUDE_SC15025_DAC_TEST = y |
||
241 | INCLUDE_ATT20C490_DAC_TEST = y |
||
242 | INCLUDE_IBMRGB52x_DAC_TEST = y |
||
243 | INCLUDE_SC1148X_DAC_TEST = y |
||
244 | INCLUDE_ICS_GENDAC_DAC_TEST = y |
||
245 | |||
246 | # Location of the svgalib configuration file. |
||
247 | #SVGALIB_CONFIG_FILE = $(datadir)/libvga.config |
||
248 | |||
249 | # Defining DYNAMIC enables runtime parsing of the file defined by |
||
250 | # ET4000_REGS (usually /etc/libvga.et4000) for the et4000 |
||
251 | # driver. See et4000/README for details. Commenting this out again |
||
252 | # saves binary space. |
||
253 | # |
||
254 | # If you just want to use the et4000.regs in the source directory, |
||
255 | # comment out the definition of DYNAMIC. DYNAMIC allows development of new |
||
256 | # resolutions without recompiling. |
||
257 | #DYNAMIC = y |
||
258 | #ET4000_REGS = $(datadir)/libvga.et4000 |
||
259 | |||
260 | # The EGA driver may load additional modes (SuperEGA cards) like the |
||
261 | # et4000 driver does. Just define the configuration file below. |
||
262 | # [This should be taken with a grain of salt, EGA is untested.] |
||
263 | #EGA_REGS = $(datadir)/libvga.ega |
||
264 | |||
265 | # Defining USE_CLOCKS will cause the ET4000 driver to measure clock |
||
266 | # frequencies (they are not actually used yet). |
||
267 | #USE_CLOCKS = y |
||
268 | |||
269 | # Uncomment to allow mouse type overrides |
||
270 | #ALLOW_MOUSE_OVERRIDE = y |
||
271 | |||
272 | #---------------------------------------------------------------------- |
||
273 | # Compiler Section |
||
274 | #---------------------------------------------------------------------- |
||
275 | |||
276 | # Compiler used. |
||
277 | #PC = ppc386 |
||
278 | # |
||
279 | #ifndef CC |
||
280 | # CC = gcc |
||
281 | #endif |
||
282 | |||
283 | |||
284 | #ifndef CFLAGS |
||
285 | # OPTIMIZE = -fomit-frame-pointer -O2 -fno-strength-reduce -pipe -g |
||
286 | #else |
||
287 | # OPTIMIZE := $(CFLAGS) |
||
288 | #endif |
||
289 | |||
290 | # You might want to add -m386 here if you have a recently installed |
||
291 | # (486 configured) compiler on a 386. The only real difference is the |
||
292 | # generous alignment padding of function entry-points for the 486. |
||
293 | #WARN = -Wall -Wstrict-prototypes |
||
294 | #INCLUDES = -I$(srcdir)/include -I. |
||
295 | #CFLAGS = $(WARN) $(DLLFLAGS) $(INCLUDES) $(OPTIMIZE) $(DEFINES) |
||
296 | #LDFLAGS = -s |
||
297 | |||
298 | # additional flags for shared lib. |
||
299 | #DLLFLAGS = -fPIC |
||
300 | |||
301 | # Utilites used. |
||
302 | #AR = ar |
||
303 | #INSTALL_PROGRAM = install -c -s -m 755 -o root -g bin |
||
304 | #INSTALL_SHLIB = install -c -m 755 -o root -g bin |
||
305 | #INSTALL_DATA = install -c -m 644 -o root -g bin |
||
306 | |||
307 | #ifneq ($(ARCH),i386) |
||
308 | # NO_ASM = y |
||
309 | # INCLUDE_VESA_DRIVER= |
||
310 | # |
||
311 | # INCLUDE_CHIPS_DRIVER= |
||
312 | # INCLUDE_ET4000_DRIVER= |
||
313 | # INCLUDE_MACH32_DRIVER= |
||
314 | # INCLUDE_NEO_DRIVER= |
||
315 | # INCLUDE_S3_DRIVER= |
||
316 | # INCLUDE_TVGA_DRIVER= |
||
317 | #endif |
||
318 | |||
319 | #ifneq($(INCLUDE_S3_DRIVER),y) |
||
320 | # INCLUDE_NORMAL_DAC = |
||
321 | # INCLUDE_S3_SDAC_DAC = |
||
322 | # INCLUDE_S3_GENDAC_DAC = |
||
323 | # INCLUDE_S3_TRIO64_DAC = |
||
324 | # INCLUDE_SIERRA_DAC = |
||
325 | # INCLUDE_SC15025_DAC = |
||
326 | # INCLUDE_ATT20C490_DAC = |
||
327 | # INCLUDE_ATT20C498_DAC = |
||
328 | # INCLUDE_ICW_DAC = |
||
329 | # INCLUDE_IBMRGB52x_DAC = |
||
330 | # INCLUDE_SC1148X_DAC = |
||
331 | #endif |
||
332 |