5 env.Prepend(CPPPATH = [
7 '#include/GL/internal',
17 env.Append(CPPDEFINES = [
19 #('DEFAULT_DRIVER_DIR', 'DRI_DRIVER_SEARCH_DIR')
26 env.PkgUseModules('X11')
27 env.PkgUseModules('DRM')
29 if env['HAVE_XF86VIDMODE']:
30 env.Append(CPPDEFINES = ['XF86VIDMODE'])
31 env.PkgUseModules('XF86VIDMODE')
33 if False: # XXX: SHARED_GLAPI
34 env.Append(CPPDEFINES = ['GLX_SHARED_GLAPI'])
49 'indirect_window_pos.c',
50 'indirect_texture_compression.c',
51 'indirect_transpose_matrix.c',
52 'indirect_vertex_array.c',
53 'indirect_vertex_program.c',
74 libgl = env.SharedLibrary(
79 libgl = env.InstallSharedLibrary(libgl, version=(1, 2))
81 env.Alias('glx', libgl)
82 env.Alias('libgl', libgl)