blob: 0e0d1519f39766add2559a43e60e1e910ac986b1 [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for 16 bits/channel OSMesa library on Linux
2
3include $(TOP)/configs/default
4
5CONFIG_NAME = linux-osmesa16-static
6
7# Compiler and flags
8CC = gcc
9CXX = g++
10CFLAGS = -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
11CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
12MKLIB_OPTIONS = -static
Dan Nicholsonc3b5ada2007-10-31 10:33:20 -070013PIC_FLAGS =
Brian Paula70ad912004-03-26 15:16:35 +000014
Dan Nicholson013dbcd2007-10-31 09:47:39 -070015# Work around aliasing bugs - developers should comment this out
16CFLAGS += -fno-strict-aliasing
17CXXFLAGS += -fno-strict-aliasing
Brian Paula70ad912004-03-26 15:16:35 +000018
19# Library names
20OSMESA_LIB = OSMesa16
21OSMESA_LIB_NAME = libOSMesa16.a
22
23
24# Directories
25SRC_DIRS = mesa glu
26DRIVER_DIRS = osmesa
27PROGRAM_DIRS =
28
29
30# Dependencies
31OSMESA_LIB_DEPS = -lm -lpthread
32APP_LIB_DEPS = -lOSMesa16