Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 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 | |
| 14 | # Library names |
| 15 | OSMESA_LIB = OSMesa32 |
| 16 | OSMESA_LIB_NAME = libOSMesa32.so |
| 17 | |
| 18 | |
| 19 | # Directories |
| 20 | SRC_DIRS = mesa glu |
| 21 | DRIVER_DIRS = osmesa |
| 22 | PROGRAM_DIRS = |
| 23 | |
| 24 | |
| 25 | # Dependencies |
| 26 | OSMESA_LIB_DEPS = -lm -lpthread |
Brian Paul | 883f989 | 2006-07-13 02:50:27 +0000 | [diff] [blame] | 27 | GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB) |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 28 | APP_LIB_DEPS = -lOSMesa32 |