nvfx: expose GLSL
[mesa/mesa-lb.git] / configs / linux-osmesa
blobc112642f8991f257426c8f39a272f23422233117
1 # Configuration for building only libOSMesa 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.
5 include $(TOP)/configs/default
7 CONFIG_NAME = linux-osmesa
9 # Compiler and flags
10 CC = gcc
11 CXX = g++
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
15 # Work around aliasing bugs - developers should comment this out
16 CFLAGS += -fno-strict-aliasing
17 CXXFLAGS += -fno-strict-aliasing
19 # Directories
20 SRC_DIRS = gallium mesa glu
21 DRIVER_DIRS = osmesa
22 PROGRAM_DIRS = osdemos
25 # Dependencies
26 OSMESA_LIB_DEPS = -lm -lpthread
27 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
28 APP_LIB_DEPS = -lm -lpthread