egl: Add a egl state_tracker that use Gallium
[mesa.git] / src / gallium / winsys / drm / intel / egl / SConscript
1 Import('*')
2
3 env = drienv.Clone()
4
5 env.Append(CPPPATH = [
6 '../intel',
7 'server'
8 ])
9
10 #MINIGLX_SOURCES = server/intel_dri.c
11
12 DRIVER_SOURCES = [
13 'intel_winsys_pipe.c',
14 'intel_winsys_softpipe.c',
15 'intel_winsys_i915.c',
16 'intel_batchbuffer.c',
17 'intel_swapbuffers.c',
18 'intel_context.c',
19 'intel_lock.c',
20 'intel_screen.c',
21 'intel_batchpool.c',
22 ]
23
24 sources = \
25 COMMON_GALLIUM_SOURCES + \
26 COMMON_BM_SOURCES + \
27 DRIVER_SOURCES
28
29 drivers = [
30 softpipe,
31 i915simple
32 ]
33
34 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
35 env.SharedLibrary(
36 target ='i915tex_dri.so',
37 source = sources,
38 LIBS = drivers + mesa + auxiliaries + env['LIBS'],
39 )