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

« back to all changes in this revision

Viewing changes to unix/xc/lib/GL/mesa/src/drv/gamma/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/gamma/Imakefile,v 1.27 2002/11/25 14:04:50 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
 
 
36
      DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MESA_ASM_DEFINES)
 
37
     INCLUDES = $(X_INCLUDES) $(MESA_INCLUDES) $(DRI_INCLUDES)
 
38
 
 
39
      DRIOBJS = $(GLXLIBSRC)/dri/dri_util.o
 
40
 
 
41
      DRMOBJS = $(GLXLIBSRC)/dri/drm/xf86drm.o \
 
42
                $(GLXLIBSRC)/dri/drm/xf86drmHash.o \
 
43
                $(GLXLIBSRC)/dri/drm/xf86drmRandom.o \
 
44
                $(GLXLIBSRC)/dri/drm/xf86drmSL.o
 
45
 
 
46
#ifdef GlxSoProf
 
47
       LOSRCS = ../../../../lowpc.c
 
48
       HISRCS = ../../../../highpc.c
 
49
 
 
50
       LOOBJS = ../../../../lowpc.o
 
51
       HIOBJS = ../../../../highpc.o
 
52
#endif
 
53
 
 
54
         SRCS = $(GAMMASRCS)
 
55
         OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \
 
56
                $(MESA_ASM_OBJS) $(COMMONOBJS) $(GAMMAOBJS) $(HIOBJS)
 
57
 
 
58
REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB)
 
59
 
 
60
#include <Library.tmpl>
 
61
 
 
62
LibraryObjectRule()
 
63
 
 
64
SubdirLibraryRule($(GAMMAOBJS))
 
65
NormalLintTarget($(SRCS))
 
66
 
 
67
#if !GlxUseBuiltInDRIDriver
 
68
LIBNAME = gamma_dri.so
 
69
SharedDriModuleTarget($(LIBNAME),DONE $(OBJS),$(OBJS))
 
70
InstallDynamicModule($(LIBNAME),$(MODULEDIR),dri)
 
71
 
 
72
#ifdef GlxSoProf
 
73
SOPROF_LIBNAME = _gamma_dri_p
 
74
NormalDepLibraryTarget($(SOPROF_LIBNAME),DONE $(OBJS),$(OBJS))
 
75
InstallLibrary($(SOPROF_LIBNAME),$(MODULEDIR)/dri)
 
76
#endif
 
77
#endif
 
78
 
 
79
DependTarget()
 
80