1 # Default/template configuration
3 # This is included by other config files which may override some
14 DRM_SOURCE_PATH=$(TOP)/../drm
23 # Misc tools and flags
26 MKDEP_OPTIONS = -Y -fdepend
29 # Library names (base name)
37 # Library names (actual file names)
38 GL_LIB_NAME = libGL.so
39 GLU_LIB_NAME = libGLU.so
40 GLUT_LIB_NAME = libglut.so
41 GLW_LIB_NAME = libGLw.so
42 OSMESA_LIB_NAME = libOSMesa.so
45 # Optional assembly language optimization files for libGL
48 # GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
49 # order to build the Motif widget too)
50 GLW_SOURCES = GLwDrawA.c
55 INSTALL_PREFIX = /usr/local
56 SRC_DIRS = mesa glu glut/glx glw
58 DRIVER_DIRS = x11 osmesa
59 PROGRAM_DIRS = demos redbook samples xdemos
62 # Library/program dependencies
63 GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
64 OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
65 GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
66 GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
67 GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
68 APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm