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.

bluegene-xlc-osmesa 802B

123456789101112131415161718192021222324252627
  1. # Configuration for building only libOSMesa on BlueGene using the IBM xlc compiler
  2. # This doesn't really have a lot of dependencies, so it should be usable
  3. # on similar systems too.
  4. # It uses static linking and disables multithreading.
  5. include $(TOP)/configs/default
  6. CONFIG_NAME = bluegene-osmesa
  7. # Compiler and flags
  8. CC = /opt/ibmcmp/vacpp/bg/8.0/bin/blrts_xlc
  9. CXX = /opt/ibmcmp/vacpp/bg/8.0/bin/blrts_xlC
  10. CFLAGS = -O3 -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  11. CXXFLAGS = -O3 -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  12. MKLIB_OPTIONS = -static
  13. OSMESA_LIB_NAME = libOSMesa.a
  14. # Directories
  15. SRC_DIRS = mesa glu
  16. DRIVER_DIRS = osmesa
  17. # Dependencies
  18. OSMESA_LIB_DEPS = -lm
  19. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)