Lines Matching full:env
6 env = env.Clone()
8 env.Append(CPPPATH = [
20 env.Append(CPPDEFINES = [
28 env.Prepend(LIBS = [
38 if env['llvm']:
39 env.Append(CPPDEFINES = ['GALLIUM_LLVMPIPE'])
40 env.Prepend(LIBS = [llvmpipe])
48 if env['platform'] == 'windows':
51 env.Append(LIBS = [
58 env.Prepend(LIBS = [
63 if env['gles']:
64 env.Append(CPPDEFINES = [
69 env.Prepend(LIBPATH = [shared_glapi.dir])
71 glapi_name = 'glapi' if env['platform'] != 'windows' else 'libglapi'
72 env.Prepend(LIBS = [glapi_name, glsl, mesa])
76 env.Append(CPPDEFINES = ['FEATURE_VG=1'])
77 env.Prepend(LIBPATH = [openvg.dir])
79 openvg_name = 'OpenVG' if env['platform'] != 'windows' else 'libOpenVG'
80 env.Prepend(LIBS = [openvg_name, st_vega])
82 if env['HAVE_X11']:
83 env.Prepend(LIBS = [
86 env.PkgUseModules('X11')
89 if env['HAVE_DRM']:
90 env.PkgUseModules('DRM')
92 if env['HAVE_DRM_INTEL']:
93 env.PkgUseModules('DRM_INTEL')
94 env.Append(CPPDEFINES = ['_EGL_PIPE_I915'])
95 env.Prepend(LIBS = [
101 if env['HAVE_DRM_RADEON']:
102 env.PkgUseModules('DRM_RADEON')
103 env.Append(CPPDEFINES = ['_EGL_PIPE_R300', '_EGL_PIPE_R600'])
104 env.Prepend(LIBS = [
110 env.Append(CPPDEFINES = ['_EGL_PIPE_VMWGFX'])
111 env.Prepend(LIBS = [
117 env['LIBPREFIX'] = 'lib'
118 env['SHLIBPREFIX'] = 'lib'
120 egl_gallium = env.SharedLibrary(
125 env.Depends(egl_gallium, [openvg])
127 egl_gallium = env.InstallSharedLibrary(egl_gallium, version=(1, 4, 0))
129 env.Alias('egl-gallium', egl_gallium)