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" to build the Motif widget too)
49 GLW_SOURCES = GLwDrawA.c
54 INSTALL_PREFIX = /usr/local
55 SRC_DIRS = mesa glu glut/glx glw
57 DRIVER_DIRS = x11 osmesa
58 PROGRAM_DIRS = demos redbook samples xdemos
61 # Library/program dependencies
62 GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
63 OSMESA_LIB_DEPS = -L$(LIB_DIR) -lGL
64 GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm
65 GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
66 GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -lXt -lXm -lX11
67 APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -lm