Gallivm: need to link with libstdc++ for llvm.
[mesa.git] / configs / linux-osmesa16-static
1 # Configuration for 16 bits/channel OSMesa library on Linux
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = linux-osmesa16-static
6
7 # Compiler and flags
8 CC = gcc
9 CXX = g++
10 CFLAGS = -O3 -ansi -pedantic -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=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
11 CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
12 MKLIB_OPTIONS = -static
13
14
15 # Library names
16 OSMESA_LIB = OSMesa16
17 OSMESA_LIB_NAME = libOSMesa16.a
18
19
20 # Directories
21 SRC_DIRS = gallium mesa glu
22 DRIVER_DIRS = osmesa
23 PROGRAM_DIRS =
24
25
26 # Dependencies
27 OSMESA_LIB_DEPS = -lm -lpthread
28 APP_LIB_DEPS = -lOSMesa16