Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linux-osmesa 735B

12345678910111213141516171819202122232425
  1. # Configuration for building only libOSMesa on Linux, no Xlib driver
  2. # This doesn't really have any Linux dependencies, so it should be usable
  3. # on other (gcc-based) systems.
  4. include $(TOP)/configs/default
  5. CONFIG_NAME = linux-osmesa
  6. # Compiler and flags
  7. CC = gcc
  8. CXX = g++
  9. CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
  10. CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  11. # Directories
  12. SRC_DIRS = mesa glu
  13. DRIVER_DIRS = osmesa
  14. PROGRAM_DIRS = osdemos
  15. # Dependencies
  16. OSMESA_LIB_DEPS = -lm -lpthread
  17. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  18. APP_LIB_DEPS = -lOSMesa -lGLU