diff options
author | Michel Dänzer <[email protected]> | 2009-08-25 15:39:05 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-08-25 15:39:05 +0200 |
commit | d22bd1421cdfa1900df5b76e6f862596bdd11074 (patch) | |
tree | 708a0907eafe1cbe0cb5989149a89aa38878e2ed /src/gallium/state_trackers | |
parent | 418cdc66ec10c1f3005320ab46404b907c30e37d (diff) |
Add support for building the Xorg state tracker with scons.
scons ... statetrackers=xorg
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/xorg/SConscript | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/SConscript b/src/gallium/state_trackers/xorg/SConscript new file mode 100644 index 00000000000..15ebcf86733 --- /dev/null +++ b/src/gallium/state_trackers/xorg/SConscript @@ -0,0 +1,26 @@ +####################################################################### +# SConscript for xorg state_tracker + +Import('*') + +if 'xorg' in env['statetrackers']: + + env = env.Clone() + + env.Append(CPPPATH = [ + '#/src/mesa', + ]) + + env.ParseConfig('pkg-config --cflags --libs xorg-server') + + st_xorg = env.ConvenienceLibrary( + target = 'st_xorg', + source = [ 'xorg_composite.c', + 'xorg_crtc.c', + 'xorg_dri2.c', + 'xorg_driver.c', + 'xorg_exa.c', + 'xorg_output.c', + ] + ) + Export('st_xorg') |