~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to configs/default

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
CONFIG_NAME = default
9
9
 
10
10
# Version info
11
 
MESA_MAJOR=7
12
 
MESA_MINOR=11
 
11
MESA_MAJOR=8
 
12
MESA_MINOR=0
13
13
MESA_TINY=0
14
14
MESA_VERSION = $(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
15
15
 
40
40
MAKE = make
41
41
FLEX = flex
42
42
BISON = bison
 
43
PKG_CONFIG = pkg-config
43
44
 
44
45
# Use MINSTALL for installing libraries, INSTALL for everything else
45
46
MINSTALL = $(SHELL) $(TOP)/bin/minstall
54
55
# Library names (base name)
55
56
GL_LIB = GL
56
57
GLU_LIB = GLU
57
 
GLUT_LIB = glut
58
58
GLW_LIB = GLw
59
59
OSMESA_LIB = OSMesa
60
60
EGL_LIB = EGL
68
68
# Library names (actual file names)
69
69
GL_LIB_NAME = lib$(GL_LIB).so
70
70
GLU_LIB_NAME = lib$(GLU_LIB).so
71
 
GLUT_LIB_NAME = lib$(GLUT_LIB).so
72
71
GLW_LIB_NAME = lib$(GLW_LIB).so
73
72
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
74
73
EGL_LIB_NAME = lib$(EGL_LIB).so
82
81
# globs used to install the lib and all symlinks
83
82
GL_LIB_GLOB = $(GL_LIB_NAME)*
84
83
GLU_LIB_GLOB = $(GLU_LIB_NAME)*
85
 
GLUT_LIB_GLOB = $(GLUT_LIB_NAME)*
86
84
GLW_LIB_GLOB = $(GLW_LIB_NAME)*
87
85
OSMESA_LIB_GLOB = $(OSMESA_LIB_NAME)*
88
86
EGL_LIB_GLOB = $(EGL_LIB_NAME)*
108
106
# Directories to build
109
107
LIB_DIR = lib
110
108
SRC_DIRS = glsl mapi/glapi mapi/vgapi mesa \
111
 
        gallium egl gallium/winsys gallium/targets glu glut/glx glw
 
109
        gallium egl gallium/winsys gallium/targets glu
112
110
GLU_DIRS = sgi
113
111
DRIVER_DIRS = x11 osmesa
114
112
 
118
116
# gbm backends to build
119
117
GBM_BACKEND_DIRS = dri
120
118
 
121
 
# Gallium directories and 
 
119
# Gallium directories and
122
120
GALLIUM_DIRS = auxiliary drivers state_trackers
123
121
GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a
124
 
GALLIUM_DRIVERS_DIRS = softpipe trace rbug noop identity galahad i915 i965 svga r300 nvfx nv50 failover
 
122
GALLIUM_DRIVERS_DIRS = softpipe trace rbug noop identity galahad i915 svga r300 nvfx nv50
125
123
GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
126
124
GALLIUM_WINSYS_DIRS = sw sw/xlib
127
125
GALLIUM_TARGET_DIRS = libgl-xlib
137
135
EGL_LIB_DEPS    = $(EXTRA_LIB_PATH) -ldl -lpthread
138
136
OSMESA_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
139
137
GLU_LIB_DEPS    = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
140
 
GLUT_LIB_DEPS   = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lm
141
138
GLW_LIB_DEPS    = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
142
 
APP_LIB_DEPS    = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
143
139
GLESv1_CM_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
144
140
GLESv2_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
145
141
VG_LIB_DEPS    = $(EXTRA_LIB_PATH) -lpthread
147
143
WAYLAND_EGL_LIB_DEPS = $(EXTRA_LIB_PATH) -lwayland-client -ldrm
148
144
GBM_LIB_DEPS = $(EXTRA_LIB_PATH) -ludev -ldl
149
145
 
150
 
# Program dependencies - specific GL/glut libraries added in Makefiles
151
 
APP_LIB_DEPS = -lm
 
146
# Program dependencies - specific GL libraries added in Makefiles
152
147
X11_LIBS = -lX11
153
148
 
154
149
DLOPEN_LIBS = -ldl
180
175
GLU_PC_REQ_PRIV =
181
176
GLU_PC_LIB_PRIV =
182
177
GLU_PC_CFLAGS =
183
 
GLUT_PC_REQ_PRIV =
184
 
GLUT_PC_LIB_PRIV =
185
 
GLUT_PC_CFLAGS =
186
178
GLW_PC_REQ_PRIV =
187
179
GLW_PC_LIB_PRIV =
188
180
GLW_PC_CFLAGS =