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

« back to all changes in this revision

Viewing changes to unix/xc/lib/GL/mesa/src/swrast/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/swrast/Imakefile,v 1.9 2002/11/25 14:04:52 eich Exp $
 
2
 
 
3
#include <Threads.tmpl>
 
4
 
 
5
/*
 
6
 * Need both shared and unshared Mesa objects in the following cases:
 
7
 *   GlxDriverUsesMesa
 
8
 *   GlxBuiltInXMesa
 
9
 *   BuildOSMesaLib
 
10
 *
 
11
 * In other cases, only the shared version is needed to link in to loadable
 
12
 * driver modules.
 
13
 */
 
14
 
 
15
#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa))
 
16
#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC)
 
17
#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC)
 
18
#define DoExtraLib SharedLibGlx
 
19
#define DoDebugLib DebugLibGlx
 
20
#define DoProfileLib ProfileLibGlx
 
21
#else
 
22
#define DoNormalLib SharedLibGlxWithoutPIC
 
23
#define DoSharedLib !SharedLibGlxWithoutPIC
 
24
#define DoExtraLib NO
 
25
#define DoDebugLib NO
 
26
#define DoProfileLib NO
 
27
#endif
 
28
 
 
29
 
 
30
#define MesaSwrastBuildDir /**/
 
31
#define NeedToLinkMesaSrc
 
32
#include "Imakefile.inc"
 
33
 
 
34
 
 
35
#if Malloc0ReturnsNull
 
36
ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
 
37
#endif
 
38
 
 
39
#if BuildXF86DRI
 
40
  DRI_DEFINES = GlxDefines
 
41
 DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \
 
42
                -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri
 
43
#endif
 
44
 
 
45
#if defined(i386Architecture) && MesaUseX86Asm
 
46
      ASM_DIR = X86
 
47
     ASM_SRCS =
 
48
     ASM_OBJS =
 
49
#if MesaUseMMX
 
50
     MMX_DEFS = -DUSE_MMX_ASM
 
51
#endif
 
52
#if MesaUse3DNow
 
53
   3DNOW_DEFS = -DUSE_3DNOW_ASM
 
54
#endif
 
55
#if MesaUseSSE
 
56
     SSE_DEFS = -DUSE_SSE_ASM
 
57
#endif
 
58
     ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS)
 
59
#endif
 
60
 
 
61
#ifdef SparcArchitecture
 
62
      ASM_DIR = SPARC
 
63
     ASM_SRCS =
 
64
     ASM_OBJS =
 
65
     ASM_DEFS = -DUSE_SPARC_ASM
 
66
#endif
 
67
 
 
68
#ifdef UseCompaqMathLibrary
 
69
      MATHDEF = -DCCPML
 
70
#endif
 
71
 
 
72
MESA_INCLUDES = -I$(MESASRCDIR)/src \
 
73
                -I$(MESASRCDIR)/src/array_cache \
 
74
                -I$(MESASRCDIR)/src/math \
 
75
                -I$(MESASRCDIR)/src/swrast \
 
76
                -I$(MESASRCDIR)/src/$(ASM_DIR) \
 
77
                -I$(MESASRCDIR)/include \
 
78
                -I../../../include -I$(XINCLUDESRC)
 
79
 
 
80
      DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF)
 
81
     INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES)
 
82
         SRCS = $(MESA_SWRAST_SRCS)
 
83
         OBJS = $(MESA_SWRAST_OBJS)
 
84
 
 
85
 
 
86
#include <Library.tmpl>
 
87
 
 
88
LibraryObjectRule()
 
89
 
 
90
SubdirLibraryRule($(OBJS))
 
91
NormalLintTarget($(SRCS))
 
92
 
 
93
DependTarget()