st/glx: Fix endless loop in drawable validation
[mesa.git] / configs / linux-osmesa-static
1 # Configuration for building static libOSMesa.a on Linux, no Xlib driver
2 # This doesn't really have any Linux dependencies, so it should be usable
3 # on other (gcc-based) systems.
4
5 include $(TOP)/configs/default
6
7 CONFIG_NAME = linux-osmesa
8
9 # Compiler and flags
10 CC = gcc -m32
11 CXX = g++ -m32
12 CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
13 CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
14
15 MKLIB_OPTIONS = -static
16
17 # Library names (actual file names)
18 GL_LIB_NAME = libGL.a
19 GLU_LIB_NAME = libGLU.a
20 GLUT_LIB_NAME = libglut.a
21 GLW_LIB_NAME = libGLw.a
22 OSMESA_LIB_NAME = libOSMesa.a
23
24 # Directories
25 SRC_DIRS = mesa glu
26 DRIVER_DIRS = osmesa
27
28
29 # Dependencies
30 GL_LIB_DEPS =
31 OSMESA_LIB_DEPS =
32 GLU_LIB_DEPS =
33 GLUT_LIB_DEPS =
34 GLW_LIB_DEPS =
35 APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
36 $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm