diff options
author | Jakob Bornecrantz <[email protected]> | 2010-03-26 14:45:36 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-03-26 14:48:36 +0100 |
commit | 7f91f2efb5b92a9ad8506c54643142f40f286d5c (patch) | |
tree | f7c6357b4a962b092147d1e8db4d87373d12636b /src/gallium/state_trackers | |
parent | 711529153c797b4169fd5bbba79b370a2f38a0e9 (diff) |
swrastg: Build with scons
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/dri/SConscript | 1 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/sw/SConscript | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/SConscript b/src/gallium/state_trackers/dri/SConscript index b4a276cf29d..aba60fb8c5b 100644 --- a/src/gallium/state_trackers/dri/SConscript +++ b/src/gallium/state_trackers/dri/SConscript @@ -1,5 +1,6 @@ Import('*') SConscript([ + 'sw/SConscript', 'drm/SConscript', ]) diff --git a/src/gallium/state_trackers/dri/sw/SConscript b/src/gallium/state_trackers/dri/sw/SConscript new file mode 100644 index 00000000000..0614b8f521f --- /dev/null +++ b/src/gallium/state_trackers/dri/sw/SConscript @@ -0,0 +1,29 @@ +####################################################################### +# SConscript for dri state_tracker + +Import('*') + +if env['dri']: + + env = env.Clone() + + env.Append(CPPPATH = [ + '#/src/mesa', + '#/src/gallium/state_trackers/dri/common', + '#/src/mesa/drivers/dri/common', + ]) + + env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')]) + + st_drisw = env.ConvenienceLibrary( + target = 'st_drisw', + source = [ 'dri_context.c', + 'dri_drawable.c', + 'dri_extensions.c', + 'dri_screen.c', + 'dri_st_api.c', + 'dri1_helper.c', + 'drisw.c', + ] + ) + Export('st_drisw') |