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