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.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. DRM_SOURCE_PATH=/home/projects/DRI-freedesktop/drm
  12. # Compiler and flags
  13. CC = cc
  14. CXX = CC
  15. CFLAGS = -O
  16. CXXFLAGS = -O
  17. GLU_CFLAGS =
  18. # Misc tools and flags
  19. MKLIB_OPTIONS =
  20. MKDEP = makedepend
  21. MKDEP_OPTIONS = -fdepend
  22. MAKE = make
  23. # Python and flags (generally only needed by the developers)
  24. PYTHON2 = python
  25. PYTHON_FLAGS = -t -O -O
  26. # Library names (base name)
  27. GL_LIB = GL
  28. GLU_LIB = GLU
  29. GLUT_LIB = glut
  30. GLW_LIB = GLw
  31. OSMESA_LIB = OSMesa
  32. # Library names (actual file names)
  33. GL_LIB_NAME = lib$(GL_LIB).so
  34. GLU_LIB_NAME = lib$(GLU_LIB).so
  35. GLUT_LIB_NAME = lib$(GLUT_LIB).so
  36. GLW_LIB_NAME = lib$(GLW_LIB).so
  37. OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
  38. # Optional assembly language optimization files for libGL
  39. ASM_SOURCES =
  40. # GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
  41. # order to build the Motif widget too)
  42. GLW_SOURCES = GLwDrawA.c
  43. # Directories
  44. LIB_DIR = $(TOP)/lib
  45. INSTALL_PREFIX = /usr/local
  46. SRC_DIRS = mesa glu glut/glx glw
  47. GLU_DIRS = sgi
  48. DRIVER_DIRS = x11 osmesa
  49. # Which subdirs under $(TOP)/progs/ to enter:
  50. PROGRAM_DIRS = demos redbook samples xdemos
  51. # Library/program dependencies
  52. EXTRA_LIB_PATH ?=
  53. GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
  54. OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
  55. GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
  56. GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
  57. GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
  58. APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm