Clone of mesa.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

linux-osmesa16 896B

123456789101112131415161718192021222324252627282930
  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 = mapi/glapi glsl mesa glu
  17. DRIVER_DIRS = osmesa
  18. # Dependencies
  19. OSMESA_LIB_DEPS = -lm -lpthread
  20. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  21. APP_LIB_DEPS = -lm -lpthread