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

« back to all changes in this revision

Viewing changes to unix/xc/lib/GL/mesa/src/drv/sis/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/mesa/src/drv/sis/Imakefile,v 1.22 2002/11/25 14:04:52 eich Exp $
 
2
 
 
3
#include <Threads.tmpl>
 
4
 
 
5
#if GlxUseBuiltInDRIDriver
 
6
#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC)
 
7
#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC)
 
8
#define DoExtraLib SharedLibGlx
 
9
#define DoDebugLib DebugLibGlx
 
10
#define DoProfileLib ProfileLibGlx
 
11
#else
 
12
#define DoNormalLib SharedLibGlxWithoutPIC
 
13
#define DoSharedLib !SharedLibGlxWithoutPIC
 
14
#define DoExtrasLib NO
 
15
#define DoDebugLib NO
 
16
#define DoProfileLib NO
 
17
#endif
 
18
 
 
19
#include "../common/Imakefile.inc"
 
20
#include "Imakefile.inc"
 
21
#include "../../array_cache/Imakefile.inc"
 
22
#include "../../math/Imakefile.inc"
 
23
#include "../../swrast/Imakefile.inc"
 
24
#include "../../swrast_setup/Imakefile.inc"
 
25
#include "../../tnl/Imakefile.inc"
 
26
#include "../../tnl_dd/Imakefile.inc"
 
27
#include "../../Imakefile.inc"
 
28
#if defined(i386Architecture) && MesaUseX86Asm
 
29
#include "../../X86/Imakefile.inc"
 
30
#endif
 
31
#ifdef SparcArchitecture
 
32
#include "../../SPARC/Imakefile.inc"
 
33
#endif
 
34
 
 
35
XCOMM SIS_DEFINES = -DSIS_USE_HW_CULL -DSIS_USE_FASTPATH
 
36
SIS_DEFINES = -DSIS_USE_HW_CULL
 
37
 
 
38
XCOMM DEBUG_DEFINES = -DDEBUG_LOCKING
 
39
XCOMM DEBUG_DEFINES = -DSIS_DEBUG
 
40
 
 
41
      DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MESA_ASM_DEFINES) \
 
42
                $(DEBUG_DEFINES) $(STEREO_DEFINES)
 
43
     INCLUDES = $(X_INCLUDES) $(MESA_INCLUDES) $(DRI_INCLUDES)
 
44
 
 
45
      DRIOBJS = $(GLXLIBSRC)/mesa/dri/dri_mesa.o \
 
46
                $(GLXLIBSRC)/dri/dri_tmm.o
 
47
 
 
48
      DRMOBJS = $(GLXLIBSRC)/dri/drm/xf86drm.o \
 
49
                $(GLXLIBSRC)/dri/drm/xf86drmHash.o \
 
50
                $(GLXLIBSRC)/dri/drm/xf86drmRandom.o \
 
51
                $(GLXLIBSRC)/dri/drm/xf86drmSL.o
 
52
 
 
53
#ifdef GlxSoProf
 
54
       LOSRCS = ../../../../lowpc.c
 
55
       HISRCS = ../../../../highpc.c
 
56
 
 
57
       LOOBJS = ../../../../lowpc.o
 
58
       HIOBJS = ../../../../highpc.o
 
59
#endif
 
60
 
 
61
         SRCS = $(SISSRCS)
 
62
         OBJS = $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \
 
63
                $(MESA_ASM_OBJS) $(SISOBJS) $(HIOBJS)
 
64
 
 
65
REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB)
 
66
 
 
67
#include <Library.tmpl>
 
68
 
 
69
LibraryObjectRule()
 
70
 
 
71
SubdirLibraryRule($(SISOBJS))
 
72
NormalLintTarget($(SRCS))
 
73
 
 
74
#if !GlxUseBuiltInDRIDriver
 
75
LIBNAME = sis_dri.so
 
76
SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
 
77
InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
 
78
 
 
79
#ifdef GlxSoProf
 
80
SOPROF_LIBNAME = _sis_dri_p
 
81
NormalDepLibraryTarget($(SOPROF_LIBNAME),DONE $(OBJS),$(OBJS))
 
82
InstallLibrary($(SOPROF_LIBNAME),$(MODULEDIR)/dri)
 
83
#endif
 
84
#endif
 
85
 
 
86
DependTarget()
 
87