From: Jakob Bornecrantz Date: Mon, 10 May 2010 16:03:13 +0000 (+0100) Subject: gallium: Add software drm api helper to scons build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40faa56efbcb04b6cb7d611526688423dba04a7b;p=mesa.git gallium: Add software drm api helper to scons build --- diff --git a/src/gallium/winsys/SConscript b/src/gallium/winsys/SConscript index db7356dee97..330b1ab834c 100644 --- a/src/gallium/winsys/SConscript +++ b/src/gallium/winsys/SConscript @@ -17,6 +17,7 @@ if 'gdi' in env['winsys']: if env['dri']: SConscript([ + 'sw/drm/SConscript', 'sw/dri/SConscript', ]) diff --git a/src/gallium/winsys/sw/drm/SConscript b/src/gallium/winsys/sw/drm/SConscript new file mode 100644 index 00000000000..15a2e05d5af --- /dev/null +++ b/src/gallium/winsys/sw/drm/SConscript @@ -0,0 +1,21 @@ +####################################################################### +# SConscript for xlib winsys + + +Import('*') + +env = env.Clone() + +env.Append(CPPPATH = [ + '#/src/gallium/include', + '#/src/gallium/auxiliary', + '#/src/gallium/drivers', +]) + +ws_drm = env.ConvenienceLibrary( + target = 'ws_drm', + source = [ + 'sw_drm_api.c', + ] +) +Export('ws_drm')