Clone of mesa.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

linux-osmesa16 904B

12345678910111213141516171819202122232425262728293031
  1. # Configuration for 16 bits/channel OSMesa library on Linux
  2. include $(TOP)/configs/default
  3. CONFIG_NAME = linux-osmesa16
  4. # Compiler and flags
  5. CC = gcc
  6. CXX = g++
  7. 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=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
  8. CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  9. # Work around aliasing bugs - developers should comment this out
  10. CFLAGS += -fno-strict-aliasing
  11. CXXFLAGS += -fno-strict-aliasing
  12. # Library names
  13. OSMESA_LIB = OSMesa16
  14. OSMESA_LIB_NAME = libOSMesa16.so
  15. # Directories
  16. SRC_DIRS = gallium mesa glu
  17. DRIVER_DIRS = osmesa
  18. PROGRAM_DIRS =
  19. # Dependencies
  20. OSMESA_LIB_DEPS = -lm -lpthread
  21. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  22. APP_LIB_DEPS = -lm -lpthread