diff options
author | Chia-I Wu <olv@lunarg.com> | 2011-01-10 12:39:46 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-01-12 17:40:01 +0800 |
commit | 49ed5bb28d501cd6751bd59dc25a60a4293bcd75 (patch) | |
tree | cec057da906c7783cc1e3dd703edbd2a99c7681c /src/gallium/targets/egl-gdi/SConscript | |
parent | 1412dea94953243b5cd3a452f676afd046101192 (diff) |
targets/egl-static: New EGL target for scons.
This target is based on and replaces egl-gdi. It is suitable for both
windows and x11.
Diffstat (limited to 'src/gallium/targets/egl-gdi/SConscript')
-rw-r--r-- | src/gallium/targets/egl-gdi/SConscript | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/gallium/targets/egl-gdi/SConscript b/src/gallium/targets/egl-gdi/SConscript deleted file mode 100644 index d52eeb70fd..0000000000 --- a/src/gallium/targets/egl-gdi/SConscript +++ /dev/null @@ -1,55 +0,0 @@ -####################################################################### -# SConscript for egl-gdi target - -Import('*') - -env = env.Clone() - -env.Append(CPPPATH = [ - '#/src/gallium/state_trackers/egl', - '#/src/gallium/state_trackers/vega', - '#/src/egl/main', - '#/src/mesa', -]) - -env.Append(CPPDEFINES = [ - 'FEATURE_VG=1', - 'GALLIUM_SOFTPIPE', - 'GALLIUM_RBUG', - 'GALLIUM_TRACE', -]) - -env.Append(LIBS = [ - 'gdi32', - 'user32', - 'kernel32', - 'ws2_32', -]) - -env.Prepend(LIBS = [ - st_egl_gdi, - ws_gdi, - identity, - trace, - rbug, - softpipe, - vgapi, - st_vega, - gallium, - egl, -]) - -if env['llvm']: - env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE') - env.Prepend(LIBS = [llvmpipe]) - -egl_gallium = env.SharedLibrary( - target ='egl_gallium', - source = 'egl-static.c', -) - -env['no_import_lib'] = 1 - -egl_gdi = env.InstallSharedLibrary(egl_gallium) - -env.Alias('egl-gdi', egl_gdi) |