~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/lib/GL/Imakefile

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XCOMM $XFree86: xc/lib/GL/Imakefile,v 1.41 2002/11/22 22:55:57 tsi Exp $
 
2
 
 
3
XCOMM
 
4
XCOMM Imake tokens which are significant to building libGL:
 
5
XCOMM
 
6
XCOMM BuildGLXLibrary - if defined, build libs in xc/lib/GL and xc/lib/GLw
 
7
XCOMM
 
8
XCOMM BuildXF86DRI - if defined, build libGL with DRI capability
 
9
XCOMM
 
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
 
20
XCOMM
 
21
XCOMM GlxUseBuiltInDRIDriver - automatically defined if any of the
 
22
XCOMM   GlxBuiltIn[Gamma,Tdfx,Mga,I810,R128,Radeon,R200,Ffb,SIS] tokens is
 
23
XCOMM   defined
 
24
XCOMM
 
25
XCOMM GlxBuiltInXMesa - if defined, build XMesa (Xlib Mesa driver) into libGL
 
26
XCOMM   to enable rendering to displays that lack the GLX extension.
 
27
XCOMM
 
28
XCOMM GlxDriverUsesMesa - will be defined if building a DRI driver into
 
29
XCOMM   libGL and it uses Mesa.
 
30
XCOMM
 
31
XCOMM GlxUseSGISI - if defined, use the SGI OpenGL Sample Implementation
 
32
XCOMM   to build the GLX server extension (not fully implemented yet).
 
33
XCOMM
 
34
XCOMM NormalLibGlx - if defined, build static libGL.a library
 
35
XCOMM
 
36
XCOMM SharedLibGlx - if defined, build dynamic libGL.so library
 
37
XCOMM
 
38
XCOMM DebugLibGlx - if defined, build libGL with debug info
 
39
XCOMM
 
40
XCOMM ProfileLibGlx - if defined, build libGL with profiling info
 
41
XCOMM
 
42
XCOMM SharedGlxRev - dynamic library version, currently defined to be "1.2"
 
43
XCOMM
 
44
XCOMM GlxSoProf - if defined, build dynamic libGL for profiling with soprof
 
45
XCOMM
 
46
XCOMM GlxStubLib - purpose???
 
47
XCOMM
 
48
XCOMM
 
49
XCOMM Server-side tokens:
 
50
XCOMM    BuildGlxExt 
 
51
XCOMM    GlxUseSGISI
 
52
 
 
53
 
 
54
 
 
55
#include <Threads.tmpl>
 
56
 
 
57
#define IHaveSubdirs
 
58
 
 
59
#define PassCDebugFlags
 
60
 
 
61
LIBGLBUILDDIR = GL
 
62
      GLXDIRS = glx
 
63
 
 
64
/*
 
65
 * Need to build the Mesa + XMesa source in the following cases:
 
66
 *   BuildXF86DRI && defined(DriDrivers)
 
67
 *   GlxDriverUsesMesa
 
68
 *   GlxBuiltInXMesa
 
69
 *   BuildOSMesaLib
 
70
 */
 
71
#if BuildOSMesaLib || \
 
72
    (BuildXF86DRI && \
 
73
     (defined(DriDrivers) || GlxDriverUsesMesa || GlxBuiltInXMesa))
 
74
     MESADIRS = mesa/src
 
75
#endif
 
76
 
 
77
/*
 
78
 * Only need the OSmesa code in the following case:
 
79
 *   BuildOSMesaLib
 
80
 */
 
81
#if BuildOSMesaLib
 
82
   OSMESADIRS = mesa/src/OSmesa
 
83
#endif
 
84
 
 
85
/*
 
86
 * Need to build the DRI code in the following cases:
 
87
 *   BuildXF86DRI
 
88
 */
 
89
#if BuildXF86DRI
 
90
      DRIDIRS = dri
 
91
#endif
 
92
 
 
93
/*
 
94
 * Need to build the DRI drivers in the following cases:
 
95
 *   BuildXF86DRI && defined(DriDrivers)
 
96
 */
 
97
#if BuildXF86DRI && defined(DriDrivers)
 
98
   DRIVERDIRS = mesa/src/drv
 
99
#endif
 
100
 
 
101
/*
 
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.
 
105
 */
 
106
#if BuildXF86DRI && GlxUseBuiltInDRIDriver
 
107
SUBDIRS = $(MESADIRS) $(DRIDIRS) $(DRIVERDIRS) $(GLXDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS)
 
108
#else
 
109
SUBDIRS = $(MESADIRS) $(GLXDIRS) $(DRIDIRS) $(LIBGLBUILDDIR) $(OSMESADIRS) $(DRIVERDIRS)
 
110
#endif
 
111
 
 
112
MakeSubdirs($(SUBDIRS))
 
113
 
 
114
DependSubdirs($(SUBDIRS))
 
115