blob: a6c0cab1b8d01a47adf73dd76714035431ad47c7 [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
José Fonseca6acd63a2008-02-15 17:50:12 +090025SRC_DIRS = gallium mesa glu
Brian Paula70ad912004-03-26 15:16:35 +000026DRIVER_DIRS = osmesa
Brian Paula70ad912004-03-26 15:16:35 +000027
28
29# Dependencies
30OSMESA_LIB_DEPS = -lm -lpthread
Dan Nicholsonf1efacb2007-12-05 20:34:59 -080031APP_LIB_DEPS = -lm -lpthread