st/python: Adapt to interface change.
[mesa.git] / configs / linux-osmesa32
1 # Configuration for 32 bits/channel OSMesa library on Linux
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = linux-osmesa32
6
7 # Compiler and flags
8 CC = gcc
9 CXX = g++
10 CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
11 CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
12
13 # Work around aliasing bugs - developers should comment this out
14 CFLAGS += -fno-strict-aliasing
15 CXXFLAGS += -fno-strict-aliasing
16
17 # Library names
18 OSMESA_LIB = OSMesa32
19 OSMESA_LIB_NAME = libOSMesa32.so
20
21
22 # Directories
23 SRC_DIRS = mapi/glapi glsl mesa glu
24 DRIVER_DIRS = osmesa
25
26
27 # Dependencies
28 OSMESA_LIB_DEPS = -lm -lpthread
29 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
30 APP_LIB_DEPS = -lm -lpthread