3 if env['platform'] == 'windows':
8 env.Prepend(CPPPATH = [
10 '#include/GL/internal',
20 env.Append(CPPDEFINES = [
22 #('DEFAULT_DRIVER_DIR', 'DRI_DRIVER_SEARCH_DIR')
29 env.PkgUseModules('X11')
30 env.PkgUseModules('DRM')
32 if env['HAVE_XF86VIDMODE']:
33 env.Append(CPPDEFINES = ['XF86VIDMODE'])
34 env.PkgUseModules('XF86VIDMODE')
36 if False: # XXX: SHARED_GLAPI
37 env.Append(CPPDEFINES = ['GLX_SHARED_GLAPI'])
52 'indirect_window_pos.c',
53 'indirect_texture_compression.c',
54 'indirect_transpose_matrix.c',
55 'indirect_vertex_array.c',
56 'indirect_vertex_program.c',
77 libgl = env.SharedLibrary(
82 libgl = env.InstallSharedLibrary(libgl, version=(1, 2))
84 env.Alias('glx', libgl)
85 env.Alias('libgl', libgl)