1
XCOMM $XFree86: xc/lib/GL/Imakefile,v 1.41 2002/11/22 22:55:57 tsi Exp $
4
XCOMM Imake tokens which are significant to building libGL:
6
XCOMM BuildGLXLibrary - if defined, build libs in xc/lib/GL and xc/lib/GLw
8
XCOMM BuildXF86DRI - if defined, build libGL with DRI capability
10
XCOMM Only zero or one of the following can be defined at once:
11
XCOMM GlxBuiltInGamma - if defined, build gamma_dri.so driver into libGL
12
XCOMM GlxBuiltInTdfx - if defined, build tdfx_dri.so driver into libGL
13
XCOMM GlxBuiltInMga - if defined, build mga_dri.so driver into libGL
14
XCOMM GlxBuiltInI810 - if defined, build i810_dri.so driver into libGL
15
XCOMM GlxBuiltInR128 - if defined, build r128_dri.so driver into libGL
16
XCOMM GlxBuiltInRadeon - if defined, build radeon_dri.so driver into libGL
17
XCOMM GlxBuiltInR200 - if defined, build r200_dri.so driver into libGL
18
XCOMM GlxBuiltInFfb - if defined, build ffb_dri.so driver into libGL
19
XCOMM GlxBuiltInSIS - if defined, build sis_dri.so driver into libGL
21
XCOMM GlxUseBuiltInDRIDriver - automatically defined if any of the
22
XCOMM GlxBuiltIn[Gamma,Tdfx,Mga,I810,R128,Radeon,R200,Ffb,SIS] tokens is
25
XCOMM GlxBuiltInXMesa - if defined, build XMesa (Xlib Mesa driver) into libGL
26
XCOMM to enable rendering to displays that lack the GLX extension.
28
XCOMM GlxDriverUsesMesa - will be defined if building a DRI driver into
29
XCOMM libGL and it uses Mesa.
31
XCOMM GlxUseSGISI - if defined, use the SGI OpenGL Sample Implementation
32
XCOMM to build the GLX server extension (not fully implemented yet).
34
XCOMM NormalLibGlx - if defined, build static libGL.a library
36
XCOMM SharedLibGlx - if defined, build dynamic libGL.so library
38
XCOMM DebugLibGlx - if defined, build libGL with debug info
40
XCOMM ProfileLibGlx - if defined, build libGL with profiling info
42
XCOMM SharedGlxRev - dynamic library version, currently defined to be "1.2"
44
XCOMM GlxSoProf - if defined, build dynamic libGL for profiling with soprof
46
XCOMM GlxStubLib - purpose???
49
XCOMM Server-side tokens:
55
#include <Threads.tmpl>
59
#define PassCDebugFlags
65
* Need to build the Mesa + XMesa source in the following cases:
66
* BuildXF86DRI && defined(DriDrivers)
71
#if BuildOSMesaLib || \
73
(defined(DriDrivers) || GlxDriverUsesMesa || GlxBuiltInXMesa))
78
* Only need the OSmesa code in the following case:
82
OSMESADIRS = mesa/src/OSmesa
86
* Need to build the DRI code in the following cases:
94
* Need to build the DRI drivers in the following cases:
95
* BuildXF86DRI && defined(DriDrivers)
97
#if BuildXF86DRI && defined(DriDrivers)
98
DRIVERDIRS = mesa/src/drv
102
* The build order depends on whether the drivers are loaded into libGL or
103
* built-in to libGL. In the former case, libGL needs to be built before
104
* the drivers, and in the latter case, it needs to be built after the driver.
106
#if BuildXF86DRI && GlxUseBuiltInDRIDriver
107
SUBDIRS = $(MESADIRS) $(DRIDIRS) $(DRIVERDIRS) $(GLXDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS)
109
SUBDIRS = $(MESADIRS) $(GLXDIRS) $(DRIDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS) $(DRIVERDIRS)
112
MakeSubdirs($(SUBDIRS))
114
DependSubdirs($(SUBDIRS))