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.

default 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Default/template configuration
  2. # This is included by other config files which may override some
  3. # of these variables.
  4. CONFIG_NAME = default
  5. # Version info
  6. MESA_MAJOR=6
  7. MESA_MINOR=3
  8. MESA_TINY=0
  9. # external projects
  10. DRM_SOURCE_PATH=$(TOP)/../drm
  11. # Compiler and flags
  12. CC = cc
  13. CXX = CC
  14. CFLAGS = -O
  15. CXXFLAGS = -O
  16. GLU_CFLAGS =
  17. # Misc tools and flags
  18. MKLIB_OPTIONS =
  19. MKDEP = makedepend
  20. MKDEP_OPTIONS = -Y -fdepend
  21. MAKE = make
  22. # Library names (base name)
  23. GL_LIB = GL
  24. GLU_LIB = GLU
  25. GLUT_LIB = glut
  26. GLW_LIB = GLw
  27. OSMESA_LIB = OSMesa
  28. # Library names (actual file names)
  29. GL_LIB_NAME = libGL.so
  30. GLU_LIB_NAME = libGLU.so
  31. GLUT_LIB_NAME = libglut.so
  32. GLW_LIB_NAME = libGLw.so
  33. OSMESA_LIB_NAME = libOSMesa.so
  34. # Optional assembly language optimization files for libGL
  35. ASM_SOURCES =
  36. # GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
  37. # order to build the Motif widget too)
  38. GLW_SOURCES = GLwDrawA.c
  39. # Directories
  40. LIB_DIR = $(TOP)/lib
  41. INSTALL_PREFIX = /usr/local
  42. SRC_DIRS = mesa glu glut/glx glw
  43. GLU_DIRS = sgi
  44. DRIVER_DIRS = x11 osmesa
  45. PROGRAM_DIRS = demos redbook samples xdemos
  46. # Library/program dependencies
  47. GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
  48. OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
  49. GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
  50. GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
  51. GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
  52. APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm