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-osmesa 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. # Configuration for building only libOSMesa on BlueGene, no Xlib driver
  2. # This doesn't really have a lot of dependencies, so it should be usable
  3. # on other (gcc-based) 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 = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-gcc
  9. CXX = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-g++
  10. CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  11. CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURC
  12. # Work around aliasing bugs - developers should comment this out
  13. CFLAGS += -fno-strict-aliasing
  14. CXXFLAGS += -fno-strict-aliasing
  15. MKLIB_OPTIONS = -static
  16. OSMESA_LIB_NAME = libOSMesa.a
  17. # Directories
  18. SRC_DIRS = mesa glu
  19. DRIVER_DIRS = osmesa
  20. PROGRAM_DIRS = osdemos
  21. # Dependencies
  22. OSMESA_LIB_DEPS = -lm
  23. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  24. APP_LIB_DEPS = -lOSMesa -lGLU -lm