~ubuntu-branches/ubuntu/quantal/mesa-glw/quantal

« back to all changes in this revision

Viewing changes to configs/default~

  • Committer: Bazaar Package Importer
  • Author(s): Morten Kjeldgaard
  • Date: 2008-05-06 16:19:15 UTC
  • Revision ID: james.westby@ubuntu.com-20080506161915-uynz7nftmfixu6bq
Tags: upstream-7.0.3
ImportĀ upstreamĀ versionĀ 7.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Default/template configuration
 
2
 
 
3
# This is included by other config files which may override some
 
4
# of these variables.
 
5
# Think of this as a base class from which configs are derived.
 
6
 
 
7
 
 
8
CONFIG_NAME = default
 
9
 
 
10
# Version info
 
11
MESA_MAJOR=7
 
12
MESA_MINOR=0
 
13
MESA_TINY=2
 
14
 
 
15
# external projects.  This should be useless now that we use libdrm.
 
16
DRM_SOURCE_PATH=$(TOP)/../drm
 
17
 
 
18
# Compiler and flags
 
19
CC = cc
 
20
CXX = CC
 
21
CFLAGS = -O
 
22
CXXFLAGS = -O
 
23
LDFLAGS =
 
24
GLU_CFLAGS = 
 
25
 
 
26
# Misc tools and flags
 
27
MKLIB_OPTIONS = 
 
28
MKDEP = makedepend
 
29
MKDEP_OPTIONS = -fdepend
 
30
MAKE = make
 
31
INSTALL = $(TOP)/bin/minstall
 
32
 
 
33
# Python and flags (generally only needed by the developers)
 
34
PYTHON2 = python
 
35
PYTHON_FLAGS = -t -O -O
 
36
 
 
37
# Library names (base name)
 
38
GL_LIB = GL
 
39
GLU_LIB = GLU
 
40
GLUT_LIB = glut
 
41
GLW_LIB = GLw
 
42
OSMESA_LIB = OSMesa
 
43
 
 
44
 
 
45
# Library names (actual file names)
 
46
GL_LIB_NAME = lib$(GL_LIB).so
 
47
GLU_LIB_NAME = lib$(GLU_LIB).so
 
48
GLUT_LIB_NAME = lib$(GLUT_LIB).so
 
49
GLW_LIB_NAME = lib$(GLW_LIB).so
 
50
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
 
51
 
 
52
 
 
53
# Optional assembly language optimization files for libGL
 
54
ASM_SOURCES = 
 
55
 
 
56
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
 
57
# order to build the Motif widget too)
 
58
GLW_SOURCES = GLwDrawA.c
 
59
 
 
60
 
 
61
# Directories to build
 
62
LIB_DIR = lib
 
63
SRC_DIRS = mesa glu glut/glx glw
 
64
GLU_DIRS = sgi
 
65
DRIVER_DIRS = x11 osmesa
 
66
# Which subdirs under $(TOP)/progs/ to enter:
 
67
PROGRAM_DIRS = demos redbook samples glsl xdemos
 
68
 
 
69
 
 
70
# Library dependencies
 
71
#EXTRA_LIB_PATH ?=
 
72
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
 
73
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
 
74
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
 
75
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
 
76
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
 
77
 
 
78
# Program dependencies - specific GL/glut libraries added in Makefiles
 
79
APP_LIB_DEPS = -lm
 
80
 
 
81
 
 
82
 
 
83
# Installation directories (for make install)
 
84
INSTALL_DIR = /usr/local
 
85
DRI_DRIVER_INSTALL_DIR = /usr/X11R6/lib/modules/dri
 
86
 
 
87
# Where libGL will look for DRI hardware drivers
 
88
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
 
89