gallium-intel: Build with scons

This commit is contained in:
Jakob Bornecrantz 2009-05-15 22:54:07 +01:00
parent c4538e326a
commit 97ccdee68a
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Import('*')
SConscript(['gem/SConscript',])
if 'mesa' in env['statetrackers']:
SConscript(['dri/SConscript'])

View file

@ -0,0 +1,15 @@
Import('*')
env = drienv.Clone()
drivers = [
softpipe,
i915simple,
inteldrm
]
env.SharedLibrary(
target ='i915_dri.so',
source = COMMON_GALLIUM_SOURCES,
LIBS = drivers + mesa + auxiliaries + env['LIBS'],
)

View file

@ -0,0 +1,17 @@
Import('*')
env = drienv.Clone()
inteldrm_sources = [
'intel_be_api.c',
'intel_be_batchbuffer.c',
'intel_be_context.c',
'intel_be_device.c',
]
inteldrm = env.ConvenienceLibrary(
target ='inteldrm',
source = inteldrm_sources,
)
Export('inteldrm')